@signalk/freeboard-sk 3.4.0-beta.2 → 3.4.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +6 -0
  2. package/package.json +3 -3
  3. package/public/assets/features/action-button-1.jpg +0 -0
  4. package/public/assets/features/action-button-2.jpg +0 -0
  5. package/public/assets/features-corpus.json +1 -1
  6. package/public/assets/help/img/navigation-route.svg +4 -0
  7. package/public/assets/help/index.html +42 -11
  8. package/public/{chunk-I6KNDLKZ.js → chunk-2GVS7ZQR.js} +1 -1
  9. package/public/{chunk-GJFI75CP.js → chunk-2QKJQDG4.js} +1 -1
  10. package/public/{chunk-N6FC7TMF.js → chunk-6LEKUMNA.js} +1 -1
  11. package/public/{chunk-6XBJQDQZ.js → chunk-AZQNOMPD.js} +1 -1
  12. package/public/{chunk-3D457EZY.js → chunk-BC2VITG4.js} +1 -1
  13. package/public/{chunk-26ZBWNUQ.js → chunk-C2FYMS67.js} +1 -1
  14. package/public/chunk-CRWXCOWS.js +1 -0
  15. package/public/{chunk-EX2EX65O.js → chunk-DC5AFSD6.js} +1 -1
  16. package/public/{chunk-FX2SMI5S.js → chunk-DN6IX7CO.js} +1 -1
  17. package/public/{chunk-M4EXFQJE.js → chunk-DSUCHYD7.js} +1 -1
  18. package/public/{chunk-ON6WKWFV.js → chunk-GJZ7P5CR.js} +1 -1
  19. package/public/{chunk-CZWRDBMY.js → chunk-IP2UNZAT.js} +1 -1
  20. package/public/{chunk-IZEHULJO.js → chunk-K4EGDHPT.js} +2 -2
  21. package/public/chunk-LEEF5WZZ.js +1 -0
  22. package/public/{chunk-VG2HTHDN.js → chunk-LMEOL7YN.js} +124 -124
  23. package/public/{chunk-ZHXEZBYI.js → chunk-MWETYHR7.js} +1 -1
  24. package/public/{chunk-UBRYY245.js → chunk-MZ3YWFFB.js} +1 -1
  25. package/public/chunk-PCGFSZCP.js +1 -0
  26. package/public/{chunk-UIEE3YOF.js → chunk-PWNYMCP2.js} +1 -1
  27. package/public/{chunk-B5DI22LT.js → chunk-PWZFOOT4.js} +1 -1
  28. package/public/{chunk-3PBISOLT.js → chunk-R6ABX6RX.js} +2 -2
  29. package/public/{chunk-Z2OUIJPL.js → chunk-RENDTMDT.js} +1 -1
  30. package/public/{chunk-A7RX2LBX.js → chunk-SIFYI3HU.js} +1 -1
  31. package/public/chunk-TIEJ5U3T.js +1 -0
  32. package/public/chunk-UVQMXSH2.js +1 -0
  33. package/public/{chunk-CKZDFNLJ.js → chunk-VBSJZWSI.js} +1 -1
  34. package/public/{chunk-V44P57GA.js → chunk-VT4GQY5X.js} +1 -1
  35. package/public/{chunk-3E3U7Z7O.js → chunk-VXYZIAGN.js} +1 -1
  36. package/public/chunk-WARJYBQ7.js +7 -0
  37. package/public/{chunk-VAE47BFB.js → chunk-WOU2FNU3.js} +1 -1
  38. package/public/chunk-XOISQHJ7.js +1 -0
  39. package/public/{chunk-O2XN7DIT.js → chunk-YBVURHD5.js} +1 -1
  40. package/public/chunk-Z2IWHI3C.js +1 -0
  41. package/public/{chunk-I3RHGD62.js → chunk-ZQSUYMH2.js} +1 -1
  42. package/public/{chunk-UXZI7A6H.js → chunk-ZZLIMAMY.js} +1 -1
  43. package/public/index.html +1 -1
  44. package/public/main-BD4IQDGT.js +358 -0
  45. package/public/{worker-2QCQHBWQ.js → worker-6LLSDQNK.js} +40 -20
  46. package/public/chunk-6W3TVG4T.js +0 -1
  47. package/public/chunk-FFPCEPCR.js +0 -7
  48. package/public/chunk-L766X4HH.js +0 -1
  49. package/public/chunk-NUFT6SHL.js +0 -1
  50. package/public/chunk-P2M2PBKT.js +0 -1
  51. package/public/chunk-PKC2MOZE.js +0 -1
  52. package/public/chunk-VCZ35SJT.js +0 -1
  53. package/public/chunk-XPTNBYFH.js +0 -1
  54. package/public/main-YMAIP3FL.js +0 -358
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.196 12.8039C10.2556 12.8623 9.33428 13.2514 8.61772 13.9679L4.46364 18.122L5.87785 19.5362L10.0319 15.3822C10.7485 14.6656 11.1376 13.7443 11.196 12.8039ZM12.9999 11C10.9982 10.4654 8.77388 10.9834 7.20351 12.5537L1.63521 18.122L5.87785 22.3647L11.4461 16.7964C13.0165 15.226 13.5344 13.0017 12.9999 11Z" fill="#373737"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M16.4572 8.95719L14.9572 10.4572L13.543 9.04298L15.043 7.54298L16.4572 8.95719ZM19.4572 5.95719L17.9572 7.45719L16.543 6.04298L18.043 4.54297L19.4572 5.95719ZM22.4572 2.95718L20.9572 4.45718L19.543 3.04297L21.043 1.54297L22.4572 2.95718Z" fill="#373737"/>
4
+ </svg>
@@ -244,7 +244,7 @@
244
244
  <tr>
245
245
  <td>Closest approach / Crossing vessel</td>
246
246
  <td>
247
- <b>signalk-collision-alerts</b><br />
247
+ <b>@signalk/collision-alerts</b><br />
248
248
  <b>signalk-derived-data</b>
249
249
  </td>
250
250
  </tr>
@@ -521,7 +521,8 @@
521
521
  menu. On a touch screen, press and hold.<br />
522
522
  The options available may vary based on the current application state.
523
523
  Plugins can add their own commands at the bottom of the menu. See the
524
- Feature Browser &rarr; <i>Extension Map Actions</i>.<br />
524
+ Feature Browser &rarr;
525
+ <i>Extension Menu Commands &amp; Chart Picks</i>.<br />
525
526
  <i
526
527
  >Note:The <b>"Add Note here"</b> option is only available at zoom
527
528
  levels where Notes are visible on the map.
@@ -652,7 +653,10 @@
652
653
  Once a destination has been set the following actions are
653
654
  available:
654
655
  <br />&nbsp;<br />
655
- <b><i class="material-icons">settings</i></b>
656
+ The course data panel can be dragged to another part of the screen
657
+ (on a touchscreen, press and hold it first). See the Feature
658
+ Browser &rarr; <i>Following a Route</i>. <br />&nbsp;<br />
659
+ <b><img src="./img/navigation-route.svg" /></b>
656
660
  Click to display the <b>Course Settings</b> screen.<br />
657
661
  From this screen values such as <i>Arrival Circle</i> can be set.
658
662
  <img
@@ -741,6 +745,10 @@
741
745
  <li>Draw and edit the RADAR guard zones.</li>
742
746
  </ul>
743
747
 
748
+ Whether the RADAR is shown on the map is saved with your settings:
749
+ after a reload it appears again as soon as the RADAR transmits.
750
+ <br />&nbsp;<br />
751
+
744
752
  When multiple RADAR devices are present you can choose one from the
745
753
  RADAR name in the control panel, or select the preferred device in
746
754
  <a href="#settings">SETTINGS</a>. <br />&nbsp;<br />
@@ -2189,14 +2197,28 @@
2189
2197
  button function.<br />
2190
2198
  <ul>
2191
2199
  <li>
2192
- <b>Waypoint at Vessel</b> - Selecting this option will create
2200
+ <b>Waypoint at vessel</b> - Selecting this option will create
2193
2201
  a waypoint at the vessel's current location.
2194
2202
  </li>
2195
2203
  <li>
2196
2204
  <b>Person Overboard</b> - Selecting this option will raise a
2197
2205
  Person Overboard alarm.
2198
2206
  </li>
2207
+ <li>
2208
+ <b>Autopilot Console</b> - Opens and closes the autopilot
2209
+ console.
2210
+ </li>
2211
+ <li>
2212
+ <b>Radar Overlay</b> - Shows the radar on the chart and opens
2213
+ its control panel.
2214
+ </li>
2215
+ <li>
2216
+ <b>A plugin's button</b> - Any button added by a plotter
2217
+ extension plugin, listed by the plugin's name and the button's
2218
+ title.
2219
+ </li>
2199
2220
  </ul>
2221
+ See the Feature Browser → <i>Action Button</i> for details.
2200
2222
  </li>
2201
2223
  <li>
2202
2224
  <b>Allow Device to Sleep</b>: Check this option to disable the
@@ -2296,10 +2318,11 @@
2296
2318
  This section provides choices about the units and values used when
2297
2319
  displaying data.<br />
2298
2320
 
2299
- <b>Use Server Unit Preferences</b>: When checked sets the Distance,
2300
- Depth, Length, Speed and Temperature units to those selected on the
2301
- Signal K server, and disables the selections below. Only available
2302
- when the server publishes unit preferences.<br />
2321
+ <b>Use Server Unit Preferences</b>: On by default. When checked sets
2322
+ the Distance, Depth, Length, Speed and Temperature units to those
2323
+ selected on the Signal K server, and disables each selection below
2324
+ that the server sets. Only available when the server publishes unit
2325
+ preferences; without them the selections below stay editable.<br />
2303
2326
  <i
2304
2327
  >Note: The server can also publish a unit for an individual path,
2305
2328
  which overrides the category setting for that value. Wind speed is
@@ -2401,6 +2424,12 @@
2401
2424
  close a popover using a button rather than just clicking outside
2402
2425
  of it.
2403
2426
  </li>
2427
+ <li>
2428
+ <b>Animate map movement</b>: Glide the chart when it follows the
2429
+ vessel, turns in heading-up mode, or zooms with the zoom buttons,
2430
+ instead of jumping. On by default; turn it off on a slow device to
2431
+ save the extra rendering.
2432
+ </li>
2404
2433
  <li>
2405
2434
  <b>Double click to Zoom</b>: Select this option to enable zooming
2406
2435
  the map with a double click.
@@ -2488,9 +2517,10 @@
2488
2517
 
2489
2518
  <ul>
2490
2519
  <li>
2491
- <b>Vessel Icon</b>: Select the icon used for your vessel (original
2492
- red sailboat, sailing monohull, catamaran or powerboat) and its
2493
- size on the map. <br />
2520
+ <b>Vessel Icon</b>: Select the icon used for your vessel (default
2521
+ vessel symbol, sailing monohull, catamaran or powerboat) and its
2522
+ size on the map. The default vessel symbol is the red sailboat, or
2523
+ a symbol provider's own-vessel icon when one is installed. <br />
2494
2524
  <b>Show vessel at actual size when zoomed in</b>: Draw the vessel
2495
2525
  at its real length and beam when zoomed in closely. See the
2496
2526
  Feature Browser &rarr; Own Vessel Display.
@@ -2768,6 +2798,7 @@
2768
2798
  there are multiple RADAR devices available.<br />
2769
2799
  Click the <b>REFRESH</b> button to fetch the list of RADARs from the
2770
2800
  Signal K Server.<br />
2801
+ The device list is locked while the RADAR is shown on the map.<br />
2771
2802
  <b>Draw range circles at the radar range while it transmits</b>:
2772
2803
  Select to draw range circles at the RADAR range around the vessel
2773
2804
  while the RADAR transmits, in place of the vessel range circles.
