@covalent/components 6.4.0 → 6.4.2

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 (173) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +24 -23
  3. package/alert.js +4 -4
  4. package/alert.mjs +28 -27
  5. package/app-shell.js +4 -4
  6. package/app-shell.mjs +10 -10
  7. package/{base-element-67ae173f.mjs → base-element-c3dc926e.mjs} +2 -2
  8. package/{base-element-58a3f9ea.js → base-element-d5abe37a.js} +1 -1
  9. package/button.js +4 -4
  10. package/button.mjs +13 -13
  11. package/card.js +8 -8
  12. package/card.mjs +4 -4
  13. package/check-list-item.js +3 -3
  14. package/check-list-item.mjs +16 -16
  15. package/checkbox.js +1 -1
  16. package/checkbox.mjs +15 -15
  17. package/circular-progress.js +7 -7
  18. package/circular-progress.mjs +6 -6
  19. package/class-map-08c84aeb.mjs +62 -0
  20. package/class-map-50b8edb4.js +9 -0
  21. package/code-snippet.js +9 -9
  22. package/code-snippet.mjs +1213 -1276
  23. package/{dialog-9ac44447.mjs → dialog-85c21333.mjs} +39 -39
  24. package/{dialog-79036d60.js → dialog-8ee07177.js} +4 -4
  25. package/dialog.js +1 -1
  26. package/dialog.mjs +8 -8
  27. package/{directive-helpers-e3ea6592.mjs → directive-helpers-725a181d.mjs} +3 -3
  28. package/{directive-helpers-0ce1f995.js → directive-helpers-fce8cf91.js} +2 -2
  29. package/drawer.js +1 -1
  30. package/drawer.mjs +8 -8
  31. package/empty-state.js +7 -7
  32. package/empty-state.mjs +4 -4
  33. package/{event-options-78d6cf94.mjs → event-options-3937d997.mjs} +1 -1
  34. package/{event-options-3f5eb195.js → event-options-7bc382d8.js} +1 -1
  35. package/{form-element-bd973124.mjs → form-element-6dbd7afa.mjs} +4 -4
  36. package/{form-element-ead758d4.js → form-element-d4e7bcdb.js} +2 -2
  37. package/foundation-2334d146.mjs +60 -0
  38. package/{foundation-62d4413d.js → foundation-3f55a9dc.js} +3 -24
  39. package/{foundation-3f556da7.mjs → foundation-c580100a.mjs} +28 -78
  40. package/foundation-e830bd94.js +22 -0
  41. package/icon-button.js +5 -5
  42. package/icon-button.mjs +12 -12
  43. package/icon-check-toggle.js +5 -5
  44. package/icon-check-toggle.mjs +15 -15
  45. package/icon-radio-toggle.js +4 -4
  46. package/icon-radio-toggle.mjs +15 -15
  47. package/icon.js +1 -1
  48. package/icon.mjs +3 -3
  49. package/{if-defined-c367f208.mjs → if-defined-639ed018.mjs} +1 -1
  50. package/if-defined-cb12d481.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +121 -120
  53. package/linear-progress.js +6 -6
  54. package/linear-progress.mjs +13 -13
  55. package/{list-066f5de4.mjs → list-d616957b.mjs} +3 -3
  56. package/{list-05db7fed.js → list-defdaa3b.js} +2 -2
  57. package/list-expansion.js +4 -4
  58. package/list-expansion.mjs +25 -25
  59. package/{list-item-8da7ba96.js → list-item-3fa66f09.js} +3 -3
  60. package/{list-item-ba77097d.mjs → list-item-d5c05e10.mjs} +6 -6
  61. package/list-item.js +1 -1
  62. package/list-item.mjs +13 -13
  63. package/list.js +1 -1
  64. package/list.mjs +15 -15
  65. package/menu.js +1 -1
  66. package/menu.mjs +15 -15
  67. package/{mwc-checkbox-base-3da36456.mjs → mwc-checkbox-base-10e977f2.mjs} +21 -21
  68. package/{mwc-checkbox-base-d46c7666.js → mwc-checkbox-base-435c1f1d.js} +9 -9
  69. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-956e3d6c.js} +1 -1
  70. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-b7abc7fd.mjs} +1 -1
  71. package/{mwc-drawer-base-fe660bdf.mjs → mwc-drawer-base-b2b772c3.mjs} +10 -10
  72. package/{mwc-drawer-base-8eecb1de.js → mwc-drawer-base-f44fcf34.js} +6 -6
  73. package/{mwc-icon-8c9cd0c9.js → mwc-icon-b96fb867.js} +2 -2
  74. package/{mwc-icon-ba18383d.mjs → mwc-icon-c7013880.mjs} +2 -2
  75. package/{mwc-line-ripple-directive-d1cf9570.js → mwc-line-ripple-directive-a97ce725.js} +3 -3
  76. package/{mwc-line-ripple-directive-ffce2cff.mjs → mwc-line-ripple-directive-c3e1f04a.mjs} +6 -6
  77. package/{mwc-list-base-cb3500b4.js → mwc-list-base-7d5f7278.js} +4 -4
  78. package/{mwc-list-base-32d4ac31.mjs → mwc-list-base-c0f8af1c.mjs} +9 -9
  79. package/{mwc-list-item-base-4a4d1e1b.js → mwc-list-item-base-803b9771.js} +8 -8
  80. package/{mwc-list-item-base-8654347d.mjs → mwc-list-item-base-acef0223.mjs} +7 -7
  81. package/{mwc-list-item.css-25adc0c4.js → mwc-list-item.css-401e2407.js} +1 -1
  82. package/{mwc-list-item.css-b0009fc7.mjs → mwc-list-item.css-b5481d96.mjs} +1 -1
  83. package/{mwc-menu-base-572a76b9.mjs → mwc-menu-base-8970b43d.mjs} +11 -11
  84. package/{mwc-menu-base-f14ec544.js → mwc-menu-base-ac49fe54.js} +17 -17
  85. package/{mwc-radio-base-470b4fcc.js → mwc-radio-base-442d495a.js} +4 -4
  86. package/{mwc-radio-base-9446d39b.mjs → mwc-radio-base-c29e6f42.mjs} +11 -11
  87. package/{mwc-radio.css-4e140252.js → mwc-radio.css-388ad26d.js} +1 -1
  88. package/{mwc-radio.css-7454bb11.mjs → mwc-radio.css-4694aa9c.mjs} +1 -1
  89. package/{mwc-slider.css-10adbaf8.mjs → mwc-slider.css-336f809b.mjs} +12 -12
  90. package/{mwc-slider.css-9dd57b10.js → mwc-slider.css-48f02f1e.js} +11 -11
  91. package/{mwc-tab-base-fc3ffb43.js → mwc-tab-base-1a19b299.js} +13 -13
  92. package/{mwc-tab-base-4ba47acc.mjs → mwc-tab-base-7fb3d339.mjs} +14 -14
  93. package/{mwc-top-app-bar-base-0304e67f.js → mwc-top-app-bar-base-14e0a018.js} +8 -8
  94. package/{mwc-top-app-bar-base-adc4168a.mjs → mwc-top-app-bar-base-79c87e69.mjs} +24 -22
  95. package/nav-list-item.js +2 -2
  96. package/nav-list-item.mjs +13 -13
  97. package/package.json +1 -1
  98. package/{property-57f6f6fe.js → property-074570d1.js} +1 -1
  99. package/{property-9b6ea53b.mjs → property-ca27685b.mjs} +9 -9
  100. package/{query-d843aa92.mjs → query-1e7846ea.mjs} +1 -1
  101. package/{query-680f1868.js → query-2ba749b7.js} +1 -1
  102. package/query-assigned-elements-07e38f46.js +33 -0
  103. package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-514e5265.mjs} +152 -153
  104. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-9ec0fa5f.js} +1 -1
  105. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-bea12e0c.mjs} +1 -1
  106. package/radio-list-item.js +3 -3
  107. package/radio-list-item.mjs +18 -18
  108. package/radio.js +1 -1
  109. package/radio.mjs +15 -15
  110. package/{ripple-handlers-c82b1232.js → ripple-handlers-2176f137.js} +5 -5
  111. package/{ripple-handlers-321219b8.mjs → ripple-handlers-227497d3.mjs} +10 -10
  112. package/select.js +10 -10
  113. package/select.mjs +20 -20
  114. package/side-sheet.js +2 -2
  115. package/side-sheet.mjs +21 -21
  116. package/slider-range.js +7 -7
  117. package/slider-range.mjs +13 -13
  118. package/slider.js +3 -3
  119. package/slider.mjs +15 -15
  120. package/snackbar.js +6 -6
  121. package/snackbar.mjs +12 -12
  122. package/{state-b5e865db.mjs → state-6f7e570d.mjs} +1 -1
  123. package/state-949232e6.js +5 -0
  124. package/status-header-item.js +3 -3
  125. package/status-header-item.mjs +15 -15
  126. package/status-header.js +2 -2
  127. package/status-header.mjs +3 -3
  128. package/style-map-2cb0fb63.mjs +40 -0
  129. package/style-map-3056a771.js +5 -0
  130. package/style.css +1 -1
  131. package/switch.js +8 -8
  132. package/switch.mjs +13 -13
  133. package/tab-bar.js +5 -5
  134. package/tab-bar.mjs +16 -16
  135. package/tab.js +1 -1
  136. package/tab.mjs +12 -12
  137. package/text-lockup.js +4 -4
  138. package/text-lockup.mjs +7 -7
  139. package/textarea.js +4 -4
  140. package/textarea.mjs +26 -26
  141. package/{textfield-2cee5a1a.mjs → textfield-276b0ded.mjs} +14 -14
  142. package/{textfield-0993c163.js → textfield-507c6a06.js} +12 -12
  143. package/textfield.js +1 -1
  144. package/textfield.mjs +14 -14
  145. package/toolbar.js +1 -1
  146. package/toolbar.mjs +8 -8
  147. package/tooltip/tooltip.d.ts.map +1 -1
  148. package/tooltip.js +11 -32
  149. package/tooltip.mjs +516 -611
  150. package/{top-app-bar-a531c1b4.js → top-app-bar-34e85527.js} +1 -1
  151. package/{top-app-bar-f83386e0.mjs → top-app-bar-a236c3bc.mjs} +1 -1
  152. package/top-app-bar-fixed.js +5 -89
  153. package/top-app-bar-fixed.mjs +37 -279
  154. package/top-app-bar.js +1 -1
  155. package/top-app-bar.mjs +9 -9
  156. package/tree-list-item.js +7 -7
  157. package/tree-list-item.mjs +6 -6
  158. package/tree-list.js +2 -2
  159. package/tree-list.mjs +1 -1
  160. package/tslib.es6-6b53b818.js +1 -0
  161. package/tslib.es6-b5e819a6.mjs +82 -0
  162. package/typography.js +3 -3
  163. package/typography.mjs +2 -2
  164. package/{utils-2932417c.mjs → utils-dc65fdc9.mjs} +2 -2
  165. package/class-map-4b94b017.mjs +0 -62
  166. package/class-map-b5efe8da.js +0 -9
  167. package/if-defined-f1c45245.js +0 -5
  168. package/query-assigned-elements-f623705d.js +0 -31
  169. package/state-0974a8e5.js +0 -5
  170. package/style-map-88d2563f.js +0 -5
  171. package/style-map-bc3ed3e0.mjs +0 -44
  172. package/tslib.es6-e6a11c8a.js +0 -1
  173. package/tslib.es6-f1eaf65c.mjs +0 -82
package/tooltip.mjs CHANGED
@@ -1,65 +1,9 @@
1
- import { i as nt, r as at, s as st, x as Y, e as lt } from "./query-assigned-elements-4a39219d.mjs";
2
- import { n as M } from "./property-9b6ea53b.mjs";
3
- import { i as ot } from "./query-d843aa92.mjs";
4
- import { a as dt } from "./utils-2932417c.mjs";
5
- import { _ as ct, a as J, c as I, d as Z, e as X } from "./tslib.es6-f1eaf65c.mjs";
6
- /**
7
- * @license
8
- * Copyright 2016 Google Inc.
9
- *
10
- * Permission is hereby granted, free of charge, to any person obtaining a copy
11
- * of this software and associated documentation files (the "Software"), to deal
12
- * in the Software without restriction, including without limitation the rights
13
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- * copies of the Software, and to permit persons to whom the Software is
15
- * furnished to do so, subject to the following conditions:
16
- *
17
- * The above copyright notice and this permission notice shall be included in
18
- * all copies or substantial portions of the Software.
19
- *
20
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
- * THE SOFTWARE.
27
- */
28
- var ht = (
29
- /** @class */
30
- function() {
31
- function e(o) {
32
- o === void 0 && (o = {}), this.adapter = o;
33
- }
34
- return Object.defineProperty(e, "cssClasses", {
35
- get: function() {
36
- return {};
37
- },
38
- enumerable: !1,
39
- configurable: !0
40
- }), Object.defineProperty(e, "strings", {
41
- get: function() {
42
- return {};
43
- },
44
- enumerable: !1,
45
- configurable: !0
46
- }), Object.defineProperty(e, "numbers", {
47
- get: function() {
48
- return {};
49
- },
50
- enumerable: !1,
51
- configurable: !0
52
- }), Object.defineProperty(e, "defaultAdapter", {
53
- get: function() {
54
- return {};
55
- },
56
- enumerable: !1,
57
- configurable: !0
58
- }), e.prototype.init = function() {
59
- }, e.prototype.destroy = function() {
60
- }, e;
61
- }()
62
- );
1
+ import { i as it, r as rt, s as ot, y as Y, e as nt } from "./query-assigned-elements-514e5265.mjs";
2
+ import { e as L } from "./property-ca27685b.mjs";
3
+ import { i as et } from "./query-1e7846ea.mjs";
4
+ import { a as at } from "./utils-dc65fdc9.mjs";
5
+ import { a as st, b as J, c as H } from "./tslib.es6-b5e819a6.mjs";
6
+ import { M as lt } from "./foundation-2334d146.mjs";
63
7
  /**
64
8
  * @license
65
9
  * Copyright 2020 Google Inc.
@@ -82,67 +26,62 @@ var ht = (
82
26
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
83
27
  * THE SOFTWARE.
84
28
  */
