@signalk/freeboard-sk 3.4.1 → 3.5.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +3 -1
  2. package/package.json +2 -2
  3. package/public/assets/features/radar-overlay-2.jpg +0 -0
  4. package/public/assets/features/radar-targets-1.jpg +0 -0
  5. package/public/assets/features/route-styles-1.jpg +0 -0
  6. package/public/assets/features-corpus.json +1 -1
  7. package/public/assets/help/img/ais_shiptypes.png +0 -0
  8. package/public/assets/help/index.html +81 -27
  9. package/public/assets/img/routes/route-end.svg +6 -0
  10. package/public/assets/img/routes/route-start.svg +6 -0
  11. package/public/assets/img/routes/route-waypoint.svg +9 -0
  12. package/public/assets/img/vessels/ais_fishing.svg +33 -0
  13. package/public/chunk-2EKPI63M.js +1 -0
  14. package/public/{chunk-VBSJZWSI.js → chunk-2H73O7R4.js} +1 -1
  15. package/public/{chunk-DN6IX7CO.js → chunk-2JAD5V57.js} +1 -1
  16. package/public/{chunk-GJZ7P5CR.js → chunk-4LLIVPOH.js} +1 -1
  17. package/public/chunk-67S772YL.js +1 -0
  18. package/public/{chunk-4BCNBZTG.js → chunk-6BSDRWQ3.js} +1 -1
  19. package/public/{chunk-PWZFOOT4.js → chunk-6EZKIXYQ.js} +1 -1
  20. package/public/{chunk-MWETYHR7.js → chunk-7ISDSY26.js} +1 -1
  21. package/public/chunk-7VLEFGRK.js +1 -0
  22. package/public/{chunk-ZQSUYMH2.js → chunk-BNDXOOFA.js} +1 -1
  23. package/public/{chunk-PWNYMCP2.js → chunk-CJARACLQ.js} +1 -1
  24. package/public/{chunk-RENDTMDT.js → chunk-G5EXGCP4.js} +1 -1
  25. package/public/chunk-GHLF3D5Z.js +2 -0
  26. package/public/chunk-GVY3IGQP.js +1 -0
  27. package/public/{chunk-AZQNOMPD.js → chunk-HHVNH6WV.js} +1 -1
  28. package/public/{chunk-YH3OTY6F.js → chunk-IQVXAJGE.js} +1 -1
  29. package/public/{chunk-WOU2FNU3.js → chunk-JPTPBTTP.js} +1 -1
  30. package/public/{chunk-VT4GQY5X.js → chunk-LH5NA6FP.js} +1 -1
  31. package/public/{chunk-DSUCHYD7.js → chunk-LRYGINIX.js} +1 -1
  32. package/public/{chunk-BC2VITG4.js → chunk-MFWKSXF7.js} +1 -1
  33. package/public/chunk-MR5B4XRH.js +1 -0
  34. package/public/{chunk-MZ3YWFFB.js → chunk-NXLWB5IV.js} +1 -1
  35. package/public/chunk-QD2NEHGC.js +1 -0
  36. package/public/{chunk-YBVURHD5.js → chunk-QJ2QMZLA.js} +1 -1
  37. package/public/{chunk-SIFYI3HU.js → chunk-SJSHCZKD.js} +1 -1
  38. package/public/{chunk-IP2UNZAT.js → chunk-TCWGFZUF.js} +1 -1
  39. package/public/{chunk-DC5AFSD6.js → chunk-THOUUI2P.js} +1 -1
  40. package/public/chunk-TLNMSJUF.js +1 -0
  41. package/public/{chunk-VXYZIAGN.js → chunk-TO4IOJWS.js} +1 -1
  42. package/public/{chunk-2GVS7ZQR.js → chunk-UOK6WTQH.js} +1 -1
  43. package/public/{chunk-6JTVABJT.js → chunk-URCOHSFB.js} +127 -127
  44. package/public/chunk-V3SPESMB.js +7 -0
  45. package/public/{chunk-3MRBMOCG.js → chunk-VH2NXKOR.js} +1 -1
  46. package/public/chunk-W5SXKI6G.js +1 -0
  47. package/public/chunk-W7TSMHU3.js +1 -0
  48. package/public/chunk-XDKT43CW.js +4 -0
  49. package/public/{chunk-2QKJQDG4.js → chunk-XXJX5CGO.js} +14 -14
  50. package/public/index.html +1 -1
  51. package/public/main-ZCGBRKVF.js +359 -0
  52. package/public/worker-DI2XYCRR.js +3 -0
  53. package/public/chunk-2NWIJAJ6.js +0 -1
  54. package/public/chunk-7VECY4HP.js +0 -1
  55. package/public/chunk-CRWXCOWS.js +0 -1
  56. package/public/chunk-K4EGDHPT.js +0 -2
  57. package/public/chunk-LEEF5WZZ.js +0 -1
  58. package/public/chunk-QYBMIGVH.js +0 -1
  59. package/public/chunk-R6ABX6RX.js +0 -4
  60. package/public/chunk-RH4MSKTX.js +0 -1
  61. package/public/chunk-RYULE37H.js +0 -1
  62. package/public/chunk-WARJYBQ7.js +0 -7
  63. package/public/chunk-Z2IWHI3C.js +0 -1
  64. package/public/main-WXGVUWZE.js +0 -358
  65. package/public/worker-CDFJSLG6.js +0 -3