@@ -1,4 +1,4 @@
1
- import{a as It,b as Nt,c as Bt,d as Vt}from"./chunk-V44P57GA.js";import{a as Mt,b as Ft,c as Tt,d as Ot,e as Et,g as Pt}from"./chunk-O2XN7DIT.js";import{a as St}from"./chunk-ON6WKWFV.js";import{c as Rt}from"./chunk-FX2SMI5S.js";import{e as Ct,f as vt,i as Dt,j as xt,n as bt,o as kt}from"./chunk-EX2EX65O.js";import{$a as _t,A as nt,B as it,C as ot,Fa as dt,G as rt,H as at,L as st,La as ut,Na as mt,Oa as ft,Wa as ht,bb as pt,c as Je,gb as gt,jb as wt,n as et,oa as lt,qa as ct,rb as yt,y as tt,z as he}from"./chunk-GJFI75CP.js";import{$a as me,Ab as K,Bb as Y,Cb as S,Db as T,Hb as k,Jb as u,Jc as Ze,Ka as ie,Kb as fe,Kc as te,Lb as $,Mb as ke,Mc as A,O as Q,Oa as c,Ob as L,Pb as U,Sa as oe,Ta as H,U as de,Ub as re,V as ve,Vb as q,X as d,Ya as J,Yb as f,Zb as R,_a as V,_b as X,ab as p,ba as g,ca as w,d as Z,db as b,e as ze,eb as z,fa as qe,ga as Qe,h as Le,i as Ue,ia as We,ic as I,l as Ce,la as j,mb as W,n as je,na as Ke,nb as y,oa as ue,ob as C,pa as E,pb as De,pc as Ye,q as ce,ra as B,rb as xe,rc as Xe,sb as be,tb as P,ub as s,vb as l,wb as ee,wc as ae,y as $e,zc as Ge}from"./chunk-3PBISOLT.js";import{g as He}from"./chunk-BZGM3F3K.js";var rn=[[["caption"]],[["colgroup"],["col"]],"*"],an=["caption","colgroup, col","*"];function sn(n,o){n&1&&$(0,2)}function ln(n,o){n&1&&(s(0,"thead",0),S(1,1),l(),s(2,"tbody",0),S(3,2)(4,3),l(),s(5,"tfoot",0),S(6,4),l())}function cn(n,o){n&1&&S(0,1)(1,2)(2,3)(3,4)}var N=new ve("CDK_TABLE");var ge=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),we=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),Lt=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),ne=(()=>{class n{_table=d(N,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,r){if(t&1&&ke(r,ge,5)(r,we,5)(r,Lt,5),t&2){let a;L(a=U())&&(i.cell=a.first),L(a=U())&&(i.headerCell=a.first),L(a=U())&&(i.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",A],stickyEnd:[2,"stickyEnd","stickyEnd",A]}})}return n})(),pe=class{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}},Ut=(()=>{class n extends pe{constructor(){super(d(ne),d(B))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[b]})}return n})();var jt=(()=>{class n extends pe{constructor(){let e=d(ne),t=d(B);super(e,t);let i=e._table?._getCellRole();i&&t.nativeElement.setAttribute("role",i)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[b]})}return n})();var Se=(()=>{class n{template=d(H);_differs=d(te);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof le?e.headerCell.template:this instanceof Me?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,features:[ue]})}return n})(),le=(()=>{class n extends Se{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),Me=(()=>{class n extends Se{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),ye=(()=>{class n extends Se{_table=d(N,{optional:!0});when;constructor(){super(d(H),d(te))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[b]})}return n})(),G=(()=>{class n{_viewContainer=d(J);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),Fe=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})();var Te=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})(),$t=(()=>{class n{templateRef=d(H);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),At=["top","bottom","left","right"],Re=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(o=>this._updateCachedSizes(o)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(o,e,t=!0,i=!0,r,a,m){this._isNativeHtmlTable=o,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=i,this.direction=r,this._positionListener=a,this._tableInjector=m,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(o);let t=[];for(let i of o)i.nodeType===i.ELEMENT_NODE&&t.push(i,...Array.from(i.children));oe({write:()=>{for(let i of t)this._removeStickyStyle(i,e)}},{injector:this._tableInjector})}updateStickyColumns(o,e,t,i=!0,r=!0){if(!o.length||!this._isBrowser||!(e.some(O=>O)||t.some(O=>O))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=o[0],m=a.children.length,h=this.direction==="rtl",_=h?"right":"left",v=h?"left":"right",F=e.lastIndexOf(!0),D=t.indexOf(!0),x,Be,Ve;r&&this._updateStickyColumnReplayQueue({rows:[...o],stickyStartStates:[...e],stickyEndStates:[...t]}),oe({earlyRead:()=>{x=this._getCellWidths(a,i),Be=this._getStickyStartColumnPositions(x,e),Ve=this._getStickyEndColumnPositions(x,t)},write:()=>{for(let O of o)for(let M=0;M<m;M++){let Ae=O.children[M];e[M]&&this._addStickyStyle(Ae,_,Be[M],M===F),t[M]&&this._addStickyStyle(Ae,v,Ve[M],M===D)}this._positionListener&&x.some(O=>!!O)&&(this._positionListener.stickyColumnsUpdated({sizes:F===-1?[]:x.slice(0,F+1).map((O,M)=>e[M]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:x.slice(D).map((O,M)=>t[M+D]?O:null).reverse()}))}},{injector:this._tableInjector})}stickRows(o,e,t){if(!this._isBrowser)return;let i=t==="bottom"?o.slice().reverse():o,r=t==="bottom"?e.slice().reverse():e,a=[],m=[],h=[];oe({earlyRead:()=>{for(let _=0,v=0;_<i.length;_++){if(!r[_])continue;a[_]=v;let F=i[_];h[_]=this._isNativeHtmlTable?Array.from(F.children):[F];let D=this._retrieveElementSize(F).height;v+=D,m[_]=D}},write:()=>{let _=r.lastIndexOf(!0);for(let v=0;v<i.length;v++){if(!r[v])continue;let F=a[v],D=v===_;for(let x of h[v])this._addStickyStyle(x,t,F,D)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:m,offsets:a,elements:h}):this._positionListener?.stickyFooterRowsUpdated({sizes:m,offsets:a,elements:h})}},{injector:this._tableInjector})}updateStickyFooterContainer(o,e){this._isNativeHtmlTable&&oe({write:()=>{let t=o.querySelector("tfoot");t&&(e.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(o,e){if(!o.classList.contains(this._stickCellCss))return;for(let i of e)o.style[i]="",o.classList.remove(this._borderCellCss[i]);At.some(i=>e.indexOf(i)===-1&&o.style[i])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,i){o.classList.add(this._stickCellCss),i&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){let e={top:100,bottom:10,left:1,right:1},t=0;for(let i of At)o.style[i]&&(t+=e[i]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=o.children;for(let r=0;r<i.length;r++){let a=i[r];t.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(o,e){let t=[],i=0;for(let r=0;r<o.length;r++)e[r]&&(t[r]=i,i+=o[r]);return t}_getStickyEndColumnPositions(o,e){let t=[],i=0;for(let r=o.length;r>0;r--)e[r]&&(t[r]=i,i+=o[r]);return t}_retrieveElementSize(o){let e=this._elemSizeCache.get(o);if(e)return e;let t=o.getBoundingClientRect(),i={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(o,i),this._resizeObserver.observe(o,{box:"border-box"})),i}_updateStickyColumnReplayQueue(o){this._removeFromStickyColumnReplayQueue(o.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(o)}_removeFromStickyColumnReplayQueue(o){let e=new Set(o);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(i=>!e.has(i));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(o){let e=!1;for(let t of o){let i=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};i.width!==this._elemSizeCache.get(t.target)?.width&&dn(t.target)&&(e=!0),this._elemSizeCache.set(t.target,i)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function dn(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(o=>n.classList.contains(o))}var se=new ve("STICKY_POSITIONING_LISTENER");var Oe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","rowOutlet",""]]})}return n})(),Ee=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),Pe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),Ie=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})(),Ne=(()=>{class n{_differs=d(te);_changeDetectorRef=d(Ze);_elementRef=d(B);_dir=d(tt,{optional:!0});_platform=d(et);_viewRepeater;_viewportRuler=d(rt);_injector=d(qe);_virtualScrollViewport=d(at,{optional:!0,host:!0});_positionListener=d(se,{optional:!0})||d(se,{optional:!0,skipSelf:!0});_document=d(Qe);_data;_renderedRange;_onDestroy=new Z;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new Z;_footerRowStickyUpdates=new Z;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new Z;_dataStream=new Z;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new We;viewChange=new ze({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){d(new Ge("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Q(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new it:new Rt,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),he(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(i,r,a)=>this._getEmbeddedViewArgs(i.item,a),i=>i.item.data,i=>{i.operation===nt.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{let r=t.get(i.currentIndex);r.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._headerRowOutlet,"thead");i&&(i.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._footerRowOutlet,"tfoot");i&&(i.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let m=0;m<t.length;m++)this._renderRows[m].rowDef===r&&a.push(t[m]);this._addStickyColumnStyles(a,r)}),i.forEach((r,a)=>{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],t=Math.min(this._data.length,this._renderedRange.end),i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=this._renderedRange.start;r<t;r++){let a=this._data[r],m=this._getRenderRowsForData(a,r,i.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let h=0;h<m.length;h++){let _=m[h],v=this._cachedRenderRowsMap.get(_.data);v.has(_.rowDef)?v.get(_.rowDef).push(_):v.set(_.rowDef,[_]),e.push(_)}}return e}_getRenderRowsForData(e,t,i){return this._getRowDefs(e,t).map(a=>{let m=i&&i.has(a)?i.get(a):[];if(m.length){let h=m.shift();return h.dataIndex=t,h}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_e(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=_e(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_e(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_e(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,m)=>{let h=!!m.getColumnsDiff();return a||h},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||i||r}_switchDataSource(e){this._data=[],he(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;he(this.dataSource)?e=this.dataSource.connect(this):je(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Ce(this.dataSource)),this._renderChangeSubscription=ce([e,this.viewChange]).pipe(Q(this._onDestroy)).subscribe(([t,i])=>{this._data=t||[],this._renderedRange=i,this._dataStream.next(t),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let i=Array.from(t?.columns||[]).map(m=>{let h=this._columnDefsByName.get(m);return h}),r=i.map(m=>m.sticky),a=i.map(m=>m.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let i=0;i<e.viewContainer.length;i++){let r=e.viewContainer.get(i);t.push(r.rootNodes[0])}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(r=>!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&i.push(r)}return i.length,i}_getEmbeddedViewArgs(e,t){let i=e.rowDef,r={$implicit:e.data};return{templateRef:i.template,context:r,index:t}}_renderRow(e,t,i,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,i);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let i of this._getCellTemplates(e))G.mostRecentCellOutlet&&G.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t<i;t++){let a=e.get(t).context;a.count=i,a.first=t===0,a.last=t===i-1,a.even=t%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[t].dataIndex,a.renderIndex=t):a.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,t=>{let i=this._columnDefsByName.get(t);return e.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,i)=>t||i.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new Re(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:Ce()).pipe(Q(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Ue:Le;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe($e(0,t),Q(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(i,r)=>this._measureRangeSize(i,r)}),ce([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m){let h=r.offsets[a],_=i!==0?Math.max(i-h,h):-h;for(let v of m)v.style.top=`${-_}px`}}}),ce([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m)for(let h of m)h.style.bottom=`${i+r.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(t){let r=i.createEmbeddedView(e.templateRef),a=r.rootNodes[0];if(r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let m=a.querySelectorAll(e._cellSelector);for(let h=0;h<m.length;h++)m[h].classList.add(...e._cellClassNames)}}else i.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let i=this.viewChange.value,r=this._rowOutlet.viewContainer;e.start<i.start||e.end>i.end;let a=e.start-i.start,m=e.end-e.start,h,_;for(let D=0;D<m;D++){let x=r.get(D+a);if(x&&x.rootNodes.length){h=_=x.rootNodes[0];break}}for(let D=m-1;D>-1;D--){let x=r.get(D+a);if(x&&x.rootNodes.length){_=x.rootNodes[x.rootNodes.length-1];break}}let v=h?.getBoundingClientRect?.(),F=_?.getBoundingClientRect?.();return v&&F?F.bottom-v.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,r){if(t&1&&ke(r,$t,5)(r,ne,5)(r,ye,5)(r,le,5)(r,Me,5),t&2){let a;L(a=U())&&(i._noDataRow=a.first),L(a=U())&&(i._contentColumnDefs=a),L(a=U())&&(i._contentRowDefs=a),L(a=U())&&(i._contentHeaderRowDefs=a),L(a=U())&&(i._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){t&2&&q("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",A],fixedLayout:[2,"fixedLayout","fixedLayout",A],recycleRows:[2,"recycleRows","recycleRows",A]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[I([{provide:N,useExisting:n},{provide:se,useValue:null}])],ngContentSelectors:an,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(rn),$(0),$(1,1),y(2,sn,1,0),y(3,ln,7,0)(4,cn,4,0)),t&2&&(c(2),C(i._isServer?2:-1),c(),C(i._isNativeHtmlTable?3:4))},dependencies:[Ee,Oe,Ie,Pe],styles:[`.cdk-table-fixed-layout {
1
+ import{a as It,b as Nt,c as Bt,d as Vt}from"./chunk-VT4GQY5X.js";import{a as Mt,b as Ft,c as Tt,d as Ot,e as Et,g as Pt}from"./chunk-YBVURHD5.js";import{a as St}from"./chunk-GJZ7P5CR.js";import{c as Rt}from"./chunk-DN6IX7CO.js";import{e as Ct,f as vt,i as Dt,j as xt,n as bt,o as kt}from"./chunk-DC5AFSD6.js";import{$a as _t,A as nt,B as it,C as ot,Fa as dt,G as rt,H as at,L as st,La as ut,Na as mt,Oa as ft,Wa as ht,bb as pt,c as Je,gb as gt,jb as wt,n as et,oa as lt,qa as ct,rb as yt,y as tt,z as he}from"./chunk-2QKJQDG4.js";import{$a as me,Ab as K,Bb as Y,Cb as S,Db as T,Hb as k,Jb as u,Jc as Ze,Ka as ie,Kb as fe,Kc as te,Lb as $,Mb as ke,Mc as A,O as Q,Oa as c,Ob as L,Pb as U,Sa as oe,Ta as H,U as de,Ub as re,V as ve,Vb as q,X as d,Ya as J,Yb as f,Zb as R,_a as V,_b as X,ab as p,ba as g,ca as w,d as Z,db as b,e as ze,eb as z,fa as qe,ga as Qe,h as Le,i as Ue,ia as We,ic as I,l as Ce,la as j,mb as W,n as je,na as Ke,nb as y,oa as ue,ob as C,pa as E,pb as De,pc as Ye,q as ce,ra as B,rb as xe,rc as Xe,sb as be,tb as P,ub as s,vb as l,wb as ee,wc as ae,y as $e,zc as Ge}from"./chunk-R6ABX6RX.js";import{g as He}from"./chunk-BZGM3F3K.js";var rn=[[["caption"]],[["colgroup"],["col"]],"*"],an=["caption","colgroup, col","*"];function sn(n,o){n&1&&$(0,2)}function ln(n,o){n&1&&(s(0,"thead",0),S(1,1),l(),s(2,"tbody",0),S(3,2)(4,3),l(),s(5,"tfoot",0),S(6,4),l())}function cn(n,o){n&1&&S(0,1)(1,2)(2,3)(3,4)}var N=new ve("CDK_TABLE");var ge=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),we=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),Lt=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),ne=(()=>{class n{_table=d(N,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,r){if(t&1&&ke(r,ge,5)(r,we,5)(r,Lt,5),t&2){let a;L(a=U())&&(i.cell=a.first),L(a=U())&&(i.headerCell=a.first),L(a=U())&&(i.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",A],stickyEnd:[2,"stickyEnd","stickyEnd",A]}})}return n})(),pe=class{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}},Ut=(()=>{class n extends pe{constructor(){super(d(ne),d(B))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[b]})}return n})();var jt=(()=>{class n extends pe{constructor(){let e=d(ne),t=d(B);super(e,t);let i=e._table?._getCellRole();i&&t.nativeElement.setAttribute("role",i)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[b]})}return n})();var Se=(()=>{class n{template=d(H);_differs=d(te);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof le?e.headerCell.template:this instanceof Me?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,features:[ue]})}return n})(),le=(()=>{class n extends Se{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),Me=(()=>{class n extends Se{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),ye=(()=>{class n extends Se{_table=d(N,{optional:!0});when;constructor(){super(d(H),d(te))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[b]})}return n})(),G=(()=>{class n{_viewContainer=d(J);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),Fe=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})();var Te=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})(),$t=(()=>{class n{templateRef=d(H);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),At=["top","bottom","left","right"],Re=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(o=>this._updateCachedSizes(o)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(o,e,t=!0,i=!0,r,a,m){this._isNativeHtmlTable=o,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=i,this.direction=r,this._positionListener=a,this._tableInjector=m,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(o);let t=[];for(let i of o)i.nodeType===i.ELEMENT_NODE&&t.push(i,...Array.from(i.children));oe({write:()=>{for(let i of t)this._removeStickyStyle(i,e)}},{injector:this._tableInjector})}updateStickyColumns(o,e,t,i=!0,r=!0){if(!o.length||!this._isBrowser||!(e.some(O=>O)||t.some(O=>O))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=o[0],m=a.children.length,h=this.direction==="rtl",_=h?"right":"left",v=h?"left":"right",F=e.lastIndexOf(!0),D=t.indexOf(!0),x,Be,Ve;r&&this._updateStickyColumnReplayQueue({rows:[...o],stickyStartStates:[...e],stickyEndStates:[...t]}),oe({earlyRead:()=>{x=this._getCellWidths(a,i),Be=this._getStickyStartColumnPositions(x,e),Ve=this._getStickyEndColumnPositions(x,t)},write:()=>{for(let O of o)for(let M=0;M<m;M++){let Ae=O.children[M];e[M]&&this._addStickyStyle(Ae,_,Be[M],M===F),t[M]&&this._addStickyStyle(Ae,v,Ve[M],M===D)}this._positionListener&&x.some(O=>!!O)&&(this._positionListener.stickyColumnsUpdated({sizes:F===-1?[]:x.slice(0,F+1).map((O,M)=>e[M]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:x.slice(D).map((O,M)=>t[M+D]?O:null).reverse()}))}},{injector:this._tableInjector})}stickRows(o,e,t){if(!this._isBrowser)return;let i=t==="bottom"?o.slice().reverse():o,r=t==="bottom"?e.slice().reverse():e,a=[],m=[],h=[];oe({earlyRead:()=>{for(let _=0,v=0;_<i.length;_++){if(!r[_])continue;a[_]=v;let F=i[_];h[_]=this._isNativeHtmlTable?Array.from(F.children):[F];let D=this._retrieveElementSize(F).height;v+=D,m[_]=D}},write:()=>{let _=r.lastIndexOf(!0);for(let v=0;v<i.length;v++){if(!r[v])continue;let F=a[v],D=v===_;for(let x of h[v])this._addStickyStyle(x,t,F,D)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:m,offsets:a,elements:h}):this._positionListener?.stickyFooterRowsUpdated({sizes:m,offsets:a,elements:h})}},{injector:this._tableInjector})}updateStickyFooterContainer(o,e){this._isNativeHtmlTable&&oe({write:()=>{let t=o.querySelector("tfoot");t&&(e.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(o,e){if(!o.classList.contains(this._stickCellCss))return;for(let i of e)o.style[i]="",o.classList.remove(this._borderCellCss[i]);At.some(i=>e.indexOf(i)===-1&&o.style[i])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,i){o.classList.add(this._stickCellCss),i&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){let e={top:100,bottom:10,left:1,right:1},t=0;for(let i of At)o.style[i]&&(t+=e[i]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=o.children;for(let r=0;r<i.length;r++){let a=i[r];t.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(o,e){let t=[],i=0;for(let r=0;r<o.length;r++)e[r]&&(t[r]=i,i+=o[r]);return t}_getStickyEndColumnPositions(o,e){let t=[],i=0;for(let r=o.length;r>0;r--)e[r]&&(t[r]=i,i+=o[r]);return t}_retrieveElementSize(o){let e=this._elemSizeCache.get(o);if(e)return e;let t=o.getBoundingClientRect(),i={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(o,i),this._resizeObserver.observe(o,{box:"border-box"})),i}_updateStickyColumnReplayQueue(o){this._removeFromStickyColumnReplayQueue(o.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(o)}_removeFromStickyColumnReplayQueue(o){let e=new Set(o);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(i=>!e.has(i));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(o){let e=!1;for(let t of o){let i=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};i.width!==this._elemSizeCache.get(t.target)?.width&&dn(t.target)&&(e=!0),this._elemSizeCache.set(t.target,i)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function dn(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(o=>n.classList.contains(o))}var se=new ve("STICKY_POSITIONING_LISTENER");var Oe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","rowOutlet",""]]})}return n})(),Ee=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),Pe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),Ie=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})(),Ne=(()=>{class n{_differs=d(te);_changeDetectorRef=d(Ze);_elementRef=d(B);_dir=d(tt,{optional:!0});_platform=d(et);_viewRepeater;_viewportRuler=d(rt);_injector=d(qe);_virtualScrollViewport=d(at,{optional:!0,host:!0});_positionListener=d(se,{optional:!0})||d(se,{optional:!0,skipSelf:!0});_document=d(Qe);_data;_renderedRange;_onDestroy=new Z;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new Z;_footerRowStickyUpdates=new Z;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new Z;_dataStream=new Z;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new We;viewChange=new ze({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){d(new Ge("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Q(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new it:new Rt,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),he(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(i,r,a)=>this._getEmbeddedViewArgs(i.item,a),i=>i.item.data,i=>{i.operation===nt.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{let r=t.get(i.currentIndex);r.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._headerRowOutlet,"thead");i&&(i.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._footerRowOutlet,"tfoot");i&&(i.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let m=0;m<t.length;m++)this._renderRows[m].rowDef===r&&a.push(t[m]);this._addStickyColumnStyles(a,r)}),i.forEach((r,a)=>{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],t=Math.min(this._data.length,this._renderedRange.end),i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=this._renderedRange.start;r<t;r++){let a=this._data[r],m=this._getRenderRowsForData(a,r,i.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let h=0;h<m.length;h++){let _=m[h],v=this._cachedRenderRowsMap.get(_.data);v.has(_.rowDef)?v.get(_.rowDef).push(_):v.set(_.rowDef,[_]),e.push(_)}}return e}_getRenderRowsForData(e,t,i){return this._getRowDefs(e,t).map(a=>{let m=i&&i.has(a)?i.get(a):[];if(m.length){let h=m.shift();return h.dataIndex=t,h}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_e(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=_e(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_e(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_e(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,m)=>{let h=!!m.getColumnsDiff();return a||h},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||i||r}_switchDataSource(e){this._data=[],he(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;he(this.dataSource)?e=this.dataSource.connect(this):je(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Ce(this.dataSource)),this._renderChangeSubscription=ce([e,this.viewChange]).pipe(Q(this._onDestroy)).subscribe(([t,i])=>{this._data=t||[],this._renderedRange=i,this._dataStream.next(t),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let i=Array.from(t?.columns||[]).map(m=>{let h=this._columnDefsByName.get(m);return h}),r=i.map(m=>m.sticky),a=i.map(m=>m.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let i=0;i<e.viewContainer.length;i++){let r=e.viewContainer.get(i);t.push(r.rootNodes[0])}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(r=>!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&i.push(r)}return i.length,i}_getEmbeddedViewArgs(e,t){let i=e.rowDef,r={$implicit:e.data};return{templateRef:i.template,context:r,index:t}}_renderRow(e,t,i,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,i);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let i of this._getCellTemplates(e))G.mostRecentCellOutlet&&G.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t<i;t++){let a=e.get(t).context;a.count=i,a.first=t===0,a.last=t===i-1,a.even=t%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[t].dataIndex,a.renderIndex=t):a.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,t=>{let i=this._columnDefsByName.get(t);return e.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,i)=>t||i.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new Re(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:Ce()).pipe(Q(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Ue:Le;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe($e(0,t),Q(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(i,r)=>this._measureRangeSize(i,r)}),ce([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m){let h=r.offsets[a],_=i!==0?Math.max(i-h,h):-h;for(let v of m)v.style.top=`${-_}px`}}}),ce([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m)for(let h of m)h.style.bottom=`${i+r.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(t){let r=i.createEmbeddedView(e.templateRef),a=r.rootNodes[0];if(r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let m=a.querySelectorAll(e._cellSelector);for(let h=0;h<m.length;h++)m[h].classList.add(...e._cellClassNames)}}else i.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let i=this.viewChange.value,r=this._rowOutlet.viewContainer;e.start<i.start||e.end>i.end;let a=e.start-i.start,m=e.end-e.start,h,_;for(let D=0;D<m;D++){let x=r.get(D+a);if(x&&x.rootNodes.length){h=_=x.rootNodes[0];break}}for(let D=m-1;D>-1;D--){let x=r.get(D+a);if(x&&x.rootNodes.length){_=x.rootNodes[x.rootNodes.length-1];break}}let v=h?.getBoundingClientRect?.(),F=_?.getBoundingClientRect?.();return v&&F?F.bottom-v.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,r){if(t&1&&ke(r,$t,5)(r,ne,5)(r,ye,5)(r,le,5)(r,Me,5),t&2){let a;L(a=U())&&(i._noDataRow=a.first),L(a=U())&&(i._contentColumnDefs=a),L(a=U())&&(i._contentRowDefs=a),L(a=U())&&(i._contentHeaderRowDefs=a),L(a=U())&&(i._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){t&2&&q("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",A],fixedLayout:[2,"fixedLayout","fixedLayout",A],recycleRows:[2,"recycleRows","recycleRows",A]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[I([{provide:N,useExisting:n},{provide:se,useValue:null}])],ngContentSelectors:an,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(rn),$(0),$(1,1),y(2,sn,1,0),y(3,ln,7,0)(4,cn,4,0)),t&2&&(c(2),C(i._isServer?2:-1),c(),C(i._isNativeHtmlTable?3:4))},dependencies:[Ee,Oe,Ie,Pe],styles:[`.cdk-table-fixed-layout {
2
2
  table-layout: fixed;
3
3
  }
4
4
  `],encapsulation:2})}return n})();function _e(n,o){return n.concat(Array.from(o))}function Ht(n,o){let e=o.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===e)return t;if(i==="TABLE")break;t=t.parentNode}return null}var qt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=me({type:n});static \u0275inj=de({imports:[st]})}return n})();var un=[[["caption"]],[["colgroup"],["col"]],"*"],mn=["caption","colgroup, col","*"];function fn(n,o){n&1&&$(0,2)}function hn(n,o){n&1&&(s(0,"thead",0),S(1,1),l(),s(2,"tbody",2),S(3,3)(4,4),l(),s(5,"tfoot",0),S(6,5),l())}function _n(n,o){n&1&&S(0,1)(1,3)(2,4)(3,5)}var Qt=(()=>{class n extends Ne{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275cmp=V({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,i){t&2&&q("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[I([{provide:Ne,useExisting:n},{provide:N,useExisting:n},{provide:se,useValue:null}]),b],ngContentSelectors:mn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(un),$(0),$(1,1),y(2,fn,1,0),y(3,hn,7,0)(4,_n,4,0)),t&2&&(c(2),C(i._isServer?2:-1),c(),C(i._isNativeHtmlTable?3:4))},dependencies:[Ee,Oe,Ie,Pe],styles:[`.mat-mdc-table-sticky {
@@ -1,4 +1,4 @@
1
- import{$ as Bo,$a as S,Aa as gt,B as Oo,Ba as _t,C as ht,Ca as zo,D as le,Da as Ho,Ea as $o,Eb as dr,F as $t,Fa as Go,Fb as me,G as Gt,Ga as Wo,Gb as G,Ha as Yo,Hb as Dt,I as ko,Ia as Xo,J as Po,Jc as Qe,K as No,Kb as Ae,Kc as ur,L as kn,Lb as J,Lc as is,M as xe,Mc as k,N as Pn,Nb as $n,Nc as rs,O as je,Oa as Zo,Ob as Gn,P as Lo,Pa as bt,Pb as Wn,Pc as Xn,Q as ft,Qa as Ko,R as F,Ra as jn,S as ce,Sa as Ee,T as h,Ta as Re,U as A,Ua as de,Ub as es,V as f,Va as ue,Vb as Y,W as v,Wa as M,X as l,Xb as Yn,Y as sr,Ya as Te,Z as Vo,Za as Un,_ as Fe,_a as j,a as ee,aa as te,ab as _,b as Me,bb as lr,c as wo,cb as qo,d as g,db as I,e as Eo,eb as zn,f as or,fa as w,ga as b,gb as Hn,h as Ao,ha as Nn,hb as cr,i as So,ia as N,ib as Ue,ic as ne,ja as D,k as Io,ka as qe,l as z,la as X,m as Mo,ma as ar,mb as se,n as Be,na as Ln,oa as oe,p as H,pa as q,q as xo,r as Fo,ra as E,s as Rn,sa as Wt,t as Tn,ta as jo,ua as Je,ub as Jo,uc as ts,va as Uo,vb as Qo,vc as pe,w as Ro,wa as mt,wc as Ct,x as K,xa as Vn,xb as vt,y as On,ya as pt,yb as yt,z as To,za as Bn,zb as fe,zc as ns}from"./chunk-3PBISOLT.js";import{a as p,b as Z,g as Fn}from"./chunk-BZGM3F3K.js";var os=null;function ge(){return os}function hr(i){os??=i}var Yt=class{},wt=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>l(ss),providedIn:"platform"})}return i})();var ss=(()=>{class i extends wt{_location;_history;_doc=l(b);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ge().getBaseHref(this._doc)}onPopState(e){let t=ge().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=ge().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,r){this._history.pushState(e,t,r)}replaceState(e,t,r){this._history.replaceState(e,t,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function cs(i,n){return i?n?i.endsWith("/")?n.startsWith("/")?i+n.slice(1):i+n:n.startsWith("/")?i+n:`${i}/${n}`:i:n}function as(i){let n=i.search(/#|\?|$/);return i[n-1]==="/"?i.slice(0,n-1)+i.slice(n):i}function ze(i){return i&&i[0]!=="?"?`?${i}`:i}var Zn=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>l(Xl),providedIn:"root"})}return i})(),Yl=new f(""),Xl=(()=>{class i extends Zn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??l(b).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return cs(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+ze(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${t}${r}`:t}pushState(e,t,r,o){let s=this.prepareExternalUrl(r+ze(o));this._platformLocation.pushState(e,t,s)}replaceState(e,t,r,o){let s=this.prepareExternalUrl(r+ze(o));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(v(wt),v(Yl,8))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Kn=(()=>{class i{_subject=new g;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=ql(as(ls(t))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+ze(t))}normalize(e){return i.stripTrailingSlash(Kl(this._basePath,ls(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",r=null){this._locationStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(t)),r)}replaceState(e,t="",r=null){this._locationStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(t)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(r=>r(e,t))}subscribe(e,t,r){return this._subject.subscribe({next:e,error:t??void 0,complete:r??void 0})}static normalizeQueryParams=ze;static joinWithSlash=cs;static stripTrailingSlash=as;static \u0275fac=function(t){return new(t||i)(v(Zn))};static \u0275prov=h({token:i,factory:()=>Zl(),providedIn:"root"})}return i})();function Zl(){return new Kn(v(Zn))}function Kl(i,n){if(!i||!n.startsWith(i))return n;let e=n.substring(i.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function ls(i){return i.replace(/\/index\.html$/,"")}function ql(i){if(new RegExp("^(https?:)?//").test(i)){let[,e]=i.split(/\/\/[^\/]+/);return e}return i}var Q=(function(i){return i[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i})(Q||{}),R=(function(i){return i[i.Narrow=0]="Narrow",i[i.Abbreviated=1]="Abbreviated",i[i.Wide=2]="Wide",i[i.Short=3]="Short",i})(R||{}),ae=(function(i){return i[i.Short=0]="Short",i[i.Medium=1]="Medium",i[i.Long=2]="Long",i[i.Full=3]="Full",i})(ae||{}),ke={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function fs(i){return me(i)[G.LocaleId]}function ms(i,n,e){let t=me(i),r=[t[G.DayPeriodsFormat],t[G.DayPeriodsStandalone]],o=_e(r,n);return _e(o,e)}function ps(i,n,e){let t=me(i),r=[t[G.DaysFormat],t[G.DaysStandalone]],o=_e(r,n);return _e(o,e)}function gs(i,n,e){let t=me(i),r=[t[G.MonthsFormat],t[G.MonthsStandalone]],o=_e(r,n);return _e(o,e)}function _s(i,n){let t=me(i)[G.Eras];return _e(t,n)}function Xt(i,n){let e=me(i);return _e(e[G.DateFormat],n)}function Zt(i,n){let e=me(i);return _e(e[G.TimeFormat],n)}function Kt(i,n){let t=me(i)[G.DateTimeFormat];return _e(t,n)}function qt(i,n){let e=me(i),t=e[G.NumberSymbols][n];if(typeof t>"u"){if(n===ke.CurrencyDecimal)return e[G.NumberSymbols][ke.Decimal];if(n===ke.CurrencyGroup)return e[G.NumberSymbols][ke.Group]}return t}function bs(i){if(!i[G.ExtraData])throw new F(2303,!1)}function vs(i){let n=me(i);return bs(n),(n[G.ExtraData][2]||[]).map(t=>typeof t=="string"?fr(t):[fr(t[0]),fr(t[1])])}function ys(i,n,e){let t=me(i);bs(t);let r=[t[G.ExtraData][0],t[G.ExtraData][1]],o=_e(r,n)||[];return _e(o,e)||[]}function _e(i,n){for(let e=n;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new F(2304,!1)}function fr(i){let[n,e]=i.split(":");return{hours:+n,minutes:+e}}var Jl=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,qn={},Ql=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ec=256;function Ds(i,n,e,t){let r=dc(i);tc(n),n=Oe(e,n)||n;let s=[],a;for(;n;)if(a=Ql.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=r.getTimezoneOffset();t&&(c=ws(t,c),r=cc(r,t));let d="";return s.forEach(u=>{let m=ac(u);d+=m?m(r,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function tc(i){if(i.length>ec)throw new F(2300,!1)}function ni(i,n,e){let t=new Date(0);return t.setFullYear(i,n,e),t.setHours(0,0,0),t}function Oe(i,n){let e=fs(i);if(qn[e]??={},qn[e][n])return qn[e][n];let t="";switch(n){case"shortDate":t=Xt(i,ae.Short);break;case"mediumDate":t=Xt(i,ae.Medium);break;case"longDate":t=Xt(i,ae.Long);break;case"fullDate":t=Xt(i,ae.Full);break;case"shortTime":t=Zt(i,ae.Short);break;case"mediumTime":t=Zt(i,ae.Medium);break;case"longTime":t=Zt(i,ae.Long);break;case"fullTime":t=Zt(i,ae.Full);break;case"short":let r=Oe(i,"shortTime"),o=Oe(i,"shortDate");t=Jn(Kt(i,ae.Short),[r,o]);break;case"medium":let s=Oe(i,"mediumTime"),a=Oe(i,"mediumDate");t=Jn(Kt(i,ae.Medium),[s,a]);break;case"long":let c=Oe(i,"longTime"),d=Oe(i,"longDate");t=Jn(Kt(i,ae.Long),[c,d]);break;case"full":let u=Oe(i,"fullTime"),m=Oe(i,"fullDate");t=Jn(Kt(i,ae.Full),[u,m]);break}return t&&(qn[e][n]=t),t}function Jn(i,n){return n&&(i=i.replace(/\{([^}]+)}/g,function(e,t){return n!=null&&t in n?n[t]:e})),i}function De(i,n,e="-",t,r){let o="";(i<0||r&&i<=0)&&(r?i=-i+1:(i=-i,o=e));let s=String(i);for(;s.length<n;)s="0"+s;return t&&(s=s.slice(s.length-n)),o+s}function nc(i,n){return De(i,3).substring(0,n)}function $(i,n,e=0,t=!1,r=!1){return function(o,s){let a=ic(i,o);if((e>0||a>-e)&&(a+=e),i===3)a===0&&e===-12&&(a=12);else if(i===6)return nc(a,n);let c=qt(s,ke.MinusSign);return De(a,n,c,t,r)}}function ic(i,n){switch(i){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new F(2301,!1)}}function L(i,n,e=Q.Format,t=!1){return function(r,o){return rc(r,o,i,n,e,t)}}function rc(i,n,e,t,r,o){switch(e){case 2:return gs(n,r,t)[i.getMonth()];case 1:return ps(n,r,t)[i.getDay()];case 0:let s=i.getHours(),a=i.getMinutes();if(o){let d=vs(n),u=ys(n,r,t),m=d.findIndex(C=>{if(Array.isArray(C)){let[B,T]=C,P=s>=B.hours&&a>=B.minutes,y=s<T.hours||s===T.hours&&a<T.minutes;if(B.hours<T.hours){if(P&&y)return!0}else if(P||y)return!0}else if(C.hours===s&&C.minutes===a)return!0;return!1});if(m!==-1)return u[m]}return ms(n,r,t)[s<12?0:1];case 3:return _s(n,t)[i.getFullYear()<=0?0:1];default:let c=e;throw new F(2302,!1)}}function Qn(i){return function(n,e,t){let r=-1*t,o=qt(e,ke.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(i){case 0:return(r>=0?"+":"")+De(s,2,o)+De(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+De(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+De(s,2,o)+":"+De(Math.abs(r%60),2,o);case 3:return t===0?"Z":(r>=0?"+":"")+De(s,2,o)+":"+De(Math.abs(r%60),2,o);default:throw new F(2310,!1)}}}var oc=0,ti=4;function sc(i){let n=ni(i,oc,1).getDay();return ni(i,0,1+(n<=ti?ti:ti+7)-n)}function Cs(i){let n=i.getDay(),e=n===0?-3:ti-n;return ni(i.getFullYear(),i.getMonth(),i.getDate()+e)}function mr(i,n=!1){return function(e,t){let r;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{let o=Cs(e),s=sc(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return De(r,i,qt(t,ke.MinusSign))}}function ei(i,n=!1){return function(e,t){let o=Cs(e).getFullYear();return De(o,i,qt(t,ke.MinusSign),n)}}var pr={};function ac(i){if(pr[i])return pr[i];let n;switch(i){case"G":case"GG":case"GGG":n=L(3,R.Abbreviated);break;case"GGGG":n=L(3,R.Wide);break;case"GGGGG":n=L(3,R.Narrow);break;case"y":n=$(0,1,0,!1,!0);break;case"yy":n=$(0,2,0,!0,!0);break;case"yyy":n=$(0,3,0,!1,!0);break;case"yyyy":n=$(0,4,0,!1,!0);break;case"Y":n=ei(1);break;case"YY":n=ei(2,!0);break;case"YYY":n=ei(3);break;case"YYYY":n=ei(4);break;case"M":case"L":n=$(1,1,1);break;case"MM":case"LL":n=$(1,2,1);break;case"MMM":n=L(2,R.Abbreviated);break;case"MMMM":n=L(2,R.Wide);break;case"MMMMM":n=L(2,R.Narrow);break;case"LLL":n=L(2,R.Abbreviated,Q.Standalone);break;case"LLLL":n=L(2,R.Wide,Q.Standalone);break;case"LLLLL":n=L(2,R.Narrow,Q.Standalone);break;case"w":n=mr(1);break;case"ww":n=mr(2);break;case"W":n=mr(1,!0);break;case"d":n=$(2,1);break;case"dd":n=$(2,2);break;case"c":case"cc":n=$(7,1);break;case"ccc":n=L(1,R.Abbreviated,Q.Standalone);break;case"cccc":n=L(1,R.Wide,Q.Standalone);break;case"ccccc":n=L(1,R.Narrow,Q.Standalone);break;case"cccccc":n=L(1,R.Short,Q.Standalone);break;case"E":case"EE":case"EEE":n=L(1,R.Abbreviated);break;case"EEEE":n=L(1,R.Wide);break;case"EEEEE":n=L(1,R.Narrow);break;case"EEEEEE":n=L(1,R.Short);break;case"a":case"aa":case"aaa":n=L(0,R.Abbreviated);break;case"aaaa":n=L(0,R.Wide);break;case"aaaaa":n=L(0,R.Narrow);break;case"b":case"bb":case"bbb":n=L(0,R.Abbreviated,Q.Standalone,!0);break;case"bbbb":n=L(0,R.Wide,Q.Standalone,!0);break;case"bbbbb":n=L(0,R.Narrow,Q.Standalone,!0);break;case"B":case"BB":case"BBB":n=L(0,R.Abbreviated,Q.Format,!0);break;case"BBBB":n=L(0,R.Wide,Q.Format,!0);break;case"BBBBB":n=L(0,R.Narrow,Q.Format,!0);break;case"h":n=$(3,1,-12);break;case"hh":n=$(3,2,-12);break;case"H":n=$(3,1);break;case"HH":n=$(3,2);break;case"m":n=$(4,1);break;case"mm":n=$(4,2);break;case"s":n=$(5,1);break;case"ss":n=$(5,2);break;case"S":n=$(6,1);break;case"SS":n=$(6,2);break;case"SSS":n=$(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Qn(0);break;case"ZZZZZ":n=Qn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Qn(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Qn(2);break;default:return null}return pr[i]=n,n}function ws(i,n){i=i.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?n:e}function lc(i,n){return i=new Date(i.getTime()),i.setMinutes(i.getMinutes()+n),i}function cc(i,n,e){let r=i.getTimezoneOffset(),o=ws(n,r);return lc(i,-1*(o-r))}function dc(i){if(ds(i))return i;if(typeof i=="number"&&!isNaN(i))return new Date(i);if(typeof i=="string"){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){let[r,o=1,s=1]=i.split("-").map(a=>+a);return ni(r,o-1,s)}let e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let t;if(t=i.match(Jl))return uc(t)}let n=new Date(i);if(!ds(n))throw new F(2311,!1);return n}function uc(i){let n=new Date(0),e=0,t=0,r=i[8]?n.setUTCFullYear:n.setFullYear,o=i[8]?n.setUTCHours:n.setHours;i[9]&&(e=Number(i[9]+i[10]),t=Number(i[9]+i[11])),r.call(n,Number(i[1]),Number(i[2])-1,Number(i[3]));let s=Number(i[4]||0)-e,a=Number(i[5]||0)-t,c=Number(i[6]||0),d=Math.floor(parseFloat("0."+(i[7]||0))*1e3);return o.call(n,s,a,c,d),n}function ds(i){return i instanceof Date&&!isNaN(i.valueOf())}var gr=/\s+/,us=[],hc=(()=>{class i{_ngEl;_renderer;initialClasses=us;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(gr):us}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(gr):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==t&&(r.changed=!0,r.enabled=t),r.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],r=e[1];r.changed?(this._toggleClass(t,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),r.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(gr).forEach(r=>{t?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(t){return new(t||i)(M(E),M(ue))};static \u0275dir=_({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();var fc=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=l(w);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,r):!1,get:(e,t,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,r)}})}static \u0275fac=function(t){return new(t||i)(M(Te))};static \u0275dir=_({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[oe]})}return i})();function mc(i,n){return new F(2100,!1)}var pc="mediumDate",Es=new f(""),As=new f(""),gc=(()=>{class i{locale;defaultTimezone;defaultOptions;constructor(e,t,r){this.locale=e,this.defaultTimezone=t,this.defaultOptions=r}transform(e,t,r,o){if(e==null||e===""||e!==e)return null;try{let s=t??this.defaultOptions?.dateFormat??pc,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ds(e,s,o||this.locale,a)}catch(s){throw mc(i,s.message)}}static \u0275fac=function(t){return new(t||i)(M(ts,16),M(Es,24),M(As,24))};static \u0275pipe=lr({name:"date",type:i,pure:!0})}return i})();var _c=(()=>{class i{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(t){return new(t||i)};static \u0275pipe=lr({name:"json",type:i,pure:!1})}return i})();var Ss=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=S({type:i});static \u0275inj=A({})}return i})();function Jt(i,n){n=encodeURIComponent(n);for(let e of i.split(";")){let t=e.indexOf("="),[r,o]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var et=class{};var _r="browser";function Is(i){return i===_r}var Qt=class{_doc;constructor(n){this._doc=n}manager},ii=(()=>{class i extends Qt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r,o){return e.addEventListener(t,r,o),()=>this.removeEventListener(e,t,r,o)}removeEventListener(e,t,r,o){return e.removeEventListener(t,r,o)}static \u0275fac=function(t){return new(t||i)(v(b))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),si=new f(""),Dr=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(s=>{s.manager=this});let r=e.filter(s=>!(s instanceof ii));this._plugins=r.slice().reverse();let o=e.find(s=>s instanceof ii);o&&this._plugins.push(o)}addEventListener(e,t,r,o){return this._findPluginFor(t).addEventListener(e,t,r,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new F(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||i)(v(si),v(D))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),br="ng-app-id";function Ms(i){for(let n of i)n.remove()}function xs(i,n){let e=n.createElement("style");return e.textContent=i,e}function vc(i,n,e,t){let r=i.head?.querySelectorAll(`style[${br}="${n}"],link[${br}="${n}"]`);if(r)for(let o of r)o.removeAttribute(br),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function yr(i,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",i),e}var Cr=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,r,o={}){this.doc=e,this.appId=t,this.nonce=r,vc(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let r of e)this.addUsage(r,this.inline,xs);t?.forEach(r=>this.addUsage(r,this.external,yr))}removeStyles(e,t){for(let r of e)this.removeUsage(r,this.inline);t?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,t,r){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,t){let r=t.get(e);r&&(r.usage--,r.usage<=0&&(Ms(r.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ms(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:r}]of this.inline)r.push(this.addElement(e,xs(t,this.doc)));for(let[t,{elements:r}]of this.external)r.push(this.addElement(e,yr(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||i)(v(b),v(Je),v(pt,8),v(mt))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),vr={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"},wr=/%COMP%/g;var Rs="%COMP%",yc=`_nghost-${Rs}`,Dc=`_ngcontent-${Rs}`,Cc=!0,wc=new f("",{factory:()=>Cc});function Ec(i){return Dc.replace(wr,i)}function Ac(i){return yc.replace(wr,i)}function Ts(i,n){return n.map(e=>e.replace(wr,i))}var Er=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,r,o,s,a,c=null,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=d,this.defaultRenderer=new en(e,s,a,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,t);return r instanceof oi?r.applyToHost(e):r instanceof tn&&r.applyStyles(),r}getOrCreateRenderer(e,t){let r=this.rendererByCompId,o=r.get(t.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.tracingService;switch(t.encapsulation){case Bn.Emulated:o=new oi(c,d,t,this.appId,u,s,a,m);break;case Bn.ShadowDom:return new ri(c,e,t,s,a,this.nonce,m,d);case Bn.ExperimentalIsolatedShadowDom:return new ri(c,e,t,s,a,this.nonce,m);default:o=new tn(c,d,t,u,s,a,m);break}r.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||i)(v(Dr),v(Cr),v(Je),v(wc),v(b),v(D),v(pt),v(jn,8))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),en=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,r){this.eventManager=n,this.doc=e,this.ngZone=t,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(vr[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Fs(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Fs(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new F(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,r){if(r){e=r+":"+e;let o=vr[r];o?n.setAttributeNS(o,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let r=vr[t];r?n.removeAttributeNS(r,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,r){r&(bt.DashCase|bt.Important)?n.style.setProperty(e,t,r&bt.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&bt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,r){if(typeof n=="string"&&(n=ge().getGlobalEventTarget(this.doc,n),!n))throw new F(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Fs(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var ri=class extends en{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,t,r,o,s,a,c){super(n,r,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=t.styles;d=Ts(t.id,d);for(let m of d){let C=document.createElement("style");s&&C.setAttribute("nonce",s),C.textContent=m,this.shadowRoot.appendChild(C)}let u=t.getExternalStyles?.();if(u)for(let m of u){let C=yr(m,r);s&&C.setAttribute("nonce",s),this.shadowRoot.appendChild(C)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},tn=class extends en{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,r,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=t.styles;this.styles=c?Ts(c,d):d,this.styleUrls=t.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ko.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oi=class extends tn{contentAttr;hostAttr;constructor(n,e,t,r,o,s,a,c){let d=r+"-"+t.id;super(n,e,t,o,s,a,c,d),this.contentAttr=Ec(d),this.hostAttr=Ac(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var ai=class i extends Yt{supportsDOMEvents=!0;static makeCurrent(){hr(new i)}onAndCancel(n,e,t,r){return n.addEventListener(e,t,r),()=>{n.removeEventListener(e,t,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ic();return e==null?null:Mc(e)}resetBaseElement(){nn=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Jt(document.cookie,n)}},nn=null;function Ic(){return nn=nn||document.head.querySelector("base"),nn?nn.getAttribute("href"):null}function Mc(i){return new URL(i,document.baseURI).pathname}var xc=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),Os=["alt","control","meta","shift"],Fc={"\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"},Rc={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},ks=(()=>{class i extends Qt{constructor(e){super(e)}supports(e){return i.parseEventName(e)!=null}addEventListener(e,t,r,o){let s=i.parseEventName(t),a=i.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ge().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),r=t.shift();if(t.length===0||!(r==="keydown"||r==="keyup"))return null;let o=i._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Os.forEach(d=>{let u=t.indexOf(d);u>-1&&(t.splice(u,1),s+=d+".")}),s+=o,t.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(e,t){let r=Fc[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Os.forEach(s=>{if(s!==r){let a=Rc[s];a(e)&&(o+=s+".")}}),o+=r,o===t)}static eventCallback(e,t,r){return o=>{i.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||i)(v(b))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})();function Tc(i,n,e){return Fn(this,null,function*(){let t=p({rootComponent:i},Oc(n,e));return is(t)})}function Oc(i,n){return{platformRef:n?.platformRef,appProviders:[...Vc,...i?.providers??[]],platformProviders:Lc}}function kc(){ai.makeCurrent()}function Pc(){return new qe}function Nc(){return jo(document),document}var Lc=[{provide:mt,useValue:_r},{provide:Uo,useValue:kc,multi:!0},{provide:b,useFactory:Nc}];var Vc=[{provide:Vo,useValue:"root"},{provide:qe,useFactory:Pc},{provide:si,useClass:ii,multi:!0},{provide:si,useClass:ks,multi:!0},Er,Cr,Dr,{provide:de,useExisting:Er},{provide:et,useClass:xc},[]];var He=class i{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
1
+ import{$ as Bo,$a as S,Aa as gt,B as Oo,Ba as _t,C as ht,Ca as zo,D as le,Da as Ho,Ea as $o,Eb as dr,F as $t,Fa as Go,Fb as me,G as Gt,Ga as Wo,Gb as G,Ha as Yo,Hb as Dt,I as ko,Ia as Xo,J as Po,Jc as Qe,K as No,Kb as Ae,Kc as ur,L as kn,Lb as J,Lc as is,M as xe,Mc as k,N as Pn,Nb as $n,Nc as rs,O as je,Oa as Zo,Ob as Gn,P as Lo,Pa as bt,Pb as Wn,Pc as Xn,Q as ft,Qa as Ko,R as F,Ra as jn,S as ce,Sa as Ee,T as h,Ta as Re,U as A,Ua as de,Ub as es,V as f,Va as ue,Vb as Y,W as v,Wa as M,X as l,Xb as Yn,Y as sr,Ya as Te,Z as Vo,Za as Un,_ as Fe,_a as j,a as ee,aa as te,ab as _,b as Me,bb as lr,c as wo,cb as qo,d as g,db as I,e as Eo,eb as zn,f as or,fa as w,ga as b,gb as Hn,h as Ao,ha as Nn,hb as cr,i as So,ia as N,ib as Ue,ic as ne,ja as D,k as Io,ka as qe,l as z,la as X,m as Mo,ma as ar,mb as se,n as Be,na as Ln,oa as oe,p as H,pa as q,q as xo,r as Fo,ra as E,s as Rn,sa as Wt,t as Tn,ta as jo,ua as Je,ub as Jo,uc as ts,va as Uo,vb as Qo,vc as pe,w as Ro,wa as mt,wc as Ct,x as K,xa as Vn,xb as vt,y as On,ya as pt,yb as yt,z as To,za as Bn,zb as fe,zc as ns}from"./chunk-R6ABX6RX.js";import{a as p,b as Z,g as Fn}from"./chunk-BZGM3F3K.js";var os=null;function ge(){return os}function hr(i){os??=i}var Yt=class{},wt=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>l(ss),providedIn:"platform"})}return i})();var ss=(()=>{class i extends wt{_location;_history;_doc=l(b);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ge().getBaseHref(this._doc)}onPopState(e){let t=ge().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=ge().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,r){this._history.pushState(e,t,r)}replaceState(e,t,r){this._history.replaceState(e,t,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function cs(i,n){return i?n?i.endsWith("/")?n.startsWith("/")?i+n.slice(1):i+n:n.startsWith("/")?i+n:`${i}/${n}`:i:n}function as(i){let n=i.search(/#|\?|$/);return i[n-1]==="/"?i.slice(0,n-1)+i.slice(n):i}function ze(i){return i&&i[0]!=="?"?`?${i}`:i}var Zn=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:()=>l(Xl),providedIn:"root"})}return i})(),Yl=new f(""),Xl=(()=>{class i extends Zn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??l(b).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return cs(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+ze(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${t}${r}`:t}pushState(e,t,r,o){let s=this.prepareExternalUrl(r+ze(o));this._platformLocation.pushState(e,t,s)}replaceState(e,t,r,o){let s=this.prepareExternalUrl(r+ze(o));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(v(wt),v(Yl,8))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Kn=(()=>{class i{_subject=new g;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=ql(as(ls(t))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+ze(t))}normalize(e){return i.stripTrailingSlash(Kl(this._basePath,ls(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",r=null){this._locationStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(t)),r)}replaceState(e,t="",r=null){this._locationStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ze(t)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(r=>r(e,t))}subscribe(e,t,r){return this._subject.subscribe({next:e,error:t??void 0,complete:r??void 0})}static normalizeQueryParams=ze;static joinWithSlash=cs;static stripTrailingSlash=as;static \u0275fac=function(t){return new(t||i)(v(Zn))};static \u0275prov=h({token:i,factory:()=>Zl(),providedIn:"root"})}return i})();function Zl(){return new Kn(v(Zn))}function Kl(i,n){if(!i||!n.startsWith(i))return n;let e=n.substring(i.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function ls(i){return i.replace(/\/index\.html$/,"")}function ql(i){if(new RegExp("^(https?:)?//").test(i)){let[,e]=i.split(/\/\/[^\/]+/);return e}return i}var Q=(function(i){return i[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i})(Q||{}),R=(function(i){return i[i.Narrow=0]="Narrow",i[i.Abbreviated=1]="Abbreviated",i[i.Wide=2]="Wide",i[i.Short=3]="Short",i})(R||{}),ae=(function(i){return i[i.Short=0]="Short",i[i.Medium=1]="Medium",i[i.Long=2]="Long",i[i.Full=3]="Full",i})(ae||{}),ke={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function fs(i){return me(i)[G.LocaleId]}function ms(i,n,e){let t=me(i),r=[t[G.DayPeriodsFormat],t[G.DayPeriodsStandalone]],o=_e(r,n);return _e(o,e)}function ps(i,n,e){let t=me(i),r=[t[G.DaysFormat],t[G.DaysStandalone]],o=_e(r,n);return _e(o,e)}function gs(i,n,e){let t=me(i),r=[t[G.MonthsFormat],t[G.MonthsStandalone]],o=_e(r,n);return _e(o,e)}function _s(i,n){let t=me(i)[G.Eras];return _e(t,n)}function Xt(i,n){let e=me(i);return _e(e[G.DateFormat],n)}function Zt(i,n){let e=me(i);return _e(e[G.TimeFormat],n)}function Kt(i,n){let t=me(i)[G.DateTimeFormat];return _e(t,n)}function qt(i,n){let e=me(i),t=e[G.NumberSymbols][n];if(typeof t>"u"){if(n===ke.CurrencyDecimal)return e[G.NumberSymbols][ke.Decimal];if(n===ke.CurrencyGroup)return e[G.NumberSymbols][ke.Group]}return t}function bs(i){if(!i[G.ExtraData])throw new F(2303,!1)}function vs(i){let n=me(i);return bs(n),(n[G.ExtraData][2]||[]).map(t=>typeof t=="string"?fr(t):[fr(t[0]),fr(t[1])])}function ys(i,n,e){let t=me(i);bs(t);let r=[t[G.ExtraData][0],t[G.ExtraData][1]],o=_e(r,n)||[];return _e(o,e)||[]}function _e(i,n){for(let e=n;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new F(2304,!1)}function fr(i){let[n,e]=i.split(":");return{hours:+n,minutes:+e}}var Jl=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,qn={},Ql=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ec=256;function Ds(i,n,e,t){let r=dc(i);tc(n),n=Oe(e,n)||n;let s=[],a;for(;n;)if(a=Ql.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=r.getTimezoneOffset();t&&(c=ws(t,c),r=cc(r,t));let d="";return s.forEach(u=>{let m=ac(u);d+=m?m(r,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function tc(i){if(i.length>ec)throw new F(2300,!1)}function ni(i,n,e){let t=new Date(0);return t.setFullYear(i,n,e),t.setHours(0,0,0),t}function Oe(i,n){let e=fs(i);if(qn[e]??={},qn[e][n])return qn[e][n];let t="";switch(n){case"shortDate":t=Xt(i,ae.Short);break;case"mediumDate":t=Xt(i,ae.Medium);break;case"longDate":t=Xt(i,ae.Long);break;case"fullDate":t=Xt(i,ae.Full);break;case"shortTime":t=Zt(i,ae.Short);break;case"mediumTime":t=Zt(i,ae.Medium);break;case"longTime":t=Zt(i,ae.Long);break;case"fullTime":t=Zt(i,ae.Full);break;case"short":let r=Oe(i,"shortTime"),o=Oe(i,"shortDate");t=Jn(Kt(i,ae.Short),[r,o]);break;case"medium":let s=Oe(i,"mediumTime"),a=Oe(i,"mediumDate");t=Jn(Kt(i,ae.Medium),[s,a]);break;case"long":let c=Oe(i,"longTime"),d=Oe(i,"longDate");t=Jn(Kt(i,ae.Long),[c,d]);break;case"full":let u=Oe(i,"fullTime"),m=Oe(i,"fullDate");t=Jn(Kt(i,ae.Full),[u,m]);break}return t&&(qn[e][n]=t),t}function Jn(i,n){return n&&(i=i.replace(/\{([^}]+)}/g,function(e,t){return n!=null&&t in n?n[t]:e})),i}function De(i,n,e="-",t,r){let o="";(i<0||r&&i<=0)&&(r?i=-i+1:(i=-i,o=e));let s=String(i);for(;s.length<n;)s="0"+s;return t&&(s=s.slice(s.length-n)),o+s}function nc(i,n){return De(i,3).substring(0,n)}function $(i,n,e=0,t=!1,r=!1){return function(o,s){let a=ic(i,o);if((e>0||a>-e)&&(a+=e),i===3)a===0&&e===-12&&(a=12);else if(i===6)return nc(a,n);let c=qt(s,ke.MinusSign);return De(a,n,c,t,r)}}function ic(i,n){switch(i){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new F(2301,!1)}}function L(i,n,e=Q.Format,t=!1){return function(r,o){return rc(r,o,i,n,e,t)}}function rc(i,n,e,t,r,o){switch(e){case 2:return gs(n,r,t)[i.getMonth()];case 1:return ps(n,r,t)[i.getDay()];case 0:let s=i.getHours(),a=i.getMinutes();if(o){let d=vs(n),u=ys(n,r,t),m=d.findIndex(C=>{if(Array.isArray(C)){let[B,T]=C,P=s>=B.hours&&a>=B.minutes,y=s<T.hours||s===T.hours&&a<T.minutes;if(B.hours<T.hours){if(P&&y)return!0}else if(P||y)return!0}else if(C.hours===s&&C.minutes===a)return!0;return!1});if(m!==-1)return u[m]}return ms(n,r,t)[s<12?0:1];case 3:return _s(n,t)[i.getFullYear()<=0?0:1];default:let c=e;throw new F(2302,!1)}}function Qn(i){return function(n,e,t){let r=-1*t,o=qt(e,ke.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(i){case 0:return(r>=0?"+":"")+De(s,2,o)+De(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+De(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+De(s,2,o)+":"+De(Math.abs(r%60),2,o);case 3:return t===0?"Z":(r>=0?"+":"")+De(s,2,o)+":"+De(Math.abs(r%60),2,o);default:throw new F(2310,!1)}}}var oc=0,ti=4;function sc(i){let n=ni(i,oc,1).getDay();return ni(i,0,1+(n<=ti?ti:ti+7)-n)}function Cs(i){let n=i.getDay(),e=n===0?-3:ti-n;return ni(i.getFullYear(),i.getMonth(),i.getDate()+e)}function mr(i,n=!1){return function(e,t){let r;if(n){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{let o=Cs(e),s=sc(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return De(r,i,qt(t,ke.MinusSign))}}function ei(i,n=!1){return function(e,t){let o=Cs(e).getFullYear();return De(o,i,qt(t,ke.MinusSign),n)}}var pr={};function ac(i){if(pr[i])return pr[i];let n;switch(i){case"G":case"GG":case"GGG":n=L(3,R.Abbreviated);break;case"GGGG":n=L(3,R.Wide);break;case"GGGGG":n=L(3,R.Narrow);break;case"y":n=$(0,1,0,!1,!0);break;case"yy":n=$(0,2,0,!0,!0);break;case"yyy":n=$(0,3,0,!1,!0);break;case"yyyy":n=$(0,4,0,!1,!0);break;case"Y":n=ei(1);break;case"YY":n=ei(2,!0);break;case"YYY":n=ei(3);break;case"YYYY":n=ei(4);break;case"M":case"L":n=$(1,1,1);break;case"MM":case"LL":n=$(1,2,1);break;case"MMM":n=L(2,R.Abbreviated);break;case"MMMM":n=L(2,R.Wide);break;case"MMMMM":n=L(2,R.Narrow);break;case"LLL":n=L(2,R.Abbreviated,Q.Standalone);break;case"LLLL":n=L(2,R.Wide,Q.Standalone);break;case"LLLLL":n=L(2,R.Narrow,Q.Standalone);break;case"w":n=mr(1);break;case"ww":n=mr(2);break;case"W":n=mr(1,!0);break;case"d":n=$(2,1);break;case"dd":n=$(2,2);break;case"c":case"cc":n=$(7,1);break;case"ccc":n=L(1,R.Abbreviated,Q.Standalone);break;case"cccc":n=L(1,R.Wide,Q.Standalone);break;case"ccccc":n=L(1,R.Narrow,Q.Standalone);break;case"cccccc":n=L(1,R.Short,Q.Standalone);break;case"E":case"EE":case"EEE":n=L(1,R.Abbreviated);break;case"EEEE":n=L(1,R.Wide);break;case"EEEEE":n=L(1,R.Narrow);break;case"EEEEEE":n=L(1,R.Short);break;case"a":case"aa":case"aaa":n=L(0,R.Abbreviated);break;case"aaaa":n=L(0,R.Wide);break;case"aaaaa":n=L(0,R.Narrow);break;case"b":case"bb":case"bbb":n=L(0,R.Abbreviated,Q.Standalone,!0);break;case"bbbb":n=L(0,R.Wide,Q.Standalone,!0);break;case"bbbbb":n=L(0,R.Narrow,Q.Standalone,!0);break;case"B":case"BB":case"BBB":n=L(0,R.Abbreviated,Q.Format,!0);break;case"BBBB":n=L(0,R.Wide,Q.Format,!0);break;case"BBBBB":n=L(0,R.Narrow,Q.Format,!0);break;case"h":n=$(3,1,-12);break;case"hh":n=$(3,2,-12);break;case"H":n=$(3,1);break;case"HH":n=$(3,2);break;case"m":n=$(4,1);break;case"mm":n=$(4,2);break;case"s":n=$(5,1);break;case"ss":n=$(5,2);break;case"S":n=$(6,1);break;case"SS":n=$(6,2);break;case"SSS":n=$(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Qn(0);break;case"ZZZZZ":n=Qn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Qn(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Qn(2);break;default:return null}return pr[i]=n,n}function ws(i,n){i=i.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?n:e}function lc(i,n){return i=new Date(i.getTime()),i.setMinutes(i.getMinutes()+n),i}function cc(i,n,e){let r=i.getTimezoneOffset(),o=ws(n,r);return lc(i,-1*(o-r))}function dc(i){if(ds(i))return i;if(typeof i=="number"&&!isNaN(i))return new Date(i);if(typeof i=="string"){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){let[r,o=1,s=1]=i.split("-").map(a=>+a);return ni(r,o-1,s)}let e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let t;if(t=i.match(Jl))return uc(t)}let n=new Date(i);if(!ds(n))throw new F(2311,!1);return n}function uc(i){let n=new Date(0),e=0,t=0,r=i[8]?n.setUTCFullYear:n.setFullYear,o=i[8]?n.setUTCHours:n.setHours;i[9]&&(e=Number(i[9]+i[10]),t=Number(i[9]+i[11])),r.call(n,Number(i[1]),Number(i[2])-1,Number(i[3]));let s=Number(i[4]||0)-e,a=Number(i[5]||0)-t,c=Number(i[6]||0),d=Math.floor(parseFloat("0."+(i[7]||0))*1e3);return o.call(n,s,a,c,d),n}function ds(i){return i instanceof Date&&!isNaN(i.valueOf())}var gr=/\s+/,us=[],hc=(()=>{class i{_ngEl;_renderer;initialClasses=us;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(gr):us}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(gr):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==t&&(r.changed=!0,r.enabled=t),r.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],r=e[1];r.changed?(this._toggleClass(t,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),r.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(gr).forEach(r=>{t?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(t){return new(t||i)(M(E),M(ue))};static \u0275dir=_({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();var fc=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=l(w);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,r):!1,get:(e,t,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,r)}})}static \u0275fac=function(t){return new(t||i)(M(Te))};static \u0275dir=_({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[oe]})}return i})();function mc(i,n){return new F(2100,!1)}var pc="mediumDate",Es=new f(""),As=new f(""),gc=(()=>{class i{locale;defaultTimezone;defaultOptions;constructor(e,t,r){this.locale=e,this.defaultTimezone=t,this.defaultOptions=r}transform(e,t,r,o){if(e==null||e===""||e!==e)return null;try{let s=t??this.defaultOptions?.dateFormat??pc,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ds(e,s,o||this.locale,a)}catch(s){throw mc(i,s.message)}}static \u0275fac=function(t){return new(t||i)(M(ts,16),M(Es,24),M(As,24))};static \u0275pipe=lr({name:"date",type:i,pure:!0})}return i})();var _c=(()=>{class i{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(t){return new(t||i)};static \u0275pipe=lr({name:"json",type:i,pure:!1})}return i})();var Ss=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=S({type:i});static \u0275inj=A({})}return i})();function Jt(i,n){n=encodeURIComponent(n);for(let e of i.split(";")){let t=e.indexOf("="),[r,o]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}var et=class{};var _r="browser";function Is(i){return i===_r}var Qt=class{_doc;constructor(n){this._doc=n}manager},ii=(()=>{class i extends Qt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r,o){return e.addEventListener(t,r,o),()=>this.removeEventListener(e,t,r,o)}removeEventListener(e,t,r,o){return e.removeEventListener(t,r,o)}static \u0275fac=function(t){return new(t||i)(v(b))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),si=new f(""),Dr=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(s=>{s.manager=this});let r=e.filter(s=>!(s instanceof ii));this._plugins=r.slice().reverse();let o=e.find(s=>s instanceof ii);o&&this._plugins.push(o)}addEventListener(e,t,r,o){return this._findPluginFor(t).addEventListener(e,t,r,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new F(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||i)(v(si),v(D))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),br="ng-app-id";function Ms(i){for(let n of i)n.remove()}function xs(i,n){let e=n.createElement("style");return e.textContent=i,e}function vc(i,n,e,t){let r=i.head?.querySelectorAll(`style[${br}="${n}"],link[${br}="${n}"]`);if(r)for(let o of r)o.removeAttribute(br),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function yr(i,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",i),e}var Cr=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,r,o={}){this.doc=e,this.appId=t,this.nonce=r,vc(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let r of e)this.addUsage(r,this.inline,xs);t?.forEach(r=>this.addUsage(r,this.external,yr))}removeStyles(e,t){for(let r of e)this.removeUsage(r,this.inline);t?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,t,r){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,t){let r=t.get(e);r&&(r.usage--,r.usage<=0&&(Ms(r.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ms(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:r}]of this.inline)r.push(this.addElement(e,xs(t,this.doc)));for(let[t,{elements:r}]of this.external)r.push(this.addElement(e,yr(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||i)(v(b),v(Je),v(pt,8),v(mt))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),vr={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"},wr=/%COMP%/g;var Rs="%COMP%",yc=`_nghost-${Rs}`,Dc=`_ngcontent-${Rs}`,Cc=!0,wc=new f("",{factory:()=>Cc});function Ec(i){return Dc.replace(wr,i)}function Ac(i){return yc.replace(wr,i)}function Ts(i,n){return n.map(e=>e.replace(wr,i))}var Er=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,r,o,s,a,c=null,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=d,this.defaultRenderer=new en(e,s,a,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,t);return r instanceof oi?r.applyToHost(e):r instanceof tn&&r.applyStyles(),r}getOrCreateRenderer(e,t){let r=this.rendererByCompId,o=r.get(t.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.tracingService;switch(t.encapsulation){case Bn.Emulated:o=new oi(c,d,t,this.appId,u,s,a,m);break;case Bn.ShadowDom:return new ri(c,e,t,s,a,this.nonce,m,d);case Bn.ExperimentalIsolatedShadowDom:return new ri(c,e,t,s,a,this.nonce,m);default:o=new tn(c,d,t,u,s,a,m);break}r.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||i)(v(Dr),v(Cr),v(Je),v(wc),v(b),v(D),v(pt),v(jn,8))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),en=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,r){this.eventManager=n,this.doc=e,this.ngZone=t,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(vr[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Fs(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Fs(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new F(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,r){if(r){e=r+":"+e;let o=vr[r];o?n.setAttributeNS(o,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let r=vr[t];r?n.removeAttributeNS(r,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,r){r&(bt.DashCase|bt.Important)?n.style.setProperty(e,t,r&bt.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&bt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,r){if(typeof n=="string"&&(n=ge().getGlobalEventTarget(this.doc,n),!n))throw new F(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,r)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Fs(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var ri=class extends en{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,t,r,o,s,a,c){super(n,r,o,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=t.styles;d=Ts(t.id,d);for(let m of d){let C=document.createElement("style");s&&C.setAttribute("nonce",s),C.textContent=m,this.shadowRoot.appendChild(C)}let u=t.getExternalStyles?.();if(u)for(let m of u){let C=yr(m,r);s&&C.setAttribute("nonce",s),this.shadowRoot.appendChild(C)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},tn=class extends en{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,r,o,s,a,c){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let d=t.styles;this.styles=c?Ts(c,d):d,this.styleUrls=t.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Ko.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oi=class extends tn{contentAttr;hostAttr;constructor(n,e,t,r,o,s,a,c){let d=r+"-"+t.id;super(n,e,t,o,s,a,c,d),this.contentAttr=Ec(d),this.hostAttr=Ac(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var ai=class i extends Yt{supportsDOMEvents=!0;static makeCurrent(){hr(new i)}onAndCancel(n,e,t,r){return n.addEventListener(e,t,r),()=>{n.removeEventListener(e,t,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Ic();return e==null?null:Mc(e)}resetBaseElement(){nn=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Jt(document.cookie,n)}},nn=null;function Ic(){return nn=nn||document.head.querySelector("base"),nn?nn.getAttribute("href"):null}function Mc(i){return new URL(i,document.baseURI).pathname}var xc=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})(),Os=["alt","control","meta","shift"],Fc={"\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"},Rc={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},ks=(()=>{class i extends Qt{constructor(e){super(e)}supports(e){return i.parseEventName(e)!=null}addEventListener(e,t,r,o){let s=i.parseEventName(t),a=i.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ge().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),r=t.shift();if(t.length===0||!(r==="keydown"||r==="keyup"))return null;let o=i._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Os.forEach(d=>{let u=t.indexOf(d);u>-1&&(t.splice(u,1),s+=d+".")}),s+=o,t.length!=0||o.length===0)return null;let c={};return c.domEventName=r,c.fullKey=s,c}static matchEventFullKeyCode(e,t){let r=Fc[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),Os.forEach(s=>{if(s!==r){let a=Rc[s];a(e)&&(o+=s+".")}}),o+=r,o===t)}static eventCallback(e,t,r){return o=>{i.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||i)(v(b))};static \u0275prov=h({token:i,factory:i.\u0275fac})}return i})();function Tc(i,n,e){return Fn(this,null,function*(){let t=p({rootComponent:i},Oc(n,e));return is(t)})}function Oc(i,n){return{platformRef:n?.platformRef,appProviders:[...Vc,...i?.providers??[]],platformProviders:Lc}}function kc(){ai.makeCurrent()}function Pc(){return new qe}function Nc(){return jo(document),document}var Lc=[{provide:mt,useValue:_r},{provide:Uo,useValue:kc,multi:!0},{provide:b,useFactory:Nc}];var Vc=[{provide:Vo,useValue:"root"},{provide:qe,useFactory:Pc},{provide:si,useClass:ii,multi:!0},{provide:si,useClass:ks,multi:!0},Er,Cr,Dr,{provide:de,useExisting:Er},{provide:et,useClass:xc},[]];var He=class i{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
2
2
  `).forEach(e=>{let t=e.indexOf(":");if(t>0){let r=e.slice(0,t),o=e.slice(t+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,t]of n.headers.entries())this.headers.set(e,t),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new i;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let t=n.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=n.op==="a"?(this.headers.get(e)||[]).slice():[];r.push(...t),this.headers.set(e,r);break;case"d":let o=n.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],a=this.headers.get(e);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let t=n.toLowerCase();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(n,e){let t=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,t),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var ci=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},di=class{encodeKey(n){return Ps(n)}encodeValue(n){return Ps(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Bc(i,n){let e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var jc=/%(\d[a-f0-9])/gi,Uc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ps(i){return encodeURIComponent(i).replace(jc,(n,e)=>Uc[e]??n)}function li(i){return`${i}`}var Pe=class i{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new di,n.fromString){if(n.fromObject)throw new F(2805,!1);this.map=Bc(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let t=n.fromObject[e],r=Array.isArray(t)?t.map(li):[li(t)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(t=>{let r=n[t];Array.isArray(r)?r.forEach(o=>{e.push({param:t,value:o,op:"a"})}):e.push({param:t,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new i({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(li(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let t=(this.map.get(n.param)||[]).slice(),r=t.indexOf(li(n.value));r!==-1&&t.splice(r,1),t.length>0?this.map.set(n.param,t):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function zc(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ns(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Ls(i){return typeof Blob<"u"&&i instanceof Blob}function Vs(i){return typeof FormData<"u"&&i instanceof FormData}function Hc(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Bs="Content-Type",js="Accept",zs="text/plain",Hs="application/json",$c=`${Hs}, ${zs}, */*`,Et=class i{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,t,r){this.url=e,this.method=n.toUpperCase();let o;if(zc(this.method)||r?(this.body=t!==void 0?t:null,o=r):o=t,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new F(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new He,this.context??=new ci,!this.params)this.params=new Pe,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ns(this.body)||Ls(this.body)||Vs(this.body)||Hc(this.body)?this.body:this.body instanceof Pe?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||Vs(this.body)?null:Ls(this.body)?this.body.type||null:Ns(this.body)?null:typeof this.body=="string"?zs:this.body instanceof Pe?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Hs:null}clone(n={}){let e=n.method||this.method,t=n.url||this.url,r=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,d=n.redirect||this.redirect,u=n.credentials||this.credentials,m=n.referrer??this.referrer,C=n.integrity||this.integrity,B=n.referrerPolicy||this.referrerPolicy,T=n.transferCache??this.transferCache,P=n.timeout??this.timeout,y=n.body!==void 0?n.body:this.body,O=n.withCredentials??this.withCredentials,re=n.reportProgress??this.reportProgress,Ie=n.headers||this.headers,W=n.params||this.params,zt=n.context??this.context;return n.setHeaders!==void 0&&(Ie=Object.keys(n.setHeaders).reduce((Ht,Ke)=>Ht.set(Ke,n.setHeaders[Ke]),Ie)),n.setParams&&(W=Object.keys(n.setParams).reduce((Ht,Ke)=>Ht.set(Ke,n.setParams[Ke]),W)),new i(e,t,y,{params:W,headers:Ie,context:zt,reportProgress:re,responseType:r,withCredentials:O,transferCache:T,keepalive:o,cache:a,priority:s,timeout:P,mode:c,redirect:d,credentials:u,referrer:m,integrity:C,referrerPolicy:B})}},tt=(function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i})(tt||{}),St=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,t="OK"){this.headers=n.headers||new He,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},ui=class i extends St{constructor(n={}){super(n)}type=tt.ResponseHeader;clone(n={}){return new i({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},rn=class i extends St{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=tt.Response;clone(n={}){return new i({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},At=class extends St{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Gc=200,Wc=204;var Yc=new f("");var Xc=/^\)\]\}',?\n/;var Sr=(()=>{class i{xhrFactory;tracingService=l(jn,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new F(-2800,!1);let t=this.xhrFactory;return z(null).pipe(Pn(()=>new Me(o=>{let s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((y,O)=>s.setRequestHeader(y,O.join(","))),e.headers.has(js)||s.setRequestHeader(js,$c),!e.headers.has(Bs)){let y=e.detectContentTypeHeader();y!==null&&s.setRequestHeader(Bs,y)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let y=e.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=e.serializeBody(),c=null,d=()=>{if(c!==null)return c;let y=s.statusText||"OK",O=new He(s.getAllResponseHeaders()),re=s.responseURL||e.url;return c=new ui({headers:O,status:s.status,statusText:y,url:re}),c},u=this.maybePropagateTrace(()=>{let{headers:y,status:O,statusText:re,url:Ie}=d(),W=null;O!==Wc&&(W=typeof s.response>"u"?s.responseText:s.response),O===0&&(O=W?Gc:0);let zt=O>=200&&O<300;if(e.responseType==="json"&&typeof W=="string"){let Ht=W;W=W.replace(Xc,"");try{W=W!==""?JSON.parse(W):null}catch(Ke){W=Ht,zt&&(zt=!1,W={error:Ke,text:W})}}zt?(o.next(new rn({body:W,headers:y,status:O,statusText:re,url:Ie||void 0})),o.complete()):o.error(new At({error:W,headers:y,status:O,statusText:re,url:Ie||void 0}))}),m=this.maybePropagateTrace(y=>{let{url:O}=d(),re=new At({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:O||void 0});o.error(re)}),C=m;e.timeout&&(C=this.maybePropagateTrace(y=>{let{url:O}=d(),re=new At({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:O||void 0});o.error(re)}));let B=!1,T=this.maybePropagateTrace(y=>{B||(o.next(d()),B=!0);let O={type:tt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(O.total=y.total),e.responseType==="text"&&s.responseText&&(O.partialText=s.responseText),o.next(O)}),P=this.maybePropagateTrace(y=>{let O={type:tt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(O.total=y.total),o.next(O)});return s.addEventListener("load",u),s.addEventListener("error",m),s.addEventListener("timeout",C),s.addEventListener("abort",m),e.reportProgress&&(s.addEventListener("progress",T),a!==null&&s.upload&&s.upload.addEventListener("progress",P)),s.send(a),o.next({type:tt.Sent}),()=>{s.removeEventListener("error",m),s.removeEventListener("abort",m),s.removeEventListener("load",u),s.removeEventListener("timeout",C),e.reportProgress&&(s.removeEventListener("progress",T),a!==null&&s.upload&&s.upload.removeEventListener("progress",P)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(t){return new(t||i)(v(et))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Zc=new f("",{factory:()=>!0}),Kc="XSRF-TOKEN",qc=new f("",{factory:()=>Kc}),Jc="X-XSRF-TOKEN",Qc=new f("",{factory:()=>Jc}),ed=(()=>{class i{cookieName=l(qc);doc=l(b);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Jt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),$s=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:function(t){let r=null;return t?r=new(t||i):r=v(ed),r},providedIn:"root"})}return i})();function Gs(i,n){if(!l(Zc)||i.method==="GET"||i.method==="HEAD")return n(i);try{let r=l(wt).href,{origin:o}=new URL(r),{origin:s}=new URL(i.url,o);if(o!==s)return n(i)}catch(r){return n(i)}let e=l($s).getToken(),t=l(Qc);return e!=null&&!i.headers.has(t)&&(i=i.clone({headers:i.headers.set(t,e)})),n(i)}function Ws(i,n){return n(i)}function td(i,n){return(e,t)=>n.intercept(e,{handle:r=>i(r,t)})}function nd(i,n,e){return(t,r)=>Bo(e,()=>n(t,o=>i(o,r)))}var Ys=new f(""),Ir=new f("",{factory:()=>[Gs]}),Xs=new f(""),Mr=new f("",{factory:()=>!0});function id(){let i=null;return(n,e)=>{i===null&&(i=(l(Ys,{optional:!0})??[]).reduceRight(td,Ws));let t=l(ar);if(l(Mr)){let o=t.add();return i(n,e).pipe(Gt(o))}else return i(n,e)}}var xr=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:function(t){let r=null;return t?r=new(t||i):r=v(Sr),r},providedIn:"root"})}return i})();var hi=(()=>{class i{backend;injector;chain=null;pendingTasks=l(ar);contributeToStability=l(Mr);constructor(e,t){this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=this.injector.get(fi,null,{skipSelf:!0}),r=t!==null&&this.backend===t,o=this.injector.get(Xs,[],r?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(Ir),...o]));this.chain=s.reduceRight((a,c)=>nd(a,c,this.injector),Ws)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Gt(t))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||i)(v(xr),v(Fe))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),fi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:function(t){let r=null;return t?r=new(t||i):r=v(hi),r},providedIn:"root"})}return i})();function Ar(i,n){return{body:n,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,credentials:i.credentials,transferCache:i.transferCache,timeout:i.timeout,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,integrity:i.integrity,referrer:i.referrer,referrerPolicy:i.referrerPolicy}}var mi=(()=>{class i{handler;constructor(e){this.handler=e}request(e,t,r={}){let o;if(e instanceof Et)o=e;else{let c;r.headers instanceof He?c=r.headers:c=new He(r.headers);let d;r.params&&(r.params instanceof Pe?d=r.params:d=new Pe({fromObject:r.params})),o=new Et(e,t,r.body!==void 0?r.body:null,{headers:c,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let s=z(o).pipe(Oo(c=>this.handler.handle(c)));if(e instanceof Et||r.observe==="events")return s;let a=s.pipe(K(c=>c instanceof rn));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new F(2806,!1);return c.body}));case"blob":return a.pipe(H(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new F(2807,!1);return c.body}));case"text":return a.pipe(H(c=>{if(c.body!==null&&typeof c.body!="string")throw new F(2808,!1);return c.body}));default:return a.pipe(H(c=>c.body))}case"response":return a;default:throw new F(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new Pe().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,r={}){return this.request("PATCH",e,Ar(r,t))}post(e,t,r={}){return this.request("POST",e,Ar(r,t))}put(e,t,r={}){return this.request("PUT",e,Ar(r,t))}static \u0275fac=function(t){return new(t||i)(v(fi))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Fr=(function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i})(Fr||{});function rd(i,n){return{\u0275kind:i,\u0275providers:n}}function od(...i){let n=[mi,hi,{provide:fi,useExisting:hi},{provide:xr,useFactory:()=>l(Yc,{optional:!0})??l(Sr)},{provide:Ir,useValue:Gs,multi:!0}];for(let e of i)n.push(...e.\u0275providers);return sr(n)}var Us=new f("");function sd(){return rd(Fr.LegacyInterceptors,[{provide:Us,useFactory:id},{provide:Ir,useExisting:Us,multi:!0}])}var on=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:function(t){let r=null;return t?r=new(t||i):r=v(cd),r},providedIn:"root"})}return i})(),cd=(()=>{class i extends on{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case te.NONE:return t;case te.HTML:return _t(t,"HTML")?gt(t):Xo(this._doc,String(t)).toString();case te.STYLE:return _t(t,"Style")?gt(t):t;case te.SCRIPT:if(_t(t,"Script"))return gt(t);throw new F(5200,!1);case te.URL:return _t(t,"URL")?gt(t):Yo(String(t));case te.RESOURCE_URL:if(_t(t,"ResourceURL"))return gt(t);throw new F(5201,!1);default:throw new F(5202,!1)}}bypassSecurityTrustHtml(e){return zo(e)}bypassSecurityTrustStyle(e){return Ho(e)}bypassSecurityTrustScript(e){return $o(e)}bypassSecurityTrustUrl(e){return Go(e)}bypassSecurityTrustResourceUrl(e){return Wo(e)}static \u0275fac=function(t){return new(t||i)(v(b))};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function sn(i){return i.buttons===0||i.detail===0}function an(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Rr;function Zs(){if(Rr==null){let i=typeof document<"u"?document.head:null;Rr=!!(i&&(i.createShadowRoot||i.attachShadow))}return Rr}function Tr(i){if(Zs()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function nt(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function ie(i){return i.composedPath?i.composedPath()[0]:i.target}var Or;try{Or=typeof Intl<"u"&&Intl.v8BreakIterator}catch(i){Or=!1}var V=(()=>{class i{_platformId=l(mt);isBrowser=this._platformId?Is(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Or)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ln;function Ks(){if(ln==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ln=!0}))}finally{ln=ln||!1}return ln}function It(i){return Ks()?i:!!i.capture}function Ce(i,n=0){return qs(i)?Number(i):arguments.length===2?n:0}function qs(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function be(i){return i instanceof E?i.nativeElement:i}var Js=new f("cdk-input-modality-detector-options"),Qs={ignoreKeys:[18,17,224,91,16]},ea=650,kr={passive:!0,capture:!0},ta=(()=>{class i{_platform=l(V);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Eo(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ie(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<ea||(this._modality.next(sn(e)?"keyboard":"mouse"),this._mostRecentTarget=ie(e))};_onTouchstart=e=>{if(an(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ie(e)};constructor(){let e=l(D),t=l(b),r=l(Js,{optional:!0});if(this._options=p(p({},Qs),r),this.modalityDetected=this._modality.pipe(kn(1)),this.modalityChanged=this.modalityDetected.pipe($t()),this._platform.isBrowser){let o=l(de).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(t,"keydown",this._onKeydown,kr),o.listen(t,"mousedown",this._onMousedown,kr),o.listen(t,"touchstart",this._onTouchstart,kr)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),cn=(function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i})(cn||{}),na=new f("cdk-focus-monitor-default-options"),pi=It({passive:!0,capture:!0}),Mt=(()=>{class i{_ngZone=l(D);_platform=l(V);_inputModalityDetector=l(ta);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=l(b);_stopInputModalityDetector=new g;constructor(){let e=l(na,{optional:!0});this._detectionMode=e?.detectionMode||cn.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=ie(e);for(let r=t;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,t=!1){let r=be(e);if(!this._platform.isBrowser||r.nodeType!==1)return z();let o=Tr(r)||this._document,s=this._elementInfo.get(r);if(s)return t&&(s.checkChildren=!0),s.subject;let a={checkChildren:t,subject:new g,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let t=be(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){let o=be(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,t,c)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===cn.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===cn.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?ea:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,t){let r=this._elementInfo.get(t),o=ie(e);!r||!r.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),r)}_onBlur(e,t){let r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,pi),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,pi)}),this._rootNodeFocusListenerCount.set(t,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(je(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,pi),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,pi),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&t.push([o,r])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(t))return!0}return!1}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ud=(()=>{class i{_elementRef=l(E);_focusMonitor=l(Mt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new N;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var gi=new WeakMap,ve=(()=>{class i{_appRef;_injector=l(w);_environmentInjector=l(Fe);load(e){let t=this._appRef=this._appRef||this._injector.get(Ue),r=gi.get(t);r||(r={loaders:new Set,refs:[]},gi.set(t,r),t.onDestroy(()=>{gi.get(t)?.refs.forEach(o=>o.destroy()),gi.delete(t)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Xn(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=h({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var bi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=j({type:i,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,r){},styles:[`.cdk-visually-hidden {
3
3
  border: 0;
4
4
  clip: rect(0 0 0 0);
@@ -1 +1 @@
1
- import{M as Z,Wb as $,v as Y}from"./chunk-VG2HTHDN.js";import{a as q,b as Q,c as X}from"./chunk-O2XN7DIT.js";import"./chunk-CI2BDMX2.js";import"./chunk-M4EXFQJE.js";import{j as B,l as N}from"./chunk-UBRYY245.js";import{a as z,b as G,d as J}from"./chunk-A7RX2LBX.js";import{a as U}from"./chunk-ON6WKWFV.js";import"./chunk-Z2OUIJPL.js";import"./chunk-FX2SMI5S.js";import"./chunk-I3RHGD62.js";import{b as K,i as W,o as H}from"./chunk-EX2EX65O.js";import{$a as j,Fa as P,Ga as R,Ja as k,La as T,Na as V,Oa as A,Wa as F,Ya as O,rb as L}from"./chunk-GJFI75CP.js";import"./chunk-6W3TVG4T.js";import"./chunk-7FANVIZX.js";import"./chunk-IZEHULJO.js";import"./chunk-RYULE37H.js";import{Db as b,Hb as f,Jb as c,Oa as r,Wa as m,Yb as n,Zb as w,_a as v,_b as y,ba as d,bc as D,ca as p,cc as S,dc as E,nb as u,ob as g,qb as C,rb as M,sb as I,tb as _,ub as i,vb as t,wb as h}from"./chunk-3PBISOLT.js";import"./chunk-ZHXEZBYI.js";import"./chunk-FFPCEPCR.js";import"./chunk-BZGM3F3K.js";function te(a,o){if(a&1&&(i(0,"mat-option",10),n(1),t()),a&2){let e=o.$implicit;_("value",e),r(),w(e)}}function ie(a,o){if(a&1){let e=b();i(0,"div")(1,"ap-file-input",17),f("chosen",function(l){d(e);let x=c(2);return p(x.parseFile(l))}),i(2,"div",18)(3,"div",19),n(4," Click or Drop file "),t()()()()}a&2&&(r(),_("astext",!0))}function ne(a,o){if(a&1){let e=b();i(0,"div")(1,"div")(2,"b"),n(3,"Invalid Resource Data:"),t(),h(4,"br")(5,"br"),i(6,"i"),n(7,"Selected file does not contain valid data. "),t(),h(8,"br"),t(),i(9,"div",20)(10,"button",21),f("click",function(){d(e);let l=c(2);return p(l.app.showHelp("resource"))}),i(11,"mat-icon"),n(12,"help"),t(),n(13," Help "),t()()()}}function ae(a,o){a&1&&(i(0,"div",16),n(1," Note: Data will not be validated when uploaded to server! "),t())}function oe(a,o){if(a&1){let e=b();i(0,"div",7)(1,"div")(2,"mat-form-field",8)(3,"mat-label"),n(4,"Select Destination Path"),t(),i(5,"mat-select",9,0),E("valueChange",function(l){d(e);let x=c();return S(x.targetPath,l)||(x.targetPath=l),p(l)}),M(7,te,2,2,"mat-option",10,C),t()()(),u(9,ie,5,1,"div"),u(10,ne,14,0,"div"),i(11,"div")(12,"div",11)(13,"div",12)(14,"div")(15,"span",13),n(16,"Name:"),t(),n(17),t(),i(18,"div")(19,"span",13),n(20,"Type:"),t(),n(21),t()()(),i(22,"div",14)(23,"button",15),f("click",function(){d(e);let l=c();return p(l.load())}),i(24,"mat-icon"),n(25,"file_upload"),t(),n(26," \xA0Load\xA0 "),t(),h(27,"br"),n(28,"\xA0 "),u(29,ae,2,0,"div",16),t()()()}if(a&2){let e=c();r(5),_("disabled",!e.resPaths),D("value",e.targetPath),r(2),I(e.resPaths),r(2),g(e.source.name?-1:9),r(),g(e.display.notValid?10:-1),r(7),y(" ",e.source.name," "),r(4),y(" ",e.source.type," "),r(2),_("disabled",!e.targetPath||!e.source.name),r(6),g(e.targetPath&&e.source.name?29:-1)}}var ee=class a{constructor(o,e,s,l){this.app=o;this.skclient=e;this.dialogRef=s;this.data=l}app;skclient;dialogRef;data;resPaths=[];targetPath=null;source={type:null,name:null,data:null};display={notValid:!1};ngOnInit(){this.skclient.api.get(this.app.skApiVersion,"/resources").subscribe(o=>{this.resPaths=[],this.targetPath=null,this.resPaths=Object.keys(o).filter(e=>!["routes","waypoints","notes","regions","charts","tracks"].includes(e))},()=>{this.resPaths=[],this.targetPath=null})}load(){this.dialogRef.close({path:this.targetPath,data:this.source.data})}parseFile(o){this.source=o,this.source.type="Unknown";try{let e=JSON.parse(o.data);this.source.type=e.type?e.type:this.source.type}catch(e){console.log("Error parsing resource file!")}}static \u0275fac=function(e){return new(e||a)(m($),m(Y),m(P),m(R))};static \u0275cmp=v({type:a,selectors:[["resource-upload-dialog"]],decls:13,vars:1,consts:[["respaths",""],[1,"resourceload-dialog"],[2,"background-color","transparent"],[2,"flex","1 1 auto","text-align","center"],[2,"text-align","right"],["mat-icon-button","",3,"click"],["mat-dialog-content",""],[1,"card-group"],["floatLabel","always",2,"width","100%"],["id","respaths",3,"valueChange","disabled","value"],[3,"value"],[2,"display","flex","flex-wrap","wrap"],[2,"flex","1 1 auto","padding","5px","font-size","smaller"],[2,"font-weight","bold"],[2,"text-align","center","padding-top","15px"],["mat-raised-button","","matTooltip","Load features","matTooltipPosition","below",3,"click","disabled"],[2,"padding","10px","border","gray 1px dashed","font-style","italic"],[3,"chosen","astext"],[2,"width","200px"],[2,"padding","25%","border","gray 1px dashed"],[2,"width","100%","text-align","center"],["mat-raised-button","",3,"click"]],template:function(e,s){e&1&&(i(0,"div",1)(1,"mat-toolbar",2)(2,"span")(3,"mat-icon"),n(4,"category"),t()(),i(5,"span",3),n(6,"Load Resource"),t(),i(7,"span",4)(8,"button",5),f("click",function(){return s.dialogRef.close()}),i(9,"mat-icon"),n(10,"close"),t()()()(),i(11,"div",6),u(12,oe,30,8,"div",7),t()()),e&2&&(r(12),g(s.display.notValid?-1:12))},dependencies:[L,H,W,K,J,G,z,X,U,A,V,B,j,O,F,Q,q,N,T,k,Z],styles:[".resourceload-dialog[_ngcontent-%COMP%]{font-family:roboto;position:relative;width:100%}.card-group[_ngcontent-%COMP%]{padding:5px 5%}@media only screen and (min-width:800px){.card-group[_ngcontent-%COMP%]{padding:5px 5%}}"]})};export{ee as ResourceImportDialog};
1
+ import{N as Z,bc as $,v as Y}from"./chunk-LMEOL7YN.js";import{a as q,b as Q,c as X}from"./chunk-YBVURHD5.js";import"./chunk-CI2BDMX2.js";import"./chunk-DSUCHYD7.js";import{j as B,l as N}from"./chunk-MZ3YWFFB.js";import{a as z,b as G,d as J}from"./chunk-SIFYI3HU.js";import{a as U}from"./chunk-GJZ7P5CR.js";import"./chunk-RENDTMDT.js";import"./chunk-DN6IX7CO.js";import"./chunk-ZQSUYMH2.js";import{b as K,i as W,o as H}from"./chunk-DC5AFSD6.js";import{$a as j,Fa as P,Ga as R,Ja as k,La as T,Na as V,Oa as A,Wa as F,Ya as O,rb as L}from"./chunk-2QKJQDG4.js";import"./chunk-LEEF5WZZ.js";import"./chunk-7FANVIZX.js";import"./chunk-K4EGDHPT.js";import"./chunk-RYULE37H.js";import{Db as b,Hb as f,Jb as c,Oa as r,Wa as m,Yb as n,Zb as w,_a as v,_b as y,ba as d,bc as D,ca as p,cc as S,dc as E,nb as u,ob as g,qb as C,rb as M,sb as I,tb as _,ub as i,vb as t,wb as h}from"./chunk-R6ABX6RX.js";import"./chunk-MWETYHR7.js";import"./chunk-WARJYBQ7.js";import"./chunk-BZGM3F3K.js";function te(a,o){if(a&1&&(i(0,"mat-option",10),n(1),t()),a&2){let e=o.$implicit;_("value",e),r(),w(e)}}function ie(a,o){if(a&1){let e=b();i(0,"div")(1,"ap-file-input",17),f("chosen",function(l){d(e);let x=c(2);return p(x.parseFile(l))}),i(2,"div",18)(3,"div",19),n(4," Click or Drop file "),t()()()()}a&2&&(r(),_("astext",!0))}function ne(a,o){if(a&1){let e=b();i(0,"div")(1,"div")(2,"b"),n(3,"Invalid Resource Data:"),t(),h(4,"br")(5,"br"),i(6,"i"),n(7,"Selected file does not contain valid data. "),t(),h(8,"br"),t(),i(9,"div",20)(10,"button",21),f("click",function(){d(e);let l=c(2);return p(l.app.showHelp("resource"))}),i(11,"mat-icon"),n(12,"help"),t(),n(13," Help "),t()()()}}function ae(a,o){a&1&&(i(0,"div",16),n(1," Note: Data will not be validated when uploaded to server! "),t())}function oe(a,o){if(a&1){let e=b();i(0,"div",7)(1,"div")(2,"mat-form-field",8)(3,"mat-label"),n(4,"Select Destination Path"),t(),i(5,"mat-select",9,0),E("valueChange",function(l){d(e);let x=c();return S(x.targetPath,l)||(x.targetPath=l),p(l)}),M(7,te,2,2,"mat-option",10,C),t()()(),u(9,ie,5,1,"div"),u(10,ne,14,0,"div"),i(11,"div")(12,"div",11)(13,"div",12)(14,"div")(15,"span",13),n(16,"Name:"),t(),n(17),t(),i(18,"div")(19,"span",13),n(20,"Type:"),t(),n(21),t()()(),i(22,"div",14)(23,"button",15),f("click",function(){d(e);let l=c();return p(l.load())}),i(24,"mat-icon"),n(25,"file_upload"),t(),n(26," \xA0Load\xA0 "),t(),h(27,"br"),n(28,"\xA0 "),u(29,ae,2,0,"div",16),t()()()}if(a&2){let e=c();r(5),_("disabled",!e.resPaths),D("value",e.targetPath),r(2),I(e.resPaths),r(2),g(e.source.name?-1:9),r(),g(e.display.notValid?10:-1),r(7),y(" ",e.source.name," "),r(4),y(" ",e.source.type," "),r(2),_("disabled",!e.targetPath||!e.source.name),r(6),g(e.targetPath&&e.source.name?29:-1)}}var ee=class a{constructor(o,e,s,l){this.app=o;this.skclient=e;this.dialogRef=s;this.data=l}app;skclient;dialogRef;data;resPaths=[];targetPath=null;source={type:null,name:null,data:null};display={notValid:!1};ngOnInit(){this.skclient.api.get(this.app.skApiVersion,"/resources").subscribe(o=>{this.resPaths=[],this.targetPath=null,this.resPaths=Object.keys(o).filter(e=>!["routes","waypoints","notes","regions","charts","tracks"].includes(e))},()=>{this.resPaths=[],this.targetPath=null})}load(){this.dialogRef.close({path:this.targetPath,data:this.source.data})}parseFile(o){this.source=o,this.source.type="Unknown";try{let e=JSON.parse(o.data);this.source.type=e.type?e.type:this.source.type}catch(e){console.log("Error parsing resource file!")}}static \u0275fac=function(e){return new(e||a)(m($),m(Y),m(P),m(R))};static \u0275cmp=v({type:a,selectors:[["resource-upload-dialog"]],decls:13,vars:1,consts:[["respaths",""],[1,"resourceload-dialog"],[2,"background-color","transparent"],[2,"flex","1 1 auto","text-align","center"],[2,"text-align","right"],["mat-icon-button","",3,"click"],["mat-dialog-content",""],[1,"card-group"],["floatLabel","always",2,"width","100%"],["id","respaths",3,"valueChange","disabled","value"],[3,"value"],[2,"display","flex","flex-wrap","wrap"],[2,"flex","1 1 auto","padding","5px","font-size","smaller"],[2,"font-weight","bold"],[2,"text-align","center","padding-top","15px"],["mat-raised-button","","matTooltip","Load features","matTooltipPosition","below",3,"click","disabled"],[2,"padding","10px","border","gray 1px dashed","font-style","italic"],[3,"chosen","astext"],[2,"width","200px"],[2,"padding","25%","border","gray 1px dashed"],[2,"width","100%","text-align","center"],["mat-raised-button","",3,"click"]],template:function(e,s){e&1&&(i(0,"div",1)(1,"mat-toolbar",2)(2,"span")(3,"mat-icon"),n(4,"category"),t()(),i(5,"span",3),n(6,"Load Resource"),t(),i(7,"span",4)(8,"button",5),f("click",function(){return s.dialogRef.close()}),i(9,"mat-icon"),n(10,"close"),t()()()(),i(11,"div",6),u(12,oe,30,8,"div",7),t()()),e&2&&(r(12),g(s.display.notValid?-1:12))},dependencies:[L,H,W,K,J,G,z,X,U,A,V,B,j,O,F,Q,q,N,T,k,Z],styles:[".resourceload-dialog[_ngcontent-%COMP%]{font-family:roboto;position:relative;width:100%}.card-group[_ngcontent-%COMP%]{padding:5px 5%}@media only screen and (min-width:800px){.card-group[_ngcontent-%COMP%]{padding:5px 5%}}"]})};export{ee as ResourceImportDialog};
@@ -1 +1 @@
1
- import{a as t}from"./chunk-ZHXEZBYI.js";import"./chunk-FFPCEPCR.js";import"./chunk-BZGM3F3K.js";var r=t.Object({id:t.String({minLength:1})});export{r as ApplyParams};
1
+ import{a as t}from"./chunk-MWETYHR7.js";import"./chunk-WARJYBQ7.js";import"./chunk-BZGM3F3K.js";var r=t.Object({id:t.String({minLength:1})});export{r as ApplyParams};
@@ -1 +1 @@
1
- import{c as y,d as S,e as k,g as E,k as R}from"./chunk-M4EXFQJE.js";import"./chunk-Z2OUIJPL.js";import"./chunk-FX2SMI5S.js";import{$a as h,Fa as b,Ga as I,Ia as L,Ja as C,Ka as w,La as P,Na as W,Oa as v,Ya as T}from"./chunk-GJFI75CP.js";import{d as B}from"./chunk-RYULE37H.js";import{$b as x,Db as M,Hb as c,Jb as _,Oa as l,Wa as r,Yb as o,Zb as D,_a as p,_b as A,ba as s,ca as g,rb as f,sb as u,ub as e,vb as a}from"./chunk-3PBISOLT.js";import"./chunk-BZGM3F3K.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}dialogRef;data;anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,h,T,v,W,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};
1
+ import{c as y,d as S,e as k,g as E,k as R}from"./chunk-DSUCHYD7.js";import"./chunk-RENDTMDT.js";import"./chunk-DN6IX7CO.js";import{$a as h,Fa as b,Ga as I,Ia as L,Ja as C,Ka as w,La as P,Na as W,Oa as v,Ya as T}from"./chunk-2QKJQDG4.js";import{d as B}from"./chunk-RYULE37H.js";import{$b as x,Db as M,Hb as c,Jb as _,Oa as l,Wa as r,Yb as o,Zb as D,_a as p,_b as A,ba as s,ca as g,rb as f,sb as u,ub as e,vb as a}from"./chunk-R6ABX6RX.js";import"./chunk-BZGM3F3K.js";var F=(n,i)=>i.extension+"/"+i.widget.id;function O(n,i){if(n&1){let t=M();e(0,"button",4),c("click",function(){let m=s(t).$implicit,j=_();return g(j.dialogRef.close(m))}),e(1,"span",5),o(2),a(),e(3,"span",6),o(4),a()()}if(n&2){let t=i.$implicit;l(2),D(t.widget.title),l(2),x("",t.extensionName," \xB7 ",t.widget.size)}}var N=class n{constructor(i,t){this.dialogRef=i;this.data=t;this.anchorLabel=B[t.anchor]}dialogRef;data;anchorLabel;static \u0275fac=function(t){return new(t||n)(r(b),r(I))};static \u0275cmp=p({type:n,selectors:[["fb-plotterext-add-widget"]],decls:12,vars:1,consts:[["mat-dialog-title","",1,"pe-add-title"],["mat-list-item",""],["align","end"],["mat-button","",3,"click"],["mat-list-item","",3,"click"],["matListItemTitle",""],["matListItemLine",""]],template:function(t,d){t&1&&(e(0,"div",0)(1,"mat-icon"),o(2,"widgets"),a(),e(3,"span"),o(4),a()(),e(5,"mat-dialog-content")(6,"mat-action-list"),f(7,O,5,3,"button",1,F),a()(),e(9,"mat-dialog-actions",2)(10,"button",3),c("click",function(){return d.dialogRef.close()}),o(11,"Cancel"),a()()),t&2&&(l(4),A("Add widget \u2014 ",d.anchorLabel),l(3),u(d.data.candidates))},dependencies:[P,L,w,C,h,T,v,W,R,k,E,S,y],styles:[".pe-add-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}"]})};export{N as PlotterAddWidgetDialog};