dealposbooks 5.49.4 → 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 (163) hide show
  1. package/3rdpartylicenses.txt +26 -26
  2. package/chunk-27SC6O47.js +1 -0
  3. package/{chunk-ELMSU4U7.js → chunk-2ABEICLB.js} +1 -1
  4. package/{chunk-672TXWSC.js → chunk-2JFOEOZ2.js} +1 -1
  5. package/{chunk-7B7LNBD5.js → chunk-3ALAWCRA.js} +1 -1
  6. package/chunk-3GYSEQ25.js +1 -0
  7. package/{chunk-2XW2ZOT4.js → chunk-43JH7CKX.js} +1 -1
  8. package/chunk-47G2N7SA.js +1 -0
  9. package/{chunk-FWAGEKIF.js → chunk-4AGTFPOU.js} +1 -1
  10. package/{chunk-FOPCQ346.js → chunk-4IMFKRR6.js} +1 -1
  11. package/chunk-4RBG4SFN.js +1 -0
  12. package/chunk-56CZGYL5.js +1 -0
  13. package/chunk-5N5QHECN.js +1 -0
  14. package/{chunk-DJXQKSLT.js → chunk-5U7KZJ3H.js} +1 -1
  15. package/{chunk-B4C3ZPN6.js → chunk-5VKDAA74.js} +1 -1
  16. package/chunk-65V5R4TS.js +1 -0
  17. package/{chunk-HCJK6VTO.js → chunk-6GILMLXA.js} +1 -1
  18. package/chunk-6GO647AV.js +1 -0
  19. package/chunk-7DBOORB2.js +1 -0
  20. package/{chunk-UPSNJEHO.js → chunk-7L5IAWG2.js} +1 -1
  21. package/chunk-A6T2KR7U.js +1 -0
  22. package/chunk-AF6G72MJ.js +1 -0
  23. package/chunk-ALLR2NXQ.js +1 -0
  24. package/chunk-BB2CNXSH.js +1 -0
  25. package/chunk-BFEM6LX7.js +2 -0
  26. package/{chunk-EBEY2MBR.js → chunk-BME4Z6DH.js} +1 -1
  27. package/chunk-BOQI2TMP.js +8 -0
  28. package/{chunk-DGACZ747.js → chunk-BTFX33U6.js} +1 -1
  29. package/{chunk-E7QWESN4.js → chunk-CN6AT4LE.js} +1 -1
  30. package/chunk-COSMZ2AH.js +1 -0
  31. package/chunk-DAFEIZYQ.js +1 -0
  32. package/{chunk-NMU2YBAB.js → chunk-DAM2WKDY.js} +1 -1
  33. package/chunk-DM2JLWKE.js +1 -0
  34. package/chunk-DM45YT57.js +1 -0
  35. package/chunk-DZCJWJUG.js +1 -0
  36. package/{chunk-WXIG4CXY.js → chunk-FHJOSHI3.js} +1 -1
  37. package/chunk-FHXTQXB7.js +160 -0
  38. package/{chunk-WMZF4DQK.js → chunk-FMAG3RQL.js} +1 -1
  39. package/{chunk-BKTBVFNX.js → chunk-FNGX2XFA.js} +1 -1
  40. package/{chunk-3DBSHDAQ.js → chunk-FTBQKOYS.js} +1 -1
  41. package/chunk-GAXDMEOS.js +1 -0
  42. package/chunk-GGQ7LRWG.js +0 -0
  43. package/{chunk-E6SW7I4D.js → chunk-GIRWHO6Q.js} +1 -1
  44. package/{chunk-2RRP7JK7.js → chunk-GU4FXUJC.js} +1 -1
  45. package/{chunk-2VZ7JZIO.js → chunk-HMZX6SME.js} +1 -1
  46. package/chunk-HQHEWKLC.js +1 -0
  47. package/chunk-I2OULINE.js +1 -0
  48. package/{chunk-PPXXWO4E.js → chunk-II7KELI4.js} +1 -1
  49. package/{chunk-WSQPSWDS.js → chunk-IMPGOCFC.js} +1 -1
  50. package/{chunk-AD247LWQ.js → chunk-ISIYG4D5.js} +1 -1
  51. package/chunk-J3HFAWXU.js +229 -0
  52. package/chunk-JERRSTLA.js +1 -0
  53. package/chunk-JRBGNG24.js +1 -0
  54. package/{chunk-URH77XNK.js → chunk-JWNGZMSE.js} +1 -1
  55. package/{chunk-PGOSR3RI.js → chunk-KARG227P.js} +1 -1
  56. package/chunk-KL3TPLRB.js +2 -0
  57. package/{chunk-QPPFPDWZ.js → chunk-KONCSTVQ.js} +1 -1
  58. package/{chunk-2LNMV22E.js → chunk-KORGIX2B.js} +1 -1
  59. package/{chunk-VDXZGF3M.js → chunk-KQZMRRMA.js} +1 -1
  60. package/chunk-KXW5NWRO.js +1 -0
  61. package/{chunk-JD3HX7VY.js → chunk-KZU3VXLG.js} +1 -1
  62. package/{chunk-M4SSELXT.js → chunk-L4ENW4RK.js} +1 -1
  63. package/{chunk-WPJG57AR.js → chunk-LBXNL7E4.js} +1 -1
  64. package/{chunk-UVSR4LPB.js → chunk-LO4HJ77Y.js} +1 -1
  65. package/chunk-MGIEURA2.js +193 -0
  66. package/{chunk-VKNINE5Q.js → chunk-MJGBBYIO.js} +1 -1
  67. package/chunk-NHW7GVHK.js +1 -0
  68. package/{chunk-ME4ALIS7.js → chunk-O44DI62I.js} +1 -1
  69. package/{chunk-PKO36DGM.js → chunk-ON7PMYMV.js} +1 -1
  70. package/chunk-OOCCZG53.js +129 -0
  71. package/{chunk-AN4SAUSA.js → chunk-OW2ND5HU.js} +1 -1
  72. package/chunk-PB2MFYIM.js +1 -0
  73. package/chunk-Q4XWXOWE.js +1 -0
  74. package/chunk-RBNXJUFM.js +252 -0
  75. package/{chunk-F7XGJYCZ.js → chunk-RMHKEGL5.js} +1 -1
  76. package/{chunk-VFKJMUGN.js → chunk-RVUOVLL5.js} +1 -1
  77. package/chunk-SASRJPT7.js +1 -0
  78. package/chunk-SJOOTBQ5.js +1 -0
  79. package/{chunk-3UAQHNUY.js → chunk-SLD7RSX6.js} +1 -1
  80. package/{chunk-CAS5GLLU.js → chunk-SOYJAYJK.js} +1 -1
  81. package/{chunk-KZHI6PGZ.js → chunk-SVGPDGYN.js} +1 -1
  82. package/chunk-SX4XIR77.js +1 -0
  83. package/{chunk-L3GNPRRN.js → chunk-SXNOZOOP.js} +5 -5
  84. package/{chunk-RM5HLXNW.js → chunk-TAN6GLIH.js} +1 -1
  85. package/{chunk-5DRALZZF.js → chunk-TOR7QRRB.js} +1 -1
  86. package/{chunk-D6IS6PE6.js → chunk-U4AN6IWJ.js} +1 -1
  87. package/chunk-URGN4QVD.js +1 -0
  88. package/chunk-UTOLWW4T.js +1 -0
  89. package/chunk-VJROOSEO.js +7 -0
  90. package/chunk-VKUW7E75.js +1 -0
  91. package/{chunk-S27Z7D3D.js → chunk-VM56C6ZV.js} +1 -1
  92. package/chunk-VNZUZ5UI.js +1 -0
  93. package/{chunk-AMGBUOC4.js → chunk-VSDW2RJ5.js} +1 -1
  94. package/{chunk-U2VDC52W.js → chunk-WL6ZZCYW.js} +1 -1
  95. package/chunk-WYLIU52Q.js +1 -0
  96. package/{chunk-5B5AMMR3.js → chunk-X6KL7VKV.js} +1 -1
  97. package/chunk-XGU6GBEK.js +1 -0
  98. package/chunk-XN4CDKDI.js +1 -0
  99. package/chunk-XULSWUMO.js +1 -0
  100. package/chunk-YHLRDTIS.js +1 -0
  101. package/chunk-YQYRAH7V.js +1 -0
  102. package/{chunk-ENH6HA3V.js → chunk-YR5KRTHR.js} +1 -1
  103. package/{chunk-KBR5PEJ3.js → chunk-YU4Q7ASX.js} +1 -1
  104. package/chunk-Z3ZKNQZS.js +1 -0
  105. package/chunk-Z4XRTHAH.js +1 -0
  106. package/{chunk-ETNPJTRI.js → chunk-ZAMQ4RCL.js} +1 -1
  107. package/chunk-ZC2ADHDH.js +130 -0
  108. package/{chunk-MHRSQRHT.js → chunk-ZC7ZENN7.js} +1 -1
  109. package/chunk-ZWNKUBMG.js +202 -0
  110. package/index.html +2 -2
  111. package/main-UCTZ3G6L.js +1 -0
  112. package/package.json +1 -1
  113. package/chunk-23PWXRYN.js +0 -1
  114. package/chunk-2BI7WNJP.js +0 -1
  115. package/chunk-5JNGJ6UW.js +0 -1
  116. package/chunk-6EIUS53G.js +0 -1
  117. package/chunk-6WWXJJID.js +0 -1
  118. package/chunk-AVSCJ22B.js +0 -1
  119. package/chunk-BEZIBXGN.js +0 -1
  120. package/chunk-BF6PW4QM.js +0 -1
  121. package/chunk-BMM5YFHU.js +0 -130
  122. package/chunk-BP4OMNR2.js +0 -8
  123. package/chunk-CFUVIXAX.js +0 -1
  124. package/chunk-CNMK2GSA.js +0 -1
  125. package/chunk-DIG4FYVW.js +0 -1
  126. package/chunk-F7PVAVLQ.js +0 -1
  127. package/chunk-FSJNWH2Y.js +0 -1
  128. package/chunk-FZS2ZX6Y.js +0 -1
  129. package/chunk-G4XX7EU2.js +0 -1
  130. package/chunk-GEFAWOOV.js +0 -129
  131. package/chunk-GTMCB3SL.js +0 -1
  132. package/chunk-H6FEO7T3.js +0 -1
  133. package/chunk-HOAF22JI.js +0 -1
  134. package/chunk-I33QA736.js +0 -1
  135. package/chunk-IPOA3SOW.js +0 -1
  136. package/chunk-IWAIAUMO.js +0 -1
  137. package/chunk-JDRK7YG6.js +0 -1
  138. package/chunk-JIFUQXVH.js +0 -1
  139. package/chunk-KNBVJM2U.js +0 -160
  140. package/chunk-LNFCBMAA.js +0 -1
  141. package/chunk-OJTHBHGK.js +0 -1
  142. package/chunk-OMLO5E65.js +0 -1
  143. package/chunk-PK7RYZ5A.js +0 -1
  144. package/chunk-PSSATQO3.js +0 -1
  145. package/chunk-QC7NAJZG.js +0 -1
  146. package/chunk-RAF7SWW4.js +0 -229
  147. package/chunk-RDQ7RWJC.js +0 -1
  148. package/chunk-RRL6OTRO.js +0 -1
  149. package/chunk-SLD2HX2B.js +0 -1
  150. package/chunk-U5YVZKME.js +0 -1
  151. package/chunk-URSKOWIQ.js +0 -1
  152. package/chunk-V7EXGBKT.js +0 -1
  153. package/chunk-VMI3QWC6.js +0 -193
  154. package/chunk-VQKIYDID.js +0 -1
  155. package/chunk-W6US3XIE.js +0 -1
  156. package/chunk-X3FAXRYR.js +0 -252
  157. package/chunk-YIG2I6WR.js +0 -1
  158. package/chunk-YRW7AH7I.js +0 -1
  159. package/chunk-ZFNIPERQ.js +0 -2
  160. package/chunk-ZIQBCB5X.js +0 -7
  161. package/chunk-ZK43JB4A.js +0 -2
  162. package/chunk-ZY4AYAWJ.js +0 -202
  163. package/main-VIRQJVUE.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as fe}from"./chunk-S27Z7D3D.js";import{a as he,h as G,n as _e,r as be}from"./chunk-ME4ALIS7.js";import{La as me,Ma as K,Ua as de,a as le,aa as pe,d as ce}from"./chunk-VMI3QWC6.js";import{h as re,k as oe,l as se,m as ue,s as ae}from"./chunk-ZK43JB4A.js";import{$c as E,Aa as k,Cb as F,Dc as ie,Eb as g,Lb as _,Mb as l,Pb as te,Qb as w,Wb as I,Xb as C,Yb as x,Zb as R,_b as $,_c as T,ac as S,ba as Q,ca as H,da as W,fc as V,gc as u,ia as Z,ib as f,lc as U,mc as ne,nc as A,ob as Y,oc as L,pa as J,qa as m,ra as d,sa as O,ua as N,wa as X,yb as M,zb as ee}from"./chunk-6QJHEOXN.js";import{a as q,b as j}from"./chunk-YQFG5XE2.js";var xe=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleDownIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var ye=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleUpIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var we=["clearicon"],Te=["incrementbuttonicon"],Be=["decrementbuttonicon"],ve=["input"];function De(i,h){if(i&1){let e=S();I(0,"TimesIcon",7),V("click",function(){m(e);let t=u(2);return d(t.clear())}),C()}i&2&&(l("ngClass","p-inputnumber-clear-icon"),_("data-pc-section","clearIcon"))}function Ve(i,h){}function Ee(i,h){i&1&&g(0,Ve,0,0,"ng-template")}function Se(i,h){if(i&1){let e=S();I(0,"span",8),V("click",function(){m(e);let t=u(2);return d(t.clear())}),g(1,Ee,1,0,null,9),C()}if(i&2){let e=u(2);_("data-pc-section","clearIcon"),f(),l("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Ne(i,h){if(i&1&&(R(0),g(1,De,1,2,"TimesIcon",5)(2,Se,2,2,"span",6),$()),i&2){let e=u();f(),l("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),f(),l("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ke(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Me(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function Fe(i,h){}function Re(i,h){i&1&&g(0,Fe,0,0,"ng-template")}function $e(i,h){if(i&1&&(R(0),g(1,Me,1,1,"AngleUpIcon",2)(2,Re,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function Ae(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Le(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Ue(i,h){}function ze(i,h){i&1&&g(0,Ue,0,0,"ng-template")}function Oe(i,h){if(i&1&&(R(0),g(1,Le,1,1,"AngleDownIcon",2)(2,ze,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function Ke(i,h){if(i&1){let e=S();I(0,"span",10)(1,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(2,ke,1,2,"span",12)(3,$e,3,2,"ng-container",2),C(),I(4,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(5,Ae,1,2,"span",12)(6,Oe,3,2,"ng-container",2),C()()}if(i&2){let e=u();_("data-pc-section","buttonGroup"),f(),w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon),f(),w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}function Ge(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Pe(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function qe(i,h){}function je(i,h){i&1&&g(0,qe,0,0,"ng-template")}function Qe(i,h){if(i&1&&(R(0),g(1,Pe,1,1,"AngleUpIcon",2)(2,je,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function He(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(1,Ge,1,2,"span",12)(2,Qe,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon)}}function We(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Ze(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Je(i,h){}function Xe(i,h){i&1&&g(0,Je,0,0,"ng-template")}function Ye(i,h){if(i&1&&(R(0),g(1,Ze,1,1,"AngleDownIcon",2)(2,Xe,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function et(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(1,We,1,2,"span",12)(2,Ye,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}var tt=({dt:i})=>`
1
+ import{a as fe}from"./chunk-VM56C6ZV.js";import{a as he,h as G,n as _e,r as be}from"./chunk-O44DI62I.js";import{Ma as me,Na as K,Va as de,a as le,ba as pe,d as ce}from"./chunk-MGIEURA2.js";import{j as re,m as oe,n as se,o as ue,u as ae}from"./chunk-DM2JLWKE.js";import{$c as E,Aa as k,Cb as F,Dc as ie,Eb as g,Lb as _,Mb as l,Pb as te,Qb as w,Wb as I,Xb as C,Yb as x,Zb as R,_b as $,_c as T,ac as S,ba as Q,ca as H,da as W,fc as V,gc as u,ia as Z,ib as f,lc as U,mc as ne,nc as A,ob as Y,oc as L,pa as J,qa as m,ra as d,sa as O,ua as N,wa as X,yb as M,zb as ee}from"./chunk-6QJHEOXN.js";import{a as q,b as j}from"./chunk-YQFG5XE2.js";var xe=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleDownIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var ye=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleUpIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var we=["clearicon"],Te=["incrementbuttonicon"],Be=["decrementbuttonicon"],ve=["input"];function De(i,h){if(i&1){let e=S();I(0,"TimesIcon",7),V("click",function(){m(e);let t=u(2);return d(t.clear())}),C()}i&2&&(l("ngClass","p-inputnumber-clear-icon"),_("data-pc-section","clearIcon"))}function Ve(i,h){}function Ee(i,h){i&1&&g(0,Ve,0,0,"ng-template")}function Se(i,h){if(i&1){let e=S();I(0,"span",8),V("click",function(){m(e);let t=u(2);return d(t.clear())}),g(1,Ee,1,0,null,9),C()}if(i&2){let e=u(2);_("data-pc-section","clearIcon"),f(),l("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Ne(i,h){if(i&1&&(R(0),g(1,De,1,2,"TimesIcon",5)(2,Se,2,2,"span",6),$()),i&2){let e=u();f(),l("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),f(),l("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ke(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Me(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function Fe(i,h){}function Re(i,h){i&1&&g(0,Fe,0,0,"ng-template")}function $e(i,h){if(i&1&&(R(0),g(1,Me,1,1,"AngleUpIcon",2)(2,Re,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function Ae(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Le(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Ue(i,h){}function ze(i,h){i&1&&g(0,Ue,0,0,"ng-template")}function Oe(i,h){if(i&1&&(R(0),g(1,Le,1,1,"AngleDownIcon",2)(2,ze,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function Ke(i,h){if(i&1){let e=S();I(0,"span",10)(1,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(2,ke,1,2,"span",12)(3,$e,3,2,"ng-container",2),C(),I(4,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(5,Ae,1,2,"span",12)(6,Oe,3,2,"ng-container",2),C()()}if(i&2){let e=u();_("data-pc-section","buttonGroup"),f(),w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon),f(),w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}function Ge(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Pe(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function qe(i,h){}function je(i,h){i&1&&g(0,qe,0,0,"ng-template")}function Qe(i,h){if(i&1&&(R(0),g(1,Pe,1,1,"AngleUpIcon",2)(2,je,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function He(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(1,Ge,1,2,"span",12)(2,Qe,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon)}}function We(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Ze(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Je(i,h){}function Xe(i,h){i&1&&g(0,Je,0,0,"ng-template")}function Ye(i,h){if(i&1&&(R(0),g(1,Ze,1,1,"AngleDownIcon",2)(2,Xe,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function et(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(1,We,1,2,"span",12)(2,Ye,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}var tt=({dt:i})=>`
2
2
  .p-inputnumber {
3
3
  display: inline-flex;
4
4
  position: relative;
@@ -0,0 +1 @@
1
+ import{a as F}from"./chunk-4IMFKRR6.js";import{a as ze}from"./chunk-SVGPDGYN.js";import{a as je,b as Be}from"./chunk-LO4HJ77Y.js";import{a as oe}from"./chunk-2JFOEOZ2.js";import{b as A}from"./chunk-LBXNL7E4.js";import{a as Me}from"./chunk-XKI7WLHE.js";import"./chunk-KQZMRRMA.js";import"./chunk-ZC7ZENN7.js";import"./chunk-WL6ZZCYW.js";import{a as z,b as j}from"./chunk-3VQUNDVT.js";import{d as ke,i as Ne,j as Pe,k as Re}from"./chunk-BTFX33U6.js";import{a as De,b as Ae}from"./chunk-BME4Z6DH.js";import"./chunk-VSDW2RJ5.js";import"./chunk-7L5IAWG2.js";import"./chunk-MJGBBYIO.js";import"./chunk-CN6AT4LE.js";import{a as Fe,b as Je}from"./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 Ve}from"./chunk-J3HFAWXU.js";import"./chunk-VM56C6ZV.js";import{a as xe,b as Ce}from"./chunk-ISIYG4D5.js";import"./chunk-ALLR2NXQ.js";import{a as ve,b as y,c as ye,d as we,e as Te,f as Ie,g as Ee}from"./chunk-FNGX2XFA.js";import"./chunk-BFEM6LX7.js";import{n as fe,o as _e,w as ge,x as he,y as Se,z as be}from"./chunk-O44DI62I.js";import"./chunk-DTYVTTET.js";import{b as re,c as ae,e as le,f as pe,k as me,m as se,p as ce,v as de,y as ue}from"./chunk-MGIEURA2.js";import"./chunk-DZCJWJUG.js";import"./chunk-TOR7QRRB.js";import"./chunk-YQYRAH7V.js";import"./chunk-KL3TPLRB.js";import"./chunk-RVUOVLL5.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import{j as Y,l as Z,m as ee,p as te,r as ie,u as ne}from"./chunk-DM2JLWKE.js";import{Cb as K,Dc as Q,Eb as x,Fc as V,Ha as P,Mb as c,Oc as I,Pc as X,Qc as D,Sc as v,Wb as r,Xb as o,Y as N,Yb as S,_ as O,ac as w,bd as E,c as J,db as U,eb as L,fc as T,gc as _,ia as C,ib as l,qa as g,ra as h,s as k,sc as s,tc as b,uc as R,wc as W,xc as $,yb as G,yc as M,zc as q}from"./chunk-6QJHEOXN.js";import{a as d,b as f}from"./chunk-YQFG5XE2.js";var Ke={data:{data:[],totalCount:0},filter:{number:null,outletName:null,from:null,to:null,supplierID:null,pageNumber:1,pageSize:20,export:!1,exportPageNumber:1,exportPageSize:1e4,paymentState:0},meta:{options:{outlets:[]},filter:{number:null,outletName:null,from:null,to:null,supplierID:null,pageNumber:1,pageSize:20,export:!1,exportPageNumber:1,exportPageSize:1e4,paymentState:0}}},B=ye(Ee(Ke),we(t=>({first:E(()=>(t.filter().pageNumber-1)*t.filter().pageSize+1),end:E(()=>Math.min(t.filter().pageNumber*t.filter().pageSize,t.data().totalCount)),hasCheckedRows:E(()=>t.data().data.some(a=>a.checked)),checkedAPCollection:E(()=>t.data().data.filter(a=>a.checked).map(a=>a.id))})),Ie(t=>{let a=C(F),e=C(A);return{updateFilter(n){y(t,i=>f(d({},i),{filter:d(d({},i.filter),n)}))},onRowSelect(n){y(t,i=>{let u=i.data.data.map(m=>m.id===n.id?f(d({},m),{checked:!0}):m);return f(d({},i),{data:f(d({},i.data),{data:u})})})},onRowUnselect(n){y(t,i=>{let u=i.data.data.map(m=>m.id===n.id?f(d({},m),{checked:!1}):m);return f(d({},i),{data:f(d({},i.data),{data:u})})})},onHeaderCheckboxToggle(n){y(t,i=>{let u=i.data.data.map(m=>f(d({},m),{checked:n}));return f(d({},i),{data:f(d({},i.data),{data:u})})})},getAPLoader:z(J(N(()=>a.getAPJournalLoader().pipe(j({next:n=>{y(t,i=>f(d({},i),{meta:n}))},error:n=>{console.error("Error fetching AP journal:",n)}}))))),getARCollection:z(J(k(n=>Object.entries(n).reduce((i,[u,m])=>(m!=null&&(i[u]=m),i),{})),N(n=>a.getAPJournal(n).pipe(k(i=>f(d({},i),{data:i.data.map(u=>f(d({},u),{due:e.from(u.due)?e.from(u.due).format():null,checked:!1}))})),j({next:i=>{y(t,u=>f(d({},u),{data:i}))},error:i=>{console.error("Error fetching customer invoice:",i)}})))))}}),Te(t=>({onInit:()=>{t.getAPLoader(),t.getARCollection(t.filter)}})));var H=t=>({"ng-invalid ng-dirty":t});function We(t,a){if(t&1){let e=w();r(0,"p-button",10),T("onClick",function(){g(e);let n=_(2);return h(n.onCreateJournal())}),o()}}function $e(t,a){if(t&1&&x(0,We,1,0,"p-button",9),t&2){let e=_();c("ngIf",e.store.hasCheckedRows())}}function qe(t,a){t&1&&(r(0,"tr")(1,"th",12),S(2,"p-tableHeaderCheckbox"),o(),r(3,"th",13),s(4,"Tag"),o(),r(5,"th",14),s(6,"Number"),o(),r(7,"th",15),s(8,"Supplier"),o(),r(9,"th",16),s(10,"Date"),o(),r(11,"th",16),s(12,"Due"),o(),r(13,"th",15),s(14,"Note"),o(),r(15,"th",17),s(16,"Payment"),o(),S(17,"th",18),o())}function Qe(t,a){if(t&1&&(r(0,"tr")(1,"td"),S(2,"p-tableCheckbox",19),o(),r(3,"td"),s(4),o(),r(5,"td")(6,"a",20),s(7),o()(),r(8,"td"),s(9),o(),r(10,"td"),s(11),I(12,"date"),o(),r(13,"td"),s(14),I(15,"date"),o(),r(16,"td"),S(17,"div",21),o(),r(18,"td"),s(19),o(),r(20,"td"),S(21,"p-button",22),o()()),t&2){let e=a.$implicit,p=_(2);l(2),c("value",e),l(2),b(e.outlet),l(2),c("href",p.authService.getTenantExternalURL()+"/menu/Debt/Debt/Join_Bill/New_Join_Bill/Info?ID="+e.id,L),l(),R(" ",e.number," "),l(2),b(e.customer),l(2),b(D(12,12,e.date,"d MMM y")),l(3),b(e.due?D(15,15,e.due,"d MMM y hh:mm"):"-"),l(3),c("innerHTML",e.note,U),l(2),b(e.payment),l(2),c("icon",e.integrated?"fa-solid fa-circle-check":"fa-solid fa-circle-xmark")("severity",e.integrated?"success":"danger")("text",!0)}}function Xe(t,a){if(t&1&&s(0),t&2){let e=_(2);W(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.data().totalCount," entries ")}}function Ye(t,a){t&1&&(r(0,"tr")(1,"td",23)(2,"span"),s(3,"No records found."),o()()())}function Ze(t,a){if(t&1){let e=w();r(0,"p-panel")(1,"p-table",11),T("onPage",function(n){g(e);let i=_();return h(i.onPageChange(n))})("onHeaderCheckboxToggle",function(n){g(e);let i=_();return h(i.onHeaderCheckboxToggle(n))})("onRowSelect",function(n){g(e);let i=_();return h(i.onRowSelect(n))})("onRowUnselect",function(n){g(e);let i=_();return h(i.onRowUnselect(n))}),x(2,qe,18,0,"ng-template",null,3,v)(4,Qe,22,18,"ng-template",null,4,v)(6,Xe,1,3,"ng-template",null,5,v)(8,Ye,4,0,"ng-template",null,6,v),o()()}if(t&2){let e=_();l(),c("value",e.store.data().data)("paginator",!0)("rows",e.store.filter().pageSize)("totalRecords",e.store.data().totalCount)("lazy",!0)}}function et(t,a){if(t&1&&(r(0,"span",34),s(1),I(2,"truncate"),o()),t&2){let e=a.$implicit;c("pTooltip",e.name),l(),R(" ",D(2,2,e.name,30)," ")}}function tt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function it(t,a){if(t&1&&(r(0,"div"),x(1,tt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("from"))}}function nt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function ot(t,a){if(t&1&&(r(0,"div"),x(1,nt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("to"))}}function rt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function at(t,a){if(t&1&&(r(0,"div"),x(1,rt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("pageSize"))}}function lt(t,a){if(t&1){let e=w();r(0,"form",24)(1,"div",25)(2,"label",26),s(3,"Tag"),o(),r(4,"p-select",27),x(5,et,3,5,"ng-template",null,7,v),o()(),r(7,"div",25)(8,"label",26),s(9,"From - To"),o(),r(10,"div",28),S(11,"p-datepicker",29),x(12,it,2,1,"div",30),S(13,"p-datepicker",31),x(14,ot,2,1,"div",30),o()(),r(15,"div",25)(16,"label",26),s(17,"Supplier"),o(),r(18,"p-autocomplete",32),I(19,"async"),T("completeMethod",function(n){g(e);let i=_();return h(i.onSearchSupplier(n))}),o()(),r(20,"div",25)(21,"label",26),s(22,"Page Size"),o(),S(23,"input",33),x(24,at,2,1,"div",30),o()()}if(t&2){let e=_();c("formGroup",e.form),l(4),c("virtualScrollItemSize",50)("options",e.store.meta().options.outlets),l(7),c("iconDisplay","input")("showIcon",!0)("ngClass",V(16,H,e.isInvalid("from"))),l(),c("ngIf",e.isInvalid("from")),l(),c("iconDisplay","input")("showIcon",!0)("ngClass",V(18,H,e.isInvalid("to"))),l(),c("ngIf",e.isInvalid("to")),l(4),c("suggestions",X(19,14,e.supplierSuggestions$)),l(5),c("ngClass",V(20,H,e.isInvalid("pageSize"))),l(),c("ngIf",e.isInvalid("pageSize"))}}var Qt=(()=>{class t extends Me{constructor(){super(),this.store=C(B),this.generateJournalService=C(F),this.authService=C(oe),this.isDialogFilterVisible=P(!1),this.isInitDialogFilterVisible=P(!1),this.fb=C(de),this.dayjsService=C(A)}ngOnInit(){this.initform()}initform(){let{outletName:e,number:p,from:n,to:i,paymentState:u,supplierID:m,pageNumber:He,pageSize:Oe,export:Ue,exportPageNumber:Le,exportPageSize:Ge}=this.store.filter();this.form=this.fb.group({outletName:this.fb.control(e),number:this.fb.control(p),from:this.fb.control(this.dayjsService.from(n)?this.dayjsService.from(n).toDate():null),to:this.fb.control(this.dayjsService.from(i)?this.dayjsService.from(i).toDate():null),paymentState:this.fb.control(u),supplierID:this.fb.control(m),pageNumber:this.fb.control(He),pageSize:this.fb.control(Oe,[ae.required]),export:this.fb.control(Ue),exportPageNumber:this.fb.control(Le),exportPageSize:this.fb.control(Ge)})}onFilterOKEvent(){if(this.form.invalid){this.form.markAllAsTouched();return}let e=Object.entries(this.form.getRawValue()).reduce((p,[n,i])=>(i!=null&&(n==="from"||n==="to"?(typeof i=="string"||typeof i=="number"||i instanceof Date)&&(p[n]=this.dayjsService.from(i)?this.dayjsService.format(i):null):p[n]=i),p),{});this.store.updateFilter(e),this.isDialogFilterVisible.update(p=>!p)}onSearch(e){this.store.updateFilter(f(d({},this.store.filter()),{number:e}))}onSearchSupplier(e){this.supplierSuggestions$=this.generateJournalService.getSupplierSuggestions(e.query).pipe()}onPageChange(e){let p=e.first/e.rows;this.store.updateFilter(f(d({},this.store.filter()),{pageNumber:p+1}))}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(p=>{this.store.onRowUnselect(p)});return}else this.store.onRowUnselect(e.data)}onCreateJournal(){this.generateJournalService.createAPJournal(this.store.checkedAPCollection()).pipe(O(()=>{this.store.getARCollection(this.store.filter)})).subscribe()}static{this.\u0275fac=function(p){return new(p||t)}}static{this.\u0275cmp=G({type:t,selectors:[["app-ap-journal"]],features:[Q([B]),K],decls:7,vars:5,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["item",""],["pageTitle","Join Bill",3,"isDialogFilterVisibleChange","isInitDialogFilterVisibleChange","filterConfirmed","search","isSearchableInput","isFilterable","isDialogFilterVisible","isInitDialogFilterVisible","scrollable"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onPage","onHeaderCheckboxToggle","onRowSelect","onRowUnselect","value","paginator","rows","totalRecords","lazy"],[2,"width","1rem"],[2,"width","10rem"],[2,"width","12rem"],[2,"width","14rem"],[2,"width","11rem"],[2,"width","9rem"],[2,"width","4rem"],[3,"value"],["target","_blank",1,"link","link-primary",3,"href"],[3,"innerHTML"],[3,"icon","severity","text"],["colspan","9"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for","outlet"],["virtualScroll","","showClear","","filter","","filterBy","name","formControlName","outletName","appendTo","body","optionLabel","name","optionValue","name","placeholder","Select an Tag",3,"virtualScrollItemSize","options"],[1,"d-flex","flex-column","gap-2"],["showClear","","formControlName","from","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon","ngClass"],[4,"ngIf"],["showClear","","formControlName","to","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon","ngClass"],["showClear","","formControlName","supplierID","appendTo","body","styleClass","w-100","optionLabel","Value","optionValue","Key","inputStyleClass","w-100",3,"completeMethod","suggestions"],["appMaskNumber","","type","text","pInputText","","formControlName","pageSize",3,"ngClass"],[3,"pTooltip"],[4,"ngFor","ngForOf"],[1,"text-danger"]],template:function(p,n){if(p&1){let i=w();r(0,"app-main-panel",8),q("isDialogFilterVisibleChange",function(m){return g(i),M(n.isDialogFilterVisible,m)||(n.isDialogFilterVisible=m),h(m)})("isInitDialogFilterVisibleChange",function(m){return g(i),M(n.isInitDialogFilterVisible,m)||(n.isInitDialogFilterVisible=m),h(m)}),T("filterConfirmed",function(){return g(i),h(n.onFilterOKEvent())})("search",function(m){return g(i),h(n.onSearch(m))}),x(1,$e,1,1,"ng-template",null,0,v)(3,Ze,10,5,"ng-template",null,1,v)(5,lt,25,22,"ng-template",null,2,v),o()}p&2&&(c("isSearchableInput",!0)("isFilterable",!0),$("isDialogFilterVisible",n.isDialogFilterVisible)("isInitDialogFilterVisible",n.isInitDialogFilterVisible),c("scrollable",!0))},dependencies:[Ve,Re,ke,Ne,Pe,ne,Y,Z,ee,te,ie,he,ge,Ce,xe,ue,me,re,le,pe,se,ce,Je,Fe,Ae,De,_e,fe,Be,je,be,Se,ve,ze],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{Qt as ApJournalComponent};
@@ -0,0 +1 @@
1
+ import{a as K}from"./chunk-ON7PMYMV.js";import{b as q}from"./chunk-LBXNL7E4.js";import{a as z,b as H}from"./chunk-KARG227P.js";import{a as J}from"./chunk-XKI7WLHE.js";import{a as O,b as W}from"./chunk-BME4Z6DH.js";import"./chunk-VSDW2RJ5.js";import"./chunk-7L5IAWG2.js";import"./chunk-KONCSTVQ.js";import"./chunk-FMAG3RQL.js";import{i as I}from"./chunk-J3HFAWXU.js";import"./chunk-VM56C6ZV.js";import{a as G,b as A}from"./chunk-ISIYG4D5.js";import"./chunk-ALLR2NXQ.js";import"./chunk-FNGX2XFA.js";import"./chunk-BFEM6LX7.js";import{o as j,w as k,x as B}from"./chunk-O44DI62I.js";import"./chunk-DTYVTTET.js";import{b as y,e as D,f as M,k as T,m as w,p as N,v as V,y as R}from"./chunk-MGIEURA2.js";import{d as P}from"./chunk-DZCJWJUG.js";import"./chunk-TOR7QRRB.js";import"./chunk-YQYRAH7V.js";import"./chunk-KL3TPLRB.js";import"./chunk-RVUOVLL5.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import{u as F}from"./chunk-DM2JLWKE.js";import{Cb as S,Eb as p,Mb as c,Sc as a,Wb as i,Xb as t,Yb as f,_ as C,ac as b,fc as E,gc as u,ia as m,ib as _,qa as x,ra as h,sc as l,yb as v}from"./chunk-6QJHEOXN.js";import"./chunk-YQFG5XE2.js";function L(e,d){if(e&1){let o=b();i(0,"p-button",4),E("onClick",function(){x(o);let n=u();return h(n.onSubmit())}),t()}}function Q(e,d){e&1&&(i(0,"div",13)(1,"h3",14),l(2,"General"),t(),i(3,"span",15),l(4,"Enter your closing Fiscal Date"),t()())}function U(e,d){if(e&1&&(i(0,"div",5)(1,"div",6)(2,"p-panel"),p(3,Q,5,0,"ng-template",null,2,a),i(5,"div",5)(6,"div",7)(7,"form",8)(8,"div",9)(9,"label",10),l(10,"Period"),t(),f(11,"p-datePicker",11),t(),i(12,"div",9)(13,"label",10),l(14,"Description"),t(),f(15,"textarea",12),t()()()()()()()),e&2){let o=u();_(7),c("formGroup",o.form)}}var he=(()=>{class e extends J{constructor(){super(),this.closingEntriesService=m(K),this.dayjsService=m(q),this.fb=m(V),this.router=m(P)}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({Period:this.fb.control(new Date),Note:this.fb.control("")})}onSubmit(){if(this.form.invalid){this.form.markAllAsTouched();return}let{Period:o}=this.form.getRawValue(),r=Object.entries(this.form.getRawValue()).reduce((n,[s,g])=>(s==="Period"?n[s]=this.dayjsService.from(o)?this.dayjsService.format(g):"":n[s]=g,n),{});this.closingEntriesService.createClosingEntry(r).pipe(C(()=>{this.router.navigate(["/pages/accounting-setup/closing-entries"])})).subscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=v({type:e,selectors:[["app-closing-form"]],features:[S],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Closing Entries Form",3,"hasMainWrapperPadding"],["label","Submit",3,"onClick"],[1,"row"],[1,"col"],[1,"col-4"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for",""],["formControlName","Period","fluid",""],["formControlName","Note","rows","5","cols","30","pTextarea",""],[1,"d-flex","flex-column","mx-2"],[1,"fs-5","m-0"],[1,"fs-3"]],template:function(r,n){r&1&&(i(0,"app-main-panel",3),p(1,L,1,0,"ng-template",null,0,a)(3,U,16,1,"ng-template",null,1,a),t()),r&2&&c("hasMainWrapperPadding",!0)},dependencies:[I,F,A,G,W,O,j,H,z,B,k,R,T,y,D,M,w,N],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();export{he as ClosingFormComponent};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-5DRALZZF.js";import{ca as n,ia as i}from"./chunk-6QJHEOXN.js";var f=(()=>{class e{#t=i(r);fetchLoaderConfiguration(){return this.#t.get("","api/SetupLoader/Load")}updateAccountingIntegrationConfiguration(t){return this.#t.post(void 0,"/api/setup/SubmitConfig",t)}fetchOpeningBalanceFormConfiguration(){return this.#t.get("","/api/setup/OpeningBalance/Form")}submitOpeningBalanceFormConfiguration(t){return this.#t.post("","api/setup/OpeningBalance/Submit",t)}fetchAPICredential(){return this.#t.get(void 0,"/api/AccountConfig")}updateAPICredential(t){return this.#t.put(void 0,"/api/AccountConfig",t)}verifyAPICredential(t){return this.#t.post(void 0,"/api/AccountConfig/Validate",t)}formatJournal(t){return this.#t.post("","/api/setup/formatdata/clearjournal",{domain:t})}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{f as a};
1
+ import{a as r}from"./chunk-TOR7QRRB.js";import{ca as n,ia as i}from"./chunk-6QJHEOXN.js";var f=(()=>{class e{#t=i(r);fetchLoaderConfiguration(){return this.#t.get("","api/SetupLoader/Load")}updateAccountingIntegrationConfiguration(t){return this.#t.post(void 0,"/api/setup/SubmitConfig",t)}fetchOpeningBalanceFormConfiguration(){return this.#t.get("","/api/setup/OpeningBalance/Form")}submitOpeningBalanceFormConfiguration(t){return this.#t.post("","api/setup/OpeningBalance/Submit",t)}fetchAPICredential(){return this.#t.get(void 0,"/api/AccountConfig")}updateAPICredential(t){return this.#t.put(void 0,"/api/AccountConfig",t)}verifyAPICredential(t){return this.#t.post(void 0,"/api/AccountConfig/Validate",t)}formatJournal(t){return this.#t.post("","/api/setup/formatdata/clearjournal",{domain:t})}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{f as a};
@@ -0,0 +1 @@
1
+ import{$c as De,Ab as O,Bb as N,Fa as U,Gb as je,Hb as Ve,Nb as Ge,Oa as Be,Pa as Pe,Ra as Ne,Va as ke,Vc as ge,Wc as Q,Xc as He,Yc as We,_c as V,aa as J,ad as pe,ca as b,da as Oe,dc as A,ec as g,fa as L,g as Te,ha as T,ia as S,jb as $e,kb as he,nb as z,ob as m,pa as x,qb as j,ub as xe,wa as Re,wb as Ue,zb as ze}from"./chunk-6QJHEOXN.js";var G=new L("");var Xe=null;function ee(){return Xe}function bt(e){Xe??=e}var me=class{},H=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>S(qe),providedIn:"platform"})}return e})(),vt=new L(""),qe=(()=>{class e extends H{_location;_history;_doc=S(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(t){let n=ee().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=ee().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function te(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function Ze(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function v(e){return e&&e[0]!=="?"?`?${e}`:e}var k=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=b({token:e,factory:()=>S(Je),providedIn:"root"})}return e})(),ne=new L(""),Je=(()=>{class e extends k{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??S(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return te(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+v(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+v(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+v(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(H),T(ne,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qe=(()=>{class e{_subject=new Te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=Mt(Ze(Ye(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+v(n))}normalize(t){return e.stripTrailingSlash(Lt(this._basePath,Ye(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=v;static joinWithSlash=te;static stripTrailingSlash=Ze;static \u0275fac=function(n){return new(n||e)(T(k))};static \u0275prov=b({token:e,factory:()=>It(),providedIn:"root"})}return e})();function It(){return new Qe(T(k))}function Lt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function Ye(e){return e.replace(/\/index.html$/,"")}function Mt(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Tt=(()=>{class e extends k{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=te(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+v(s))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+v(s))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(H),T(ne,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();var be=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(be||{});var F=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(F||{}),c=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(c||{}),E=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(E||{}),w={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ot(e){return A(e)[g.LocaleId]}function ut(e,i,t){let n=A(e),r=[n[g.DayPeriodsFormat],n[g.DayPeriodsStandalone]],s=_(r,i);return _(s,t)}function at(e,i,t){let n=A(e),r=[n[g.DaysFormat],n[g.DaysStandalone]],s=_(r,i);return _(s,t)}function ct(e,i,t){let n=A(e),r=[n[g.MonthsFormat],n[g.MonthsStandalone]],s=_(r,i);return _(s,t)}function lt(e,i){let n=A(e)[g.Eras];return _(n,i)}function W(e,i){let t=A(e);return _(t[g.DateFormat],i)}function Z(e,i){let t=A(e);return _(t[g.TimeFormat],i)}function Y(e,i){let n=A(e)[g.DateTimeFormat];return _(n,i)}function M(e,i){let t=A(e),n=t[g.NumberSymbols][i];if(typeof n>"u"){if(i===w.CurrencyDecimal)return t[g.NumberSymbols][w.Decimal];if(i===w.CurrencyGroup)return t[g.NumberSymbols][w.Group]}return n}function dt(e,i){return A(e)[g.NumberFormats][i]}function ft(e){if(!e[g.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[g.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ht(e){let i=A(e);return ft(i),(i[g.ExtraData][2]||[]).map(n=>typeof n=="string"?Ce(n):[Ce(n[0]),Ce(n[1])])}function gt(e,i,t){let n=A(e);ft(n);let r=[n[g.ExtraData][0],n[g.ExtraData][1]],s=_(r,i)||[];return _(s,t)||[]}function _(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Ce(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}var Ot=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ie={},Rt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Dt(e,i,t,n){let r=jt(e);i=R(t,i)||i;let o=[],u;for(;i;)if(u=Rt.exec(i),u){o=o.concat(u.slice(1));let f=o.pop();if(!f)break;i=f}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=mt(n,D),r=zt(r,n));let d="";return o.forEach(f=>{let a=xt(f);d+=a?a(r,t,D):f==="''"?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function ae(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function R(e,i){let t=ot(e);if(ie[t]??={},ie[t][i])return ie[t][i];let n="";switch(i){case"shortDate":n=W(e,E.Short);break;case"mediumDate":n=W(e,E.Medium);break;case"longDate":n=W(e,E.Long);break;case"fullDate":n=W(e,E.Full);break;case"shortTime":n=Z(e,E.Short);break;case"mediumTime":n=Z(e,E.Medium);break;case"longTime":n=Z(e,E.Long);break;case"fullTime":n=Z(e,E.Full);break;case"short":let r=R(e,"shortTime"),s=R(e,"shortDate");n=re(Y(e,E.Short),[r,s]);break;case"medium":let o=R(e,"mediumTime"),u=R(e,"mediumDate");n=re(Y(e,E.Medium),[o,u]);break;case"long":let D=R(e,"longTime"),d=R(e,"longDate");n=re(Y(e,E.Long),[D,d]);break;case"full":let f=R(e,"fullTime"),a=R(e,"fullDate");n=re(Y(e,E.Full),[f,a]);break}return n&&(ie[t][i]=n),n}function re(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function I(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function Bt(e,i){return I(e,3).substring(0,i)}function p(e,i,t=0,n=!1,r=!1){return function(s,o){let u=Pt(e,s);if((t>0||u>-t)&&(u+=t),e===3)u===0&&t===-12&&(u=12);else if(e===6)return Bt(u,i);let D=M(o,w.MinusSign);return I(u,i,D,n,r)}}function Pt(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function l(e,i,t=F.Format,n=!1){return function(r,s){return Nt(r,s,e,i,t,n)}}function Nt(e,i,t,n,r,s){switch(t){case 2:return ct(i,r,n)[e.getMonth()];case 1:return at(i,r,n)[e.getDay()];case 0:let o=e.getHours(),u=e.getMinutes();if(s){let d=ht(i),f=gt(i,r,n),a=d.findIndex(C=>{if(Array.isArray(C)){let[h,y]=C,$=o>=h.hours&&u>=h.minutes,B=o<y.hours||o===y.hours&&u<y.minutes;if(h.hours<y.hours){if($&&B)return!0}else if($||B)return!0}else if(C.hours===o&&C.minutes===u)return!0;return!1});if(a!==-1)return f[a]}return ut(i,r,n)[o<12?0:1];case 3:return lt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function se(e){return function(i,t,n){let r=-1*n,s=M(t,w.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+I(o,2,s)+I(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+I(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+I(o,2,s)+":"+I(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+I(o,2,s)+":"+I(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var kt=0,ue=4;function $t(e){let i=ae(e,kt,1).getDay();return ae(e,0,1+(i<=ue?ue:ue+7)-i)}function pt(e){let i=e.getDay(),t=i===0?-3:ue-i;return ae(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Fe(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=pt(t),o=$t(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return I(r,e,M(n,w.MinusSign))}}function oe(e,i=!1){return function(t,n){let s=pt(t).getFullYear();return I(s,e,M(n,w.MinusSign),i)}}var ye={};function xt(e){if(ye[e])return ye[e];let i;switch(e){case"G":case"GG":case"GGG":i=l(3,c.Abbreviated);break;case"GGGG":i=l(3,c.Wide);break;case"GGGGG":i=l(3,c.Narrow);break;case"y":i=p(0,1,0,!1,!0);break;case"yy":i=p(0,2,0,!0,!0);break;case"yyy":i=p(0,3,0,!1,!0);break;case"yyyy":i=p(0,4,0,!1,!0);break;case"Y":i=oe(1);break;case"YY":i=oe(2,!0);break;case"YYY":i=oe(3);break;case"YYYY":i=oe(4);break;case"M":case"L":i=p(1,1,1);break;case"MM":case"LL":i=p(1,2,1);break;case"MMM":i=l(2,c.Abbreviated);break;case"MMMM":i=l(2,c.Wide);break;case"MMMMM":i=l(2,c.Narrow);break;case"LLL":i=l(2,c.Abbreviated,F.Standalone);break;case"LLLL":i=l(2,c.Wide,F.Standalone);break;case"LLLLL":i=l(2,c.Narrow,F.Standalone);break;case"w":i=Fe(1);break;case"ww":i=Fe(2);break;case"W":i=Fe(1,!0);break;case"d":i=p(2,1);break;case"dd":i=p(2,2);break;case"c":case"cc":i=p(7,1);break;case"ccc":i=l(1,c.Abbreviated,F.Standalone);break;case"cccc":i=l(1,c.Wide,F.Standalone);break;case"ccccc":i=l(1,c.Narrow,F.Standalone);break;case"cccccc":i=l(1,c.Short,F.Standalone);break;case"E":case"EE":case"EEE":i=l(1,c.Abbreviated);break;case"EEEE":i=l(1,c.Wide);break;case"EEEEE":i=l(1,c.Narrow);break;case"EEEEEE":i=l(1,c.Short);break;case"a":case"aa":case"aaa":i=l(0,c.Abbreviated);break;case"aaaa":i=l(0,c.Wide);break;case"aaaaa":i=l(0,c.Narrow);break;case"b":case"bb":case"bbb":i=l(0,c.Abbreviated,F.Standalone,!0);break;case"bbbb":i=l(0,c.Wide,F.Standalone,!0);break;case"bbbbb":i=l(0,c.Narrow,F.Standalone,!0);break;case"B":case"BB":case"BBB":i=l(0,c.Abbreviated,F.Format,!0);break;case"BBBB":i=l(0,c.Wide,F.Format,!0);break;case"BBBBB":i=l(0,c.Narrow,F.Format,!0);break;case"h":i=p(3,1,-12);break;case"hh":i=p(3,2,-12);break;case"H":i=p(3,1);break;case"HH":i=p(3,2);break;case"m":i=p(4,1);break;case"mm":i=p(4,2);break;case"s":i=p(5,1);break;case"ss":i=p(5,2);break;case"S":i=p(6,1);break;case"SS":i=p(6,2);break;case"SSS":i=p(6,3);break;case"Z":case"ZZ":case"ZZZ":i=se(0);break;case"ZZZZZ":i=se(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=se(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=se(2);break;default:return null}return ye[e]=i,i}function mt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Ut(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function zt(e,i,t){let r=e.getTimezoneOffset(),s=mt(i,r);return Ut(e,-1*(s-r))}function jt(e){if(et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,s=1,o=1]=e.split("-").map(u=>+u);return ae(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(Ot))return Vt(n)}let i=new Date(e);if(!et(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function Vt(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,D=Number(e[6]||0),d=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,d),i}function et(e){return e instanceof Date&&!isNaN(e.valueOf())}var Gt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,tt=22,ce=".",K="0",Ht=";",Wt=",",Ee="#";function Zt(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=M(t,w.Infinity);else{let d=Xt(e);o&&(d=Kt(d));let f=i.minInt,a=i.minFrac,C=i.maxFrac;if(s){let P=s.match(Gt);if(P===null)throw new Error(`${s} is not a valid digit info`);let Le=P[1],fe=P[3],Me=P[5];Le!=null&&(f=we(Le)),fe!=null&&(a=we(fe)),Me!=null?C=we(Me):fe!=null&&a>C&&(C=a)}qt(d,a,C);let h=d.digits,y=d.integerLen,$=d.exponent,B=[];for(D=h.every(P=>!P);y<f;y++)h.unshift(0);for(;y<0;y++)h.unshift(0);y>0?B=h.splice(y,h.length):(B=h,h=[0]);let q=[];for(h.length>=i.lgSize&&q.unshift(h.splice(-i.lgSize,h.length).join(""));h.length>i.gSize;)q.unshift(h.splice(-i.gSize,h.length).join(""));h.length&&q.unshift(h.join("")),u=q.join(M(t,n)),B.length&&(u+=M(t,r)+B.join("")),$&&(u+=M(t,w.Exponential)+"+"+$)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function Ct(e,i,t){let n=dt(i,be.Decimal),r=Yt(n,M(i,w.MinusSign));return Zt(e,r,i,w.Group,w.Decimal,t)}function Yt(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Ht),r=n[0],s=n[1],o=r.indexOf(ce)!==-1?r.split(ce):[r.substring(0,r.lastIndexOf(K)+1),r.substring(r.lastIndexOf(K)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(Ee));for(let f=0;f<D.length;f++){let a=D.charAt(f);a===K?t.minFrac=t.maxFrac=f+1:a===Ee?t.maxFrac=f+1:t.posSuf+=a}let d=u.split(Wt);if(t.gSize=d[1]?d[1].length:0,t.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,s){let f=r.length-t.posPre.length-t.posSuf.length,a=s.indexOf(Ee);t.negPre=s.substring(0,a).replace(/'/g,""),t.negSuf=s.slice(a+f).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function Kt(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Xt(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(ce))>-1&&(i=i.replace(ce,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===K;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===K;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>tt&&(n=n.splice(0,tt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function qt(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let a=o;a<n.length;a++)n[a]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let a=1;a<o;a++)n[a]=0}if(u>=5)if(o-1<0){for(let a=0;a>o;a--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,d=i+e.integerLen,f=n.reduceRight(function(a,C,h,y){return C=C+a,y[h]=C<10?C:C-10,D&&(y[h]===0&&h>=d?y.pop():D=!1),C>=10?1:0},0);f&&(n.unshift(f),e.integerLen++)}function we(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}var Ae=/\s+/,nt=[],Jt=(()=>{class e{_ngEl;_renderer;initialClasses=nt;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ae):nt}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ae):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ae).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(m(U),m(z))};static \u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Qt=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Ue(this.ngComponentOutletNgModule,it(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(it(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(m(j))};static \u0275dir=O({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[x]})}return e})();function it(e){return e.get(xe).injector}var le=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ft=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new le(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),rt(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);rt(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m(j),m(he),m(He))};static \u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function rt(e,i){e.context.$implicit=i.item}var en=(()=>{class e{_viewContainer;_context=new de;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){st(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){st(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(m(j),m(he))};static \u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),de=class{$implicit=null;ngIf=null};function st(e,i){if(e&&!e.createEmbeddedView)throw new J(2020,!1)}var tn=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:$e.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(m(U),m(We),m(z))};static \u0275dir=O({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),nn=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(m(j))};static \u0275dir=O({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[x]})}return e})();function X(e,i){return new J(2100,!1)}var Se=class{createSubscription(i,t){return pe(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){pe(()=>i.unsubscribe())}},_e=class{createSubscription(i,t){return i.then(n=>t?.(n),n=>{throw n}),{unsubscribe:()=>{t=null}}}dispose(i){i.unsubscribe()}},rn=new _e,sn=new Se,on=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(je(t))return rn;if(Ve(t))return sn;throw X(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(m(Q,16))};static \u0275pipe=N({name:"async",type:e,pure:!1})}return e})();var un=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,an=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw X(e,t);return t.replace(un,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=N({name:"titlecase",type:e,pure:!0})}return e})();var cn="mediumDate",yt=new L(""),Et=new L(""),ln=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??cn,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Dt(t,o,s||this.locale,u)}catch(o){throw X(e,o.message)}}static \u0275fac=function(n){return new(n||e)(m(ge,16),m(yt,24),m(Et,24))};static \u0275pipe=N({name:"date",type:e,pure:!0})}return e})();var dn=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!fn(t))return null;r||=this._locale;try{let s=hn(t);return Ct(s,r,n)}catch(s){throw X(e,s.message)}}static \u0275fac=function(n){return new(n||e)(m(ge,16))};static \u0275pipe=N({name:"number",type:e,pure:!0})}return e})();function fn(e){return!(e==null||e===""||e!==e)}function hn(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var gn=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw X(e,t);return t.slice(n,r)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=N({name:"slice",type:e,pure:!1})}return e})();var Dn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ze({type:e});static \u0275inj=Oe({})}return e})();function pn(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var wt="browser",At="server";function mn(e){return e===wt}function Cn(e){return e===At}var ve=class{};var Wi=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new Ie(S(G),window)})}return e})(),Ie=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=Fn(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function Fn(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var _t=e=>e.src,yn=new L("",{providedIn:"root",factory:()=>_t});var St=/^((\s*\d+w\s*(,|$)){1,})$/;var En=[1,2],wn=640;var An=1920,Sn=1080;var Zi=(()=>{class e{imageLoader=S(yn);config=_n(S(Pe));renderer=S(z);imgElement=S(U).nativeElement;injector=S(Re);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Ne("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&St.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=St.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(s=>s>=wn)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return En.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>An||this.height>Sn),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==_t&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let o=this.injector.get(Q);r(),s(),this.placeholder=!1,o.markForCheck()},r=this.renderer.listen(t,"load",n),s=this.renderer.listen(t,"error",n);bn(t,n)}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=O({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&Ge("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",vn],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",De],height:[2,"height","height",De],loading:"loading",priority:[2,"priority","priority",V],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",V],fill:[2,"fill","fill",V],placeholder:[2,"placeholder","placeholder",In],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[x]})}return e})();function _n(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Be,e,i)}function bn(e,i){e.complete&&e.naturalWidth&&i()}function vn(e){return typeof e=="string"?e:ke(e)}function In(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:V(e)}export{G as a,ee as b,bt as c,me as d,vt as e,k as f,Je as g,Qe as h,Tt as i,Jt as j,Qt as k,Ft as l,en as m,tn as n,nn as o,on as p,an as q,ln as r,dn as s,gn as t,Dn as u,pn as v,wt as w,mn as x,Cn as y,ve as z,Wi as A,Zi as B};
@@ -0,0 +1 @@
1
+ import{a as y,b as J}from"./chunk-VKUW7E75.js";import"./chunk-LBXNL7E4.js";import{m as j}from"./chunk-Q4XWXOWE.js";import"./chunk-WL6ZZCYW.js";import{a as R,b as O}from"./chunk-5U7KZJ3H.js";import"./chunk-FHJOSHI3.js";import{i as z}from"./chunk-J3HFAWXU.js";import"./chunk-VM56C6ZV.js";import{a as G,b as H}from"./chunk-ISIYG4D5.js";import"./chunk-ALLR2NXQ.js";import"./chunk-FNGX2XFA.js";import"./chunk-BFEM6LX7.js";import{w as D,x as N,y as L,z as q}from"./chunk-O44DI62I.js";import"./chunk-DTYVTTET.js";import"./chunk-MGIEURA2.js";import"./chunk-TOR7QRRB.js";import{a as V}from"./chunk-YQYRAH7V.js";import"./chunk-KL3TPLRB.js";import"./chunk-RVUOVLL5.js";import"./chunk-GGQ7LRWG.js";import"./chunk-F2X3VGZZ.js";import{p as E,u as I}from"./chunk-DM2JLWKE.js";import{Dc as F,Eb as x,Ec as S,Mb as c,Oc as l,Pb as C,Pc as s,Rb as T,Sc as b,W as k,Wb as n,Xb as o,Y as A,Yb as u,_ as B,ac as h,fc as v,gc as a,h as M,ia as m,ib as r,qa as g,ra as _,s as d,sa as P,ta as w,yb as $}from"./chunk-6QJHEOXN.js";import"./chunk-YQFG5XE2.js";var K=()=>({height:"calc(100vh - 100px)"});function Q(t,f){if(t&1){let e=h();n(0,"p-button",6),v("onClick",function(){g(e);let p=a(2);return _(p.onFormat())}),o()}}function U(t,f){if(t&1){let e=h();n(0,"p-button",7),l(1,"async"),l(2,"async"),v("onClick",function(){g(e);let p=a(2);return _(p.onMigrate())}),o()}if(t&2){let e=a(2);c("disabled",s(1,2,e.countInBooks$)!==0)("pTooltip",s(2,4,e.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function W(t,f){if(t&1&&(n(0,"div",3),x(1,Q,1,0,"p-button",4)(2,U,3,6,"p-button",5),o()),t&2){let e=a();r(),T(e.roleService.permissions().migrate.delete?1:-1),r(),T(e.roleService.permissions().migrate.create?2:-1)}}function X(t,f){if(t&1&&(n(0,"p-scroll-panel")(1,"p-panel")(2,"div",8),u(3,"app-migration-cards",9),l(4,"async"),P(),n(5,"svg",10),u(6,"path",11),o(),w(),u(7,"app-migration-cards",12),l(8,"async"),o()()()),t&2){let e=a();C(S(12,K)),r(),C(S(13,K)),r(2),c("migrationCount",s(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),r(4),c("migrationCount",s(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var xe=(()=>{class t{constructor(){this.migrateService=m(y),this.toastr=m(V),this.refresh$=new M(void 0),this.pageTitle="Tax Account",this.roleService=m(j)}ngOnInit(){let e=this.refresh$.pipe(A(()=>this.migrateService.getTaxAccountCount()),B(i=>console.log("API response:",i)),k(1));this.countInPOS$=e.pipe(d(i=>Number(i.pos))),this.countInBooks$=e.pipe(d(i=>Number(i.books)))}onMigrate(){this.migrateService.migrateTaxAccount().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatTaxAccount().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=$({type:t,selectors:[["app-tax-account"]],features:[F([y])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],["label","Format","severity","danger"],["label","Create","tooltipPosition","left",3,"disabled","pTooltip"],["label","Format","severity","danger",3,"onClick"],["label","Create","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(i,p){i&1&&(n(0,"app-main-panel",2),x(1,W,3,2,"ng-template",null,0,b)(3,X,9,14,"ng-template",null,1,b),o()),i&2&&c("pageTitle",p.pageTitle)},dependencies:[z,I,E,O,R,H,G,q,L,J,N,D],encapsulation:2})}}return t})();export{xe as TaxAccountComponent};
@@ -0,0 +1 @@
1
+ import{l as un}from"./chunk-KL3TPLRB.js";import{A as Ht,a as nn,e as on,f as Ne,g as sn,h as pe,i as an}from"./chunk-DM2JLWKE.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};
@@ -1,4 +1,4 @@
1
- import{a as G}from"./chunk-ME4ALIS7.js";import{Ja as P,Ka as A,La as H,Ma as g,Ua as V,sa as z}from"./chunk-VMI3QWC6.js";import{h as R,k as w,l as O,m as N,s as B}from"./chunk-ZK43JB4A.js";import{$b as y,Cb as k,Dc as q,Eb as c,Ha as x,Lb as D,Mb as r,Qb as $,Wb as f,Xb as u,Zb as b,_b as v,ca as S,da as F,gc as _,hc as j,ia as I,ib as i,ic as h,lc as p,nc as d,oc as s,sc as C,tc as Q,ua as T,yb as E,zb as M}from"./chunk-6QJHEOXN.js";var K=["header"],L=["title"],U=["subtitle"],W=["content"],X=["footer"],Y=["*",[["p-header"]],[["p-footer"]]],Z=["*","p-header","p-footer"];function ee(e,o){e&1&&y(0)}function te(e,o){if(e&1&&(f(0,"div",8),h(1,1),c(2,ee,1,0,"ng-container",6),u()),e&2){let t=_();i(2),r("ngTemplateOutlet",t.headerTemplate||t._headerTemplate)}}function ne(e,o){if(e&1&&(b(0),C(1),v()),e&2){let t=_(2);i(),Q(t.header)}}function ae(e,o){e&1&&y(0)}function ie(e,o){if(e&1&&(f(0,"div",9),c(1,ne,2,1,"ng-container",10)(2,ae,1,0,"ng-container",6),u()),e&2){let t=_();i(),r("ngIf",t.header&&!t._titleTemplate&&!t.titleTemplate),i(),r("ngTemplateOutlet",t.titleTemplate||t._titleTemplate)}}function re(e,o){if(e&1&&(b(0),C(1),v()),e&2){let t=_(2);i(),Q(t.subheader)}}function oe(e,o){e&1&&y(0)}function le(e,o){if(e&1&&(f(0,"div",11),c(1,re,2,1,"ng-container",10)(2,oe,1,0,"ng-container",6),u()),e&2){let t=_();i(),r("ngIf",t.subheader&&!t._subtitleTemplate&&!t.subtitleTemplate),i(),r("ngTemplateOutlet",t.subtitleTemplate||t._subtitleTemplate)}}function ce(e,o){e&1&&y(0)}function pe(e,o){e&1&&y(0)}function de(e,o){if(e&1&&(f(0,"div",12),h(1,2),c(2,pe,1,0,"ng-container",6),u()),e&2){let t=_();i(2),r("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}var se=({dt:e})=>`
1
+ import{a as G}from"./chunk-O44DI62I.js";import{Ka as P,La as A,Ma as H,Na as g,Va as V,ta as z}from"./chunk-MGIEURA2.js";import{j as R,m as w,n as O,o as N,u as B}from"./chunk-DM2JLWKE.js";import{$b as y,Cb as k,Dc as q,Eb as c,Ha as x,Lb as D,Mb as r,Qb as $,Wb as f,Xb as u,Zb as b,_b as v,ca as S,da as F,gc as _,hc as j,ia as I,ib as i,ic as h,lc as p,nc as d,oc as s,sc as C,tc as Q,ua as T,yb as E,zb as M}from"./chunk-6QJHEOXN.js";var K=["header"],L=["title"],U=["subtitle"],W=["content"],X=["footer"],Y=["*",[["p-header"]],[["p-footer"]]],Z=["*","p-header","p-footer"];function ee(e,o){e&1&&y(0)}function te(e,o){if(e&1&&(f(0,"div",8),h(1,1),c(2,ee,1,0,"ng-container",6),u()),e&2){let t=_();i(2),r("ngTemplateOutlet",t.headerTemplate||t._headerTemplate)}}function ne(e,o){if(e&1&&(b(0),C(1),v()),e&2){let t=_(2);i(),Q(t.header)}}function ae(e,o){e&1&&y(0)}function ie(e,o){if(e&1&&(f(0,"div",9),c(1,ne,2,1,"ng-container",10)(2,ae,1,0,"ng-container",6),u()),e&2){let t=_();i(),r("ngIf",t.header&&!t._titleTemplate&&!t.titleTemplate),i(),r("ngTemplateOutlet",t.titleTemplate||t._titleTemplate)}}function re(e,o){if(e&1&&(b(0),C(1),v()),e&2){let t=_(2);i(),Q(t.subheader)}}function oe(e,o){e&1&&y(0)}function le(e,o){if(e&1&&(f(0,"div",11),c(1,re,2,1,"ng-container",10)(2,oe,1,0,"ng-container",6),u()),e&2){let t=_();i(),r("ngIf",t.subheader&&!t._subtitleTemplate&&!t.subtitleTemplate),i(),r("ngTemplateOutlet",t.subtitleTemplate||t._subtitleTemplate)}}function ce(e,o){e&1&&y(0)}function pe(e,o){e&1&&y(0)}function de(e,o){if(e&1&&(f(0,"div",12),h(1,2),c(2,pe,1,0,"ng-container",6),u()),e&2){let t=_();i(2),r("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}var se=({dt:e})=>`
2
2
  .p-card {
3
3
  background: ${e("card.background")};
4
4
  color: ${e("card.color")};