@@ -754,8 +754,9 @@
754
754
  <a href="#settings">SETTINGS</a>. <br />&nbsp;<br />
755
755
 
756
756
  <i
757
- >For how to use these controls, see the <b>Radar Overlay</b> and
758
- <b>Radar Guard Zones</b> entries in the Feature Browser (<b
757
+ >For how to use these controls, see the <b>Radar Overlay</b>,
758
+ <b>Radar Guard Zones</b> and
759
+ <b>Radar &amp; Camera Targets</b> entries in the Feature Browser (<b
759
760
  >Main menu</b
760
761
  >
761
762
  or <b>More actions</b> &rarr; <b>What's New</b>).</i
@@ -1104,12 +1105,14 @@
1104
1105
  <li>
1105
1106
  <b>Center: </b> Clicking
1106
1107
  <i class="material-icons">center_focus_strong</i> positions
1107
- the map so the waypaoint is displayed in the center.
1108
+ the map so the waypoint is displayed in the center.
1108
1109
  </li>
1109
1110
  <li>
1110
- <b>Edit Properties</b> Click
1111
- <i class="material-icons">edit</i> to edit waypoint Name and
1112
- Description.
1111
+ <b>Properties: </b> Click
1112
+ <i class="material-icons">info_outline</i> to open the
1113
+ waypoint's details, where you can change its name,
1114
+ description, position and symbol. See the Feature Browser
1115
+ &rarr; Waypoints.
1113
1116
  </li>
1114
1117
  <li>
1115
1118
  <b>Add to Group: </b> Click
@@ -1800,7 +1803,9 @@
1800
1803
  server.
1801
1804
  </ul>
1802
1805
  All Alerts are available to view via the Alerts List.<br />
1803
- The following Alarms can be raised:
1806
+ A <b>Person Overboard</b> alarm can be raised from the Alerts List, or
1807
+ with the red Person Overboard button at the bottom of the toolbar. See
1808
+ the Feature Browser &rarr; Person Overboard.
1804
1809
  <div>
1805
1810
  <img src="./img/alarms.png" style="max-width: 350px" alt="" />
1806
1811
  </div>
@@ -1813,9 +1818,7 @@
1813
1818
  <i class="material-icons" style="color: orangered">warning</i>
1814
1819
  button on the toolbar to display the Alerts List:
1815
1820
  </li>
1816
- <li>
1817
- Click the <b>RAISE</b> button and select the desired alarm type.
1818
- </li>
1821
+ <li>Click the <b>RAISE</b> button and select <b>Overboard!</b>.</li>
1819
1822
  </ul>
1820
1823
 
1821
1824
  An alarm request will be sent to the Signal K server which will emit a
@@ -1825,12 +1828,16 @@
1825
1828
  <i>Silenced</i>.
1826
1829
  <ul>
1827
1830
  <li>
1828
- Silencing the alert will mute any sound and the alert card remains
1829
- visible.
1831
+ Silencing the alert (<b>MUTE</b>) will mute any sound and the
1832
+ alert card remains visible. On a display nobody is logged in to,
1833
+ MUTE silences that display only: the alarm stays active on the
1834
+ server and on other displays, and sounds again if it escalates.
1830
1835
  </li>
1831
1836
  <li>
1832
- Acknowledging the alert will close the alert card and silence any
1833
- sound. The alert remains an entry in the Alert List.
1837
+ Acknowledging the alert (<b>ACK</b>) will close the alert card and
1838
+ silence any sound. The alert remains an entry in the Alert List.
1839
+ Acknowledging needs a logged-in user. A Person Overboard card
1840
+ stays visible after ACK, until the MOB is ended.
1834
1841
  </li>
1835
1842
  </ul>
1836
1843
 
@@ -1848,15 +1855,15 @@
1848
1855
  Freeboard displays vessels with the following icons:
1849
1856
  <div style="display: flex">
1850
1857
  <div style="width: 30px; text-align: center">
1851
- <img src="../img/ship_red.png" style="width: 12px" alt="" />
1858
+ <img src="../img/vessels/self.png" style="width: 12px" alt="" />
1852
1859
  </div>
1853
1860
  <div>Vessel associated Signal K "self"</div>
1854
1861
  </div>
1855
1862
  <div style="display: flex">
1856
1863
  <div style="width: 30px; text-align: center">
1857
1864
  <img
1858
- src="../img/vessels/ais_self.png"
1859
- style="width: 12px"
1865
+ src="../img/vessels/ais_self.svg"
1866
+ style="width: 24px"
1860
1867
  alt=""
1861
1868
  />
1862
1869
  </div>
@@ -1904,6 +1911,16 @@
1904
1911
  </div>
1905
1912
  <div>Wing in Ground <i>(AIS type 20-29)</i></div>
1906
1913
  </div>
1914
+ <div style="display: flex">
1915
+ <div style="width: 30px; text-align: center">
1916
+ <img
1917
+ src="../img/vessels/ais_fishing.svg"
1918
+ style="width: 24px"
1919
+ alt=""
1920
+ />
1921
+ </div>
1922
+ <div>Fishing <i>(AIS type 30)</i></div>
1923
+ </div>
1907
1924
  <div style="display: flex">
1908
1925
  <div style="width: 30px; text-align: center">
1909
1926
  <img
@@ -1912,7 +1929,7 @@
1912
1929
  alt=""
1913
1930
  />
1914
1931
  </div>
1915
- <div>Pleasure <i>(AIS type 30-39)</i></div>
1932
+ <div>Pleasure <i>(AIS type 36-39)</i></div>
1916
1933
  </div>
1917
1934
  <div style="display: flex">
1918
1935
  <div style="width: 30px; text-align: center">
@@ -1932,7 +1949,11 @@
1932
1949
  alt=""
1933
1950
  />
1934
1951
  </div>
1935
- <div>Special Vessel <i>(AIS type 50-59)</i></div>
1952
+ <div>
1953
+ Special Vessel <i>(AIS type 31-35, 50-59)</i>: tows, dredgers,
1954
+ dive boats and military vessels, as well as pilot boats, tugs and
1955
+ search &amp; rescue
1956
+ </div>
1936
1957
  </div>
1937
1958
  <div style="display: flex">
1938
1959
  <div style="width: 30px; text-align: center">
@@ -1974,6 +1995,30 @@
1974
1995
  </div>
1975
1996
  <div>Other <i>(AIS type 90-99)</i></div>
1976
1997
  </div>
1998
+ <div style="display: flex">
1999
+ <div style="width: 30px; text-align: center">
2000
+ <svg
2001
+ width="20"
2002
+ height="20"
2003
+ viewBox="0 0 20 20"
2004
+ aria-hidden="true"
2005
+ >
2006
+ <circle
2007
+ cx="10"
2008
+ cy="10"
2009
+ r="8"
2010
+ stroke="#ff6f00"
2011
+ stroke-width="2"
2012
+ fill="none"
2013
+ />
2014
+ </svg>
2015
+ </div>
2016
+ <div>
2017
+ Radar or camera target
2018
+ <i>(grey when not updated for 20 seconds)</i>. See the Feature
2019
+ Browser &rarr; Radar &amp; Camera Targets.
2020
+ </div>
2021
+ </div>
1977
2022
 
1978
2023
  Freeboard provides the ability to de-clutter the screen of vessels in
1979
2024
  the following ways:
@@ -2036,15 +2081,11 @@
2036
2081
 
2037
2082
  <div style="display: flex; flex-wrap: wrap">
2038
2083
  <div>
2039
- <img
2040
- src="./img/vessels/ais_list.png"
2041
- style="max-width: 250px"
2042
- alt=""
2043
- />
2084
+ <img src="./img/ais_list.png" style="max-width: 250px" alt="" />
2044
2085
  </div>
2045
2086
  <div>
2046
2087
  <img
2047
- src="./img/vessels/ais_shiptypes.png"
2088
+ src="./img/ais_shiptypes.png"
2048
2089
  style="max-width: 250px"
2049
2090
  alt=""
2050
2091
  />
@@ -2483,6 +2524,11 @@
2483
2524
  <b>COURSE:</b><br />
2484
2525
  This section provides settings for course navigation.<br />
2485
2526
 
2527
+ <b>Route style</b>: How routes are drawn on the map:
2528
+ <b>Flags &amp; pins</b> (default), <b>Classic</b>,
2529
+ <b>Chevrons (animated)</b> or <b>Chevrons (static)</b>. See the
2530
+ Feature Browser &rarr; <i>Route Styles</i>.<br />
2531
+
2486
2532
  <b>Auto-advance to next point on arrival</b>: Check this option to
2487
2533
  automatically advance to the next route point once the target
2488
2534
  notification has been received.<br />
@@ -2535,7 +2581,13 @@
2535
2581
  </li>
2536
2582
  <li>
2537
2583
  <b>Display Wind Vectors</b>: Select to display wind vectors for
2538
- the vessel on the map.
2584
+ the vessel on the map. <i>(Default is unchecked)</i>
2585
+ </li>
2586
+ <li>
2587
+ <b>Display Current (Set &amp; Drift)</b>: Select to display an
2588
+ arrow on the vessel showing the set and drift of the current. See
2589
+ the Feature Browser &rarr; Own Vessel Display.
2590
+ <i>(Default is checked)</i>
2539
2591
  </li>
2540
2592
  <li>
2541
2593
  <b>Display Laylines</b>: Select to display laylines when
@@ -2801,7 +2853,9 @@
2801
2853
  The device list is locked while the RADAR is shown on the map.<br />
2802
2854
  <b>Draw range circles at the radar range while it transmits</b>:
2803
2855
  Select to draw range circles at the RADAR range around the vessel
2804
- while the RADAR transmits, in place of the vessel range circles.
2856
+ while the RADAR transmits, in place of the vessel range circles.<br />
2857
+ <b>Range circle color</b>: The color of the RADAR range circles. The
2858
+ default dark grey is drawn light grey at night so it stays visible.
2805
2859
  <hr />
2806
2860
 
2807
2861
  <b>SIGNAL K:</b><br />
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="37" height="37" viewBox="0 0 37 37">
3
+ <g transform="matrix(1.0637 0 0 1.0637 18.5005 18.5002)">
4
+ <path style="stroke: rgb(0,0,0); stroke-width: 0.5; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(215,25,32); fill-rule: nonzero; opacity: 1;" transform=" translate(-17.3925, -17.3921)" d="M 7.01 34.784 C 6.214 34.784 5.571 34.139 5.571 33.345 L 5.571 2.808 C 5.571 2.122 6.054 1.53 6.727 1.396 C 6.909 1.36 7.004 1.291 7.28 1.08 C 8.798 -0.086 10.415 -0.744 17.413 1.433 C 24.613 3.677 26.514 2.113 26.524 2.094 C 26.849 1.528 27.51 1.251 28.143 1.416 C 28.775 1.584 29.214 2.155 29.214 2.808 L 29.214 17.813 C 29.214 18.063 29.148 18.31 29.025 18.527 C 28.657 19.171 26.329 22.227 16.557 19.188 C 10.446 17.285 9.596 17.937 9.034 18.368 C 8.87 18.494 8.679 18.64 8.449 18.778 L 8.449 33.344 C 8.449 34.139 7.805 34.784 7.01 34.784 Z" stroke-linecap="round"/>
5
+ </g>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="37" height="37" viewBox="0 0 37 37">
3
+ <g transform="matrix(1.0637 0 0 1.0637 17.6987 18.5002)">
4
+ <path style="stroke: rgb(0,0,0); stroke-width: 0.5; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(119,187,65); fill-rule: nonzero; opacity: 1;" transform=" translate(-17.3925, -17.3921)" d="M 7.01 34.784 C 6.214 34.784 5.571 34.139 5.571 33.345 L 5.571 2.808 C 5.571 2.122 6.054 1.53 6.727 1.396 C 6.909 1.36 7.004 1.291 7.28 1.08 C 8.798 -0.086 10.415 -0.744 17.413 1.433 C 24.613 3.677 26.514 2.113 26.524 2.094 C 26.849 1.528 27.51 1.251 28.143 1.416 C 28.775 1.584 29.214 2.155 29.214 2.808 L 29.214 17.813 C 29.214 18.063 29.148 18.31 29.025 18.527 C 28.657 19.171 26.329 22.227 16.557 19.188 C 10.446 17.285 9.596 17.937 9.034 18.368 C 8.87 18.494 8.679 18.64 8.449 18.778 L 8.449 33.344 C 8.449 34.139 7.805 34.784 7.01 34.784 Z" stroke-linecap="round"/>
5
+ </g>
6
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="37" height="37" viewBox="0 0 37 37">
3
+ <g transform="matrix(-0.4991 -0.0009 0.0009 -0.4997 17.6984 18.231)">
4
+ <polygon style="stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: round; stroke-miterlimit: 4; fill: rgb(12,44,103); fill-rule: nonzero; opacity: 1;" points="20.089,-2.109 20.736,-3.423 21.297,-4.777 21.77,-6.164 22.153,-7.579 22.444,-9.015 22.643,-10.467 22.747,-11.929 22.757,-13.395 22.672,-14.858 22.494,-16.312 22.222,-17.752 21.859,-19.172 21.404,-20.565 20.861,-21.927 20.232,-23.25 19.519,-24.53 18.724,-25.762 17.852,-26.94 16.907,-28.06 15.891,-29.116 14.809,-30.105 13.666,-31.022 12.466,-31.863 11.215,-32.626 9.917,-33.306 8.578,-33.902 7.203,-34.41 5.799,-34.829 4.37,-35.157 2.923,-35.391 1.465,-35.533 0,-35.58 -1.465,-35.533 -2.923,-35.391 -4.37,-35.157 -5.799,-34.829 -7.203,-34.41 -8.578,-33.902 -9.917,-33.306 -11.215,-32.626 -12.466,-31.863 -13.666,-31.022 -14.809,-30.105 -15.891,-29.116 -16.907,-28.06 -17.852,-26.94 -18.724,-25.762 -19.519,-24.53 -20.232,-23.25 -20.861,-21.927 -21.404,-20.565 -21.859,-19.172 -22.222,-17.752 -22.494,-16.312 -22.672,-14.858 -22.757,-13.395 -22.747,-11.929 -22.643,-10.467 -22.444,-9.015 -22.153,-7.579 -21.77,-6.164 -21.297,-4.777 -20.736,-3.423 -20.089,-2.109 0,35.58 "/>
5
+ </g>
6
+ <g transform="matrix(0.4991 0 0 0.4991 17.8132 25.5609)">
7
+ <circle style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1;" cx="0" cy="0" r="7.616"/>
8
+ </g>
9
+ </svg>
@@ -0,0 +1,33 @@
1
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
2
+ width="24.000000pt" height="24.000000pt" viewBox="0 0 24.000000 24.000000"
3
+ preserveAspectRatio="xMidYMid meet">
4
+ <title>ais-fishing</title>
5
+ <style type="text/css">
6
+ .vessel-stroke-fishing {
7
+ fill: #000000;
8
+ stroke: #000000;
9
+ }
10
+ .vessel-fill-fishing {
11
+ fill: #ff8c00;
12
+ stroke: none;
13
+ }
14
+ </style>
15
+
16
+ <g transform="translate(0.000000,24.000000) scale(0.100000,-0.100000)"
17
+ class="vessel-stroke-fishing">
18
+ <path d="M103 180 c-14 -31 -23 -72 -23 -101 0 -51 8 -60 30 -34 12 14 15 14
19
+ 30 0 9 -8 20 -15 23 -15 16 0 5 108 -16 153 l-22 48 -22 -51z m46 -29 c6 -19
20
+ 11 -52 11 -75 0 -38 -1 -39 -17 -23 -16 16 -18 16 -36 -1 -19 -17 -20 -16 -15
21
+ 38 6 64 25 117 37 104 5 -5 13 -24 20 -43z"/>
22
+ </g>
23
+ <g transform="translate(0.000000,24.000000) scale(0.100000,-0.100000)"
24
+ class="vessel-fill-fishing">
25
+ <path d="M149 151 c6 -19
26
+ 11 -52 11 -75 0 -38 -1 -39 -17 -23 -16 16 -18 16 -36 -1 -19 -17 -20 -16 -15
27
+ 38 6 64 25 117 37 104 5 -5 13 -24 20 -43z"/>
28
+ </g>
29
+ <g transform="translate(0.000000,24.000000) scale(0.100000,-0.100000)"
30
+ class="vessel-stroke-fishing">
31
+ <path d="M133 110 l-14 0 0 14 14 0 0 -14 -14 0z"/>
32
+ </g>
33
+ </svg>
@@ -0,0 +1 @@
1
+ import{j as a}from"./chunk-SJSHCZKD.js";import"./chunk-4LLIVPOH.js";import"./chunk-G5EXGCP4.js";import"./chunk-2JAD5V57.js";import"./chunk-BNDXOOFA.js";import"./chunk-THOUUI2P.js";import"./chunk-XXJX5CGO.js";import"./chunk-XDKT43CW.js";import"./chunk-BZGM3F3K.js";export{a as PlaybackDialog};
@@ -1 +1 @@
1
- import{A,B,C,D,E,F,G,H,I,J,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-LEEF5WZZ.js";import"./chunk-WARJYBQ7.js";import"./chunk-BZGM3F3K.js";export{e as Assert,d as AssertError,b as Check,h as Clean,f as Clone,j as Convert,u as Create,t as CreateError,o as Decode,m as DecodeError,n as DecodeUnsafe,k as Default,D as Delete,A as Diff,E as Edit,r as Encode,p as EncodeError,q as EncodeUnsafe,v as Equal,c as Errors,s as HasCodec,w as Hash,B as Insert,i as IsOptionalUndefined,z as Parse,x as ParseError,y as Parser,F as Patch,l as Pipeline,a as Pointer,H as Repair,g as UnionPrioritySort,G as UnionScoreSelect,C as Update,I as Value,J as default};
1
+ import{A,B,C,D,E,F,G,H,I,J,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-QD2NEHGC.js";import"./chunk-V3SPESMB.js";import"./chunk-BZGM3F3K.js";export{e as Assert,d as AssertError,b as Check,h as Clean,f as Clone,j as Convert,u as Create,t as CreateError,o as Decode,m as DecodeError,n as DecodeUnsafe,k as Default,D as Delete,A as Diff,E as Edit,r as Encode,p as EncodeError,q as EncodeUnsafe,v as Equal,c as Errors,s as HasCodec,w as Hash,B as Insert,i as IsOptionalUndefined,z as Parse,x as ParseError,y as Parser,F as Patch,l as Pipeline,a as Pointer,H as Repair,g as UnionPrioritySort,G as UnionScoreSelect,C as Update,I as Value,J as default};
@@ -1 +1 @@
1
- import{A as o}from"./chunk-2QKJQDG4.js";import{T as f,d as u}from"./chunk-R6ABX6RX.js";var d=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new u;constructor(e=!1,t,s=!0,n){this._multiple=e,this._emitChanges=s,this.compareWith=n,t&&t.length&&(e?t.forEach(i=>this._markSelected(i)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(s=>this._markSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(s=>this._unmarkSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,s=new Set(e.map(i=>this._getConcreteValue(i)));e.forEach(i=>this._markSelected(i)),t.filter(i=>!s.has(this._getConcreteValue(i,s))).forEach(i=>this._unmarkSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let s of t)if(this.compareWith(e,s))return s;return e}else return e}};var p=(()=>{class r{_listeners=[];notify(t,s){for(let n of this._listeners)n(t,s)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(s=>t!==s)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(s){return new(s||r)};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var g=class{applyChanges(e,t,s,n,i){e.forEachOperation((c,a,_)=>{let h,l;if(c.previousIndex==null){let m=s(c,a,_);h=t.createEmbeddedView(m.templateRef,m.context,m.index),l=o.INSERTED}else _==null?(t.remove(a),l=o.REMOVED):(h=t.get(a),t.move(h,_),l=o.MOVED);i&&i({context:h?.context,operation:l,record:c})})}detach(){}};export{d as a,p as b,g as c};
1
+ import{A as o}from"./chunk-XXJX5CGO.js";import{V as f,d as u}from"./chunk-XDKT43CW.js";var d=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new u;constructor(e=!1,t,s=!0,n){this._multiple=e,this._emitChanges=s,this.compareWith=n,t&&t.length&&(e?t.forEach(i=>this._markSelected(i)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(s=>this._markSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(s=>this._unmarkSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,s=new Set(e.map(i=>this._getConcreteValue(i)));e.forEach(i=>this._markSelected(i)),t.filter(i=>!s.has(this._getConcreteValue(i,s))).forEach(i=>this._unmarkSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let s of t)if(this.compareWith(e,s))return s;return e}else return e}};var p=(()=>{class r{_listeners=[];notify(t,s){for(let n of this._listeners)n(t,s)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(s=>t!==s)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(s){return new(s||r)};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var g=class{applyChanges(e,t,s,n,i){e.forEachOperation((c,a,_)=>{let h,l;if(c.previousIndex==null){let m=s(c,a,_);h=t.createEmbeddedView(m.templateRef,m.context,m.index),l=o.INSERTED}else _==null?(t.remove(a),l=o.REMOVED):(h=t.get(a),t.move(h,_),l=o.MOVED);i&&i({context:h?.context,operation:l,record:c})})}detach(){}};export{d as a,p as b,g as c};
@@ -1,4 +1,4 @@
1
- import{E as z,Ea as Z,N as G,U as j,W as F,Z as U,ba as B,ha as $,n as V,p as Y,ua as y,w as g,xa as v,y as X}from"./chunk-2QKJQDG4.js";import{Hb as A,Ib as O,Jc as H,Nb as M,O as r,Oa as D,Ob as x,Pb as S,Sa as m,V as _,Va as P,Vb as u,X as n,Xb as L,Ya as C,Yb as k,Zb as N,_a as I,ab as E,d as c,fa as p,ga as T,ja as w,ra as h,xb as f,yb as R}from"./chunk-R6ABX6RX.js";import{a as l}from"./chunk-BZGM3F3K.js";var q=["tooltip"],K=20;var J=new _("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=n(p);return()=>F(a,{scrollThrottle:K})}}),tt=new _("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Q="tooltip-panel",et={passive:!0},it=8,ot=8,st=24,nt=200,It=(()=>{class a{_elementRef=n(h);_ngZone=n(w);_platform=n(V);_ariaDescriber=n(Z);_focusMonitor=n($);_dir=n(X);_injector=n(p);_viewContainerRef=n(C);_mediaMatcher=n(Y);_document=n(T);_renderer=n(P);_animationsDisabled=v();_defaultOptions=n(tt,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=at;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=y(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=y(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=g(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=g(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new c;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=it}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(r(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new G(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof h)return this._overlayRef;this._detach()}let e=this._injector.get(z).getAncestorScrollContainers(this._elementRef),i=`${this._cssClassPrefix}-${Q}`,o=U(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation("global");return o.positionChanges.pipe(r(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=B(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,i]:i,scrollStrategy:this._injector.get(J)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(r(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(r(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(r(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(l(l({},i.main),o.main)),this._addOffset(l(l({},i.fallback),o.fallback))])}_addOffset(t){let e=ot,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),m(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=i==="end"?"left":"right":s=i==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let d=this._overlayRef;if(d){let b=`${this._cssClassPrefix}-${Q}-`;d.removePanelClass(b+this._currentPosition),d.addPanelClass(b+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener("wheel",t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",t),this._addListener("touchcancel",t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,et))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t=="function"?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||m({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type==="keydown"?this._isTooltipVisible()&&t.keyCode===27&&!j(t):!0;static \u0275fac=function(e){return new(e||a)};static \u0275dir=E({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&u("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return a})(),at=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(h);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=v();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new c;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>st&&t.width>=nt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:i),e.classList.add(t?i:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=I({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&M(q,7),e&2){let o;x(o=S())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&A("mouseleave",function(s){return i._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){e&1&&(f(0,"div",1,0),O("animationend",function(s){return i._handleAnimationEnd(s)}),f(2,"div",2),k(3),R()()),e&2&&(L(i.tooltipClass),u("mdc-tooltip--multiline",i._isMultiline),D(3),N(i.message))},styles:[`.mat-mdc-tooltip {
1
+ import{E as z,Ea as Z,N as G,U as j,W as F,Z as U,ba as B,ha as $,n as V,p as Y,ua as y,w as g,xa as v,y as X}from"./chunk-XXJX5CGO.js";import{$b as N,Ab as R,Jb as A,Kb as O,Lc as H,Pb as M,Q as r,Qa as D,Qb as x,Rb as S,Ua as m,X as _,Xa as P,Xb as u,Z as n,Zb as L,_a as C,_b as k,ab as I,cb as E,d as c,ha as p,ia as T,la as w,ta as h,zb as f}from"./chunk-XDKT43CW.js";import{a as l}from"./chunk-BZGM3F3K.js";var q=["tooltip"],K=20;var J=new _("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=n(p);return()=>F(a,{scrollThrottle:K})}}),tt=new _("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Q="tooltip-panel",et={passive:!0},it=8,ot=8,st=24,nt=200,It=(()=>{class a{_elementRef=n(h);_ngZone=n(w);_platform=n(V);_ariaDescriber=n(Z);_focusMonitor=n($);_dir=n(X);_injector=n(p);_viewContainerRef=n(C);_mediaMatcher=n(Y);_document=n(T);_renderer=n(P);_animationsDisabled=v();_defaultOptions=n(tt,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=at;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=y(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=y(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=g(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=g(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new c;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=it}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(r(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new G(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof h)return this._overlayRef;this._detach()}let e=this._injector.get(z).getAncestorScrollContainers(this._elementRef),i=`${this._cssClassPrefix}-${Q}`,o=U(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation("global");return o.positionChanges.pipe(r(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=B(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,i]:i,scrollStrategy:this._injector.get(J)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(r(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(r(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(r(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(l(l({},i.main),o.main)),this._addOffset(l(l({},i.fallback),o.fallback))])}_addOffset(t){let e=ot,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),m(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=i==="end"?"left":"right":s=i==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let d=this._overlayRef;if(d){let b=`${this._cssClassPrefix}-${Q}-`;d.removePanelClass(b+this._currentPosition),d.addPanelClass(b+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener("wheel",t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",t),this._addListener("touchcancel",t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,et))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t=="function"?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||m({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type==="keydown"?this._isTooltipVisible()&&t.keyCode===27&&!j(t):!0;static \u0275fac=function(e){return new(e||a)};static \u0275dir=E({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&u("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return a})(),at=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(h);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=v();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new c;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>st&&t.width>=nt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:i),e.classList.add(t?i:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=I({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&M(q,7),e&2){let o;x(o=S())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&A("mouseleave",function(s){return i._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){e&1&&(f(0,"div",1,0),O("animationend",function(s){return i._handleAnimationEnd(s)}),f(2,"div",2),k(3),R()()),e&2&&(L(i.tooltipClass),u("mdc-tooltip--multiline",i._isMultiline),D(3),N(i.message))},styles:[`.mat-mdc-tooltip {
2
2
  position: relative;
3
3
  transform: scale(0);
4
4
  display: inline-flex;