dealposbooks 1.0.8 → 1.1.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.
- package/3rdpartylicenses.txt +56 -56
- package/assets/scss/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- package/assets/scss/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
- package/assets/scss/layouts/_customizer.scss +11 -6
- package/assets/scss/layouts/_layout.scss +6 -6
- package/assets/scss/layouts/_sidebar.scss +19 -14
- package/assets/scss/style.scss +24 -8
- package/assets/scss/variables/_variables.scss +6 -52
- package/chunk-223MMYH7.js +141 -0
- package/chunk-33KLXB2L.js +180 -0
- package/{chunk-URKXDZJE.js → chunk-4Y3NYY52.js} +1 -1
- package/{chunk-I72ECAQH.js → chunk-5GQEUX4M.js} +1 -1
- package/chunk-5RRUIJ5U.js +1 -0
- package/{chunk-7X454BGN.js → chunk-6BFODHTZ.js} +1 -1
- package/chunk-AXJA6OO7.js +246 -0
- package/chunk-AYVR3RIS.js +297 -0
- package/{chunk-ZT4NOONZ.js → chunk-B6N6C3RA.js} +1 -1
- package/chunk-CINZRZMB.js +1 -0
- package/chunk-DBRLQ7BX.js +397 -0
- package/{chunk-QUR72LET.js → chunk-DJ5UHXOJ.js} +1 -1
- package/chunk-DUOJKP2G.js +300 -0
- package/chunk-E4ZVZRLO.js +210 -0
- package/chunk-EBOJJWD5.js +1 -0
- package/{chunk-D5U6AOFB.js → chunk-EMVZ65TI.js} +1 -1
- package/chunk-ENPYMVZG.js +1 -0
- package/chunk-EOLHIQHQ.js +1 -0
- package/chunk-ERX7ND7E.js +1 -0
- package/chunk-FKTEL4CU.js +524 -0
- package/chunk-FOUHOMEE.js +301 -0
- package/chunk-H4HFCRFZ.js +1660 -0
- package/chunk-HBVENULS.js +1 -0
- package/chunk-J53TOHZH.js +1 -0
- package/chunk-JC7YOUAM.js +1 -0
- package/chunk-JR4EQTPJ.js +59 -0
- package/chunk-JSAAKZBO.js +1 -0
- package/chunk-KZ2KGWUY.js +1 -0
- package/chunk-LON3T466.js +1 -0
- package/chunk-LYEN4UBW.js +1 -0
- package/chunk-MG3SLH6O.js +1 -0
- package/chunk-NQ3CKBYP.js +1 -0
- package/{chunk-YUFMXLRG.js → chunk-NS7JH3QF.js} +1 -1
- package/{chunk-2XZW23PQ.js → chunk-O65HPMSJ.js} +1 -1
- package/chunk-OCLABZZW.js +1 -0
- package/chunk-OH2CJBFF.js +1 -0
- package/chunk-OSV7AMB2.js +1 -0
- package/{chunk-2LKTSMUI.js → chunk-OWI3BWEZ.js} +7 -7
- package/chunk-OYYYX3IP.js +1 -0
- package/{chunk-MQJQRREL.js → chunk-PNQSQQIT.js} +1 -1
- package/chunk-Q5PJ63MA.js +1 -0
- package/{chunk-7RH6F4PN.js → chunk-R2KG54OT.js} +3 -1
- package/chunk-REHXXPZY.js +1 -0
- package/{chunk-ONU5ICNZ.js → chunk-RIALPB2D.js} +1 -1
- package/chunk-RJYO2KKV.js +1 -0
- package/chunk-ROKYJX6Q.js +193 -0
- package/chunk-RUGQ4OJG.js +1 -0
- package/chunk-RUP2SWYB.js +231 -0
- package/chunk-RUVT4SCE.js +1 -0
- package/{chunk-UZFJYFH2.js → chunk-SS3CMCAX.js} +4 -2
- package/chunk-TMY4NWZ6.js +1 -0
- package/chunk-TOJAZ32N.js +1 -0
- package/chunk-TUL6Y2HH.js +1 -0
- package/{chunk-33RD6RQS.js → chunk-UGKSIDKE.js} +1 -1
- package/chunk-UTL7D6E7.js +821 -0
- package/{chunk-4Z6KFX2O.js → chunk-V7Y6Z4AQ.js} +2 -2
- package/chunk-VY4Z33EE.js +7 -0
- package/chunk-VYKJK5YU.js +7 -0
- package/{chunk-M4ZOPGSP.js → chunk-WG7APCJU.js} +1 -1
- package/{chunk-EE4WG35V.js → chunk-X2NM4CIV.js} +6 -2
- package/chunk-XWVLTTMV.js +1 -0
- package/chunk-Y6MJGNH2.js +1 -0
- package/chunk-YKYI4A3V.js +1 -0
- package/chunk-ZL4DDXH7.js +348 -0
- package/{chunk-6TJIZZK6.js → chunk-ZU7I7MCL.js} +1 -1
- package/{chunk-U2S74ZLK.js → chunk-ZZPBK2XT.js} +1 -1
- package/index.html +6 -3
- package/main-MCP7AVEU.js +1 -0
- package/package.json +1 -1
- package/styles-IAH7RNKW.css +1 -0
- package/chunk-2QCAOSMO.js +0 -256
- package/chunk-3ROVFYLI.js +0 -189
- package/chunk-3UAQZJAG.js +0 -180
- package/chunk-7KARVIIN.js +0 -1
- package/chunk-A3I2VQNX.js +0 -141
- package/chunk-A3MXO6MA.js +0 -1
- package/chunk-B5ZO2I4D.js +0 -2
- package/chunk-BP2JJ6HZ.js +0 -160
- package/chunk-BWO4PVAG.js +0 -301
- package/chunk-C4WUUVLC.js +0 -1
- package/chunk-CH2GYE5J.js +0 -1
- package/chunk-DF2QDC4T.js +0 -1
- package/chunk-DKWZOSVY.js +0 -59
- package/chunk-EEJWF26F.js +0 -1
- package/chunk-F7FJPDUV.js +0 -1
- package/chunk-FDDNZH4H.js +0 -1633
- package/chunk-FYNIFRG5.js +0 -1
- package/chunk-HKMI4ZYY.js +0 -393
- package/chunk-HU6SF3HD.js +0 -1
- package/chunk-IWUDRSTJ.js +0 -235
- package/chunk-KJWN47PL.js +0 -1
- package/chunk-MVGPOIFT.js +0 -1
- package/chunk-OHEAUNEW.js +0 -1
- package/chunk-P4OJNULI.js +0 -1
- package/chunk-PCJXJ6O4.js +0 -370
- package/chunk-PFXPLNMA.js +0 -1
- package/chunk-PQTHPF23.js +0 -7
- package/chunk-PV6INEW2.js +0 -1
- package/chunk-QPA73UD5.js +0 -616
- package/chunk-RFZOXUTS.js +0 -1
- package/chunk-RIUEIX64.js +0 -1
- package/chunk-UPDO63XT.js +0 -1
- package/chunk-UQ3SWGEA.js +0 -1
- package/chunk-WZKSD7XN.js +0 -284
- package/chunk-X2CQD76I.js +0 -208
- package/chunk-YX7446ZM.js +0 -1
- package/chunk-Z53S4NM2.js +0 -736
- package/main-U76NYT5G.js +0 -1
- package/styles-OZO2XDGZ.css +0 -1
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import{a as mt,f as ue,g as xt,h as yt,i as vt}from"./chunk-UTL7D6E7.js";import{h as Ct}from"./chunk-Y6MJGNH2.js";import{a as et,b as tt,i as _e,j as ct,n as Fe,o as ge,q as _t,r as gt,s as ut,t as ht,u as ft,v as bt}from"./chunk-OWI3BWEZ.js";import{A as Me,B as De,G as Se,Ga as rt,Ha as me,I as nt,Ia as pt,K as ot,O as Ve,Pa as dt,R as at,W as lt,Y as ce,b as qe,e as Ke,i as Ge,ja as st,t as Ue,w as Z,x as pe,y as ze,ya as L,z as de}from"./chunk-ROKYJX6Q.js";import{c as it,d as Te,f as we,h as Ie,i as ke,k as Ee}from"./chunk-S35HUXPS.js";import{m as Je}from"./chunk-6BFODHTZ.js";import{d as je,k as Ze,n as le,o as $e,p as se,t as re,v as j}from"./chunk-RUGQ4OJG.js";import{Aa as He,Ab as G,Bb as m,Ca as K,Da as O,Ha as Be,Ic as R,Jb as T,Kb as o,La as Re,Nb as A,Ob as V,Pb as W,Rc as f,Sc as ae,Tc as ve,Ub as p,Vb as d,Vc as Ye,Wb as y,Xb as H,Yb as B,Zb as w,_b as b,ca as Le,da as be,dc as u,eb as Qe,ec as r,fc as U,gb as l,gc as N,hc as v,ia as I,ic as J,jc as C,kc as x,lc as ee,mc as X,nc as We,oc as xe,pa as Oe,qa as _,ra as g,rc as te,sa as q,sc as ie,ta as k,tc as ne,ub as D,uc as oe,vb as Ce,vc as Y,wb as Ae,wc as ye,xc as Ne,yb as S,yc as Xe,za as M}from"./chunk-VYKJK5YU.js";import{a as fe}from"./chunk-EQDQRRRY.js";var Tt=(()=>{class t extends ge{pathId;ngOnInit(){this.pathId="url(#"+L()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["WindowMaximizeIcon"]],features:[S],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(q(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(V(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var wt=(()=>{class t extends ge{pathId;ngOnInit(){this.pathId="url(#"+L()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["WindowMinimizeIcon"]],features:[S],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(q(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(V(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var It=(()=>{class t extends _e{pFocusTrapDisabled=!1;platformId=I(Re);document=I(je);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),j(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&j(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=i=>ot("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?at(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Ve(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?lt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Ve(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275dir=Ae({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",f]},features:[G,S,Oe]})}return t})();var St=["header"],kt=["content"],Et=["footer"],Vt=["closeicon"],Ft=["maximizeicon"],Pt=["minimizeicon"],Lt=["headless"],Ot=["titlebar"],Ht=["*",[["p-footer"]]],Bt=["*","p-footer"],Rt=(t,s,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":s,"pointer-events":e}),Qt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),At=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),Wt=(t,s)=>({transform:t,transition:s}),Nt=t=>({value:"visible",params:t});function Xt(t,s){t&1&&w(0)}function Yt(t,s){if(t&1&&(H(0),m(1,Xt,1,0,"ng-container",11),B()),t&2){let e=r(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function jt(t,s){if(t&1){let e=b();p(0,"div",15),u("mousedown",function(i){_(e);let a=r(4);return g(a.initResize(i))}),d()}if(t&2){let e=r(4);o("ngClass",e.cx("resizeHandle"))}}function Zt(t,s){if(t&1&&(p(0,"span",21),X(1),d()),t&2){let e=r(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),We(e.header)}}function $t(t,s){t&1&&w(0)}function qt(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function Kt(t,s){t&1&&y(0,"WindowMaximizeIcon")}function Gt(t,s){t&1&&y(0,"WindowMinimizeIcon")}function Ut(t,s){if(t&1&&(H(0),m(1,Kt,1,0,"WindowMaximizeIcon",23)(2,Gt,1,0,"WindowMinimizeIcon",23),B()),t&2){let e=r(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function Jt(t,s){}function ei(t,s){t&1&&m(0,Jt,0,0,"ng-template")}function ti(t,s){if(t&1&&(H(0),m(1,ei,1,0,null,11),B()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ii(t,s){}function ni(t,s){t&1&&m(0,ii,0,0,"ng-template")}function oi(t,s){if(t&1&&(H(0),m(1,ni,1,0,null,11),B()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ai(t,s){if(t&1){let e=b();p(0,"p-button",22),u("onClick",function(){_(e);let i=r(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=r(5);return g(i.maximize())}),m(1,qt,1,1,"span",14)(2,Ut,3,2,"ng-container",23)(3,ti,2,1,"ng-container",23)(4,oi,2,1,"ng-container",23),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),l(),o("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),l(),o("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),l(),o("ngIf",!e.maximized),l(),o("ngIf",e.maximized)}}function li(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(8);o("ngClass",e.closeIcon)}}function si(t,s){t&1&&y(0,"TimesIcon")}function ri(t,s){if(t&1&&(H(0),m(1,li,1,1,"span",14)(2,si,1,0,"TimesIcon",23),B()),t&2){let e=r(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function pi(t,s){}function di(t,s){t&1&&m(0,pi,0,0,"ng-template")}function ci(t,s){if(t&1&&(p(0,"span"),m(1,di,1,0,null,11),d()),t&2){let e=r(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function mi(t,s){if(t&1&&m(0,ri,3,2,"ng-container",23)(1,ci,2,1,"span",23),t&2){let e=r(6);o("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),l(),o("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function _i(t,s){if(t&1){let e=b();p(0,"p-button",24),u("onClick",function(i){_(e);let a=r(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=r(5);return g(a.close(i))}),m(1,mi,2,2,"ng-template",null,4,R),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function gi(t,s){if(t&1){let e=b();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=r(4);return g(a.initDrag(i))}),m(2,Zt,2,3,"span",17)(3,$t,1,0,"ng-container",11),p(4,"div",18),m(5,ai,5,8,"p-button",19)(6,_i,3,4,"p-button",20),d()()}if(t&2){let e=r(4);o("ngClass",e.cx("header")),l(2),o("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),l(),o("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),l(),o("ngClass",e.cx("headerActions")),l(),o("ngIf",e.maximizable),l(),o("ngIf",e.closable)}}function ui(t,s){t&1&&w(0)}function hi(t,s){t&1&&w(0)}function fi(t,s){if(t&1&&(p(0,"div",18,5),N(2,1),m(3,hi,1,0,"ng-container",11),d()),t&2){let e=r(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function bi(t,s){if(t&1&&(m(0,jt,1,1,"div",12)(1,gi,7,6,"div",13),p(2,"div",7,2),N(4),m(5,ui,1,0,"ng-container",11),d(),m(6,fi,4,2,"div",14)),t&2){let e=r(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),V(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),T("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ci(t,s){if(t&1){let e=b();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=r(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=r(2);return g(a.onAnimationEnd(i))}),m(2,Yt,2,1,"ng-container",10)(3,bi,7,9,"ng-template",null,1,R),d()}if(t&2){let e=ee(4),n=r(2);A(n.style),V(n.styleClass),o("ngClass",ye(13,Qt,n.maximizable&&n.maximized))("ngStyle",Y(15,At))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",ye(19,Nt,Ne(16,Wt,n.transformOptions,n.transitionOptions))),T("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function xi(t,s){if(t&1&&(p(0,"div",7),m(1,Ci,5,21,"div",8),d()),t&2){let e=r();A(e.maskStyle),V(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",Xe(7,Rt,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),l(),o("ngIf",e.visible)}}var yi=({dt:t})=>`
|
|
2
|
+
.p-dialog {
|
|
3
|
+
max-height: 90%;
|
|
4
|
+
transform: scale(1);
|
|
5
|
+
border-radius: ${t("dialog.border.radius")};
|
|
6
|
+
box-shadow: ${t("dialog.shadow")};
|
|
7
|
+
background: ${t("dialog.background")};
|
|
8
|
+
border: 1px solid ${t("dialog.border.color")};
|
|
9
|
+
color: ${t("dialog.color")};
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
pointer-events: auto
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.p-dialog-content {
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
padding: ${t("dialog.content.padding")};
|
|
18
|
+
flex-grow: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.p-dialog-header {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
padding: ${t("dialog.header.padding")};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.p-dialog-title {
|
|
30
|
+
font-weight: ${t("dialog.title.font.weight")};
|
|
31
|
+
font-size: ${t("dialog.title.font.size")};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.p-dialog-footer {
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
padding: ${t("dialog.footer.padding")};
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
gap: ${t("dialog.footer.gap")};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.p-dialog-header-actions {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: ${t("dialog.header.gap")};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.p-dialog-enter-active {
|
|
49
|
+
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.p-dialog-leave-active {
|
|
53
|
+
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.p-dialog-enter-from,
|
|
57
|
+
.p-dialog-leave-to {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
transform: scale(0.7);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.p-dialog-top .p-dialog,
|
|
63
|
+
.p-dialog-bottom .p-dialog,
|
|
64
|
+
.p-dialog-left .p-dialog,
|
|
65
|
+
.p-dialog-right .p-dialog,
|
|
66
|
+
.p-dialog-topleft .p-dialog,
|
|
67
|
+
.p-dialog-topright .p-dialog,
|
|
68
|
+
.p-dialog-bottomleft .p-dialog,
|
|
69
|
+
.p-dialog-bottomright .p-dialog {
|
|
70
|
+
margin: 0.75rem;
|
|
71
|
+
transform: translate3d(0px, 0px, 0px);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.p-dialog-top .p-dialog-enter-active,
|
|
75
|
+
.p-dialog-top .p-dialog-leave-active,
|
|
76
|
+
.p-dialog-bottom .p-dialog-enter-active,
|
|
77
|
+
.p-dialog-bottom .p-dialog-leave-active,
|
|
78
|
+
.p-dialog-left .p-dialog-enter-active,
|
|
79
|
+
.p-dialog-left .p-dialog-leave-active,
|
|
80
|
+
.p-dialog-right .p-dialog-enter-active,
|
|
81
|
+
.p-dialog-right .p-dialog-leave-active,
|
|
82
|
+
.p-dialog-topleft .p-dialog-enter-active,
|
|
83
|
+
.p-dialog-topleft .p-dialog-leave-active,
|
|
84
|
+
.p-dialog-topright .p-dialog-enter-active,
|
|
85
|
+
.p-dialog-topright .p-dialog-leave-active,
|
|
86
|
+
.p-dialog-bottomleft .p-dialog-enter-active,
|
|
87
|
+
.p-dialog-bottomleft .p-dialog-leave-active,
|
|
88
|
+
.p-dialog-bottomright .p-dialog-enter-active,
|
|
89
|
+
.p-dialog-bottomright .p-dialog-leave-active {
|
|
90
|
+
transition: all 0.3s ease-out;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.p-dialog-top .p-dialog-enter-from,
|
|
94
|
+
.p-dialog-top .p-dialog-leave-to {
|
|
95
|
+
transform: translate3d(0px, -100%, 0px);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.p-dialog-bottom .p-dialog-enter-from,
|
|
99
|
+
.p-dialog-bottom .p-dialog-leave-to {
|
|
100
|
+
transform: translate3d(0px, 100%, 0px);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.p-dialog-left .p-dialog-enter-from,
|
|
104
|
+
.p-dialog-left .p-dialog-leave-to,
|
|
105
|
+
.p-dialog-topleft .p-dialog-enter-from,
|
|
106
|
+
.p-dialog-topleft .p-dialog-leave-to,
|
|
107
|
+
.p-dialog-bottomleft .p-dialog-enter-from,
|
|
108
|
+
.p-dialog-bottomleft .p-dialog-leave-to {
|
|
109
|
+
transform: translate3d(-100%, 0px, 0px);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.p-dialog-right .p-dialog-enter-from,
|
|
113
|
+
.p-dialog-right .p-dialog-leave-to,
|
|
114
|
+
.p-dialog-topright .p-dialog-enter-from,
|
|
115
|
+
.p-dialog-topright .p-dialog-leave-to,
|
|
116
|
+
.p-dialog-bottomright .p-dialog-enter-from,
|
|
117
|
+
.p-dialog-bottomright .p-dialog-leave-to {
|
|
118
|
+
transform: translate3d(100%, 0px, 0px);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.p-dialog-left:dir(rtl) .p-dialog-enter-from,
|
|
122
|
+
.p-dialog-left:dir(rtl) .p-dialog-leave-to,
|
|
123
|
+
.p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
|
|
124
|
+
.p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
|
|
125
|
+
.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
|
|
126
|
+
.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
|
|
127
|
+
transform: translate3d(100%, 0px, 0px);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.p-dialog-right:dir(rtl) .p-dialog-enter-from,
|
|
131
|
+
.p-dialog-right:dir(rtl) .p-dialog-leave-to,
|
|
132
|
+
.p-dialog-topright:dir(rtl) .p-dialog-enter-from,
|
|
133
|
+
.p-dialog-topright:dir(rtl) .p-dialog-leave-to,
|
|
134
|
+
.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
|
|
135
|
+
.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
|
|
136
|
+
transform: translate3d(-100%, 0px, 0px);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.p-dialog-maximized {
|
|
140
|
+
width: 100vw !important;
|
|
141
|
+
height: 100vh !important;
|
|
142
|
+
top: 0px !important;
|
|
143
|
+
left: 0px !important;
|
|
144
|
+
max-height: 100%;
|
|
145
|
+
height: 100%;
|
|
146
|
+
border-radius: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.p-dialog-maximized .p-dialog-content {
|
|
150
|
+
flex-grow: 1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.p-overlay-mask:dir(rtl) {
|
|
154
|
+
flex-direction: row-reverse;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* For PrimeNG */
|
|
158
|
+
|
|
159
|
+
.p-dialog .p-resizable-handle {
|
|
160
|
+
position: absolute;
|
|
161
|
+
font-size: 0.1px;
|
|
162
|
+
display: block;
|
|
163
|
+
cursor: se-resize;
|
|
164
|
+
width: 12px;
|
|
165
|
+
height: 12px;
|
|
166
|
+
right: 1px;
|
|
167
|
+
bottom: 1px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.p-confirm-dialog .p-dialog-content {
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
}
|
|
174
|
+
`,vi={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:t.position==="left"||t.position==="topleft"||t.position==="bottomleft"?"flex-start":t.position==="right"||t.position==="topright"||t.position==="bottomright"?"flex-end":"center",alignItems:t.position==="top"||t.position==="topleft"||t.position==="topright"?"flex-start":t.position==="bottom"||t.position==="bottomleft"||t.position==="bottomright"?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},Ti={mask:({instance:t})=>{let e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(n=>n===t.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":t.modal,[`p-dialog-${e}`]:e}},root:({instance:t})=>({"p-dialog p-component":!0,"p-dialog-maximized":t.maximizable&&t.maximized}),header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},zt=(()=>{class t extends dt{name="dialog";theme=yi;classes=Ti;inlineStyles=vi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275prov=Le({token:t,factory:t.\u0275fac})}return t})();var wi=ke([we({transform:"{{transform}}",opacity:0}),Te("{{transition}}")]),Ii=ke([Te("{{transition}}",we({transform:"{{transform}}",opacity:0}))]),Pe=(()=>{class t extends _e{header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",text:!0,rounded:!0};maximizeButtonProps={severity:"secondary",text:!0,rounded:!0};get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style=fe({},e),this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)";break}}role="dialog";onShow=new M;onHide=new M;visibleChange=new M;onResizeInit=new M;onResizeEnd=new M;onDragEnd=new M;onMaximize=new M;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=L("pn_id_");_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=I(zt);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;get maximizeLabel(){return this.config.getTranslation(pt.ARIA).maximizeLabel}zone=I(He);get maskClass(){let n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(i=>i===this.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":this.modal||this.dismissableMask,[`p-dialog-${n}`]:n}}ngOnInit(){super.ngOnInit(),this.breakpoints&&this.createStyle()}templates;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"header":this.headerT=e.template;break;case"content":this.contentT=e.template;break;case"footer":this.footerT=e.template;break;case"closeicon":this.closeIconT=e.template;break;case"maximizeicon":this.maximizeIconT=e.template;break;case"minimizeicon":this.minimizeIconT=e.template;break;case"headless":this.headlessT=e.template;break;default:this.contentT=e.template;break}})}getAriaLabelledBy(){return this.header!==null?L("pn_id_")+"_header":null}parseDurationToMilliseconds(e){let n=/([\d\.]+)(ms|s)\b/g,i=0,a;for(;(a=n.exec(e))!==null;){let c=parseFloat(a[1]),h=a[2];h==="ms"?i+=c:h==="s"&&(i+=c*1e3)}if(i!==0)return i}_focus(e){if(e){let n=this.parseDurationToMilliseconds(this.transitionOptions),i=ct.getFocusableElements(e);if(i&&i.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>i[0].focus(),n||5)}),!0}return!1}focus(e){let n=this._focus(e);n||(n=this._focus(this.footerViewChild?.nativeElement),n||(n=this._focus(this.headerViewChild?.nativeElement),n||this._focus(this.contentViewChild?.nativeElement)))}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&ze()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();let e=document.querySelectorAll(".p-dialog-mask-scrollblocker");this.modal&&e&&e.length==1&&Me(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?ze():Me()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(Fe.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(j(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let n in this.breakpoints)e+=`
|
|
175
|
+
@media screen and (max-width: ${n}) {
|
|
176
|
+
.p-dialog[${this.id}]:not(.p-dialog-maximized) {
|
|
177
|
+
width: ${this.breakpoints[n]} !important;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
`;this.renderer.setProperty(this.styleElement,"innerHTML",e),st(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){Z(e.target,"p-dialog-maximize-icon")||Z(e.target,"p-dialog-header-close-icon")||Z(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",pe(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Se(this.container),i=ce(this.container),a=e.pageX-this.lastPageX,c=e.pageY-this.lastPageY,h=this.container.getBoundingClientRect(),F=getComputedStyle(this.container),P=parseFloat(F.marginLeft),$=parseFloat(F.marginTop),E=h.left+a-P,z=h.top+c-$,Q=De();this.container.style.position="fixed",this.keepInViewport?(E>=this.minX&&E+n<Q.width&&(this._style.left=`${E}px`,this.lastPageX=e.pageX,this.container.style.left=`${E}px`),z>=this.minY&&z+i<Q.height&&(this._style.top=`${z}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${E}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,de(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,pe(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=Se(this.container),c=ce(this.container),h=ce(this.contentViewChild?.nativeElement),F=a+n,P=c+i,$=this.container.style.minWidth,E=this.container.style.minHeight,z=this.container.getBoundingClientRect(),Q=De();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(F+=n,P+=i),(!$||F>parseInt($))&&z.left+F<Q.width&&(this._style.width=F+"px",this.container.style.width=this._style.width),(!E||P>parseInt(E))&&z.top+P<Q.height&&(this.contentViewChild.nativeElement.style.height=h+P-c+"px",this._style.height&&(this._style.height=P+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,de(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):nt(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&pe(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),Z(this.document.body,"p-overflow-hidden")&&de(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Fe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?fe({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275cmp=D({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,St,4),v(a,kt,4),v(a,Et,4),v(a,Vt,4),v(a,Ft,4),v(a,Pt,4),v(a,Lt,4),v(a,rt,4)),n&2){let c;C(c=x())&&(i._headerTemplate=c.first),C(c=x())&&(i._contentTemplate=c.first),C(c=x())&&(i._footerTemplate=c.first),C(c=x())&&(i._closeiconTemplate=c.first),C(c=x())&&(i._maximizeiconTemplate=c.first),C(c=x())&&(i._minimizeiconTemplate=c.first),C(c=x())&&(i._headlessTemplate=c.first),C(c=x())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(J(Ot,5),J(kt,5),J(Et,5)),n&2){let a;C(a=x())&&(i.headerViewChild=a.first),C(a=x())&&(i.contentViewChild=a.first),C(a=x())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",f],resizable:[2,"resizable","resizable",f],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",f],closeOnEscape:[2,"closeOnEscape","closeOnEscape",f],dismissableMask:[2,"dismissableMask","dismissableMask",f],rtl:[2,"rtl","rtl",f],closable:[2,"closable","closable",f],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",f],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",f],autoZIndex:[2,"autoZIndex","autoZIndex",f],baseZIndex:[2,"baseZIndex","baseZIndex",ae],minX:[2,"minX","minX",ae],minY:[2,"minY","minY",ae],focusOnShow:[2,"focusOnShow","focusOnShow",f],maximizable:[2,"maximizable","maximizable",f],keepInViewport:[2,"keepInViewport","keepInViewport",f],focusTrap:[2,"focusTrap","focusTrap",f],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[oe([zt]),G,S],ngContentSelectors:Bt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(U(Ht),m(0,xi,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[re,Ze,le,se,$e,ue,It,mt,Tt,wt,me],encapsulation:2,data:{animation:[it("animation",[Ie("void => visible",[Ee(wi)]),Ie("visible => void",[Ee(Ii)])])]},changeDetection:0})}return t})(),Mt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Ce({type:t});static \u0275inj=be({imports:[Pe,me,me]})}return t})();var Ei=["actionButton"],zi=["filters"],Mi=["content"],Di=[[["tabs"]]],Si=["tabs"],Vi=()=>({width:"30vw"}),Fi=()=>({"1199px":"75vw","575px":"100vw"});function Pi(t,s){if(t&1){let e=b();p(0,"p-button",30),u("onClick",function(){_(e);let i=r();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),d()}t&2&&o("text",!0)}function Li(t,s){if(t&1){let e=b();p(0,"p-button",31),u("click",function(){_(e);let i=r();return g(i.isCollapsed=!i.isCollapsed)}),d()}if(t&2){let e=r();o("text",!0),T("aria-expanded",!e.isCollapsed)}}function Oi(t,s){if(t&1){let e=b();p(0,"p-iconfield",20)(1,"input",32),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",33),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Hi(t,s){if(t&1){let e=b();p(0,"button",34),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",35),d()}}function Bi(t,s){t&1&&w(0)}function Ri(t,s){if(t&1){let e=b();p(0,"p-iconfield")(1,"input",32),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",33),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Qi(t,s){if(t&1){let e=b();p(0,"button",34),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",35),d()}}function Ai(t,s){t&1&&w(0)}function Wi(t,s){t&1&&w(0)}function Ni(t,s){t&1&&w(0)}function Xi(t,s){if(t&1){let e=b();p(0,"p-button",36),u("onClick",function(){_(e);let i=r();return g(i.isDialogFilterVisible=!1)}),d()}t&2&&o("rounded",!0)("text",!0)}function Yi(t,s){if(t&1){let e=b();p(0,"p-button",37),u("click",function(){_(e);let i=r();return g(i.isDialogFilterVisible=!1)}),d(),p(1,"p-button",38),u("click",function(){_(e);let i=r();return i.filterOKEmitted.emit(),g(i.isDialogFilterVisible=!1)}),d()}}var eo=(()=>{class t{constructor(){this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.routeInfo=O(),this.activatedRoute=I(Je),this.filterEmitted=K(),this.store=I(Ct),this.pageTitle=O(""),this.isSearchableInput=O(!1),this.searchEmitted=K(),this.searchQuery=Be(""),this.isFilterable=O(!1),this.filterOKEmitted=K(),this.isDialogFilterVisible=!1,this.isInitDialogFilterVisible=O(!1),this.pageTitleComputed=ve(()=>this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle()),this.isPageTitleTruncated=ve(()=>this.pageTitleComputed().includes("...")),this.tooltipOptions={tooltipPosition:"bottom",tooltipEvent:"hover"},Ye(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.filterEmitted.emit(),this.isDialogFilterVisible=!this.isDialogFilterVisible}onSidebarToggle(){this.store.updateSidebarType()}onSearchInput(){this.searchEmitted.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&(this.filterOKEmitted.emit(),this.isDialogFilterVisible=!this.isDialogFilterVisible)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ei,7),v(a,zi,7),v(a,Mi,7)),n&2){let c;C(c=x())&&(i.actionButtonTemplate=c.first),C(c=x())&&(i.filterTemplate=c.first),C(c=x())&&(i.contentTemplate=c.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(c){return i.handleKeyboardEvent(c)},!1,Qe)},inputs:{routeInfo:[1,"routeInfo"],pageTitle:[1,"pageTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"]},outputs:{filterEmitted:"filterEmitted",searchEmitted:"searchEmitted",filterOKEmitted:"filterOKEmitted"},features:[oe([])],ngContentSelectors:Si,decls:46,vars:25,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[1,"navbar","navbar-expand-lg","bg-white"],[1,"container-fluid"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"text","onClick",4,"ngIf"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"text","click",4,"ngIf"],[1,"w-100","d-none","d-lg-flex"],[1,"col-6","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],[1,"flex-shrink-1"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[2,"max-width","300px"],["type","button",1,"btn","btn-link"],[1,"col-6","align-self-center","d-flex","gap-2","justify-content-end"],[4,"ngTemplateOutlet"],[3,"ngbCollapseChange","ngbCollapse"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center"],[1,"flex-grow-1","px-2","py-3"],["header","Filter","position","center","appendTo","body",3,"visibleChange","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"onClick","text"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"click","text"],["pTooltip","Search...","tooltipPosition","top","placeholder","Search...","type","text","pInputText","",3,"ngModelChange","keyup.enter","ngModel"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link",3,"click"],[1,"fa-solid","fa-filter"],["severity","secondary","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=b();U(Di),p(0,"div",3)(1,"div")(2,"nav",4)(3,"div",5)(4,"div",6)(5,"div",7)(6,"div")(7,"p-button",8),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),d(),p(8,"h1",9),X(9),d(),m(10,Pi,1,1,"p-button",10),d(),m(11,Li,1,2,"p-button",11),d()(),p(12,"div",12)(13,"div",13)(14,"div",14)(15,"div",15)(16,"div",16)(17,"div",17)(18,"h1",18),X(19),d()(),p(20,"div",19),m(21,Oi,3,1,"p-iconfield",20)(22,Hi,2,0,"button",21),d()()()()(),p(23,"div",22),m(24,Bi,1,0,"ng-container",23),d()()()(),p(25,"div",24,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isSearchbarCollapse,h)||(i.isSearchbarCollapse=h),g(h)}),p(27,"div",25)(28,"div",26)(29,"div",27),m(30,Ri,3,1,"p-iconfield")(31,Qi,2,0,"button",21),d()()()(),p(32,"div",24,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isCollapsed,h)||(i.isCollapsed=h),g(h)}),p(34,"div",25)(35,"div",26),m(36,Ai,1,0,"ng-container",23),d()()(),N(37),d(),p(38,"div",28),m(39,Wi,1,0,"ng-container",23),d()(),p(40,"p-dialog",29),ne("visibleChange",function(h){return _(a),ie(i.isDialogFilterVisible,h)||(i.isDialogFilterVisible=h),g(h)}),m(41,Ni,1,0,"ng-container",23)(42,Xi,1,2,"ng-template",null,1,R)(44,Yi,2,0,"ng-template",null,2,R),d()}if(n&2){let a=ee(43);l(7),o("text",!0),l(2),xe(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(8),xe(" ",i.pageTitle()," "),l(2),W(i.isSearchableInput()?21:-1),l(),W(i.isFilterable()?22:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),te("ngbCollapse",i.isSearchbarCollapse),l(5),W(i.isSearchableInput()?30:-1),l(),W(i.isFilterable()?31:-1),l(),te("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(3),o("ngTemplateOutlet",i.contentTemplate),l(),A(Y(23,Vi)),o("modal",!0),te("visible",i.isDialogFilterVisible),o("breakpoints",Y(24,Fi))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[tt,et,Ue,qe,Ke,Ge,gt,_t,ht,ut,bt,ft,Mt,Pe,xt,ue,re,le,se,vt,yt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (max-width: 575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}}"],changeDetection:0})}}return t})();export{Tt as a,wt as b,It as c,zt as d,Pe as e,Mt as f,eo as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{i as ee}from"./chunk-OWI3BWEZ.js";import{Ga as G,Ha as B,Pa as J,S as K,x as d,ya as Z,z as f}from"./chunk-ROKYJX6Q.js";import{k as q,o as W,p as N,t as j,v as O}from"./chunk-RUGQ4OJG.js";import{Aa as k,Ab as Y,Bb as x,Jb as m,Kb as V,Ob as P,Pb as z,Sc as $,Ub as v,Vb as g,Zb as R,_b as I,ca as S,da as E,dc as y,fc as H,gb as u,gc as Q,hc as L,ia as _,ic as b,jc as h,kc as p,qa as s,ra as a,ta as C,ub as F,uc as U,vb as A,yb as X}from"./chunk-VYKJK5YU.js";var te=["content"],re=["container"],le=["xBar"],se=["yBar"],ae=["*"];function ce(i,ne){i&1&&Q(0)}function ue(i,ne){i&1&&R(0)}var he=({dt:i})=>`
|
|
2
2
|
.p-scrollpanel-content-container {
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{i as G}from"./chunk-OWI3BWEZ.js";import{Ea as P,Fa as A,Ga as H,Ha as g,Pa as V,pa as z}from"./chunk-ROKYJX6Q.js";import{k as R,n as w,o as O,p as N,t as B}from"./chunk-RUGQ4OJG.js";import{Bb as c,Ha as x,Jb as D,Kb as r,Ob as $,Ub as f,Vb as u,Xb as b,Yb as v,Zb as y,ca as S,da as F,ec as _,fc as j,gb as i,gc as h,hc as p,ia as I,jc as d,kc as s,mc as C,nc as Q,ta as T,ub as E,uc as q,vb as M,yb as k}from"./chunk-VYKJK5YU.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")};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-XWVLTTMV.js";import{g as E}from"./chunk-33KLXB2L.js";import"./chunk-UTL7D6E7.js";import"./chunk-Y6MJGNH2.js";import"./chunk-OWI3BWEZ.js";import"./chunk-ROKYJX6Q.js";import{a as C}from"./chunk-TOJAZ32N.js";import"./chunk-S35HUXPS.js";import"./chunk-6BFODHTZ.js";import{t as v}from"./chunk-RUGQ4OJG.js";import{Bb as l,Ic as _,Ub as o,Vb as r,_b as u,dc as f,ec as g,ia as i,mc as x,qa as a,ra as m,ub as p,uc as d}from"./chunk-VYKJK5YU.js";import"./chunk-EQDQRRRY.js";function M(e,S){if(e&1){let t=u();o(0,"div",2)(1,"button",3),f("click",function(){a(t);let s=g();return m(s.onMigrate())}),x(2,"Migrate"),r()()}}var V=(()=>{class e{constructor(){this.migrateService=i(c),this.toastr=i(C)}onMigrate(){this.migrateService.migrateExpenseAccount().subscribe(t=>{this.toastr.success(t.message,"Migration Successful")})}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=p({type:e,selectors:[["app-expense-account"]],features:[d([c])],decls:3,vars:0,consts:[["content",""],["pageTitle","Expense Account"],[1,"container","my-2"],[1,"btn","btn-primary",3,"click"]],template:function(n,s){n&1&&(o(0,"app-main-panel",1),l(1,M,3,0,"ng-template",null,0,_),r())},dependencies:[E,v],encapsulation:2})}}return e})();export{V as ExpenseAccountComponent};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as gr,b as si,c as oi,d as U,e as ai,f as Be,g as ci,h as ui,i as Ve,j as Tt,u as li,w as mr,x as vr,y as Et}from"./chunk-
|
|
1
|
+
import{a as gr,b as si,c as oi,d as U,e as ai,f as Be,g as ci,h as ui,i as Ve,j as Tt,u as li,w as mr,x as vr,y as Et}from"./chunk-RUGQ4OJG.js";import{$ as E,$a as zn,Aa as q,Ab as Xn,Ba as or,Cb as fr,D as W,Da as Dn,Db as Jn,Ea as ar,Fa as On,Fb as pr,Hb as Fe,I as se,Ia as Pn,Ib as ze,J as Y,Ja as cr,Jb as Zn,Jc as Rt,Ka as Nn,La as ae,M as rr,Mc as St,N as fe,Na as ur,Oa as lr,Pa as Un,Pc as ri,Q as pe,Qc as ni,R as Q,Ra as _n,Rc as bt,S as nr,Sa as je,T as Sn,Ta as ve,U as bn,Ua as ye,Va as xn,W as Tn,Wa as Ln,Wb as Kn,X as x,Xa as kn,Xc as ii,Y as En,Ya as jn,Z as A,Za as $n,_a as Fn,a as gn,ab as ce,c as mn,ca as R,d as vn,da as gt,db as Bn,dc as Yn,e as Qt,ea as Cn,f as er,fa as C,g as K,ga as ir,h as j,ha as v,hb as z,hc as Qn,ia as d,ib as Vn,ja as ge,jb as $e,jc as ei,k as H,kc as ti,l as O,la as Mn,m as p,ma as oe,mb as qn,n as xe,na as $,nb as dr,o as yn,ob as Gn,p as wn,pa as mt,rb as Hn,s as b,t as pt,ta as sr,tb as hr,u as _,ua as In,ub as Wn,v as Le,va as ke,vb as yt,w as Rn,wa as An,wb as wt,x as tr,ya as vt,za as me}from"./chunk-VYKJK5YU.js";import{a as f,b as P,c as pn}from"./chunk-EQDQRRRY.js";var Ge=class{},It=class{},te=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
|
|
2
2
|
`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),s=e.slice(n+1).trim();this.addHeaderEntry(i,s)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let s=r.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(c=>s.indexOf(c)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var wr=class{encodeKey(r){return di(r)}encodeValue(r){return di(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function xs(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,c]=s==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,s)),r.decodeValue(i.slice(s+1))],a=e.get(o)||[];a.push(c),e.set(o,a)}),e}var Ls=/%(\d[a-f0-9])/gi,ks={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function di(t){return encodeURIComponent(t).replace(Ls,(r,e)=>ks[e]??r)}function Ct(t){return`${t}`}var ee=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new wr,r.fromString){if(r.fromObject)throw new E(2805,!1);this.map=xs(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Ct):[Ct(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(s=>{e.push({param:n,value:s,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Ct(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Ct(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var Rr=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function js(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hi(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function fi(t){return typeof Blob<"u"&&t instanceof Blob}function pi(t){return typeof FormData<"u"&&t instanceof FormData}function $s(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gi="Content-Type",mi="Accept",Si="X-Request-URL",bi="text/plain",Ti="application/json",Fs=`${Ti}, ${bi}, */*`,qe=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let s;if(js(this.method)||i?(this.body=n!==void 0?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new te,this.context??=new Rr,!this.params)this.params=new ee,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":c<e.length-1?"&":"";this.urlWithParams=e+a+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||hi(this.body)||fi(this.body)||pi(this.body)||$s(this.body)?this.body:this.body instanceof ee?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||pi(this.body)?null:fi(this.body)?this.body.type||null:hi(this.body)?null:typeof this.body=="string"?bi:this.body instanceof ee?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ti:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,s=r.transferCache??this.transferCache,o=r.body!==void 0?r.body:this.body,c=r.withCredentials??this.withCredentials,a=r.reportProgress??this.reportProgress,u=r.headers||this.headers,l=r.params||this.params,h=r.context??this.context;return r.setHeaders!==void 0&&(u=Object.keys(r.setHeaders).reduce((g,S)=>g.set(S,r.setHeaders[S]),u)),r.setParams&&(l=Object.keys(r.setParams).reduce((g,S)=>g.set(S,r.setParams[S]),l)),new t(e,n,o,{params:l,headers:u,context:h,reportProgress:a,responseType:i,withCredentials:c,transferCache:s})}},we=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(we||{}),He=class{headers;status;statusText;url;ok;type;constructor(r,e=200,n="OK"){this.headers=r.headers||new te,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}},Sr=class t extends He{constructor(r={}){super(r)}type=we.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Re=class t extends He{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=we.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},At=class extends He{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},zs=200,Bs=204;function yr(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Vs=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let s;if(e instanceof qe)s=e;else{let a;i.headers instanceof te?a=i.headers:a=new te(i.headers);let u;i.params&&(i.params instanceof ee?u=i.params:u=new ee({fromObject:i.params})),s=new qe(e,n,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=p(s).pipe(Y(a=>this.handler.handle(a)));if(e instanceof qe||i.observe==="events")return o;let c=o.pipe(W(a=>a instanceof Re));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(b(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new E(2806,!1);return a.body}));case"blob":return c.pipe(b(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new E(2807,!1);return a.body}));case"text":return c.pipe(b(a=>{if(a.body!==null&&typeof a.body!="string")throw new E(2808,!1);return a.body}));case"json":default:return c.pipe(b(a=>a.body))}case"response":return c;default:throw new E(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new ee().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,yr(i,n))}post(e,n,i={}){return this.request("POST",e,yr(i,n))}put(e,n,i={}){return this.request("PUT",e,yr(i,n))}static \u0275fac=function(n){return new(n||t)(v(Ge))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var qs=new C("");function Gs(t,r){return r(t)}function Hs(t,r,e){return(n,i)=>$(e,()=>r(n,s=>t(s,i)))}var br=new C(""),Ei=new C(""),Ws=new C("",{providedIn:"root",factory:()=>!0});var vi=(()=>{class t extends Ge{backend;injector;chain=null;pendingTasks=d(vt);contributeToStability=d(Ws);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(br),...this.injector.get(Ei,[])]));this.chain=n.reduceRight((i,s)=>Hs(i,s,this.injector),Gs)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(pe(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(v(It),v(oe))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();var Xs=/^\)\]\}',?\n/,Js=RegExp(`^${Si}:`,"m");function Zs(t){return"responseURL"in t&&t.responseURL?t.responseURL:Js.test(t.getAllResponseHeaders())?t.getResponseHeader(Si):null}var yi=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?O(n.\u0275loadImpl()):p(null)).pipe(x(()=>new vn(s=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((w,y)=>o.setRequestHeader(w,y.join(","))),e.headers.has(mi)||o.setRequestHeader(mi,Fs),!e.headers.has(gi)){let w=e.detectContentTypeHeader();w!==null&&o.setRequestHeader(gi,w)}if(e.responseType){let w=e.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let c=e.serializeBody(),a=null,u=()=>{if(a!==null)return a;let w=o.statusText||"OK",y=new te(o.getAllResponseHeaders()),N=Zs(o)||e.url;return a=new Sr({headers:y,status:o.status,statusText:w,url:N}),a},l=()=>{let{headers:w,status:y,statusText:N,url:he}=u(),M=null;y!==Bs&&(M=typeof o.response>"u"?o.responseText:o.response),y===0&&(y=M?zs:0);let _e=y>=200&&y<300;if(e.responseType==="json"&&typeof M=="string"){let Ps=M;M=M.replace(Xs,"");try{M=M!==""?JSON.parse(M):null}catch(Ns){M=Ps,_e&&(_e=!1,M={error:Ns,text:M})}}_e?(s.next(new Re({body:M,headers:w,status:y,statusText:N,url:he||void 0})),s.complete()):s.error(new At({error:M,headers:w,status:y,statusText:N,url:he||void 0}))},h=w=>{let{url:y}=u(),N=new At({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});s.error(N)},g=!1,S=w=>{g||(s.next(u()),g=!0);let y={type:we.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(y.total=w.total),e.responseType==="text"&&o.responseText&&(y.partialText=o.responseText),s.next(y)},I=w=>{let y={type:we.UploadProgress,loaded:w.loaded};w.lengthComputable&&(y.total=w.total),s.next(y)};return o.addEventListener("load",l),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",S),c!==null&&o.upload&&o.upload.addEventListener("progress",I)),o.send(c),s.next({type:we.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",l),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",S),c!==null&&o.upload&&o.upload.removeEventListener("progress",I)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(v(Et))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Ci=new C(""),Ks="XSRF-TOKEN",Ys=new C("",{providedIn:"root",factory:()=>Ks}),Qs="X-XSRF-TOKEN",eo=new C("",{providedIn:"root",factory:()=>Qs}),Dt=class{},to=(()=>{class t{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n,i){this.doc=e,this.platform=n,this.cookieName=i}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(v(U),v(ae),v(Ys))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function ro(t,r){let e=t.url.toLowerCase();if(!d(Ci)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=d(Dt).getToken(),i=d(eo);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var Mi=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Mi||{});function no(t,r){return{\u0275kind:t,\u0275providers:r}}function Jc(...t){let r=[Vs,yi,vi,{provide:Ge,useExisting:vi},{provide:It,useFactory:()=>d(qs,{optional:!0})??d(yi)},{provide:br,useValue:ro,multi:!0},{provide:Ci,useValue:!0},{provide:Dt,useClass:to}];for(let e of t)r.push(...e.\u0275providers);return ge(r)}function Zc(t){return no(Mi.Interceptors,t.map(r=>({provide:br,useValue:r,multi:!0})))}var io=new C(""),so="b",oo="h",ao="s",co="st",uo="u",lo="rt",Mt=new C(""),ho=["GET","HEAD"];function fo(t,r){let g=d(Mt),{isCacheActive:e}=g,n=pn(g,["isCacheActive"]),{transferCache:i,method:s}=t;if(!e||i===!1||s==="POST"&&!n.includePostRequests&&!i||s!=="POST"&&!ho.includes(s)||!n.includeRequestsWithAuthHeaders&&po(t)||n.filter?.(t)===!1)return r(t);let o=d(lr);if(d(io,{optional:!0}))throw new E(2803,!1);let a=t.url,u=go(t,a),l=o.get(u,null),h=n.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(h=i.includeHeaders),l){let{[so]:S,[lo]:I,[oo]:w,[ao]:y,[co]:N,[uo]:he}=l,M=S;switch(I){case"arraybuffer":M=new TextEncoder().encode(S).buffer;break;case"blob":M=new Blob([S]);break}let _e=new te(w);return p(new Re({body:M,headers:_e,status:y,statusText:N,url:he}))}return r(t).pipe(A(S=>{S instanceof Re}))}function po(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function wi(t){return[...t.keys()].sort().map(r=>`${r}=${t.getAll(r)}`).join("&")}function go(t,r){let{params:e,method:n,responseType:i}=t,s=wi(e),o=t.serializeBody();o instanceof URLSearchParams?o=wi(o):typeof o!="string"&&(o="");let c=[n,i,r,o,s].join("|"),a=mo(c);return a}function mo(t){let r=0;for(let e of t)r=Math.imul(31,r)+e.charCodeAt(0)<<0;return r+=2147483648,r.toString()}function Ii(t){return[{provide:Mt,useFactory:()=>(On("NgHttpTransferCache"),f({isCacheActive:!0},t))},{provide:Ei,useValue:fo,multi:!0,deps:[lr,Mt]},{provide:Fe,multi:!0,useFactory:()=>{let r=d(ze),e=d(Mt);return()=>{r.whenStable().then(()=>{e.isCacheActive=!1})}}}]}var Er=class extends oi{supportsDOMEvents=!0},Cr=class t extends Er{static makeCurrent(){si(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=wo();return e==null?null:Ro(e)}resetBaseElement(){We=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return Tt(document.cookie,r)}},We=null;function wo(){return We=We||document.querySelector("base"),We?We.getAttribute("href"):null}function Ro(t){return new URL(t,document.baseURI).pathname}var So=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Mr=new C(""),Ui=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,s){return this._findPluginFor(n).addEventListener(e,n,i,s)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(s=>s.supports(e)),!n)throw new E(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(v(Mr),v(q))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Pt=class{_doc;constructor(r){this._doc=r}manager},Ot="ng-app-id";function Ai(t){for(let r of t)r.remove()}function Di(t,r){let e=r.createElement("style");return e.textContent=t,e}function bo(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Ot}="${r}"],link[${Ot}="${r}"]`);if(i)for(let s of i)s.removeAttribute(Ot),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function Ir(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var _i=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,i,s={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=mr(s),bo(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Di);n?.forEach(i=>this.addUsage(i,this.external,Ir))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let s=n.get(e);s?s.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(Ai(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ai(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Di(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,Ir(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Ot,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(v(U),v(cr),v(ur,8),v(ae))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Tr={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Or=/%COMP%/g;var xi="%COMP%",To=`_nghost-${xi}`,Eo=`_ngcontent-${xi}`,Co=!0,Mo=new C("",{providedIn:"root",factory:()=>Co});function Io(t){return Eo.replace(Or,t)}function Ao(t){return To.replace(Or,t)}function Li(t,r){return r.map(e=>e.replace(Or,t))}var Oi=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,s,o,c,a,u=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=c,this.ngZone=a,this.nonce=u,this.tracingService=l,this.platformIsServer=mr(c),this.defaultRenderer=new Xe(e,o,a,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===je.ShadowDom&&(n=P(f({},n),{encapsulation:je.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof Nt?i.applyToHost(e):i instanceof Je&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,s=i.get(n.id);if(!s){let o=this.doc,c=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer,g=this.tracingService;switch(n.encapsulation){case je.Emulated:s=new Nt(a,u,n,this.appId,l,o,c,h,g);break;case je.ShadowDom:return new Ar(a,u,e,n,o,c,this.nonce,h,g);default:s=new Je(a,u,n,l,o,c,h,g);break}i.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(v(Ui),v(_i),v(cr),v(Mo),v(U),v(ae),v(q),v(ur),v(Un,8))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Xe=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,s){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=s}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(Tr[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Pi(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(Pi(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new E(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let s=Tr[i];s?r.setAttributeNS(s,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=Tr[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&($e.DashCase|$e.Important)?r.style.setProperty(e,n,i&$e.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&$e.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=gr().getGlobalEventTarget(this.doc,r),!r))throw new Error(`Unsupported event target ${r} for event ${e}`);let s=this.decoratePreventDefault(n);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(s=this.tracingService.wrapEventListener(r,e,s)),this.eventManager.addEventListener(r,e,s,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function Pi(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ar=class extends Xe{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,s,o,c,a,u){super(r,s,o,a,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Li(i.id,l);for(let g of l){let S=document.createElement("style");c&&S.setAttribute("nonce",c),S.textContent=g,this.shadowRoot.appendChild(S)}let h=i.getExternalStyles?.();if(h)for(let g of h){let S=Ir(g,s);c&&S.setAttribute("nonce",c),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Je=class extends Xe{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,s,o,c,a,u){super(r,s,o,c,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=u?Li(u,l):l,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Nt=class extends Je{contentAttr;hostAttr;constructor(r,e,n,i,s,o,c,a,u){let l=i+"-"+n.id;super(r,e,n,s,o,c,a,u,l),this.contentAttr=Io(l),this.hostAttr=Ao(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}},Do=(()=>{class t extends Pt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,s){return e.addEventListener(n,i,s),()=>this.removeEventListener(e,n,i,s)}removeEventListener(e,n,i,s){return e.removeEventListener(n,i,s)}static \u0275fac=function(n){return new(n||t)(v(U))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})(),Ni=["alt","control","meta","shift"],Oo={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Po={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},No=(()=>{class t extends Pt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,s){let o=t.parseEventName(n),c=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gr().onAndCancel(e,o.domEventName,c,s))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(n.pop()),o="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),o="code."),Ni.forEach(u=>{let l=n.indexOf(u);l>-1&&(n.splice(l,1),o+=u+".")}),o+=s,n.length!=0||s.length===0)return null;let a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,n){let i=Oo[e.key]||e.key,s="";return n.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ni.forEach(o=>{if(o!==i){let c=Po[o];c(e)&&(s+=o+".")}}),s+=i,s===n)}static eventCallback(e,n,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>n(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(v(U))};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Su(t,r){return ri(f({rootComponent:t},Uo(r)))}function Uo(t){return{appProviders:[...jo,...t?.providers??[]],platformProviders:ko}}function _o(){Cr.makeCurrent()}function xo(){return new or}function Lo(){return Pn(document),document}var ko=[{provide:ae,useValue:li},{provide:Nn,useValue:_o,multi:!0},{provide:U,useFactory:Lo,deps:[]}];var jo=[{provide:Mn,useValue:"root"},{provide:or,useFactory:xo,deps:[]},{provide:Mr,useClass:Do,multi:!0,deps:[U,q,ae]},{provide:Mr,useClass:No,multi:!0,deps:[U]},Oi,_i,Ui,{provide:qn,useExisting:Oi},{provide:Et,useClass:So,deps:[]},[]];var ki=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(v(U))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $o=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=v(Fo),i},providedIn:"root"})}return t})(),Fo=(()=>{class t extends $o{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case ce.NONE:return n;case ce.HTML:return ye(n,"HTML")?ve(n):zn(this._doc,String(n)).toString();case ce.STYLE:return ye(n,"Style")?ve(n):n;case ce.SCRIPT:if(ye(n,"Script"))return ve(n);throw new E(5200,!1);case ce.URL:return ye(n,"URL")?ve(n):Fn(String(n));case ce.RESOURCE_URL:if(ye(n,"ResourceURL"))return ve(n);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return xn(e)}bypassSecurityTrustStyle(e){return Ln(e)}bypassSecurityTrustScript(e){return kn(e)}bypassSecurityTrustUrl(e){return jn(e)}bypassSecurityTrustResourceUrl(e){return $n(e)}static \u0275fac=function(n){return new(n||t)(v(U))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Dr=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t[t.IncrementalHydration=4]="IncrementalHydration",t}(Dr||{});function bu(...t){let r=[],e=new Set,n=e.has(Dr.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of t)e.add(s),i.length&&r.push(i);return ge([[],ni(),e.has(Dr.NoHttpTransferCache)||n?[]:Ii({}),r])}var m="primary",ut=Symbol("RouteTitle"),xr=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Me(t){return new xr(t)}function Bo(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],c=t[s];if(o[0]===":")i[o.substring(1)]=c;else if(o!==c.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Vo(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!G(t[e],r[e]))return!1;return!0}function G(t,r){let e=t?Lr(t):void 0,n=r?Lr(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!Xi(t[i],r[i]))return!1;return!0}function Lr(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Xi(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,s)=>n[s]===i)}else return t===r}function Ji(t){return t.length>0?t[t.length-1]:null}function ie(t){return yn(t)?t:Jn(t)?O(Promise.resolve(t)):p(t)}var qo={exact:Ki,subset:Yi},Zi={exact:Go,subset:Ho,ignored:()=>!0};function ji(t,r,e){return qo[e.paths](t.root,r.root,e.matrixParams)&&Zi[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Go(t,r){return G(t,r)}function Ki(t,r,e){if(!le(t.segments,r.segments)||!xt(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!Ki(t.children[n],r.children[n],e))return!1;return!0}function Ho(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Xi(t[e],r[e]))}function Yi(t,r,e){return Qi(t,r,r.segments,e)}function Qi(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!le(i,e)||r.hasChildren()||!xt(i,e,n))}else if(t.segments.length===e.length){if(!le(t.segments,e)||!xt(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Yi(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!le(t.segments,i)||!xt(t.segments,i,n)||!t.children[m]?!1:Qi(t.children[m],r,s,n)}}function xt(t,r,e){return r.every((n,i)=>Zi[e](t[i].parameters,n.parameters))}var J=class{root;queryParams;fragment;_queryParamMap;constructor(r=new T([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Me(this.queryParams),this._queryParamMap}toString(){return Jo.serialize(this)}},T=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}},ue=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Me(this.parameters),this._parameterMap}toString(){return ts(this)}};function Wo(t,r){return le(t,r)&&t.every((e,n)=>G(e.parameters,r[n].parameters))}function le(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Xo(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===m&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==m&&(e=e.concat(r(i,n)))}),e}var Pe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>new Ie,providedIn:"root"})}return t})(),Ie=class{parse(r){let e=new jr(r);return new J(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ze(r.root,!0)}`,n=Yo(r.queryParams),i=typeof r.fragment=="string"?`#${Zo(r.fragment)}`:"";return`${e}${n}${i}`}},Jo=new Ie;function Lt(t){return t.segments.map(r=>ts(r)).join("/")}function Ze(t,r){if(!t.hasChildren())return Lt(t);if(r){let e=t.children[m]?Ze(t.children[m],!1):"",n=[];return Object.entries(t.children).forEach(([i,s])=>{i!==m&&n.push(`${i}:${Ze(s,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Xo(t,(n,i)=>i===m?[Ze(t.children[m],!1)]:[`${i}:${Ze(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[m]!=null?`${Lt(t)}/${e[0]}`:`${Lt(t)}/(${e.join("//")})`}}function es(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ut(t){return es(t).replace(/%3B/gi,";")}function Zo(t){return encodeURI(t)}function kr(t){return es(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function kt(t){return decodeURIComponent(t)}function $i(t){return kt(t.replace(/\+/g,"%20"))}function ts(t){return`${kr(t.path)}${Ko(t.parameters)}`}function Ko(t){return Object.entries(t).map(([r,e])=>`;${kr(r)}=${kr(e)}`).join("")}function Yo(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Ut(e)}=${Ut(i)}`).join("&"):`${Ut(e)}=${Ut(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Qo=/^[^\/()?;#]+/;function Pr(t){let r=t.match(Qo);return r?r[0]:""}var ea=/^[^\/()?;=#]+/;function ta(t){let r=t.match(ea);return r?r[0]:""}var ra=/^[^=?&#]+/;function na(t){let r=t.match(ra);return r?r[0]:""}var ia=/^[^&#]+/;function sa(t){let r=t.match(ia);return r?r[0]:""}var jr=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[m]=new T(r,e)),n}parseSegment(){let r=Pr(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(r),new ue(kt(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=ta(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=Pr(this.remaining);i&&(n=i,this.capture(n))}r[kt(e)]=kt(n)}parseQueryParam(r){let e=na(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=sa(this.remaining);o&&(n=o,this.capture(n))}let i=$i(e),s=$i(n);if(r.hasOwnProperty(i)){let o=r[i];Array.isArray(o)||(o=[o],r[i]=o),o.push(s)}else r[i]=s}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Pr(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=m);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[m]:new T([],o),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new E(4011,!1)}};function rs(t){return t.segments.length>0?new T([],{[m]:t}):t}function ns(t){let r={};for(let[n,i]of Object.entries(t.children)){let s=ns(i);if(n===m&&s.segments.length===0&&s.hasChildren())for(let[o,c]of Object.entries(s.children))r[o]=c;else(s.segments.length>0||s.hasChildren())&&(r[n]=s)}let e=new T(t.segments,r);return oa(e)}function oa(t){if(t.numberOfChildren===1&&t.children[m]){let r=t.children[m];return new T(t.segments.concat(r.segments),r.children)}return t}function de(t){return t instanceof J}function aa(t,r,e=null,n=null){let i=is(t);return ss(i,r,e,n)}function is(t){let r;function e(s){let o={};for(let a of s.children){let u=e(a);o[a.outlet]=u}let c=new T(s.url,o);return s===t&&(r=c),c}let n=e(t.root),i=rs(n);return r??i}function ss(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return Nr(i,i,i,e,n);let s=ca(r);if(s.toRoot())return Nr(i,i,new T([],{}),e,n);let o=ua(s,i,t),c=o.processChildren?Ye(o.segmentGroup,o.index,s.commands):as(o.segmentGroup,o.index,s.commands);return Nr(i,o.segmentGroup,c,e,n)}function jt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function tt(t){return typeof t=="object"&&t!=null&&t.outlets}function Nr(t,r,e,n,i){let s={};n&&Object.entries(n).forEach(([a,u])=>{s[a]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;t===r?o=e:o=os(t,r,e);let c=rs(ns(o));return new J(c,s,i)}function os(t,r,e){let n={};return Object.entries(t.children).forEach(([i,s])=>{s===r?n[i]=e:n[i]=os(s,r,e)}),new T(t.segments,n)}var $t=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&jt(n[0]))throw new E(4003,!1);let i=n.find(tt);if(i&&i!==Ji(n))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function ca(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new $t(!0,0,t);let r=0,e=!1,n=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let c={};return Object.entries(s.outlets).forEach(([a,u])=>{c[a]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((c,a)=>{a==0&&c==="."||(a==0&&c===""?e=!0:c===".."?r++:c!=""&&i.push(c))}),i):[...i,s]},[]);return new $t(e,r,n)}var Te=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function ua(t,r,e){if(t.isAbsolute)return new Te(r,!0,0);if(!e)return new Te(r,!1,NaN);if(e.parent===null)return new Te(e,!0,0);let n=jt(t.commands[0])?0:1,i=e.segments.length-1+n;return la(e,i,t.numberOfDoubleDots)}function la(t,r,e){let n=t,i=r,s=e;for(;s>i;){if(s-=i,n=n.parent,!n)throw new E(4005,!1);i=n.segments.length}return new Te(n,!1,i-s)}function da(t){return tt(t[0])?t[0].outlets:{[m]:t}}function as(t,r,e){if(t??=new T([],{}),t.segments.length===0&&t.hasChildren())return Ye(t,r,e);let n=ha(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let s=new T(t.segments.slice(0,n.pathIndex),{});return s.children[m]=new T(t.segments.slice(n.pathIndex),t.children),Ye(s,0,i)}else return n.match&&i.length===0?new T(t.segments,{}):n.match&&!t.hasChildren()?$r(t,r,e):n.match?Ye(t,0,i):$r(t,r,e)}function Ye(t,r,e){if(e.length===0)return new T(t.segments,{});{let n=da(e),i={};if(Object.keys(n).some(s=>s!==m)&&t.children[m]&&t.numberOfChildren===1&&t.children[m].segments.length===0){let s=Ye(t.children[m],r,e);return new T(t.segments,s.children)}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=as(t.children[s],r,o))}),Object.entries(t.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o)}),new T(t.segments,i)}}function ha(t,r,e){let n=0,i=r,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return s;let o=t.segments[i],c=e[n];if(tt(c))break;let a=`${c}`,u=n<e.length-1?e[n+1]:null;if(i>0&&a===void 0)break;if(a&&u&&typeof u=="object"&&u.outlets===void 0){if(!zi(a,u,o))return s;n+=2}else{if(!zi(a,{},o))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function $r(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let s=e[i];if(tt(s)){let a=fa(s.outlets);return new T(n,a)}if(i===0&&jt(e[0])){let a=t.segments[r];n.push(new ue(a.path,Fi(e[0]))),i++;continue}let o=tt(s)?s.outlets[m]:`${s}`,c=i<e.length-1?e[i+1]:null;o&&c&&jt(c)?(n.push(new ue(o,Fi(c))),i+=2):(n.push(new ue(o,{})),i++)}return new T(n,{})}function fa(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=$r(new T([],{}),0,n))}),r}function Fi(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function zi(t,r,e){return t==e.path&&G(r,e.parameters)}var Qe="imperative",D=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}(D||{}),F=class{id;url;constructor(r,e){this.id=r,this.url=e}},Ae=class extends F{type=D.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},V=class extends F{urlAfterRedirects;type=D.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},k=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(k||{}),Ft=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Ft||{}),X=class extends F{reason;code;type=D.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},re=class extends F{reason;code;type=D.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},rt=class extends F{error;target;type=D.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zt=class extends F{urlAfterRedirects;state;type=D.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fr=class extends F{urlAfterRedirects;state;type=D.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zr=class extends F{urlAfterRedirects;state;shouldActivate;type=D.GuardsCheckEnd;constructor(r,e,n,i,s){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Br=class extends F{urlAfterRedirects;state;type=D.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vr=class extends F{urlAfterRedirects;state;type=D.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qr=class{route;type=D.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gr=class{route;type=D.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Hr=class{snapshot;type=D.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wr=class{snapshot;type=D.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xr=class{snapshot;type=D.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jr=class{snapshot;type=D.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bt=class{routerEvent;position;anchor;type=D.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},nt=class{},De=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function pa(t,r){return t.providers&&!t._injector&&(t._injector=hr(t.providers,r,`Route: ${t.path}`)),t._injector??r}function B(t){return t.outlet||m}function ga(t,r){let e=t.filter(n=>B(n)===r);return e.push(...t.filter(n=>B(n)!==r)),e}function lt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Zr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return lt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new dt(this.rootInjector)}},dt=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Zr(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(v(oe))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vt=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Kr(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=Kr(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Yr(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Yr(r,this._root).map(e=>e.value)}};function Kr(t,r){if(t===r.value)return r;for(let e of r.children){let n=Kr(t,e);if(n)return n}return null}function Yr(t,r){if(t===r.value)return[r];for(let e of r.children){let n=Yr(t,e);if(n.length)return n.unshift(r),n}return[]}var L=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function be(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var qt=class extends Vt{snapshot;constructor(r,e){super(r),this.snapshot=e,cn(this,r)}toString(){return this.snapshot.toString()}};function cs(t){let r=ma(t),e=new j([new ue("",{})]),n=new j({}),i=new j({}),s=new j({}),o=new j(""),c=new ne(e,n,s,o,i,m,t,r.root);return c.snapshot=r.root,new qt(new L(c,[]),r)}function ma(t){let r={},e={},n={},i="",s=new Ee([],r,n,i,e,m,t,null,{});return new Ht("",new L(s,[]))}var ne=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,s,o,c,a){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(b(u=>u[ut]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,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(b(r=>Me(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(r=>Me(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Gt(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&ls(i)&&(n.resolve[ut]=i.title),n}var Ee=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ut]}constructor(r,e,n,i,s,o,c,a,u){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=c,this.routeConfig=a,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Me(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Me(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Ht=class extends Vt{url;constructor(r,e){super(e),this.url=r,cn(this,e)}toString(){return us(this._root)}};function cn(t,r){r.value._routerState=t,r.children.forEach(e=>cn(t,e))}function us(t){let r=t.children.length>0?` { ${t.children.map(us).join(", ")} } `:"";return`${t.value}${r}`}function Ur(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,G(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),G(r.params,e.params)||t.paramsSubject.next(e.params),Vo(r.url,e.url)||t.urlSubject.next(e.url),G(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Qr(t,r){let e=G(t.params,r.params)&&Wo(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||Qr(t.parent,r.parent))}function ls(t){return typeof t.title=="string"||t.title===null}var va=new C(""),ya=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=m;activateEvents=new me;deactivateEvents=new me;attachEvents=new me;detachEvents=new me;routerOutletData=Dn(void 0);parentContexts=d(dt);location=d(Gn);changeDetector=d(St);inputBinder=d(Zt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new en(e,c,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=wt({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[mt]})}return t})(),en=class t{route;childContexts;parent;outletData;__ngOutletInjector(r){return new t(this.route,this.childContexts,r,this.outletData)}constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===ne?this.route:r===dt?this.childContexts:r===va?this.outletData:this.parent.get(r,e)}},Zt=new C(""),Bi=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=pt([n.queryParams,n.params,n.data]).pipe(x(([s,o,c],a)=>(c=f(f(f({},s),o),c),a===0?p(c):Promise.resolve(c)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let o=ii(n.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function wa(t,r,e){let n=it(t,r._root,e?e._root:void 0);return new qt(n,r)}function it(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Ra(t,r,e);return new L(n,i)}else{if(t.shouldAttach(r.value)){let s=t.retrieve(r.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(c=>it(t,c)),o}}let n=Sa(r.value),i=r.children.map(s=>it(t,s));return new L(n,i)}}function Ra(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return it(t,n,i);return it(t,n)})}function Sa(t){return new ne(new j(t.url),new j(t.params),new j(t.queryParams),new j(t.fragment),new j(t.data),t.outlet,t.component,t)}var st=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},ds="ngNavigationCancelingError";function Wt(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=de(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=hs(!1,k.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function hs(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ds]=!0,e.cancellationCode=r,e}function ba(t){return fs(t)&&de(t.url)}function fs(t){return!!t&&t[ds]}var Ta=(t,r,e,n)=>b(i=>(new tn(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),tn=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,s){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),Ur(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=be(e);r.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n)})}deactivateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(i===s)if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(r,e,o.children)}else this.deactivateChildRoutes(r,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=be(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:c})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=be(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=be(e);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Jr(s.value.snapshot))}),r.children.length&&this.forwardEvent(new Wr(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(Ur(i),i===s)if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,o.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),Ur(c.route.value),this.activateChildRoutes(r,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(r,null,o.children)}else this.activateChildRoutes(r,null,n)}},Xt=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Ce=class{component;route;constructor(r,e){this.component=r,this.route=e}};function Ea(t,r,e){let n=t._root,i=r?r._root:null;return Ke(n,i,e,[n.value])}function Ca(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function Ne(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Cn(t)?t:r.get(t):n}function Ke(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=be(r);return t.children.forEach(o=>{Ma(o,s[o.value.outlet],e,n.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,c])=>et(c,e.getContext(o),i)),i}function Ma(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=r?r.value:null,c=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=Ia(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Xt(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ke(t,r,c?c.children:null,n,i):Ke(t,r,e,n,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Ce(c.outlet.component,o))}else o&&et(r,c,i),i.canActivateChecks.push(new Xt(n)),s.component?Ke(t,null,c?c.children:null,n,i):Ke(t,null,e,n,i);return i}function Ia(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!le(t.url,r.url);case"pathParamsOrQueryParamsChange":return!le(t.url,r.url)||!G(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qr(t,r)||!G(t.queryParams,r.queryParams);case"paramsChange":default:return!Qr(t,r)}}function et(t,r,e){let n=be(t),i=t.value;Object.entries(n).forEach(([s,o])=>{i.component?r?et(o,r.children.getContext(s),e):et(o,null,e):et(o,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Ce(r.outlet.component,i)):e.canDeactivateChecks.push(new Ce(null,i)):e.canDeactivateChecks.push(new Ce(null,i))}function ht(t){return typeof t=="function"}function Aa(t){return typeof t=="boolean"}function Da(t){return t&&ht(t.canLoad)}function Oa(t){return t&&ht(t.canActivate)}function Pa(t){return t&&ht(t.canActivateChild)}function Na(t){return t&&ht(t.canDeactivate)}function Ua(t){return t&&ht(t.canMatch)}function ps(t){return t instanceof wn||t?.name==="EmptyError"}var _t=Symbol("INITIAL_VALUE");function Oe(){return x(t=>pt(t.map(r=>r.pipe(fe(1),Tn(_t)))).pipe(b(r=>{for(let e of r)if(e!==!0){if(e===_t)return _t;if(e===!1||_a(e))return e}return!0}),W(r=>r!==_t),fe(1)))}function _a(t){return de(t)||t instanceof st}function xa(t,r){return _(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(P(f({},e),{guardsResult:!0})):La(o,n,i,t).pipe(_(c=>c&&Aa(c)?ka(n,s,t,r):p(c)),b(c=>P(f({},e),{guardsResult:c})))})}function La(t,r,e,n){return O(t).pipe(_(i=>Ba(i.component,i.route,e,r,n)),Q(i=>i!==!0,!0))}function ka(t,r,e,n){return O(r).pipe(Y(i=>Rn($a(i.route.parent,n),ja(i.route,n),za(t,i.path,e),Fa(t,i.route,e))),Q(i=>i!==!0,!0))}function ja(t,r){return t!==null&&r&&r(new Xr(t)),p(!0)}function $a(t,r){return t!==null&&r&&r(new Hr(t)),p(!0)}function Fa(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(s=>tr(()=>{let o=lt(r)??e,c=Ne(s,o),a=Oa(c)?c.canActivate(r,t):$(o,()=>c(r,t));return ie(a).pipe(Q())}));return p(i).pipe(Oe())}function za(t,r,e){let n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(o=>Ca(o)).filter(o=>o!==null).map(o=>tr(()=>{let c=o.guards.map(a=>{let u=lt(o.node)??e,l=Ne(a,u),h=Pa(l)?l.canActivateChild(n,t):$(u,()=>l(n,t));return ie(h).pipe(Q())});return p(c).pipe(Oe())}));return p(s).pipe(Oe())}function Ba(t,r,e,n,i){let s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(c=>{let a=lt(r)??i,u=Ne(c,a),l=Na(u)?u.canDeactivate(t,r,e,n):$(a,()=>u(t,r,e,n));return ie(l).pipe(Q())});return p(o).pipe(Oe())}function Va(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let s=i.map(o=>{let c=Ne(o,t),a=Da(c)?c.canLoad(r,e):$(t,()=>c(r,e));return ie(a)});return p(s).pipe(Oe(),gs(n))}function gs(t){return mn(A(r=>{if(typeof r!="boolean")throw Wt(t,r)}),b(r=>r===!0))}function qa(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let s=i.map(o=>{let c=Ne(o,t),a=Ua(c)?c.canMatch(r,e):$(t,()=>c(r,e));return ie(a)});return p(s).pipe(Oe(),gs(n))}var ot=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},at=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function Se(t){return xe(new ot(t))}function Ga(t){return xe(new E(4e3,!1))}function Ha(t){return xe(hs(!1,k.GuardRejected))}var rn=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[m])return Ga(`${r.redirectTo}`);i=i.children[m]}}applyRedirectCommands(r,e,n,i,s){if(typeof e!="string"){let c=e,{queryParams:a,fragment:u,routeConfig:l,url:h,outlet:g,params:S,data:I,title:w}=i,y=$(s,()=>c({params:S,data:I,queryParams:a,fragment:u,routeConfig:l,url:h,outlet:g,title:w}));if(y instanceof J)throw new at(y);e=y}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new at(o);return o}applyRedirectCreateUrlTree(r,e,n,i){let s=this.createSegmentGroup(r,e.root,n,i);return new J(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let c=s.substring(1);n[i]=e[c]}else n[i]=s}),n}createSegmentGroup(r,e,n,i){let s=this.createSegments(r,e.segments,n,i),o={};return Object.entries(e.children).forEach(([c,a])=>{o[c]=this.createSegmentGroup(r,a,n,i)}),new T(s,o)}createSegments(r,e,n,i){return e.map(s=>s.path[0]===":"?this.findPosParam(r,s,i):this.findOrReturn(s,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},nn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Wa(t,r,e,n,i){let s=ms(t,r,e);return s.matched?(n=pa(r,n),qa(n,r,e,i).pipe(b(o=>o===!0?s:f({},nn)))):p(s)}function ms(t,r,e){if(r.path==="**")return Xa(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},nn):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Bo)(e,t,r);if(!i)return f({},nn);let s={};Object.entries(i.posParams??{}).forEach(([c,a])=>{s[c]=a.path});let o=i.consumed.length>0?f(f({},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 Xa(t){return{matched:!0,parameters:t.length>0?Ji(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Vi(t,r,e,n){return e.length>0&&Ka(t,e,n)?{segmentGroup:new T(r,Za(n,new T(e,t.children))),slicedSegments:[]}:e.length===0&&Ya(t,e,n)?{segmentGroup:new T(t.segments,Ja(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new T(t.segments,t.children),slicedSegments:e}}function Ja(t,r,e,n){let i={};for(let s of e)if(Kt(t,r,s)&&!n[B(s)]){let o=new T([],{});i[B(s)]=o}return f(f({},n),i)}function Za(t,r){let e={};e[m]=r;for(let n of t)if(n.path===""&&B(n)!==m){let i=new T([],{});e[B(n)]=i}return e}function Ka(t,r,e){return e.some(n=>Kt(t,r,n)&&B(n)!==m)}function Ya(t,r,e){return e.some(n=>Kt(t,r,n))}function Kt(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Qa(t,r,e){return r.length===0&&!t.children[e]}var sn=class{};function ec(t,r,e,n,i,s,o="emptyOnly"){return new on(t,r,e,n,i,o,s).recognize()}var tc=31,on=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,s,o,c){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=c,this.applyRedirects=new rn(this.urlSerializer,this.urlTree)}noMatchError(r){return new E(4002,`'${r.segmentGroup}'`)}recognize(){let r=Vi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(b(({children:e,rootSnapshot:n})=>{let i=new L(n,e),s=new Ht("",i),o=aa(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(r){let e=new Ee([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),m,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,m,e).pipe(b(n=>({children:n,rootSnapshot:e})),se(n=>{if(n instanceof at)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof ot?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,s):this.processSegment(r,e,n,n.segments,i,!0,s).pipe(b(o=>o instanceof L?[o]:[]))}processChildren(r,e,n,i){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return O(s).pipe(Y(o=>{let c=n.children[o],a=ga(e,o);return this.processSegmentGroup(r,a,c,o,i)}),bn((o,c)=>(o.push(...c),o)),rr(null),Sn(),_(o=>{if(o===null)return Se(n);let c=vs(o);return rc(c),p(c)}))}processSegment(r,e,n,i,s,o,c){return O(e).pipe(Y(a=>this.processSegmentAgainstRoute(a._injector??r,e,a,n,i,s,o,c).pipe(se(u=>{if(u instanceof ot)return p(null);throw u}))),Q(a=>!!a),se(a=>{if(ps(a))return Qa(n,i,s)?p(new sn):Se(n);throw a}))}processSegmentAgainstRoute(r,e,n,i,s,o,c,a){return B(n)!==o&&(o===m||!Kt(i,s,n))?Se(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,s,o,a):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,s,o,a):Se(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,o,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:h,remainingSegments:g}=ms(e,i,s);if(!a)return Se(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>tc&&(this.allowRedirects=!1));let S=new Ee(s,u,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,qi(i),B(i),i.component??i._loadedComponent??null,i,Gi(i)),I=Gt(S,c,this.paramsInheritanceStrategy);S.params=Object.freeze(I.params),S.data=Object.freeze(I.data);let w=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,S,r);return this.applyRedirects.lineralizeSegments(i,w).pipe(_(y=>this.processSegment(r,n,e,y.concat(g),o,!1,c)))}matchSegmentAgainstRoute(r,e,n,i,s,o){let c=Wa(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),c.pipe(x(a=>a.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(x(({routes:u})=>{let l=n._loadedInjector??r,{parameters:h,consumedSegments:g,remainingSegments:S}=a,I=new Ee(g,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,qi(n),B(n),n.component??n._loadedComponent??null,n,Gi(n)),w=Gt(I,o,this.paramsInheritanceStrategy);I.params=Object.freeze(w.params),I.data=Object.freeze(w.data);let{segmentGroup:y,slicedSegments:N}=Vi(e,g,S,u);if(N.length===0&&y.hasChildren())return this.processChildren(l,u,y,I).pipe(b(M=>new L(I,M)));if(u.length===0&&N.length===0)return p(new L(I,[]));let he=B(n)===s;return this.processSegment(l,u,y,N,he?m:s,!0,I).pipe(b(M=>new L(I,M instanceof L?[M]:[])))}))):Se(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Va(r,e,n,this.urlSerializer).pipe(_(i=>i?this.configLoader.loadChildren(r,e).pipe(A(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):Ha(e))):p({routes:[],injector:r})}};function rc(t){t.sort((r,e)=>r.value.outlet===m?-1:e.value.outlet===m?1:r.value.outlet.localeCompare(e.value.outlet))}function nc(t){let r=t.value.routeConfig;return r&&r.path===""}function vs(t){let r=[],e=new Set;for(let n of t){if(!nc(n)){r.push(n);continue}let i=r.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=vs(n.children);r.push(new L(n.value,i))}return r.filter(n=>!e.has(n))}function qi(t){return t.data||{}}function Gi(t){return t.resolve||{}}function ic(t,r,e,n,i,s){return _(o=>ec(t,r,e,n,o.extractedUrl,i,s).pipe(b(({state:c,tree:a})=>P(f({},o),{targetSnapshot:c,urlAfterRedirects:a}))))}function sc(t,r){return _(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let u of ys(a))o.add(u);let c=0;return O(o).pipe(Y(a=>s.has(a)?oc(a,n,t,r):(a.data=Gt(a,a.parent,t).resolve,p(void 0))),A(()=>c++),nr(1),_(a=>c===o.size?p(e):H))})}function ys(t){let r=t.children.map(e=>ys(e)).flat();return[t,...r]}function oc(t,r,e,n){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!ls(i)&&(s[ut]=i.title),ac(s,t,r,n).pipe(b(o=>(t._resolvedData=o,t.data=Gt(t,t.parent,e).resolve,null)))}function ac(t,r,e,n){let i=Lr(t);if(i.length===0)return p({});let s={};return O(i).pipe(_(o=>cc(t[o],r,e,n).pipe(Q(),A(c=>{if(c instanceof st)throw Wt(new Ie,c);s[o]=c}))),nr(1),b(()=>s),se(o=>ps(o)?H:xe(o)))}function cc(t,r,e,n){let i=lt(r)??n,s=Ne(t,i),o=s.resolve?s.resolve(r,e):$(i,()=>s(r,e));return ie(o)}function _r(t){return x(r=>{let e=t(r);return e?O(e).pipe(b(()=>r)):p(r)})}var ws=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(s=>s.outlet===m);return n}getResolvedTitleForRoute(e){return e.data[ut]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>d(uc),providedIn:"root"})}return t})(),uc=(()=>{class t extends ws{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(v(ki))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ft=new C("",{providedIn:"root",factory:()=>({})}),lc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=Wn({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&Kn(0,"router-outlet")},dependencies:[ya],encapsulation:2})}return t})();function un(t){let r=t.children&&t.children.map(un),e=r?P(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==m&&(e.component=lc),e}var ct=new C(""),ln=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Rt);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=ie(e.loadComponent()).pipe(b(Rs),A(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),pe(()=>{this.componentLoaders.delete(e)})),i=new er(n,()=>new K).pipe(Qt());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=dc(n,this.compiler,e,this.onLoadEndListener).pipe(pe(()=>{this.childrenLoaders.delete(n)})),o=new er(s,()=>new K).pipe(Qt());return this.childrenLoaders.set(n,o),o}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dc(t,r,e,n){return ie(t.loadChildren()).pipe(b(Rs),_(i=>i instanceof Hn||Array.isArray(i)?p(i):O(r.compileModuleAsync(i))),b(i=>{n&&n(t);let s,o,c=!1;return Array.isArray(i)?(o=i,c=!0):(s=i.create(e).injector,o=s.get(ct,[],{optional:!0,self:!0}).flat()),{routes:o.map(un),injector:s}}))}function hc(t){return t&&typeof t=="object"&&"default"in t}function Rs(t){return hc(t)?t.default:t}var dn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>d(fc),providedIn:"root"})}return t})(),fc=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ss=new C(""),bs=new C("");function pc(t,r,e){let n=t.get(bs),i=t.get(U);return t.get(q).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),gc(t))),{onViewTransitionCreated:a}=n;return a&&$(t,()=>a({transition:c,from:r,to:e})),o})}function gc(t){return new Promise(r=>{_n({read:()=>setTimeout(r)},{injector:t})})}var Ts=new C(""),Yt=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new K;transitionAbortSubject=new K;configLoader=d(ln);environmentInjector=d(oe);destroyRef=d(An);urlSerializer=d(Pe);rootContexts=d(dt);location=d(Ve);inputBindingEnabled=d(Zt,{optional:!0})!==null;titleStrategy=d(ws);options=d(ft,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(dn);createViewTransition=d(Ss,{optional:!0});navigationErrorHandler=d(Ts,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new qr(i)),n=i=>this.events.next(new Gr(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(P(f(f({},this.transitions.value),e),{id:n}))}setupNavigations(e,n,i){return this.transitions=new j({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Qe,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(W(s=>s.id!==0),b(s=>P(f({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),x(s=>{let o=!1,c=!1;return p(s).pipe(x(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",k.SupersededByNewNavigation),H;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?P(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&l!=="reload"){let h="";return this.events.next(new re(a.id,this.urlSerializer.serialize(a.rawUrl),h,Ft.IgnoredSameUrlNavigation)),a.resolve(!1),H}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(x(h=>{let g=this.transitions?.getValue();return this.events.next(new Ae(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),g!==this.transitions?.getValue()?H:Promise.resolve(h)}),ic(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),A(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=P(f({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let g=new zt(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(g)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:g,source:S,restoredState:I,extras:w}=a,y=new Ae(h,this.urlSerializer.serialize(g),S,I);this.events.next(y);let N=cs(this.rootComponentType).snapshot;return this.currentTransition=s=P(f({},a),{targetSnapshot:N,urlAfterRedirects:g,extras:P(f({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,p(s)}else{let h="";return this.events.next(new re(a.id,this.urlSerializer.serialize(a.extractedUrl),h,Ft.IgnoredByUrlHandlingStrategy)),a.resolve(!1),H}}),A(a=>{let u=new Fr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),b(a=>(this.currentTransition=s=P(f({},a),{guards:Ea(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),xa(this.environmentInjector,a=>this.events.next(a)),A(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Wt(this.urlSerializer,a.guardsResult);let u=new zr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(u)}),W(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",k.GuardRejected),!1)),_r(a=>{if(a.guards.canActivateChecks.length)return p(a).pipe(A(u=>{let l=new Br(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),x(u=>{let l=!1;return p(u).pipe(sc(this.paramsInheritanceStrategy,this.environmentInjector),A({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",k.NoDataFromResolver)}}))}),A(u=>{let l=new Vr(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),_r(a=>{let u=l=>{let h=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(l.routeConfig).pipe(A(g=>{l.component=g}),b(()=>{})));for(let g of l.children)h.push(...u(g));return h};return pt(u(a.targetSnapshot.root)).pipe(rr(null),fe(1))}),_r(()=>this.afterPreactivation()),x(()=>{let{currentSnapshot:a,targetSnapshot:u}=s,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return l?O(l).pipe(b(()=>s)):p(s)}),b(a=>{let u=wa(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=P(f({},a),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),A(()=>{this.events.next(new nt)}),Ta(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),fe(1),A({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new V(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),En(this.transitionAbortSubject.pipe(A(a=>{throw a}))),pe(()=>{!o&&!c&&this.cancelNavigationTransition(s,"",k.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),se(a=>{if(this.destroyed)return s.resolve(!1),H;if(c=!0,fs(a))this.events.next(new X(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),ba(a)?this.events.next(new De(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let u=new rt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0);try{let l=$(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof st){let{message:h,cancellationCode:g}=Wt(this.urlSerializer,l);this.events.next(new X(s.id,this.urlSerializer.serialize(s.extractedUrl),h,g)),this.events.next(new De(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return H}))}))}cancelNavigationTransition(e,n,i){let s=new X(e.id,this.urlSerializer.serialize(e.extractedUrl),n,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))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mc(t){return t!==Qe}var vc=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>d(yc),providedIn:"root"})}return t})(),an=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},yc=(()=>{class t extends an{static \u0275fac=(()=>{let e;return function(i){return(e||(e=sr(t)))(i||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Es=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:()=>d(wc),providedIn:"root"})}return t})(),wc=(()=>{class t extends Es{location=d(Ve);urlSerializer=d(Pe);options=d(ft,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=d(dn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new J;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=cs(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&e(n.url,n.state)})}handleRouterEvent(e,n){if(e instanceof Ae)this.stateMemento=this.createStateMemento();else if(e instanceof re)this.rawUrlTree=n.initialUrl;else if(e instanceof zt){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(n.targetBrowserUrl??i,n)}}else e instanceof nt?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(n.targetBrowserUrl??this.rawUrlTree,n)):e instanceof X&&(e.code===k.GuardRejected||e.code===k.NoDataFromResolver)?this.restoreHistory(n):e instanceof rt?this.restoreHistory(n,!0):e instanceof V&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,n){let i=e instanceof J?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||n.extras.replaceUrl){let s=this.browserPageId,o=f(f({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(i,"",o)}else{let s=f(f({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=sr(t)))(i||t)}})();static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Cs(t,r){t.events.pipe(W(e=>e instanceof V||e instanceof X||e instanceof rt||e instanceof re),b(e=>e instanceof V||e instanceof re?0:(e instanceof X?e.code===k.Redirect||e.code===k.SupersededByNewNavigation:!1)?2:1),W(e=>e!==2),fe(1)).subscribe(()=>{r()})}var Rc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Z=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(fr);stateManager=d(Es);options=d(ft,{optional:!0})||{};pendingTasks=d(vt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(Yt);urlSerializer=d(Pe);location=d(Ve);urlHandlingStrategy=d(dn);_events=new K;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(vc);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(ct,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(Zt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new gn;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof X&&n.code!==k.Redirect&&n.code!==k.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof V)this.navigated=!0;else if(n instanceof De){let o=n.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),a=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||mc(i.source)},o);this.scheduleNavigation(c,Qe,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Tc(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",n)},0)})}navigateToSyncWithBrowser(e,n,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=f({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let c=this.parseUrl(e);this.scheduleNavigation(c,n,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(un),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:c,preserveFragment:a}=n,u=a?this.currentUrlTree.fragment:o,l=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let g=i?i.snapshot:this.routerState.snapshot.root;h=is(g)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return ss(h,e,l,u??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=de(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Qe,null,n)}navigate(e,n={skipLocationChange:!1}){return bc(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},Rc):n===!1?i=f({},Sc):i=n,de(e))return ji(this.currentUrlTree,e,i);let s=this.parseUrl(e);return ji(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,s])=>(s!=null&&(n[i]=s),n),{})}scheduleNavigation(e,n,i,s,o){if(this.disposed)return Promise.resolve(!1);let c,a,u;o?(c=o.resolve,a=o.reject,u=o.promise):u=new Promise((h,g)=>{c=h,a=g});let l=this.pendingTasks.add();return Cs(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bc(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new E(4008,!1)}function Tc(t){return!(t instanceof nt)&&!(t instanceof De)}var Hi=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new K;constructor(e,n,i,s,o,c){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=c;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof V&&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)):(de(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,s,o){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||n||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:Bn(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,s=this.el.nativeElement;n!==null?i.setAttribute(s,e,n):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:de(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(z(Z),z(ne),In("tabindex"),z(dr),z(ar),z(Be))};static \u0275dir=wt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&Yn("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),n&2&&Zn("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",bt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",bt],replaceUrl:[2,"replaceUrl","replaceUrl",bt],routerLink:"routerLink"},features:[Xn,mt]})}return t})(),Vu=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new me;constructor(e,n,i,s,o){this.router=e,this.element=n,this.renderer=i,this.cdr=s,this.link=o,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof V&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Le()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=O(e).pipe(Le()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=Ec(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(z(Z),z(ar),z(dr),z(St),z(Hi,8))};static \u0275dir=wt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,s){if(n&1&&Qn(s,Hi,5),n&2){let o;ei(o=ti())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[mt]})}return t})();function Ec(t){return!!t.paths}var Jt=class{},qu=(()=>{class t{preload(e,n){return n().pipe(se(()=>p(null)))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Cc=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(W(e=>e instanceof V),Y(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let s of n){s.providers&&!s._injector&&(s._injector=hr(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,c=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(c,s.children??s._loadedRoutes))}return O(i).pipe(Le())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=p(null);let s=i.pipe(_(o=>o===null?p(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(n.loadComponent&&!n._loadedComponent){let o=this.loader.loadComponent(n);return O([s,o]).pipe(Le())}else return s})}static \u0275fac=function(n){return new(n||t)(v(Z),v(Rt),v(oe),v(Jt),v(ln))};static \u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),hn=new C(""),Ms=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,s,o={}){this.urlSerializer=e,this.transitions=n,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 Ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof V?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof re&&e.code===Ft.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 Bt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Bt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){Vn()};static \u0275prov=R({token:t,factory:t.\u0275fac})}return t})();function Gu(t,...r){return ge([{provide:ct,multi:!0,useValue:t},[],{provide:ne,useFactory:Is,deps:[Z]},{provide:Fe,multi:!0,useFactory:As},r.map(e=>e.\u0275providers)])}function Is(t){return t.routerState.root}function Ue(t,r){return{\u0275kind:t,\u0275providers:r}}function Hu(t={}){return Ue(4,[{provide:hn,useFactory:()=>{let e=d(vr),n=d(q),i=d(Yt),s=d(Pe);return new Ms(s,i,e,n,t)}}])}function As(){let t=d(ke);return r=>{let e=t.get(ze);if(r!==e.components[0])return;let n=t.get(Z),i=t.get(Ds);t.get(fn)===1&&n.initialNavigation(),t.get(Os,null,ir.Optional)?.setUpPreloading(),t.get(hn,null,ir.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Ds=new C("",{factory:()=>new K}),fn=new C("",{providedIn:"root",factory:()=>1});function Mc(){return Ue(2,[{provide:fn,useValue:0},{provide:pr,multi:!0,deps:[ke],useFactory:r=>{let e=r.get(ai,Promise.resolve());return()=>e.then(()=>new Promise(n=>{let i=r.get(Z),s=r.get(Ds);Cs(i,()=>{n(!0)}),r.get(Yt).afterPreactivation=()=>(n(!0),s.closed?p(void 0):s),i.initialNavigation()}))}}])}function Ic(){return Ue(3,[{provide:pr,multi:!0,useFactory:()=>{let r=d(Z);return()=>{r.setUpLocationChangeListener()}}},{provide:fn,useValue:2}])}var Os=new C("");function Ac(t){return Ue(0,[{provide:Os,useExisting:Cc},{provide:Jt,useExisting:t}])}function Dc(){return Ue(8,[Bi,{provide:Zt,useExisting:Bi}])}function Oc(t){let r=[{provide:Ss,useValue:pc},{provide:bs,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ue(9,r)}var Pc=[Ve,{provide:Pe,useClass:Ie},Z,dt,{provide:ne,useFactory:Is,deps:[Z]},ln,[]],Wu=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Pc,[],{provide:ct,multi:!0,useValue:e},[],n?.errorHandler?{provide:Ts,useValue:n.errorHandler}:[],{provide:ft,useValue:n||{}},n?.useHash?Uc():_c(),Nc(),n?.preloadingStrategy?Ac(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?xc(n):[],n?.bindToComponentInputs?Dc().\u0275providers:[],n?.enableViewTransitions?Oc().\u0275providers:[],Lc()]}}static forChild(e){return{ngModule:t,providers:[{provide:ct,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=yt({type:t});static \u0275inj=gt({})}return t})();function Nc(){return{provide:hn,useFactory:()=>{let t=d(vr),r=d(q),e=d(ft),n=d(Yt),i=d(Pe);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Ms(i,n,t,r,e)}}}function Uc(){return{provide:Be,useClass:ui}}function _c(){return{provide:Be,useClass:ci}}function xc(t){return[t.initialNavigation==="disabled"?Ic().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Mc().\u0275providers:[]]}var Wi=new C("");function Lc(){return[{provide:Wi,useFactory:As},{provide:Fe,multi:!0,useExisting:Wi}]}export{ee as a,we as b,Re as c,At as d,Vs as e,Jc as f,Zc as g,Oi as h,Su as i,ki as j,$o as k,bu as l,ne as m,ya as n,Z as o,Hi as p,Vu as q,qu as r,Gu as s,Hu as t,Ac as u,Dc as v,Wu as w};
|