85
- var H;
86
- (function(e) {
87
- e.RICH = "mdc-tooltip--rich", e.SHOWN = "mdc-tooltip--shown", e.SHOWING = "mdc-tooltip--showing", e.SHOWING_TRANSITION = "mdc-tooltip--showing-transition", e.HIDE = "mdc-tooltip--hide", e.HIDE_TRANSITION = "mdc-tooltip--hide-transition", e.MULTILINE_TOOLTIP = "mdc-tooltip--multiline", e.SURFACE = "mdc-tooltip__surface", e.SURFACE_ANIMATION = "mdc-tooltip__surface-animation", e.TOOLTIP_CARET_TOP = "mdc-tooltip__caret-surface-top", e.TOOLTIP_CARET_BOTTOM = "mdc-tooltip__caret-surface-bottom";
88
- })(H || (H = {}));
89
- var _ = {
29
+ var x;
30
+ (function(i) {
31
+ i.RICH = "mdc-tooltip--rich", i.SHOWN = "mdc-tooltip--shown", i.SHOWING = "mdc-tooltip--showing", i.SHOWING_TRANSITION = "mdc-tooltip--showing-transition", i.HIDE = "mdc-tooltip--hide", i.HIDE_TRANSITION = "mdc-tooltip--hide-transition", i.MULTILINE_TOOLTIP = "mdc-tooltip--multiline", i.SURFACE = "mdc-tooltip__surface", i.SURFACE_ANIMATION = "mdc-tooltip__surface-animation", i.TOOLTIP_CARET_TOP = "mdc-tooltip__caret-surface-top", i.TOOLTIP_CARET_BOTTOM = "mdc-tooltip__caret-surface-bottom";
32
+ })(x || (x = {}));
33
+ var O = {
90
34
  BOUNDED_ANCHOR_GAP: 4,
91
35
  UNBOUNDED_ANCHOR_GAP: 8,
92
36
  MIN_VIEWPORT_TOOLTIP_THRESHOLD: 8,
93
37
  HIDE_DELAY_MS: 600,
94
38
  SHOW_DELAY_MS: 500,
95
39
  // LINT.IfChange(tooltip-dimensions)
96
- MIN_WIDTH: 40,
97
40
  MIN_HEIGHT: 24,
98
41
  MAX_WIDTH: 200,
99
42
  // LINT.ThenChange(_tooltip.scss:tooltip-dimensions)
100
43
  CARET_INDENTATION: 24,
101
44
  // LINT.IfChange(tooltip-anim-scale)
102
- ANIMATION_SCALE: 0.8,
45
+ ANIMATION_SCALE: 0.8
103
46
  // LINT.ThenChange(_tooltip.scss:tooltip-anim-scale)
104
- // LINT.IfChange(rich-tooltip-dimensions)
105
- RICH_MAX_WIDTH: 320
106
- // LINT.ThenChange(_tooltip.scss:rich-tooltip-dimensions)
107
- }, U = {
47
+ }, G = {
108
48
  ARIA_EXPANDED: "aria-expanded",
109
49
  ARIA_HASPOPUP: "aria-haspopup",
110
50
  PERSISTENT: "data-mdc-tooltip-persistent",
111
51
  SCROLLABLE_ANCESTOR: "tooltip-scrollable-ancestor",
112
52
  HAS_CARET: "data-mdc-tooltip-has-caret"
113
- }, tt = {
114
- HIDDEN: "MDCTooltip:hidden",
115
- SHOWN: "MDCTooltip:shown"
116
- }, x;
117
- (function(e) {
118
- e[e.DETECTED = 0] = "DETECTED", e[e.START = 1] = "START", e[e.CENTER = 2] = "CENTER", e[e.END = 3] = "END", e[e.SIDE_START = 4] = "SIDE_START", e[e.SIDE_END = 5] = "SIDE_END";
119
- })(x || (x = {}));
120
- var B;
121
- (function(e) {
122
- e[e.DETECTED = 0] = "DETECTED", e[e.ABOVE = 1] = "ABOVE", e[e.BELOW = 2] = "BELOW", e[e.SIDE = 3] = "SIDE";
123
- })(B || (B = {}));
124
- var q;
125
- (function(e) {
126
- e[e.BOUNDED = 0] = "BOUNDED", e[e.UNBOUNDED = 1] = "UNBOUNDED";
127
- })(q || (q = {}));
128
- var c = {
53
+ }, dt = {
54
+ HIDDEN: "MDCTooltip:hidden"
55
+ }, P;
56
+ (function(i) {
57
+ i[i.DETECTED = 0] = "DETECTED", i[i.START = 1] = "START", i[i.CENTER = 2] = "CENTER", i[i.END = 3] = "END";
58
+ })(P || (P = {}));
59
+ var F;
60
+ (function(i) {
61
+ i[i.DETECTED = 0] = "DETECTED", i[i.ABOVE = 1] = "ABOVE", i[i.BELOW = 2] = "BELOW";
62
+ })(F || (F = {}));
63
+ var j;
64
+ (function(i) {
65
+ i[i.BOUNDED = 0] = "BOUNDED", i[i.UNBOUNDED = 1] = "UNBOUNDED";
66
+ })(j || (j = {}));
67
+ var d = {
129
68
  LEFT: "left",
130
69
  RIGHT: "right",
131
70
  CENTER: "center",
132
71
  TOP: "top",
133
72
  BOTTOM: "bottom"
134
- }, p;
135
- (function(e) {
136
- e[e.DETECTED = 0] = "DETECTED", e[e.ABOVE_START = 1] = "ABOVE_START", e[e.ABOVE_CENTER = 2] = "ABOVE_CENTER", e[e.ABOVE_END = 3] = "ABOVE_END", e[e.TOP_SIDE_START = 4] = "TOP_SIDE_START", e[e.CENTER_SIDE_START = 5] = "CENTER_SIDE_START", e[e.BOTTOM_SIDE_START = 6] = "BOTTOM_SIDE_START", e[e.TOP_SIDE_END = 7] = "TOP_SIDE_END", e[e.CENTER_SIDE_END = 8] = "CENTER_SIDE_END", e[e.BOTTOM_SIDE_END = 9] = "BOTTOM_SIDE_END", e[e.BELOW_START = 10] = "BELOW_START", e[e.BELOW_CENTER = 11] = "BELOW_CENTER", e[e.BELOW_END = 12] = "BELOW_END";
137
- })(p || (p = {}));
138
- var O;
139
- (function(e) {
140
- e[e.ABOVE = 1] = "ABOVE", e[e.BELOW = 2] = "BELOW", e[e.SIDE_TOP = 3] = "SIDE_TOP", e[e.SIDE_CENTER = 4] = "SIDE_CENTER", e[e.SIDE_BOTTOM = 5] = "SIDE_BOTTOM";
141
- })(O || (O = {}));
142
- var f;
143
- (function(e) {
144
- e[e.START = 1] = "START", e[e.CENTER = 2] = "CENTER", e[e.END = 3] = "END", e[e.SIDE_START = 4] = "SIDE_START", e[e.SIDE_END = 5] = "SIDE_END";
145
- })(f || (f = {}));
73
+ }, h;
74
+ (function(i) {
75
+ i[i.DETECTED = 0] = "DETECTED", i[i.ABOVE_START = 1] = "ABOVE_START", i[i.ABOVE_CENTER = 2] = "ABOVE_CENTER", i[i.ABOVE_END = 3] = "ABOVE_END", i[i.TOP_SIDE_START = 4] = "TOP_SIDE_START", i[i.CENTER_SIDE_START = 5] = "CENTER_SIDE_START", i[i.BOTTOM_SIDE_START = 6] = "BOTTOM_SIDE_START", i[i.TOP_SIDE_END = 7] = "TOP_SIDE_END", i[i.CENTER_SIDE_END = 8] = "CENTER_SIDE_END", i[i.BOTTOM_SIDE_END = 9] = "BOTTOM_SIDE_END", i[i.BELOW_START = 10] = "BELOW_START", i[i.BELOW_CENTER = 11] = "BELOW_CENTER", i[i.BELOW_END = 12] = "BELOW_END";
76
+ })(h || (h = {}));
77
+ var _;
78
+ (function(i) {
79
+ i[i.ABOVE = 1] = "ABOVE", i[i.BELOW = 2] = "BELOW", i[i.SIDE_TOP = 3] = "SIDE_TOP", i[i.SIDE_CENTER = 4] = "SIDE_CENTER", i[i.SIDE_BOTTOM = 5] = "SIDE_BOTTOM";
80
+ })(_ || (_ = {}));
81
+ var T;
82
+ (function(i) {
83
+ i[i.START = 1] = "START", i[i.CENTER = 2] = "CENTER", i[i.END = 3] = "END", i[i.SIDE_START = 4] = "SIDE_START", i[i.SIDE_END = 5] = "SIDE_END";
84
+ })(T || (T = {}));
146
85
  /**
147
86
  * @license
148
87
  * Copyright 2020 Google Inc.
@@ -165,33 +104,33 @@ var f;
165
104
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
166
105
  * THE SOFTWARE.
167
106
  */
168
- var pt = (
107
+ var ct = (
169
108
  /** @class */
170
109
  function() {
171
- function e() {
110
+ function i() {
172
111
  this.rafIDs = /* @__PURE__ */ new Map();
173
112
  }
174
- return e.prototype.request = function(o, t) {
113
+ return i.prototype.request = function(o, t) {
175
114
  var r = this;
176
115
  this.cancel(o);
177
- var i = requestAnimationFrame(function(n) {
116
+ var e = requestAnimationFrame(function(n) {
178
117
  r.rafIDs.delete(o), t(n);
179
118
  });
180
- this.rafIDs.set(o, i);
181
- }, e.prototype.cancel = function(o) {
119
+ this.rafIDs.set(o, e);
120
+ }, i.prototype.cancel = function(o) {
182
121
  var t = this.rafIDs.get(o);
183
122
  t && (cancelAnimationFrame(t), this.rafIDs.delete(o));
184
- }, e.prototype.cancelAll = function() {
123
+ }, i.prototype.cancelAll = function() {
185
124
  var o = this;
186
125
  this.rafIDs.forEach(function(t, r) {
187
126
  o.cancel(r);
188
127
  });
189
- }, e.prototype.getQueue = function() {
128
+ }, i.prototype.getQueue = function() {
190
129
  var o = [];
191
130
  return this.rafIDs.forEach(function(t, r) {
192
131
  o.push(r);
193
132
  }), o;
194
- }, e;
133
+ }, i;
195
134
  }()
196
135
  );
197
136
  /**
@@ -216,7 +155,7 @@ var pt = (
216
155
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
217
156
  * THE SOFTWARE.
218
157
  */
219
- var et = {
158
+ var Z = {
220
159
  animation: {
221
160
  prefixed: "-webkit-animation",
222
161
  standard: "animation"
@@ -230,13 +169,13 @@ var et = {
230
169
  standard: "transition"
231
170
  }
232
171
  };
233
- function ut(e) {
234
- return !!e.document && typeof e.document.createElement == "function";
172
+ function ht(i) {
173
+ return Boolean(i.document) && typeof i.document.createElement == "function";
235
174
  }
236
- function it(e, o) {
237
- if (ut(e) && o in et) {
238
- var t = e.document.createElement("div"), r = et[o], i = r.standard, n = r.prefixed, a = i in t.style;
239
- return a ? i : n;
175
+ function X(i, o) {
176
+ if (ht(i) && o in Z) {
177
+ var t = i.document.createElement("div"), r = Z[o], e = r.standard, n = r.prefixed, a = e in t.style;
178
+ return a ? e : n;
240
179
  }
241
180
  return o;
242
181
  }
@@ -262,7 +201,7 @@ function it(e, o) {
262
201
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
263
202
  * THE SOFTWARE.
264
203
  */
265
- var u = {
204
+ var p = {
266
205
  UNKNOWN: "Unknown",
267
206
  BACKSPACE: "Backspace",
268
207
  ENTER: "Enter",
@@ -279,21 +218,21 @@ var u = {
279
218
  ESCAPE: "Escape",
280
219
  TAB: "Tab"
281
220
  }, D = /* @__PURE__ */ new Set();
282
- D.add(u.BACKSPACE);
283
- D.add(u.ENTER);
284
- D.add(u.SPACEBAR);
285
- D.add(u.PAGE_UP);
286
- D.add(u.PAGE_DOWN);
287
- D.add(u.END);
288
- D.add(u.HOME);
289
- D.add(u.ARROW_LEFT);
290
- D.add(u.ARROW_UP);
291
- D.add(u.ARROW_RIGHT);
292
- D.add(u.ARROW_DOWN);
293
- D.add(u.DELETE);
294
- D.add(u.ESCAPE);
295
- D.add(u.TAB);
296
- var S = {
221
+ D.add(p.BACKSPACE);
222
+ D.add(p.ENTER);
223
+ D.add(p.SPACEBAR);
224
+ D.add(p.PAGE_UP);
225
+ D.add(p.PAGE_DOWN);
226
+ D.add(p.END);
227
+ D.add(p.HOME);
228
+ D.add(p.ARROW_LEFT);
229
+ D.add(p.ARROW_UP);
230
+ D.add(p.ARROW_RIGHT);
231
+ D.add(p.ARROW_DOWN);
232
+ D.add(p.DELETE);
233
+ D.add(p.ESCAPE);
234
+ D.add(p.TAB);
235
+ var R = {
297
236
  BACKSPACE: 8,
298
237
  ENTER: 13,
299
238
  SPACEBAR: 32,
@@ -309,35 +248,35 @@ var S = {
309
248
  ESCAPE: 27,
310
249
  TAB: 9
311
250
  }, w = /* @__PURE__ */ new Map();
312
- w.set(S.BACKSPACE, u.BACKSPACE);
313
- w.set(S.ENTER, u.ENTER);
314
- w.set(S.SPACEBAR, u.SPACEBAR);
315
- w.set(S.PAGE_UP, u.PAGE_UP);
316
- w.set(S.PAGE_DOWN, u.PAGE_DOWN);
317
- w.set(S.END, u.END);
318
- w.set(S.HOME, u.HOME);
319
- w.set(S.ARROW_LEFT, u.ARROW_LEFT);
320
- w.set(S.ARROW_UP, u.ARROW_UP);
321
- w.set(S.ARROW_RIGHT, u.ARROW_RIGHT);
322
- w.set(S.ARROW_DOWN, u.ARROW_DOWN);
323
- w.set(S.DELETE, u.DELETE);
324
- w.set(S.ESCAPE, u.ESCAPE);
325
- w.set(S.TAB, u.TAB);
326
- var P = /* @__PURE__ */ new Set();
327
- P.add(u.PAGE_UP);
328
- P.add(u.PAGE_DOWN);
329
- P.add(u.END);
330
- P.add(u.HOME);
331
- P.add(u.ARROW_LEFT);
332
- P.add(u.ARROW_UP);
333
- P.add(u.ARROW_RIGHT);
334
- P.add(u.ARROW_DOWN);
335
- function ft(e) {
336
- var o = e.key;
251
+ w.set(R.BACKSPACE, p.BACKSPACE);
252
+ w.set(R.ENTER, p.ENTER);
253
+ w.set(R.SPACEBAR, p.SPACEBAR);
254
+ w.set(R.PAGE_UP, p.PAGE_UP);
255
+ w.set(R.PAGE_DOWN, p.PAGE_DOWN);
256
+ w.set(R.END, p.END);
257
+ w.set(R.HOME, p.HOME);
258
+ w.set(R.ARROW_LEFT, p.ARROW_LEFT);
259
+ w.set(R.ARROW_UP, p.ARROW_UP);
260
+ w.set(R.ARROW_RIGHT, p.ARROW_RIGHT);
261
+ w.set(R.ARROW_DOWN, p.ARROW_DOWN);
262
+ w.set(R.DELETE, p.DELETE);
263
+ w.set(R.ESCAPE, p.ESCAPE);
264
+ w.set(R.TAB, p.TAB);
265
+ var I = /* @__PURE__ */ new Set();
266
+ I.add(p.PAGE_UP);
267
+ I.add(p.PAGE_DOWN);
268
+ I.add(p.END);
269
+ I.add(p.HOME);
270
+ I.add(p.ARROW_LEFT);
271
+ I.add(p.ARROW_UP);
272
+ I.add(p.ARROW_RIGHT);
273
+ I.add(p.ARROW_DOWN);
274
+ function pt(i) {
275
+ var o = i.key;
337
276
  if (D.has(o))
338
277
  return o;
339
- var t = w.get(e.keyCode);
340
- return t || u.UNKNOWN;
278
+ var t = w.get(i.keyCode);
279
+ return t || p.UNKNOWN;
341
280
  }
342
281
  /**
343
282
  * @license
@@ -361,28 +300,28 @@ function ft(e) {
361
300
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
362
301
  * THE SOFTWARE.
363
302
  */
364
- var mt = H.RICH, $ = H.SHOWN, j = H.SHOWING, z = H.SHOWING_TRANSITION, k = H.HIDE, K = H.HIDE_TRANSITION, Tt = H.MULTILINE_TOOLTIP, Q;
365
- (function(e) {
366
- e.POLL_ANCHOR = "poll_anchor";
303
+ var ut = x.RICH, $ = x.SHOWN, q = x.SHOWING, U = x.SHOWING_TRANSITION, V = x.HIDE, z = x.HIDE_TRANSITION, Tt = x.MULTILINE_TOOLTIP, Q;
304
+ (function(i) {
305
+ i.POLL_ANCHOR = "poll_anchor";
367
306
  })(Q || (Q = {}));
368
- var rt = typeof window < "u", Et = (
307
+ var tt = typeof window < "u", mt = (
369
308
  /** @class */
370
- function(e) {
371
- ct(o, e);
309
+ function(i) {
310
+ st(o, i);
372
311
  function o(t) {
373
- var r = e.call(this, J(J({}, o.defaultAdapter), t)) || this;
374
- return r.tooltipShown = !1, r.anchorGap = _.BOUNDED_ANCHOR_GAP, r.xTooltipPos = x.DETECTED, r.yTooltipPos = B.DETECTED, r.tooltipPositionWithCaret = p.DETECTED, r.minViewportTooltipThreshold = _.MIN_VIEWPORT_TOOLTIP_THRESHOLD, r.hideDelayMs = _.HIDE_DELAY_MS, r.showDelayMs = _.SHOW_DELAY_MS, r.anchorRect = null, r.parentRect = null, r.frameId = null, r.hideTimeout = null, r.showTimeout = null, r.addAncestorScrollEventListeners = new Array(), r.removeAncestorScrollEventListeners = new Array(), r.animFrame = new pt(), r.anchorBlurHandler = function(i) {
375
- r.handleAnchorBlur(i);
376
- }, r.documentClickHandler = function(i) {
377
- r.handleDocumentClick(i);
378
- }, r.documentKeydownHandler = function(i) {
379
- r.handleKeydown(i);
312
+ var r = i.call(this, J(J({}, o.defaultAdapter), t)) || this;
313
+ return r.tooltipShown = !1, r.anchorGap = O.BOUNDED_ANCHOR_GAP, r.xTooltipPos = P.DETECTED, r.yTooltipPos = F.DETECTED, r.tooltipPositionWithCaret = h.DETECTED, r.minViewportTooltipThreshold = O.MIN_VIEWPORT_TOOLTIP_THRESHOLD, r.hideDelayMs = O.HIDE_DELAY_MS, r.showDelayMs = O.SHOW_DELAY_MS, r.anchorRect = null, r.parentRect = null, r.frameId = null, r.hideTimeout = null, r.showTimeout = null, r.addAncestorScrollEventListeners = new Array(), r.removeAncestorScrollEventListeners = new Array(), r.animFrame = new ct(), r.anchorBlurHandler = function(e) {
314
+ r.handleAnchorBlur(e);
315
+ }, r.documentClickHandler = function(e) {
316
+ r.handleDocumentClick(e);
317
+ }, r.documentKeydownHandler = function(e) {
318
+ r.handleKeydown(e);
380
319
  }, r.tooltipMouseEnterHandler = function() {
381
320
  r.handleTooltipMouseEnter();
382
321
  }, r.tooltipMouseLeaveHandler = function() {
383
322
  r.handleTooltipMouseLeave();
384
- }, r.richTooltipFocusOutHandler = function(i) {
385
- r.handleRichTooltipFocusOut(i);
323
+ }, r.richTooltipFocusOutHandler = function(e) {
324
+ r.handleRichTooltipFocusOut(e);
386
325
  }, r.windowScrollHandler = function() {
387
326
  r.handleWindowScrollEvent();
388
327
  }, r.windowResizeHandler = function() {
@@ -463,8 +402,6 @@ var rt = typeof window < "u", Et = (
463
402
  },
464
403
  notifyHidden: function() {
465
404
  },
466
- notifyShown: function() {
467
- },
468
405
  getTooltipCaretBoundingRect: function() {
469
406
  return { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 };
470
407
  },
@@ -474,16 +411,13 @@ var rt = typeof window < "u", Et = (
474
411
  },
475
412
  getActiveElement: function() {
476
413
  return null;
477
- },
478
- isInstanceOfElement: function() {
479
- return !1;
480
414
  }
481
415
  };
482
416
  },
483
417
  enumerable: !1,
484
418
  configurable: !0
485
419
  }), o.prototype.init = function() {
486
- this.richTooltip = this.adapter.hasClass(mt), this.persistentTooltip = this.adapter.getAttribute(U.PERSISTENT) === "true", this.interactiveTooltip = !!this.adapter.getAnchorAttribute(U.ARIA_EXPANDED) && this.adapter.getAnchorAttribute(U.ARIA_HASPOPUP) === "dialog", this.hasCaret = this.richTooltip && this.adapter.getAttribute(U.HAS_CARET) === "true";
420
+ this.richTooltip = this.adapter.hasClass(ut), this.persistentTooltip = this.adapter.getAttribute(G.PERSISTENT) === "true", this.interactiveTooltip = !!this.adapter.getAnchorAttribute(G.ARIA_EXPANDED) && this.adapter.getAnchorAttribute(G.ARIA_HASPOPUP) === "dialog", this.hasCaret = this.richTooltip && this.adapter.getAttribute(G.HAS_CARET) === "true";
487
421
  }, o.prototype.isShown = function() {
488
422
  return this.tooltipShown;
489
423
  }, o.prototype.isRich = function() {
@@ -502,15 +436,11 @@ var rt = typeof window < "u", Et = (
502
436
  }, this.showDelayMs), this.adapter.registerWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
503
437
  }, o.prototype.preventContextMenuOnLongTouch = function(t) {
504
438
  t.preventDefault();
505
- }, o.prototype.tooltipContainsRelatedTargetElement = function(t) {
506
- return this.adapter.isInstanceOfElement(t) && this.adapter.tooltipContainsElement(t);
507
- }, o.prototype.anchorOrTooltipContainsTargetElement = function(t) {
508
- return this.adapter.isInstanceOfElement(t) && (this.adapter.tooltipContainsElement(t) || this.adapter.anchorContainsElement(t));
509
439
  }, o.prototype.handleAnchorTouchend = function() {
510
440
  this.clearShowTimeout(), this.isShown() || this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
511
441
  }, o.prototype.handleAnchorFocus = function(t) {
512
- var r = this;
513
- this.tooltipContainsRelatedTargetElement(t.relatedTarget) || (this.showTimeout = setTimeout(function() {
442
+ var r = this, e = t.relatedTarget, n = e instanceof HTMLElement && this.adapter.tooltipContainsElement(e);
443
+ n || (this.showTimeout = setTimeout(function() {
514
444
  r.show();
515
445
  }, this.showDelayMs));
516
446
  }, o.prototype.handleAnchorMouseLeave = function() {
@@ -521,16 +451,21 @@ var rt = typeof window < "u", Et = (
521
451
  }, o.prototype.handleAnchorClick = function() {
522
452
  this.tooltipShown ? this.hide() : this.show();
523
453
  }, o.prototype.handleDocumentClick = function(t) {
524
- this.richTooltip && this.persistentTooltip && this.anchorOrTooltipContainsTargetElement(t.target) || this.hide();
454
+ var r = t.target instanceof HTMLElement && (this.adapter.anchorContainsElement(t.target) || this.adapter.tooltipContainsElement(t.target));
455
+ this.richTooltip && this.persistentTooltip && r || this.hide();
525
456
  }, o.prototype.handleKeydown = function(t) {
526
- var r = ft(t);
527
- if (r === u.ESCAPE) {
528
- var i = this.adapter.getActiveElement(), n = !1;
529
- return this.adapter.isInstanceOfElement(i) && (n = this.adapter.tooltipContainsElement(i)), n && this.adapter.focusAnchorElement(), this.hide(), t.stopPropagation(), !1;
457
+ var r = pt(t);
458
+ if (r === p.ESCAPE) {
459
+ var e = this.adapter.getActiveElement(), n = e instanceof HTMLElement && this.adapter.tooltipContainsElement(e);
460
+ n && this.adapter.focusAnchorElement(), this.hide();
530
461
  }
531
- return !0;
532
462
  }, o.prototype.handleAnchorBlur = function(t) {
533
- this.richTooltip && (t.relatedTarget === null || this.tooltipContainsRelatedTargetElement(t.relatedTarget)) || this.hide();
463
+ if (this.richTooltip) {
464
+ var r = t.relatedTarget instanceof HTMLElement && this.adapter.tooltipContainsElement(t.relatedTarget);
465
+ if (r || t.relatedTarget === null && this.interactiveTooltip)
466
+ return;
467
+ }
468
+ this.hide();
534
469
  }, o.prototype.handleTooltipMouseEnter = function() {
535
470
  this.show();
536
471
  }, o.prototype.handleTooltipMouseLeave = function() {
@@ -539,25 +474,30 @@ var rt = typeof window < "u", Et = (
539
474
  t.hide();
540
475
  }, this.hideDelayMs);
541
476
  }, o.prototype.handleRichTooltipFocusOut = function(t) {
542
- this.anchorOrTooltipContainsTargetElement(t.relatedTarget) || t.relatedTarget === null && this.interactiveTooltip || this.hide();
477
+ var r = t.relatedTarget instanceof HTMLElement && (this.adapter.anchorContainsElement(t.relatedTarget) || this.adapter.tooltipContainsElement(t.relatedTarget));
478
+ r || t.relatedTarget === null && this.interactiveTooltip || this.hide();
543
479
  }, o.prototype.handleWindowScrollEvent = function() {
544
- this.persistentTooltip || this.hide();
480
+ if (this.persistentTooltip) {
481
+ this.handleWindowChangeEvent();
482
+ return;
483
+ }
484
+ this.hide();
545
485
  }, o.prototype.handleWindowChangeEvent = function() {
546
486
  var t = this;
547
487
  this.animFrame.request(Q.POLL_ANCHOR, function() {
548
488
  t.repositionTooltipOnAnchorMove();
549
489
  });
550
490
  }, o.prototype.show = function() {
551
- var t, r, i = this;
491
+ var t, r, e = this;
552
492
  if (this.clearHideTimeout(), this.clearShowTimeout(), !this.tooltipShown) {
553
- this.tooltipShown = !0, this.adapter.removeAttribute("aria-hidden"), this.richTooltip && (this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "true"), this.adapter.registerEventHandler("focusout", this.richTooltipFocusOutHandler)), this.persistentTooltip || (this.adapter.registerEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.registerEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.removeClass(k), this.adapter.addClass(j), this.isTooltipMultiline() && !this.richTooltip && this.adapter.addClass(Tt), this.anchorRect = this.adapter.getAnchorBoundingRect(), this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip(), this.adapter.registerAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.registerDocumentEventHandler("click", this.documentClickHandler), this.adapter.registerDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.registerWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler);
493
+ this.tooltipShown = !0, this.adapter.removeAttribute("aria-hidden"), this.richTooltip && (this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "true"), this.adapter.registerEventHandler("focusout", this.richTooltipFocusOutHandler)), this.persistentTooltip || (this.adapter.registerEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.registerEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.removeClass(V), this.adapter.addClass(q), this.isTooltipMultiline() && !this.richTooltip && this.adapter.addClass(Tt), this.anchorRect = this.adapter.getAnchorBoundingRect(), this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip(), this.adapter.registerAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.registerDocumentEventHandler("click", this.documentClickHandler), this.adapter.registerDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.registerWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler);
554
494
  try {
555
- for (var n = I(this.addAncestorScrollEventListeners), a = n.next(); !a.done; a = n.next()) {
556
- var d = a.value;
557
- d();
495
+ for (var n = H(this.addAncestorScrollEventListeners), a = n.next(); !a.done; a = n.next()) {
496
+ var c = a.value;
497
+ c();
558
498
  }
559
- } catch (h) {
560
- t = { error: h };
499
+ } catch (u) {
500
+ t = { error: u };
561
501
  } finally {
562
502
  try {
563
503
  a && !a.done && (r = n.return) && r.call(n);
@@ -567,23 +507,23 @@ var rt = typeof window < "u", Et = (
567
507
  }
568
508
  }
569
509
  this.frameId = requestAnimationFrame(function() {
570
- i.clearAllAnimationClasses(), i.adapter.addClass($), i.adapter.addClass(z);
510
+ e.clearAllAnimationClasses(), e.adapter.addClass($), e.adapter.addClass(U);
571
511
  });
572
512
  }
573
513
  }, o.prototype.hide = function() {
574
514
  var t, r;
575
515
  if (this.clearHideTimeout(), this.clearShowTimeout(), !!this.tooltipShown) {
576
- this.frameId && cancelAnimationFrame(this.frameId), this.tooltipShown = !1, this.adapter.setAttribute("aria-hidden", "true"), this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.richTooltip && this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "false"), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.clearAllAnimationClasses(), this.adapter.addClass(k), this.adapter.addClass(K), this.adapter.removeClass($), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
516
+ this.frameId && cancelAnimationFrame(this.frameId), this.tooltipShown = !1, this.adapter.setAttribute("aria-hidden", "true"), this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.richTooltip && this.interactiveTooltip && this.adapter.setAnchorAttribute("aria-expanded", "false"), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.clearAllAnimationClasses(), this.adapter.addClass(V), this.adapter.addClass(z), this.adapter.removeClass($), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
577
517
  try {
578
- for (var i = I(this.removeAncestorScrollEventListeners), n = i.next(); !n.done; n = i.next()) {
518
+ for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
579
519
  var a = n.value;
580
520
  a();
581
521
  }
582
- } catch (d) {
583
- t = { error: d };
522
+ } catch (c) {
523
+ t = { error: c };
584
524
  } finally {
585
525
  try {
586
- n && !n.done && (r = i.return) && r.call(i);
526
+ n && !n.done && (r = e.return) && r.call(e);
587
527
  } finally {
588
528
  if (t)
589
529
  throw t.error;
@@ -591,233 +531,200 @@ var rt = typeof window < "u", Et = (
591
531
  }
592
532
  }
593
533
  }, o.prototype.handleTransitionEnd = function() {
594
- var t = this.adapter.hasClass(k);
595
- this.adapter.removeClass(j), this.adapter.removeClass(z), this.adapter.removeClass(k), this.adapter.removeClass(K), t && this.showTimeout === null ? this.adapter.notifyHidden() : t || this.adapter.notifyShown();
534
+ var t = this.adapter.hasClass(V);
535
+ this.adapter.removeClass(q), this.adapter.removeClass(U), this.adapter.removeClass(V), this.adapter.removeClass(z), t && this.showTimeout === null && this.adapter.notifyHidden();
596
536
  }, o.prototype.clearAllAnimationClasses = function() {
597
- this.adapter.removeClass(z), this.adapter.removeClass(K);
537
+ this.adapter.removeClass(U), this.adapter.removeClass(z);
598
538
  }, o.prototype.setTooltipPosition = function(t) {
599
- var r = t.xPos, i = t.yPos, n = t.withCaretPos;
539
+ var r = t.xPos, e = t.yPos, n = t.withCaretPos;
600
540
  if (this.hasCaret && n) {
601
541
  this.tooltipPositionWithCaret = n;
602
542
  return;
603
543
  }
604
- r && (this.xTooltipPos = r), i && (this.yTooltipPos = i);
544
+ r && (this.xTooltipPos = r), e && (this.yTooltipPos = e);
605
545
  }, o.prototype.setAnchorBoundaryType = function(t) {
606
- t === q.UNBOUNDED ? this.anchorGap = _.UNBOUNDED_ANCHOR_GAP : this.anchorGap = _.BOUNDED_ANCHOR_GAP;
546
+ t === j.UNBOUNDED ? this.anchorGap = O.UNBOUNDED_ANCHOR_GAP : this.anchorGap = O.BOUNDED_ANCHOR_GAP;
607
547
  }, o.prototype.setShowDelay = function(t) {
608
548
  this.showDelayMs = t;
609
549
  }, o.prototype.setHideDelay = function(t) {
610
550
  this.hideDelayMs = t;
611
551
  }, o.prototype.isTooltipMultiline = function() {
612
552
  var t = this.adapter.getTooltipSize();
613
- return t.height > _.MIN_HEIGHT && t.width >= _.MAX_WIDTH;
553
+ return t.height > O.MIN_HEIGHT && t.width >= O.MAX_WIDTH;
614
554
  }, o.prototype.positionPlainTooltip = function() {
615
- var t = this.calculateTooltipStyles(this.anchorRect), r = t.top, i = t.yTransformOrigin, n = t.left, a = t.xTransformOrigin, d = rt ? it(window, "transform") : "transform";
616
- this.adapter.setSurfaceAnimationStyleProperty(d + "-origin", a + " " + i), this.adapter.setStyleProperty("top", r + "px"), this.adapter.setStyleProperty("left", n + "px");
555
+ var t = this.calculateTooltipStyles(this.anchorRect), r = t.top, e = t.yTransformOrigin, n = t.left, a = t.xTransformOrigin, c = tt ? X(window, "transform") : "transform";
556
+ this.adapter.setSurfaceAnimationStyleProperty(c + "-origin", a + " " + e), this.adapter.setStyleProperty("top", r + "px"), this.adapter.setStyleProperty("left", n + "px");
617
557
  }, o.prototype.positionRichTooltip = function() {
618
- var t, r, i, n;
619
- this.adapter.setStyleProperty("width", ""), this.adapter.setStyleProperty("left", "-" + _.RICH_MAX_WIDTH + "px");
620
- var a = Number(this.adapter.getComputedStyleProperty("width").slice(0, -2)), d = isFinite(a) ? a : _.RICH_MAX_WIDTH, h = Math.max(this.adapter.getViewportWidth() - 2 * _.MIN_VIEWPORT_TOOLTIP_THRESHOLD, _.MIN_WIDTH), s = Math.min(h, d);
621
- this.adapter.setStyleProperty("width", s + "px");
622
- var l = this.hasCaret ? this.calculateTooltipWithCaretStyles(this.anchorRect) : this.calculateTooltipStyles(this.anchorRect), T = l.top, A = l.yTransformOrigin, g = l.left, E = l.xTransformOrigin, v = rt ? it(window, "transform") : "transform";
623
- this.adapter.setSurfaceAnimationStyleProperty(v + "-origin", E + " " + A);
624
- var y = g - ((r = (t = this.parentRect) === null || t === void 0 ? void 0 : t.left) !== null && r !== void 0 ? r : 0), m = T - ((n = (i = this.parentRect) === null || i === void 0 ? void 0 : i.top) !== null && n !== void 0 ? n : 0);
625
- this.adapter.setStyleProperty("top", m + "px"), this.adapter.setStyleProperty("left", y + "px");
558
+ var t, r, e, n, a = this.adapter.getComputedStyleProperty("width");
559
+ this.adapter.setStyleProperty("width", a);
560
+ var c = this.hasCaret ? this.calculateTooltipWithCaretStyles(this.anchorRect) : this.calculateTooltipStyles(this.anchorRect), u = c.top, s = c.yTransformOrigin, l = c.left, g = c.xTransformOrigin, A = tt ? X(window, "transform") : "transform";
561
+ this.adapter.setSurfaceAnimationStyleProperty(A + "-origin", g + " " + s);
562
+ var E = l - ((r = (t = this.parentRect) === null || t === void 0 ? void 0 : t.left) !== null && r !== void 0 ? r : 0), f = u - ((n = (e = this.parentRect) === null || e === void 0 ? void 0 : e.top) !== null && n !== void 0 ? n : 0);
563
+ this.adapter.setStyleProperty("top", f + "px"), this.adapter.setStyleProperty("left", E + "px");
626
564
  }, o.prototype.calculateTooltipStyles = function(t) {
627
565
  if (!t)
628
566
  return { top: 0, left: 0 };
629
- var r = this.adapter.getTooltipSize(), i = this.calculateYTooltipDistance(t, r.height), n = this.calculateXTooltipDistance(t, r.width);
567
+ var r = this.adapter.getTooltipSize(), e = this.calculateYTooltipDistance(t, r.height), n = this.calculateXTooltipDistance(t, r.width);
630
568
  return {
631
- top: i.distance,
632
- yTransformOrigin: i.yTransformOrigin,
569
+ top: e.distance,
570
+ yTransformOrigin: e.yTransformOrigin,
633
571
  left: n.distance,
634
572
  xTransformOrigin: n.xTransformOrigin
635
573
  };
636
574
  }, o.prototype.calculateXTooltipDistance = function(t, r) {
637
- var i = !this.adapter.isRTL(), n, a, d, h, s, l, T;
638
- if (this.richTooltip)
639
- n = i ? t.left - r : t.right, a = i ? t.right : t.left - r, l = i ? c.RIGHT : c.LEFT, T = i ? c.LEFT : c.RIGHT;
640
- else {
641
- n = i ? t.left : t.right - r, a = i ? t.right - r : t.left, d = t.left + (t.width - r) / 2;
642
- var A = t.left - (r + this.anchorGap), g = t.right + this.anchorGap;
643
- h = i ? A : g, s = i ? g : A, l = i ? c.LEFT : c.RIGHT, T = i ? c.RIGHT : c.LEFT;
644
- }
645
- var E = [n, d, a];
646
- this.xTooltipPos === x.SIDE_START ? E.push(h) : this.xTooltipPos === x.SIDE_END && E.push(s);
647
- var v = this.richTooltip ? this.determineValidPositionOptions(n, a) : this.determineValidPositionOptions.apply(this, Z([], X(E)));
648
- if (this.xTooltipPos === x.START && v.has(n))
649
- return { distance: n, xTransformOrigin: l };
650
- if (this.xTooltipPos === x.END && v.has(a))
651
- return { distance: a, xTransformOrigin: T };
652
- if (this.xTooltipPos === x.CENTER && v.has(d))
653
- return { distance: d, xTransformOrigin: c.CENTER };
654
- if (this.xTooltipPos === x.SIDE_START && v.has(h))
655
- return { distance: h, xTransformOrigin: T };
656
- if (this.xTooltipPos === x.SIDE_END && v.has(s))
657
- return { distance: s, xTransformOrigin: l };
658
- var y = this.richTooltip ? [
659
- { distance: a, xTransformOrigin: T },
660
- { distance: n, xTransformOrigin: l }
575
+ var e = !this.adapter.isRTL(), n, a, c, u, s;
576
+ this.richTooltip ? (n = e ? t.left - r : t.right, a = e ? t.right : t.left - r, u = e ? d.RIGHT : d.LEFT, s = e ? d.LEFT : d.RIGHT) : (n = e ? t.left : t.right - r, a = e ? t.right - r : t.left, c = t.left + (t.width - r) / 2, u = e ? d.LEFT : d.RIGHT, s = e ? d.RIGHT : d.LEFT);
577
+ var l = this.richTooltip ? this.determineValidPositionOptions(n, a) : (
578
+ // For plain tooltips, centerPos is defined
579
+ this.determineValidPositionOptions(c, n, a)
580
+ );
581
+ if (this.xTooltipPos === P.START && l.has(n))
582
+ return { distance: n, xTransformOrigin: u };
583
+ if (this.xTooltipPos === P.END && l.has(a))
584
+ return { distance: a, xTransformOrigin: s };
585
+ if (this.xTooltipPos === P.CENTER && l.has(c))
586
+ return { distance: c, xTransformOrigin: d.CENTER };
587
+ var g = this.richTooltip ? [
588
+ { distance: a, xTransformOrigin: s },
589
+ { distance: n, xTransformOrigin: u }
661
590
  ] : [
662
- { distance: d, xTransformOrigin: c.CENTER },
663
- { distance: n, xTransformOrigin: l },
664
- { distance: a, xTransformOrigin: T }
665
- ], m = y.find(function(L) {
666
- var W = L.distance;
667
- return v.has(W);
591
+ { distance: c, xTransformOrigin: d.CENTER },
592
+ { distance: n, xTransformOrigin: u },
593
+ { distance: a, xTransformOrigin: s }
594
+ ], A = g.find(function(v) {
595
+ var y = v.distance;
596
+ return l.has(y);
668
597
  });
669
- if (m)
670
- return m;
598
+ if (A)
599
+ return A;
671
600
  if (t.left < 0)
672
601
  return {
673
602
  distance: this.minViewportTooltipThreshold,
674
- xTransformOrigin: c.LEFT
603
+ xTransformOrigin: d.LEFT
675
604
  };
676
- var N = this.adapter.getViewportWidth(), b = N - (r + this.minViewportTooltipThreshold);
677
- return { distance: b, xTransformOrigin: c.RIGHT };
605
+ var E = this.adapter.getViewportWidth(), f = E - (r + this.minViewportTooltipThreshold);
606
+ return { distance: f, xTransformOrigin: d.RIGHT };
678
607
  }, o.prototype.determineValidPositionOptions = function() {
679
- for (var t, r, i = [], n = 0; n < arguments.length; n++)
680
- i[n] = arguments[n];
681
- var a = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
608
+ for (var t, r, e = [], n = 0; n < arguments.length; n++)
609
+ e[n] = arguments[n];
610
+ var a = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
682
611
  try {
683
- for (var h = I(i), s = h.next(); !s.done; s = h.next()) {
612
+ for (var u = H(e), s = u.next(); !s.done; s = u.next()) {
684
613
  var l = s.value;
685
- this.positionHonorsViewportThreshold(l) ? a.add(l) : this.positionDoesntCollideWithViewport(l) && d.add(l);
614
+ this.positionHonorsViewportThreshold(l) ? a.add(l) : this.positionDoesntCollideWithViewport(l) && c.add(l);
686
615
  }
687
- } catch (T) {
688
- t = { error: T };
616
+ } catch (g) {
617
+ t = { error: g };
689
618
  } finally {
690
619
  try {
691
- s && !s.done && (r = h.return) && r.call(h);
620
+ s && !s.done && (r = u.return) && r.call(u);
692
621
  } finally {
693
622
  if (t)
694
623
  throw t.error;
695
624
  }
696
625
  }
697
- return a.size ? a : d;
626
+ return a.size ? a : c;
698
627
  }, o.prototype.positionHonorsViewportThreshold = function(t) {
699
- var r = this.adapter.getViewportWidth(), i = this.adapter.getTooltipSize().width;
700
- return t + i <= r - this.minViewportTooltipThreshold && t >= this.minViewportTooltipThreshold;
628
+ var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
629
+ return t + e <= r - this.minViewportTooltipThreshold && t >= this.minViewportTooltipThreshold;
701
630
  }, o.prototype.positionDoesntCollideWithViewport = function(t) {
702
- var r = this.adapter.getViewportWidth(), i = this.adapter.getTooltipSize().width;
703
- return t + i <= r && t >= 0;
631
+ var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
632
+ return t + e <= r && t >= 0;
704
633
  }, o.prototype.calculateYTooltipDistance = function(t, r) {
705
- var i = t.bottom + this.anchorGap, n = t.top - (this.anchorGap + r), a = t.top + t.height / 2, d = a - r / 2, h = [n, i];
706
- this.yTooltipPos === B.SIDE && h.push(d);
707
- var s = this.determineValidYPositionOptions.apply(this, Z([], X(h)));
708
- return this.yTooltipPos === B.ABOVE && s.has(n) ? { distance: n, yTransformOrigin: c.BOTTOM } : this.yTooltipPos === B.BELOW && s.has(i) ? { distance: i, yTransformOrigin: c.TOP } : this.yTooltipPos === B.SIDE && s.has(d) ? { distance: d, yTransformOrigin: c.CENTER } : s.has(i) ? { distance: i, yTransformOrigin: c.TOP } : s.has(n) ? { distance: n, yTransformOrigin: c.BOTTOM } : { distance: i, yTransformOrigin: c.TOP };
709
- }, o.prototype.determineValidYPositionOptions = function() {
710
- for (var t, r, i = [], n = 0; n < arguments.length; n++)
711
- i[n] = arguments[n];
712
- var a = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set();
713
- try {
714
- for (var h = I(i), s = h.next(); !s.done; s = h.next()) {
715
- var l = s.value;
716
- this.yPositionHonorsViewportThreshold(l) ? a.add(l) : this.yPositionDoesntCollideWithViewport(l) && d.add(l);
717
- }
718
- } catch (T) {
719
- t = { error: T };
720
- } finally {
721
- try {
722
- s && !s.done && (r = h.return) && r.call(h);
723
- } finally {
724
- if (t)
725
- throw t.error;
726
- }
727
- }
728
- return a.size ? a : d;
634
+ var e = t.bottom + this.anchorGap, n = t.top - (this.anchorGap + r), a = this.determineValidYPositionOptions(n, e);
635
+ return this.yTooltipPos === F.ABOVE && a.has(n) ? { distance: n, yTransformOrigin: d.BOTTOM } : this.yTooltipPos === F.BELOW && a.has(e) ? { distance: e, yTransformOrigin: d.TOP } : a.has(e) ? { distance: e, yTransformOrigin: d.TOP } : a.has(n) ? { distance: n, yTransformOrigin: d.BOTTOM } : { distance: e, yTransformOrigin: d.TOP };
636
+ }, o.prototype.determineValidYPositionOptions = function(t, r) {
637
+ var e = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
638
+ return this.yPositionHonorsViewportThreshold(t) ? e.add(t) : this.yPositionDoesntCollideWithViewport(t) && n.add(t), this.yPositionHonorsViewportThreshold(r) ? e.add(r) : this.yPositionDoesntCollideWithViewport(r) && n.add(r), e.size ? e : n;
729
639
  }, o.prototype.yPositionHonorsViewportThreshold = function(t) {
730
- var r = this.adapter.getViewportHeight(), i = this.adapter.getTooltipSize().height;
731
- return t + i + this.minViewportTooltipThreshold <= r && t >= this.minViewportTooltipThreshold;
640
+ var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
641
+ return t + e + this.minViewportTooltipThreshold <= r && t >= this.minViewportTooltipThreshold;
732
642
  }, o.prototype.yPositionDoesntCollideWithViewport = function(t) {
733
- var r = this.adapter.getViewportHeight(), i = this.adapter.getTooltipSize().height;
734
- return t + i <= r && t >= 0;
643
+ var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
644
+ return t + e <= r && t >= 0;
735
645
  }, o.prototype.calculateTooltipWithCaretStyles = function(t) {
736
646
  this.adapter.clearTooltipCaretStyles();
737
647
  var r = this.adapter.getTooltipCaretBoundingRect();
738
648
  if (!t || !r)
739
- return { position: p.DETECTED, top: 0, left: 0 };
740
- var i = r.width / _.ANIMATION_SCALE, n = r.height / _.ANIMATION_SCALE / 2, a = this.adapter.getTooltipSize(), d = this.calculateYWithCaretDistanceOptions(t, a.height, { caretWidth: i, caretHeight: n }), h = this.calculateXWithCaretDistanceOptions(t, a.width, { caretWidth: i, caretHeight: n }), s = this.validateTooltipWithCaretDistances(d, h);
741
- s.size < 1 && (s = this.generateBackupPositionOption(t, a, { caretWidth: i, caretHeight: n }));
742
- var l = this.determineTooltipWithCaretDistance(s), T = l.position, A = l.xDistance, g = l.yDistance, E = this.setCaretPositionStyles(T, { caretWidth: i, caretHeight: n }), v = E.yTransformOrigin, y = E.xTransformOrigin;
649
+ return { position: h.DETECTED, top: 0, left: 0 };
650
+ var e = r.width / O.ANIMATION_SCALE, n = r.height / O.ANIMATION_SCALE / 2, a = this.adapter.getTooltipSize(), c = this.calculateYWithCaretDistanceOptions(t, a.height, { caretWidth: e, caretHeight: n }), u = this.calculateXWithCaretDistanceOptions(t, a.width, { caretWidth: e, caretHeight: n }), s = this.validateTooltipWithCaretDistances(c, u);
651
+ s.size < 1 && (s = this.generateBackupPositionOption(t, a, { caretWidth: e, caretHeight: n }));
652
+ var l = this.determineTooltipWithCaretDistance(s), g = l.position, A = l.xDistance, E = l.yDistance, f = this.setCaretPositionStyles(g, { caretWidth: e, caretHeight: n }), v = f.yTransformOrigin, y = f.xTransformOrigin;
743
653
  return {
744
654
  yTransformOrigin: v,
745
655
  xTransformOrigin: y,
746
- top: g,
656
+ top: E,
747
657
  left: A
748
658
  };
749
- }, o.prototype.calculateXWithCaretDistanceOptions = function(t, r, i) {
750
- var n = i.caretWidth, a = i.caretHeight, d = !this.adapter.isRTL(), h = t.left + t.width / 2, s = t.left - (r + this.anchorGap + a), l = t.right + this.anchorGap + a, T = d ? s : l, A = d ? l : s, g = h - (_.CARET_INDENTATION + n / 2), E = h - (r - _.CARET_INDENTATION - n / 2), v = d ? g : E, y = d ? E : g, m = h - r / 2, N = /* @__PURE__ */ new Map([
751
- [f.START, v],
752
- [f.CENTER, m],
753
- [f.END, y],
754
- [f.SIDE_END, A],
755
- [f.SIDE_START, T]
659
+ }, o.prototype.calculateXWithCaretDistanceOptions = function(t, r, e) {
660
+ var n = e.caretWidth, a = e.caretHeight, c = !this.adapter.isRTL(), u = t.left + t.width / 2, s = t.left - (r + this.anchorGap + a), l = t.right + this.anchorGap + a, g = c ? s : l, A = c ? l : s, E = u - (O.CARET_INDENTATION + n / 2), f = u - (r - O.CARET_INDENTATION - n / 2), v = c ? E : f, y = c ? f : E, m = u - r / 2, C = /* @__PURE__ */ new Map([
661
+ [T.START, v],
662
+ [T.CENTER, m],
663
+ [T.END, y],
664
+ [T.SIDE_END, A],
665
+ [T.SIDE_START, g]
756
666
  ]);
757
- return N;
758
- }, o.prototype.calculateYWithCaretDistanceOptions = function(t, r, i) {
759
- var n = i.caretWidth, a = i.caretHeight, d = t.top + t.height / 2, h = t.bottom + this.anchorGap + a, s = t.top - (this.anchorGap + r + a), l = d - (_.CARET_INDENTATION + n / 2), T = d - r / 2, A = d - (r - _.CARET_INDENTATION - n / 2), g = /* @__PURE__ */ new Map([
760
- [O.ABOVE, s],
761
- [O.BELOW, h],
762
- [O.SIDE_TOP, l],
763
- [O.SIDE_CENTER, T],
764
- [O.SIDE_BOTTOM, A]
667
+ return C;
668
+ }, o.prototype.calculateYWithCaretDistanceOptions = function(t, r, e) {
669
+ var n = e.caretWidth, a = e.caretHeight, c = t.top + t.height / 2, u = t.bottom + this.anchorGap + a, s = t.top - (this.anchorGap + r + a), l = c - (O.CARET_INDENTATION + n / 2), g = c - r / 2, A = c - (r - O.CARET_INDENTATION - n / 2), E = /* @__PURE__ */ new Map([
670
+ [_.ABOVE, s],
671
+ [_.BELOW, u],
672
+ [_.SIDE_TOP, l],
673
+ [_.SIDE_CENTER, g],
674
+ [_.SIDE_BOTTOM, A]
765
675
  ]);
766
- return g;
676
+ return E;
767
677
  }, o.prototype.repositionTooltipOnAnchorMove = function() {
768
678
  var t = this.adapter.getAnchorBoundingRect();
769
- if (!(!t || !this.anchorRect)) {
770
- var r = this.adapter.getViewportHeight();
771
- t.top + t.height < 0 || t.bottom - t.height >= r || (t.top !== this.anchorRect.top || t.left !== this.anchorRect.left || t.height !== this.anchorRect.height || t.width !== this.anchorRect.width) && (this.anchorRect = t, this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip());
772
- }
679
+ !t || !this.anchorRect || (t.top !== this.anchorRect.top || t.left !== this.anchorRect.left || t.height !== this.anchorRect.height || t.width !== this.anchorRect.width) && (this.anchorRect = t, this.parentRect = this.adapter.getParentBoundingRect(), this.richTooltip ? this.positionRichTooltip() : this.positionPlainTooltip());
773
680
  }, o.prototype.validateTooltipWithCaretDistances = function(t, r) {
774
- var i, n, a, d, h, s, l = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map([
681
+ var e, n, a, c, u, s, l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map([
775
682
  [
776
- O.ABOVE,
683
+ _.ABOVE,
777
684
  [
778
- f.START,
779
- f.CENTER,
780
- f.END
685
+ T.START,
686
+ T.CENTER,
687
+ T.END
781
688
  ]
782
689
  ],
783
690
  [
784
- O.BELOW,
691
+ _.BELOW,
785
692
  [
786
- f.START,
787
- f.CENTER,
788
- f.END
693
+ T.START,
694
+ T.CENTER,
695
+ T.END
789
696
  ]
790
697
  ],
791
698
  [
792
- O.SIDE_TOP,
793
- [f.SIDE_START, f.SIDE_END]
699
+ _.SIDE_TOP,
700
+ [T.SIDE_START, T.SIDE_END]
794
701
  ],
795
702
  [
796
- O.SIDE_CENTER,
797
- [f.SIDE_START, f.SIDE_END]
703
+ _.SIDE_CENTER,
704
+ [T.SIDE_START, T.SIDE_END]
798
705
  ],
799
706
  [
800
- O.SIDE_BOTTOM,
801
- [f.SIDE_START, f.SIDE_END]
707
+ _.SIDE_BOTTOM,
708
+ [T.SIDE_START, T.SIDE_END]
802
709
  ]
803
710
  ]);
804
711
  try {
805
- for (var g = I(A.keys()), E = g.next(); !E.done; E = g.next()) {
806
- var v = E.value, y = t.get(v);
712
+ for (var E = H(A.keys()), f = E.next(); !f.done; f = E.next()) {
713
+ var v = f.value, y = t.get(v);
807
714
  if (this.yPositionHonorsViewportThreshold(y))
808
715
  try {
809
- for (var m = (a = void 0, I(A.get(v))), N = m.next(); !N.done; N = m.next()) {
810
- var b = N.value, L = r.get(b);
811
- if (this.positionHonorsViewportThreshold(L)) {
812
- var W = this.caretPositionOptionsMapping(b, v);
813
- l.set(W, { xDistance: L, yDistance: y });
716
+ for (var m = (a = void 0, H(A.get(v))), C = m.next(); !C.done; C = m.next()) {
717
+ var b = C.value, B = r.get(b);
718
+ if (this.positionHonorsViewportThreshold(B)) {
719
+ var K = this.caretPositionOptionsMapping(b, v);
720
+ l.set(K, { xDistance: B, yDistance: y });
814
721
  }
815
722
  }
816
- } catch (F) {
817
- a = { error: F };
723
+ } catch (W) {
724
+ a = { error: W };
818
725
  } finally {
819
726
  try {
820
- N && !N.done && (d = m.return) && d.call(m);
727
+ C && !C.done && (c = m.return) && c.call(m);
821
728
  } finally {
822
729
  if (a)
823
730
  throw a.error;
@@ -825,51 +732,51 @@ var rt = typeof window < "u", Et = (
825
732
  }
826
733
  if (this.yPositionDoesntCollideWithViewport(y))
827
734
  try {
828
- for (var G = (h = void 0, I(A.get(v))), V = G.next(); !V.done; V = G.next()) {
829
- var b = V.value, L = r.get(b);
830
- if (this.positionDoesntCollideWithViewport(L)) {
831
- var W = this.caretPositionOptionsMapping(b, v);
832
- T.set(W, { xDistance: L, yDistance: y });
735
+ for (var k = (u = void 0, H(A.get(v))), M = k.next(); !M.done; M = k.next()) {
736
+ var b = M.value, B = r.get(b);
737
+ if (this.positionDoesntCollideWithViewport(B)) {
738
+ var K = this.caretPositionOptionsMapping(b, v);
739
+ g.set(K, { xDistance: B, yDistance: y });
833
740
  }
834
741
  }
835
- } catch (F) {
836
- h = { error: F };
742
+ } catch (W) {
743
+ u = { error: W };
837
744
  } finally {
838
745
  try {
839
- V && !V.done && (s = G.return) && s.call(G);
746
+ M && !M.done && (s = k.return) && s.call(k);
840
747
  } finally {
841
- if (h)
842
- throw h.error;
748
+ if (u)
749
+ throw u.error;
843
750
  }
844
751
  }
845
752
  }
846
- } catch (F) {
847
- i = { error: F };
753
+ } catch (W) {
754
+ e = { error: W };
848
755
  } finally {
849
756
  try {
850
- E && !E.done && (n = g.return) && n.call(g);
757
+ f && !f.done && (n = E.return) && n.call(E);
851
758
  } finally {
852
- if (i)
853
- throw i.error;
759
+ if (e)
760
+ throw e.error;
854
761
  }
855
762
  }
856
- return l.size ? l : T;
857
- }, o.prototype.generateBackupPositionOption = function(t, r, i) {
858
- var n = !this.adapter.isRTL(), a, d;
763
+ return l.size ? l : g;
764
+ }, o.prototype.generateBackupPositionOption = function(t, r, e) {
765
+ var n = !this.adapter.isRTL(), a, c;
859
766
  if (t.left < 0)
860
- a = this.minViewportTooltipThreshold + i.caretHeight, d = n ? f.END : f.START;
767
+ a = this.minViewportTooltipThreshold + e.caretHeight, c = n ? T.END : T.START;
861
768
  else {
862
- var h = this.adapter.getViewportWidth();
863
- a = h - (r.width + this.minViewportTooltipThreshold + i.caretHeight), d = n ? f.START : f.END;
769
+ var u = this.adapter.getViewportWidth();
770
+ a = u - (r.width + this.minViewportTooltipThreshold + e.caretHeight), c = n ? T.START : T.END;
864
771
  }
865
772
  var s, l;
866
773
  if (t.top < 0)
867
- s = this.minViewportTooltipThreshold + i.caretHeight, l = O.BELOW;
774
+ s = this.minViewportTooltipThreshold + e.caretHeight, l = _.BELOW;
868
775
  else {
869
- var T = this.adapter.getViewportHeight();
870
- s = T - (r.height + this.minViewportTooltipThreshold + i.caretHeight), l = O.ABOVE;
776
+ var g = this.adapter.getViewportHeight();
777
+ s = g - (r.height + this.minViewportTooltipThreshold + e.caretHeight), l = _.ABOVE;
871
778
  }
872
- var A = this.caretPositionOptionsMapping(d, l);
779
+ var A = this.caretPositionOptionsMapping(c, l);
873
780
  return /* @__PURE__ */ new Map([[A, { xDistance: a, yDistance: s }]]);
874
781
  }, o.prototype.determineTooltipWithCaretDistance = function(t) {
875
782
  if (t.has(this.tooltipPositionWithCaret)) {
@@ -880,21 +787,21 @@ var rt = typeof window < "u", Et = (
880
787
  yDistance: r.yDistance
881
788
  };
882
789
  }
883
- var i = [
884
- p.ABOVE_START,
885
- p.ABOVE_CENTER,
886
- p.ABOVE_END,
887
- p.TOP_SIDE_START,
888
- p.CENTER_SIDE_START,
889
- p.BOTTOM_SIDE_START,
890
- p.TOP_SIDE_END,
891
- p.CENTER_SIDE_END,
892
- p.BOTTOM_SIDE_END,
893
- p.BELOW_START,
894
- p.BELOW_CENTER,
895
- p.BELOW_END
896
- ], n = i.find(function(d) {
897
- return t.has(d);
790
+ var e = [
791
+ h.ABOVE_START,
792
+ h.ABOVE_CENTER,
793
+ h.ABOVE_END,
794
+ h.TOP_SIDE_START,
795
+ h.CENTER_SIDE_START,
796
+ h.BOTTOM_SIDE_START,
797
+ h.TOP_SIDE_END,
798
+ h.CENTER_SIDE_END,
799
+ h.BOTTOM_SIDE_END,
800
+ h.BELOW_START,
801
+ h.BELOW_CENTER,
802
+ h.BELOW_END
803
+ ], n = e.find(function(c) {
804
+ return t.has(c);
898
805
  }), a = t.get(n);
899
806
  return {
900
807
  position: n,
@@ -903,62 +810,62 @@ var rt = typeof window < "u", Et = (
903
810
  };
904
811
  }, o.prototype.caretPositionOptionsMapping = function(t, r) {
905
812
  switch (r) {
906
- case O.ABOVE:
907
- if (t === f.START)
908
- return p.ABOVE_START;
909
- if (t === f.CENTER)
910
- return p.ABOVE_CENTER;
911
- if (t === f.END)
912
- return p.ABOVE_END;
813
+ case _.ABOVE:
814
+ if (t === T.START)
815
+ return h.ABOVE_START;
816
+ if (t === T.CENTER)
817
+ return h.ABOVE_CENTER;
818
+ if (t === T.END)
819
+ return h.ABOVE_END;
913
820
  break;
914
- case O.BELOW:
915
- if (t === f.START)
916
- return p.BELOW_START;
917
- if (t === f.CENTER)
918
- return p.BELOW_CENTER;
919
- if (t === f.END)
920
- return p.BELOW_END;
821
+ case _.BELOW:
822
+ if (t === T.START)
823
+ return h.BELOW_START;
824
+ if (t === T.CENTER)
825
+ return h.BELOW_CENTER;
826
+ if (t === T.END)
827
+ return h.BELOW_END;
921
828
  break;
922
- case O.SIDE_TOP:
923
- if (t === f.SIDE_START)
924
- return p.TOP_SIDE_START;
925
- if (t === f.SIDE_END)
926
- return p.TOP_SIDE_END;
829
+ case _.SIDE_TOP:
830
+ if (t === T.SIDE_START)
831
+ return h.TOP_SIDE_START;
832
+ if (t === T.SIDE_END)
833
+ return h.TOP_SIDE_END;
927
834
  break;
928
- case O.SIDE_CENTER:
929
- if (t === f.SIDE_START)
930
- return p.CENTER_SIDE_START;
931
- if (t === f.SIDE_END)
932
- return p.CENTER_SIDE_END;
835
+ case _.SIDE_CENTER:
836
+ if (t === T.SIDE_START)
837
+ return h.CENTER_SIDE_START;
838
+ if (t === T.SIDE_END)
839
+ return h.CENTER_SIDE_END;
933
840
  break;
934
- case O.SIDE_BOTTOM:
935
- if (t === f.SIDE_START)
936
- return p.BOTTOM_SIDE_START;
937
- if (t === f.SIDE_END)
938
- return p.BOTTOM_SIDE_END;
841
+ case _.SIDE_BOTTOM:
842
+ if (t === T.SIDE_START)
843
+ return h.BOTTOM_SIDE_START;
844
+ if (t === T.SIDE_END)
845
+ return h.BOTTOM_SIDE_END;
939
846
  break;
940
847
  }
941
848
  throw new Error("MDCTooltipFoundation: Invalid caret position of " + t + ", " + r);
942
849
  }, o.prototype.setCaretPositionStyles = function(t, r) {
943
- var i, n, a = this.calculateCaretPositionOnTooltip(t, r);
850
+ var e, n, a = this.calculateCaretPositionOnTooltip(t, r);
944
851
  if (!a)
945
852
  return { yTransformOrigin: 0, xTransformOrigin: 0 };
946
853
  this.adapter.clearTooltipCaretStyles(), this.adapter.setTooltipCaretStyle(a.yAlignment, a.yAxisPx), this.adapter.setTooltipCaretStyle(a.xAlignment, a.xAxisPx);
947
- var d = a.skew * (Math.PI / 180), h = Math.cos(d);
948
- this.adapter.setTooltipCaretStyle("transform", "rotate(" + a.rotation + "deg) skewY(" + a.skew + "deg) scaleX(" + h + ")"), this.adapter.setTooltipCaretStyle("transform-origin", a.xAlignment + " " + a.yAlignment);
854
+ var c = a.skew * (Math.PI / 180), u = Math.cos(c);
855
+ this.adapter.setTooltipCaretStyle("transform", "rotate(" + a.rotation + "deg) skewY(" + a.skew + "deg) scaleX(" + u + ")"), this.adapter.setTooltipCaretStyle("transform-origin", a.xAlignment + " " + a.yAlignment);
949
856
  try {
950
- for (var s = I(a.caretCorners), l = s.next(); !l.done; l = s.next()) {
951
- var T = l.value;
952
- this.adapter.setTooltipCaretStyle(T, "0");
857
+ for (var s = H(a.caretCorners), l = s.next(); !l.done; l = s.next()) {
858
+ var g = l.value;
859
+ this.adapter.setTooltipCaretStyle(g, "0");
953
860
  }
954
861
  } catch (A) {
955
- i = { error: A };
862
+ e = { error: A };
956
863
  } finally {
957
864
  try {
958
865
  l && !l.done && (n = s.return) && n.call(s);
959
866
  } finally {
960
- if (i)
961
- throw i.error;
867
+ if (e)
868
+ throw e.error;
962
869
  }
963
870
  }
964
871
  return {
@@ -966,154 +873,154 @@ var rt = typeof window < "u", Et = (
966
873
  xTransformOrigin: a.xTransformOrigin
967
874
  };
968
875
  }, o.prototype.calculateCaretPositionOnTooltip = function(t, r) {
969
- var i = !this.adapter.isRTL(), n = this.adapter.getComputedStyleProperty("width"), a = this.adapter.getComputedStyleProperty("height");
876
+ var e = !this.adapter.isRTL(), n = this.adapter.getComputedStyleProperty("width"), a = this.adapter.getComputedStyleProperty("height");
970
877
  if (!(!n || !a || !r)) {
971
- var d = "calc((" + n + " - " + r.caretWidth + "px) / 2)", h = "calc((" + a + " - " + r.caretWidth + "px) / 2)", s = "0", l = _.CARET_INDENTATION + "px", T = "calc(" + n + " - " + l + ")", A = "calc(" + a + " - " + l + ")", g = 35, E = Math.abs(90 - g), v = ["border-bottom-right-radius", "border-top-left-radius"], y = ["border-bottom-left-radius", "border-top-right-radius"], m = 20;
878
+ var c = "calc((" + n + " - " + r.caretWidth + "px) / 2)", u = "calc((" + a + " - " + r.caretWidth + "px) / 2)", s = "0", l = O.CARET_INDENTATION + "px", g = "calc(" + n + " - " + l + ")", A = "calc(" + a + " - " + l + ")", E = 35, f = Math.abs(90 - E), v = ["border-bottom-right-radius", "border-top-left-radius"], y = ["border-bottom-left-radius", "border-top-right-radius"], m = 20;
972
879
  switch (t) {
973
- case p.BELOW_CENTER:
880
+ case h.BELOW_CENTER:
974
881
  return {
975
- yAlignment: c.TOP,
976
- xAlignment: c.LEFT,
882
+ yAlignment: d.TOP,
883
+ xAlignment: d.LEFT,
977
884
  yAxisPx: s,
978
- xAxisPx: d,
979
- rotation: -1 * g,
885
+ xAxisPx: c,
886
+ rotation: -1 * E,
980
887
  skew: -1 * m,
981
- xTransformOrigin: d,
888
+ xTransformOrigin: c,
982
889
  yTransformOrigin: s,
983
890
  caretCorners: v
984
891
  };
985
- case p.BELOW_END:
892
+ case h.BELOW_END:
986
893
  return {
987
- yAlignment: c.TOP,
988
- xAlignment: i ? c.RIGHT : c.LEFT,
894
+ yAlignment: d.TOP,
895
+ xAlignment: e ? d.RIGHT : d.LEFT,
989
896
  yAxisPx: s,
990
897
  xAxisPx: l,
991
- rotation: i ? g : -1 * g,
992
- skew: i ? m : -1 * m,
993
- xTransformOrigin: i ? T : l,
898
+ rotation: e ? E : -1 * E,
899
+ skew: e ? m : -1 * m,
900
+ xTransformOrigin: e ? g : l,
994
901
  yTransformOrigin: s,
995
- caretCorners: i ? y : v
902
+ caretCorners: e ? y : v
996
903
  };
997
- case p.BELOW_START:
904
+ case h.BELOW_START:
998
905
  return {
999
- yAlignment: c.TOP,
1000
- xAlignment: i ? c.LEFT : c.RIGHT,
906
+ yAlignment: d.TOP,
907
+ xAlignment: e ? d.LEFT : d.RIGHT,
1001
908
  yAxisPx: s,
1002
909
  xAxisPx: l,
1003
- rotation: i ? -1 * g : g,
1004
- skew: i ? -1 * m : m,
1005
- xTransformOrigin: i ? l : T,
910
+ rotation: e ? -1 * E : E,
911
+ skew: e ? -1 * m : m,
912
+ xTransformOrigin: e ? l : g,
1006
913
  yTransformOrigin: s,
1007
- caretCorners: i ? v : y
914
+ caretCorners: e ? v : y
1008
915
  };
1009
- case p.TOP_SIDE_END:
916
+ case h.TOP_SIDE_END:
1010
917
  return {
1011
- yAlignment: c.TOP,
1012
- xAlignment: i ? c.LEFT : c.RIGHT,
918
+ yAlignment: d.TOP,
919
+ xAlignment: e ? d.LEFT : d.RIGHT,
1013
920
  yAxisPx: l,
1014
921
  xAxisPx: s,
1015
- rotation: i ? E : -1 * E,
1016
- skew: i ? -1 * m : m,
1017
- xTransformOrigin: i ? s : n,
922
+ rotation: e ? f : -1 * f,
923
+ skew: e ? -1 * m : m,
924
+ xTransformOrigin: e ? s : n,
1018
925
  yTransformOrigin: l,
1019
- caretCorners: i ? v : y
926
+ caretCorners: e ? v : y
1020
927
  };
1021
- case p.CENTER_SIDE_END:
928
+ case h.CENTER_SIDE_END:
1022
929
  return {
1023
- yAlignment: c.TOP,
1024
- xAlignment: i ? c.LEFT : c.RIGHT,
1025
- yAxisPx: h,
930
+ yAlignment: d.TOP,
931
+ xAlignment: e ? d.LEFT : d.RIGHT,
932
+ yAxisPx: u,
1026
933
  xAxisPx: s,
1027
- rotation: i ? E : -1 * E,
1028
- skew: i ? -1 * m : m,
1029
- xTransformOrigin: i ? s : n,
1030
- yTransformOrigin: h,
1031
- caretCorners: i ? v : y
934
+ rotation: e ? f : -1 * f,
935
+ skew: e ? -1 * m : m,
936
+ xTransformOrigin: e ? s : n,
937
+ yTransformOrigin: u,
938
+ caretCorners: e ? v : y
1032
939
  };
1033
- case p.BOTTOM_SIDE_END:
940
+ case h.BOTTOM_SIDE_END:
1034
941
  return {
1035
- yAlignment: c.BOTTOM,
1036
- xAlignment: i ? c.LEFT : c.RIGHT,
942
+ yAlignment: d.BOTTOM,
943
+ xAlignment: e ? d.LEFT : d.RIGHT,
1037
944
  yAxisPx: l,
1038
945
  xAxisPx: s,
1039
- rotation: i ? -1 * E : E,
1040
- skew: i ? m : -1 * m,
1041
- xTransformOrigin: i ? s : n,
946
+ rotation: e ? -1 * f : f,
947
+ skew: e ? m : -1 * m,
948
+ xTransformOrigin: e ? s : n,
1042
949
  yTransformOrigin: A,
1043
- caretCorners: i ? y : v
950
+ caretCorners: e ? y : v
1044
951
  };
1045
- case p.TOP_SIDE_START:
952
+ case h.TOP_SIDE_START:
1046
953
  return {
1047
- yAlignment: c.TOP,
1048
- xAlignment: i ? c.RIGHT : c.LEFT,
954
+ yAlignment: d.TOP,
955
+ xAlignment: e ? d.RIGHT : d.LEFT,
1049
956
  yAxisPx: l,
1050
957
  xAxisPx: s,
1051
- rotation: i ? -1 * E : E,
1052
- skew: i ? m : -1 * m,
1053
- xTransformOrigin: i ? n : s,
958
+ rotation: e ? -1 * f : f,
959
+ skew: e ? m : -1 * m,
960
+ xTransformOrigin: e ? n : s,
1054
961
  yTransformOrigin: l,
1055
- caretCorners: i ? y : v
962
+ caretCorners: e ? y : v
1056
963
  };
1057
- case p.CENTER_SIDE_START:
964
+ case h.CENTER_SIDE_START:
1058
965
  return {
1059
- yAlignment: c.TOP,
1060
- xAlignment: i ? c.RIGHT : c.LEFT,
1061
- yAxisPx: h,
966
+ yAlignment: d.TOP,
967
+ xAlignment: e ? d.RIGHT : d.LEFT,
968
+ yAxisPx: u,
1062
969
  xAxisPx: s,
1063
- rotation: i ? -1 * E : E,
1064
- skew: i ? m : -1 * m,
1065
- xTransformOrigin: i ? n : s,
1066
- yTransformOrigin: h,
1067
- caretCorners: i ? y : v
970
+ rotation: e ? -1 * f : f,
971
+ skew: e ? m : -1 * m,
972
+ xTransformOrigin: e ? n : s,
973
+ yTransformOrigin: u,
974
+ caretCorners: e ? y : v
1068
975
  };
1069
- case p.BOTTOM_SIDE_START:
976
+ case h.BOTTOM_SIDE_START:
1070
977
  return {
1071
- yAlignment: c.BOTTOM,
1072
- xAlignment: i ? c.RIGHT : c.LEFT,
978
+ yAlignment: d.BOTTOM,
979
+ xAlignment: e ? d.RIGHT : d.LEFT,
1073
980
  yAxisPx: l,
1074
981
  xAxisPx: s,
1075
- rotation: i ? E : -1 * E,
1076
- skew: i ? -1 * m : m,
1077
- xTransformOrigin: i ? n : s,
982
+ rotation: e ? f : -1 * f,
983
+ skew: e ? -1 * m : m,
984
+ xTransformOrigin: e ? n : s,
1078
985
  yTransformOrigin: A,
1079
- caretCorners: i ? v : y
986
+ caretCorners: e ? v : y
1080
987
  };
1081
- case p.ABOVE_CENTER:
988
+ case h.ABOVE_CENTER:
1082
989
  return {
1083
- yAlignment: c.BOTTOM,
1084
- xAlignment: c.LEFT,
990
+ yAlignment: d.BOTTOM,
991
+ xAlignment: d.LEFT,
1085
992
  yAxisPx: s,
1086
- xAxisPx: d,
1087
- rotation: g,
993
+ xAxisPx: c,
994
+ rotation: E,
1088
995
  skew: m,
1089
- xTransformOrigin: d,
996
+ xTransformOrigin: c,
1090
997
  yTransformOrigin: a,
1091
998
  caretCorners: y
1092
999
  };
1093
- case p.ABOVE_END:
1000
+ case h.ABOVE_END:
1094
1001
  return {
1095
- yAlignment: c.BOTTOM,
1096
- xAlignment: i ? c.RIGHT : c.LEFT,
1002
+ yAlignment: d.BOTTOM,
1003
+ xAlignment: e ? d.RIGHT : d.LEFT,
1097
1004
  yAxisPx: s,
1098
1005
  xAxisPx: l,
1099
- rotation: i ? -1 * g : g,
1100
- skew: i ? -1 * m : m,
1101
- xTransformOrigin: i ? T : l,
1006
+ rotation: e ? -1 * E : E,
1007
+ skew: e ? -1 * m : m,
1008
+ xTransformOrigin: e ? g : l,
1102
1009
  yTransformOrigin: a,
1103
- caretCorners: i ? v : y
1010
+ caretCorners: e ? v : y
1104
1011
  };
1105
1012
  default:
1106
- case p.ABOVE_START:
1013
+ case h.ABOVE_START:
1107
1014
  return {
1108
- yAlignment: c.BOTTOM,
1109
- xAlignment: i ? c.LEFT : c.RIGHT,
1015
+ yAlignment: d.BOTTOM,
1016
+ xAlignment: e ? d.LEFT : d.RIGHT,
1110
1017
  yAxisPx: s,
1111
1018
  xAxisPx: l,
1112
- rotation: i ? g : -1 * g,
1113
- skew: i ? m : -1 * m,
1114
- xTransformOrigin: i ? l : T,
1019
+ rotation: e ? E : -1 * E,
1020
+ skew: e ? m : -1 * m,
1021
+ xTransformOrigin: e ? l : g,
1115
1022
  yTransformOrigin: a,
1116
- caretCorners: i ? y : v
1023
+ caretCorners: e ? y : v
1117
1024
  };
1118
1025
  }
1119
1026
  }
@@ -1133,17 +1040,17 @@ var rt = typeof window < "u", Et = (
1133
1040
  });
1134
1041
  }, o.prototype.destroy = function() {
1135
1042
  var t, r;
1136
- this.frameId && (cancelAnimationFrame(this.frameId), this.frameId = null), this.clearHideTimeout(), this.clearShowTimeout(), this.adapter.removeClass($), this.adapter.removeClass(z), this.adapter.removeClass(j), this.adapter.removeClass(k), this.adapter.removeClass(K), this.richTooltip && this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler);
1043
+ this.frameId && (cancelAnimationFrame(this.frameId), this.frameId = null), this.clearHideTimeout(), this.clearShowTimeout(), this.adapter.removeClass($), this.adapter.removeClass(U), this.adapter.removeClass(q), this.adapter.removeClass(V), this.adapter.removeClass(z), this.richTooltip && this.adapter.deregisterEventHandler("focusout", this.richTooltipFocusOutHandler), this.persistentTooltip || (this.adapter.deregisterEventHandler("mouseenter", this.tooltipMouseEnterHandler), this.adapter.deregisterEventHandler("mouseleave", this.tooltipMouseLeaveHandler)), this.adapter.deregisterAnchorEventHandler("blur", this.anchorBlurHandler), this.adapter.deregisterDocumentEventHandler("click", this.documentClickHandler), this.adapter.deregisterDocumentEventHandler("keydown", this.documentKeydownHandler), this.adapter.deregisterWindowEventHandler("scroll", this.windowScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler);
1137
1044
  try {
1138
- for (var i = I(this.removeAncestorScrollEventListeners), n = i.next(); !n.done; n = i.next()) {
1045
+ for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
1139
1046
  var a = n.value;
1140
1047
  a();
1141
1048
  }
1142
- } catch (d) {
1143
- t = { error: d };
1049
+ } catch (c) {
1050
+ t = { error: c };
1144
1051
  } finally {
1145
1052
  try {
1146
- n && !n.done && (r = i.return) && r.call(i);
1053
+ n && !n.done && (r = e.return) && r.call(e);
1147
1054
  } finally {
1148
1055
  if (t)
1149
1056
  throw t.error;
@@ -1151,28 +1058,28 @@ var rt = typeof window < "u", Et = (
1151
1058
  }
1152
1059
  this.animFrame.cancelAll();
1153
1060
  }, o;
1154
- }(ht)
1061
+ }(lt)
1155
1062
  );
1156
- const vt = `.mdc-tooltip__surface,.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__surface{color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.mdc-tooltip__surface{background-color:#0009}.mdc-tooltip__title{color:#000000de;color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, .87))}.mdc-tooltip__content{color:#0009}.mdc-tooltip__content-link{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:#fff}.mdc-tooltip__surface{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-tooltip--rich .mdc-tooltip__surface{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:4px;line-height:20px}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__surface .mdc-tooltip__title{display:block;margin-top:0;line-height:20px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-tooltip__surface .mdc-tooltip__title:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity .15s 0ms cubic-bezier(0,0,.2,1),transform .15s 0ms cubic-bezier(0,0,.2,1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface:before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:184px;margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:304px;align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__title,.mdc-tooltip__content{color:var(--mdc-theme-text-primary-on-background)}.mdc-tooltip__content-link{color:var(--mdc-theme-accent)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:var(--mdc-theme-surface)}
1063
+ const ft = `.mdc-tooltip__surface,.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-tooltip__surface{color:#fff;color:var(--mdc-theme-text-primary-on-dark, white)}.mdc-tooltip__surface{background-color:#0009}.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{z-index:9}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity .15s 0ms cubic-bezier(0,0,.2,1),transform .15s 0ms cubic-bezier(0,0,.2,1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-tooltip__title{color:#000000de;color:var(--mdc-theme-text-primary-on-light, rgba(0, 0, 0, .87))}.mdc-tooltip__content{color:#0009}.mdc-tooltip__content-link{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}.mdc-tooltip{position:fixed;display:none}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:#fff}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface:before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;align-items:flex-start;border-radius:4px;display:flex;flex-direction:column;line-height:20px;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{display:block;line-height:20px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__title:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-tooltip__surface .mdc-tooltip__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);max-width:184px;margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:304px;align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__title,.mdc-tooltip__content{color:var(--mdc-theme-text-primary-on-background)}.mdc-tooltip__content-link{color:var(--mdc-theme-accent)}.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__surface,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-top,.mdc-tooltip.mdc-tooltip--rich .mdc-tooltip__caret-surface-bottom{background-color:var(--mdc-theme-surface)}
1157
1064
  `;
1158
- var gt = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, C = (e, o, t, r) => {
1159
- for (var i = r > 1 ? void 0 : r ? yt(o, t) : o, n = e.length - 1, a; n >= 0; n--)
1160
- (a = e[n]) && (i = (r ? a(o, t, i) : a(i)) || i);
1161
- return r && i && gt(o, t, i), i;
1065
+ var Et = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, N = (i, o, t, r) => {
1066
+ for (var e = r > 1 ? void 0 : r ? gt(o, t) : o, n = i.length - 1, a; n >= 0; n--)
1067
+ (a = i[n]) && (e = (r ? a(o, t, e) : a(e)) || e);
1068
+ return r && e && Et(o, t, e), e;
1162
1069
  };
1163
- let R = class extends st {
1070
+ let S = class extends ot {
1164
1071
  constructor() {
1165
- super(...arguments), this.mdcFoundationClass = Et;
1072
+ super(...arguments), this.mdcFoundationClass = mt;
1166
1073
  }
1167
1074
  createAdapter() {
1168
1075
  return {
1169
- ...dt(this.mdcRoot),
1170
- getAttribute: (e) => this.mdcRoot.getAttribute(e),
1171
- setAttribute: (e, o) => this.mdcRoot.setAttribute(e, o),
1172
- removeAttribute: (e) => this.mdcRoot.removeAttribute(e),
1173
- getComputedStyleProperty: (e) => getComputedStyle(this.mdcRoot, e).cssText,
1174
- setStyleProperty: (e, o) => this.mdcRoot.style.setProperty(e, o),
1175
- setSurfaceAnimationStyleProperty: (e, o) => this.mdcSurface.style.setProperty(e, o),
1076
+ ...at(this.mdcRoot),
1077
+ getAttribute: (i) => this.mdcRoot.getAttribute(i),
1078
+ setAttribute: (i, o) => this.mdcRoot.setAttribute(i, o),
1079
+ removeAttribute: (i) => this.mdcRoot.removeAttribute(i),
1080
+ getComputedStyleProperty: (i) => getComputedStyle(this.mdcRoot, i).cssText,
1081
+ setStyleProperty: (i, o) => this.mdcRoot.style.setProperty(i, o),
1082
+ setSurfaceAnimationStyleProperty: (i, o) => this.mdcSurface.style.setProperty(i, o),
1176
1083
  getViewportWidth: () => Math.max(
1177
1084
  document.documentElement.clientWidth || 0,
1178
1085
  window.innerWidth || 0
@@ -1185,56 +1092,54 @@ let R = class extends st {
1185
1092
  width: this.mdcRoot.clientWidth,
1186
1093
  height: this.mdcRoot.clientHeight
1187
1094
  }),
1188
- getTooltipCaretBoundingRect: () => this.mdcRoot.getBoundingClientRect() ?? null,
1189
1095
  getAnchorBoundingRect: () => {
1190
- var e;
1191
- return ((e = this.anchor) == null ? void 0 : e.getBoundingClientRect()) ?? null;
1096
+ var i;
1097
+ return ((i = this.anchor) == null ? void 0 : i.getBoundingClientRect()) ?? null;
1192
1098
  },
1193
1099
  getParentBoundingRect: () => {
1194
- var e;
1195
- return ((e = this.renderRoot.getRootNode().parentElement) == null ? void 0 : e.getBoundingClientRect()) ?? null;
1100
+ var i;
1101
+ return ((i = this.renderRoot.getRootNode().parentElement) == null ? void 0 : i.getBoundingClientRect()) ?? null;
1196
1102
  },
1197
- getAnchorAttribute: (e) => {
1103
+ getAnchorAttribute: (i) => {
1198
1104
  var o;
1199
- return ((o = this.anchor) == null ? void 0 : o.getAttribute(e)) ?? null;
1105
+ return ((o = this.anchor) == null ? void 0 : o.getAttribute(i)) ?? null;
1200
1106
  },
1201
- setAnchorAttribute: (e, o) => {
1107
+ setAnchorAttribute: (i, o) => {
1202
1108
  var t;
1203
- return (t = this.anchor) == null ? void 0 : t.setAttribute(e, o);
1109
+ return (t = this.anchor) == null ? void 0 : t.setAttribute(i, o);
1204
1110
  },
1205
1111
  isRTL: () => !1,
1206
- isInstanceOfElement: (e) => e instanceof Element,
1207
- anchorContainsElement: (e) => {
1112
+ anchorContainsElement: (i) => {
1208
1113
  var o;
1209
- return ((o = this.anchor) == null ? void 0 : o.contains(e)) ?? !1;
1114
+ return ((o = this.anchor) == null ? void 0 : o.contains(i)) ?? !1;
1210
1115
  },
1211
- tooltipContainsElement: (e) => this.contains(e),
1116
+ tooltipContainsElement: (i) => this.contains(i),
1212
1117
  focusAnchorElement: () => {
1213
- var e;
1214
- return (e = this.anchor) == null ? void 0 : e.focus();
1118
+ var i;
1119
+ return (i = this.anchor) == null ? void 0 : i.focus();
1215
1120
  },
1216
- registerEventHandler: (e, o) => {
1121
+ registerEventHandler: (i, o) => {
1217
1122
  var t;
1218
- return (t = this.mdcRoot) == null ? void 0 : t.addEventListener(e, o);
1123
+ return (t = this.mdcRoot) == null ? void 0 : t.addEventListener(i, o);
1219
1124
  },
1220
- deregisterEventHandler: (e, o) => {
1125
+ deregisterEventHandler: (i, o) => {
1221
1126
  var t;
1222
- return (t = this.mdcRoot) == null ? void 0 : t.removeEventListener(e, o);
1127
+ return (t = this.mdcRoot) == null ? void 0 : t.removeEventListener(i, o);
1223
1128
  },
1224
- registerAnchorEventHandler: (e, o) => {
1129
+ registerAnchorEventHandler: (i, o) => {
1225
1130
  var t;
1226
- return (t = this.anchor) == null ? void 0 : t.addEventListener(e, o);
1131
+ return (t = this.anchor) == null ? void 0 : t.addEventListener(i, o);
1227
1132
  },
1228
- deregisterAnchorEventHandler: (e, o) => {
1133
+ deregisterAnchorEventHandler: (i, o) => {
1229
1134
  var t;
1230
- return (t = this.anchor) == null ? void 0 : t.removeEventListener(e, o);
1135
+ return (t = this.anchor) == null ? void 0 : t.removeEventListener(i, o);
1231
1136
  },
1232
- registerDocumentEventHandler: (e, o) => document.addEventListener(e, o),
1233
- deregisterDocumentEventHandler: (e, o) => document.removeEventListener(e, o),
1234
- registerWindowEventHandler: (e, o) => window.addEventListener(e, o),
1235
- deregisterWindowEventHandler: (e, o) => window.removeEventListener(e, o),
1236
- notifyHidden: () => this.dispatchEvent(new Event(tt.HIDDEN)),
1237
- notifyShown: () => this.dispatchEvent(new Event(tt.SHOWN)),
1137
+ registerDocumentEventHandler: (i, o) => document.addEventListener(i, o),
1138
+ deregisterDocumentEventHandler: (i, o) => document.removeEventListener(i, o),
1139
+ registerWindowEventHandler: (i, o) => window.addEventListener(i, o),
1140
+ deregisterWindowEventHandler: (i, o) => window.removeEventListener(i, o),
1141
+ notifyHidden: () => this.dispatchEvent(new Event(dt.HIDDEN)),
1142
+ getTooltipCaretBoundingRect: () => null,
1238
1143
  setTooltipCaretStyle: () => {
1239
1144
  },
1240
1145
  clearTooltipCaretStyles: () => {
@@ -1242,12 +1147,12 @@ let R = class extends st {
1242
1147
  getActiveElement: () => document.activeElement
1243
1148
  };
1244
1149
  }
1245
- updated(e) {
1246
- super.updated(e), this.showDelay !== void 0 && !isNaN(this.showDelay) && this.mdcFoundation.setShowDelay(this.showDelay), this.hideDelay !== void 0 && !isNaN(this.hideDelay) && this.mdcFoundation.setHideDelay(this.hideDelay);
1150
+ updated(i) {
1151
+ super.updated(i), this.showDelay !== void 0 && !isNaN(this.showDelay) && this.mdcFoundation.setShowDelay(this.showDelay), this.hideDelay !== void 0 && !isNaN(this.hideDelay) && this.mdcFoundation.setHideDelay(this.hideDelay);
1247
1152
  }
1248
1153
  async firstUpdated() {
1249
- var e, o, t, r, i;
1250
- this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), (e = this.anchor) == null || e.addEventListener(
1154
+ var i, o, t, r, e;
1155
+ this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), (i = this.anchor) == null || i.addEventListener(
1251
1156
  "click",
1252
1157
  () => this.mdcFoundation.handleAnchorClick()
1253
1158
  ), (o = this.anchor) == null || o.addEventListener(
@@ -1259,14 +1164,14 @@ let R = class extends st {
1259
1164
  ), this.persistent || ((r = this.anchor) == null || r.addEventListener(
1260
1165
  "mouseleave",
1261
1166
  () => this.mdcFoundation.handleAnchorMouseLeave()
1262
- ), (i = this.anchor) == null || i.addEventListener(
1167
+ ), (e = this.anchor) == null || e.addEventListener(
1263
1168
  "touchend",
1264
1169
  () => this.mdcFoundation.handleAnchorTouchend()
1265
1170
  ));
1266
1171
  }
1267
1172
  disconnectedCallback() {
1268
- var e, o, t, r, i;
1269
- super.connectedCallback(), (e = this.anchor) == null || e.removeEventListener(
1173
+ var i, o, t, r, e;
1174
+ super.connectedCallback(), (i = this.anchor) == null || i.removeEventListener(
1270
1175
  "click",
1271
1176
  () => this.mdcFoundation.handleAnchorClick()
1272
1177
  ), (o = this.anchor) == null || o.removeEventListener(
@@ -1278,7 +1183,7 @@ let R = class extends st {
1278
1183
  ), (r = this.anchor) == null || r.removeEventListener(
1279
1184
  "touchstart",
1280
1185
  () => this.mdcFoundation.handleAnchorTouchstart()
1281
- ), (i = this.anchor) == null || i.removeEventListener(
1186
+ ), (e = this.anchor) == null || e.removeEventListener(
1282
1187
  "touchend",
1283
1188
  () => this.mdcFoundation.handleAnchorTouchend()
1284
1189
  );
@@ -1304,40 +1209,40 @@ let R = class extends st {
1304
1209
  `;
1305
1210
  }
1306
1211
  };
1307
- R.styles = [
1308
- nt`
1309
- ${at(vt)}
1212
+ S.styles = [
1213
+ it`
1214
+ ${rt(ft)}
1310
1215
  `
1311
1216
  ];
1312
- C([
1313
- ot(".mdc-tooltip")
1314
- ], R.prototype, "mdcRoot", 2);
1315
- C([
1316
- ot(".mdc-tooltip__surface")
1317
- ], R.prototype, "mdcSurface", 2);
1318
- C([
1319
- M({ type: Object })
1320
- ], R.prototype, "anchor", 2);
1321
- C([
1322
- M()
1323
- ], R.prototype, "richTitle", 2);
1324
- C([
1325
- M({ type: Boolean, reflect: !0 })
1326
- ], R.prototype, "rich", 2);
1327
- C([
1328
- M({ type: Boolean, reflect: !0 })
1329
- ], R.prototype, "persistent", 2);
1330
- C([
1331
- M({ type: Number })
1332
- ], R.prototype, "showDelay", 2);
1333
- C([
1334
- M({ type: Number })
1335
- ], R.prototype, "hideDelay", 2);
1336
- R = C([
1337
- lt("cv-tooltip")
1338
- ], R);
1339
- const St = R;
1217
+ N([
1218
+ et(".mdc-tooltip")
1219
+ ], S.prototype, "mdcRoot", 2);
1220
+ N([
1221
+ et(".mdc-tooltip__surface")
1222
+ ], S.prototype, "mdcSurface", 2);
1223
+ N([
1224
+ L({ type: Object })
1225
+ ], S.prototype, "anchor", 2);
1226
+ N([
1227
+ L()
1228
+ ], S.prototype, "richTitle", 2);
1229
+ N([
1230
+ L({ type: Boolean, reflect: !0 })
1231
+ ], S.prototype, "rich", 2);
1232
+ N([
1233
+ L({ type: Boolean, reflect: !0 })
1234
+ ], S.prototype, "persistent", 2);
1235
+ N([
1236
+ L({ type: Number })
1237
+ ], S.prototype, "showDelay", 2);
1238
+ N([
1239
+ L({ type: Number })
1240
+ ], S.prototype, "hideDelay", 2);
1241
+ S = N([
1242
+ nt("cv-tooltip")
1243
+ ], S);
1244
+ const wt = S;
1340
1245
  export {
1341
- R as CovalentTooltip,
1342
- St as default
1246
+ S as CovalentTooltip,
1247
+ wt as default
1343
1248
  };