@covalent/components 6.0.1 → 6.0.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 (193) hide show
  1. package/action-ribbon.mjs +9 -7
  2. package/alert.mjs +13 -11
  3. package/app-shell.mjs +10 -4
  4. package/aria-property.mjs +41 -0
  5. package/base-element.mjs +28 -0
  6. package/button.mjs +180 -13
  7. package/card.mjs +3 -3
  8. package/check-list-item.mjs +92 -14
  9. package/checkbox.mjs +26 -14
  10. package/circular-progress.mjs +144 -10
  11. package/class-map.mjs +62 -0
  12. package/code-snippet.mjs +6 -5
  13. package/covalent.mjs +2 -2
  14. package/covalent.umd.js +3339 -137
  15. package/dialog.mjs +750 -15
  16. package/directive-helpers.mjs +11 -0
  17. package/drawer.mjs +26 -15
  18. package/empty-state.mjs +4 -4
  19. package/event-options.mjs +14 -0
  20. package/form-element.mjs +50 -0
  21. package/foundation.mjs +152 -0
  22. package/foundation2.mjs +60 -0
  23. package/icon-button.mjs +130 -15
  24. package/icon-check-toggle.mjs +18 -8
  25. package/icon-radio-toggle.mjs +29 -18
  26. package/icon.mjs +19 -13
  27. package/if-defined.mjs +10 -0
  28. package/inert.esm.mjs +640 -0
  29. package/linear-progress.mjs +178 -15
  30. package/list-expansion.mjs +33 -22
  31. package/list-item.mjs +19 -20
  32. package/list.mjs +26 -13
  33. package/menu.mjs +32 -13
  34. package/mwc-checkbox-base.mjs +198 -0
  35. package/mwc-checkbox.css.mjs +10 -0
  36. package/mwc-drawer-base.mjs +335 -0
  37. package/mwc-icon.mjs +26 -0
  38. package/mwc-line-ripple-directive.mjs +653 -0
  39. package/mwc-list-base.mjs +840 -0
  40. package/mwc-list-item-base.mjs +202 -0
  41. package/mwc-list-item.css.mjs +17 -0
  42. package/mwc-menu-base.mjs +1145 -0
  43. package/mwc-radio-base.mjs +528 -0
  44. package/mwc-radio.css.mjs +10 -0
  45. package/mwc-slider.css.mjs +956 -0
  46. package/mwc-tab-base.mjs +694 -0
  47. package/mwc-top-app-bar-base.mjs +380 -0
  48. package/nav-list-item.mjs +28 -20
  49. package/observer.mjs +32 -0
  50. package/package.json +9 -2
  51. package/property.mjs +20 -0
  52. package/query-assigned-elements.mjs +615 -0
  53. package/query-assigned-nodes.mjs +17 -0
  54. package/query.mjs +25 -0
  55. package/radio-list-item.mjs +93 -12
  56. package/radio.mjs +28 -15
  57. package/ripple-handlers.mjs +761 -0
  58. package/select.mjs +1257 -15
  59. package/side-sheet.mjs +21 -16
  60. package/slider-range.mjs +438 -11
  61. package/slider.mjs +253 -13
  62. package/snackbar.mjs +456 -15
  63. package/src/action-ribbon/action-ribbon-base.d.ts +30 -0
  64. package/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
  65. package/src/action-ribbon/action-ribbon.d.ts +15 -0
  66. package/src/action-ribbon/action-ribbon.d.ts.map +1 -0
  67. package/src/alert/alert-base.d.ts +31 -0
  68. package/src/alert/alert-base.d.ts.map +1 -0
  69. package/src/alert/alert.d.ts +15 -0
  70. package/src/alert/alert.d.ts.map +1 -0
  71. package/src/app-shell/app-shell.d.ts +26 -0
  72. package/src/app-shell/app-shell.d.ts.map +1 -0
  73. package/src/button/button.d.ts +10 -0
  74. package/src/button/button.d.ts.map +1 -0
  75. package/src/card/card-base.d.ts +25 -0
  76. package/src/card/card-base.d.ts.map +1 -0
  77. package/src/card/card.d.ts +10 -0
  78. package/src/card/card.d.ts.map +1 -0
  79. package/src/checkbox/checkbox.d.ts +10 -0
  80. package/src/checkbox/checkbox.d.ts.map +1 -0
  81. package/src/chips/chip-base.d.ts +52 -0
  82. package/src/chips/chip-base.d.ts.map +1 -0
  83. package/src/chips/chip-set-base.d.ts +33 -0
  84. package/src/chips/chip-set-base.d.ts.map +1 -0
  85. package/src/chips/chip-set.d.ts +15 -0
  86. package/src/chips/chip-set.d.ts.map +1 -0
  87. package/src/chips/chip.d.ts +15 -0
  88. package/src/chips/chip.d.ts.map +1 -0
  89. package/src/chips/foundation.d.ts +60 -0
  90. package/src/chips/foundation.d.ts.map +1 -0
  91. package/src/circular-progress/circular-progress.d.ts +10 -0
  92. package/src/circular-progress/circular-progress.d.ts.map +1 -0
  93. package/src/code-snippet/code-snippet.d.ts +21 -0
  94. package/src/code-snippet/code-snippet.d.ts.map +1 -0
  95. package/src/dialog/dialog.d.ts +10 -0
  96. package/src/dialog/dialog.d.ts.map +1 -0
  97. package/src/drawer/drawer.d.ts +10 -0
  98. package/src/drawer/drawer.d.ts.map +1 -0
  99. package/src/empty-state/empty-state.d.ts +16 -0
  100. package/src/empty-state/empty-state.d.ts.map +1 -0
  101. package/src/formfield/formfield.d.ts +10 -0
  102. package/src/formfield/formfield.d.ts.map +1 -0
  103. package/src/icon/icon.d.ts +10 -0
  104. package/src/icon/icon.d.ts.map +1 -0
  105. package/src/icon-button/icon-button.d.ts +10 -0
  106. package/src/icon-button/icon-button.d.ts.map +1 -0
  107. package/src/icon-checkbox/icon-check-toggle.d.ts +15 -0
  108. package/src/icon-checkbox/icon-check-toggle.d.ts.map +1 -0
  109. package/src/icon-radio/icon-radio-toggle.d.ts +14 -0
  110. package/src/icon-radio/icon-radio-toggle.d.ts.map +1 -0
  111. package/src/index.d.ts +3 -0
  112. package/src/index.d.ts.map +1 -0
  113. package/src/linear-progress/linear-progress.d.ts +10 -0
  114. package/src/linear-progress/linear-progress.d.ts.map +1 -0
  115. package/src/list/check-list-item.d.ts +10 -0
  116. package/src/list/check-list-item.d.ts.map +1 -0
  117. package/src/list/list-expansion.d.ts +18 -0
  118. package/src/list/list-expansion.d.ts.map +1 -0
  119. package/src/list/list-item.d.ts +12 -0
  120. package/src/list/list-item.d.ts.map +1 -0
  121. package/src/list/list.d.ts +10 -0
  122. package/src/list/list.d.ts.map +1 -0
  123. package/src/list/nav-list-item.d.ts +12 -0
  124. package/src/list/nav-list-item.d.ts.map +1 -0
  125. package/src/list/radio-list-item.d.ts +10 -0
  126. package/src/list/radio-list-item.d.ts.map +1 -0
  127. package/src/menu/menu.d.ts +10 -0
  128. package/src/menu/menu.d.ts.map +1 -0
  129. package/src/radio/radio.d.ts +10 -0
  130. package/src/radio/radio.d.ts.map +1 -0
  131. package/src/select/select.d.ts +10 -0
  132. package/src/select/select.d.ts.map +1 -0
  133. package/src/side-sheet/side-sheet.d.ts +18 -0
  134. package/src/side-sheet/side-sheet.d.ts.map +1 -0
  135. package/src/slider/slider-range.d.ts +10 -0
  136. package/src/slider/slider-range.d.ts.map +1 -0
  137. package/src/slider/slider.d.ts +10 -0
  138. package/src/slider/slider.d.ts.map +1 -0
  139. package/src/snackbar/snackbar.d.ts +10 -0
  140. package/src/snackbar/snackbar.d.ts.map +1 -0
  141. package/src/status-header/status-header-base.d.ts +9 -0
  142. package/src/status-header/status-header-base.d.ts.map +1 -0
  143. package/src/status-header/status-header-item.d.ts +17 -0
  144. package/src/status-header/status-header-item.d.ts.map +1 -0
  145. package/src/status-header/status-header.d.ts +15 -0
  146. package/src/status-header/status-header.d.ts.map +1 -0
  147. package/src/switch/switch.d.ts +10 -0
  148. package/src/switch/switch.d.ts.map +1 -0
  149. package/src/tab/tab-bar.d.ts +10 -0
  150. package/src/tab/tab-bar.d.ts.map +1 -0
  151. package/src/tab/tab.d.ts +10 -0
  152. package/src/tab/tab.d.ts.map +1 -0
  153. package/src/text-lockup/text-lockup.d.ts +17 -0
  154. package/src/text-lockup/text-lockup.d.ts.map +1 -0
  155. package/src/textarea/textarea.d.ts +10 -0
  156. package/src/textarea/textarea.d.ts.map +1 -0
  157. package/src/textfield/textfield.d.ts +10 -0
  158. package/src/textfield/textfield.d.ts.map +1 -0
  159. package/src/toolbar/toolbar.d.ts +10 -0
  160. package/src/toolbar/toolbar.d.ts.map +1 -0
  161. package/src/tooltip/tooltip.d.ts +27 -0
  162. package/src/tooltip/tooltip.d.ts.map +1 -0
  163. package/src/top-app-bar/top-app-bar-fixed.d.ts +10 -0
  164. package/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
  165. package/src/top-app-bar/top-app-bar.d.ts +10 -0
  166. package/src/top-app-bar/top-app-bar.d.ts.map +1 -0
  167. package/src/tree-list/tree-list-item.d.ts +16 -0
  168. package/src/tree-list/tree-list-item.d.ts.map +1 -0
  169. package/src/tree-list/tree-list.d.ts +11 -0
  170. package/src/tree-list/tree-list.d.ts.map +1 -0
  171. package/src/typography/typography.d.ts +12 -0
  172. package/src/typography/typography.d.ts.map +1 -0
  173. package/state.mjs +12 -0
  174. package/status-header-item.mjs +16 -16
  175. package/status-header.mjs +5 -5
  176. package/style-map.mjs +40 -0
  177. package/switch.mjs +531 -15
  178. package/tab-bar.mjs +1030 -13
  179. package/tab.mjs +29 -15
  180. package/text-lockup.mjs +8 -8
  181. package/textarea.mjs +111 -16
  182. package/textfield.mjs +34 -18
  183. package/textfield2.mjs +929 -2
  184. package/toolbar.mjs +8 -3
  185. package/tooltip.mjs +1153 -96
  186. package/top-app-bar-fixed.mjs +78 -18
  187. package/top-app-bar.mjs +19 -15
  188. package/top-app-bar2.mjs +9 -2
  189. package/tree-list-item.mjs +3 -3
  190. package/tree-list.mjs +6 -7
  191. package/tslib.es6.mjs +82 -0
  192. package/typography.mjs +8 -8
  193. package/utils.mjs +52 -0
package/tooltip.mjs CHANGED
@@ -1,28 +1,1085 @@
1
- import { LitElement as p, html as l, css as h, unsafeCSS as f } from "lit";
2
- import { query as m, property as a, customElement as u } from "lit/decorators.js";
3
- import { addHasRemoveClass as g } from "@material/mwc-base/base-element";
4
- import { events as y } from "@material/tooltip";
5
- import { MDCTooltipFoundation as _ } from "@material/tooltip/foundation";
6
- const v = `.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)}
1
+ import { s as it, y as Y, i as rt, r as ot, e as nt } from "./query-assigned-elements.mjs";
2
+ import { e as L } from "./property.mjs";
3
+ import { i as et } from "./query.mjs";
4
+ import { a as at } from "./utils.mjs";
5
+ import { _ as st, c as H, a as J } from "./tslib.es6.mjs";
6
+ import { M as lt } from "./foundation2.mjs";
7
+ /**
8
+ * @license
9
+ * Copyright 2020 Google Inc.
10
+ *
11
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ * of this software and associated documentation files (the "Software"), to deal
13
+ * in the Software without restriction, including without limitation the rights
14
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ * copies of the Software, and to permit persons to whom the Software is
16
+ * furnished to do so, subject to the following conditions:
17
+ *
18
+ * The above copyright notice and this permission notice shall be included in
19
+ * all copies or substantial portions of the Software.
20
+ *
21
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27
+ * THE SOFTWARE.
28
+ */
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 = {
34
+ BOUNDED_ANCHOR_GAP: 4,
35
+ UNBOUNDED_ANCHOR_GAP: 8,
36
+ MIN_VIEWPORT_TOOLTIP_THRESHOLD: 8,
37
+ HIDE_DELAY_MS: 600,
38
+ SHOW_DELAY_MS: 500,
39
+ // LINT.IfChange(tooltip-dimensions)
40
+ MIN_HEIGHT: 24,
41
+ MAX_WIDTH: 200,
42
+ // LINT.ThenChange(_tooltip.scss:tooltip-dimensions)
43
+ CARET_INDENTATION: 24,
44
+ // LINT.IfChange(tooltip-anim-scale)
45
+ ANIMATION_SCALE: 0.8
46
+ // LINT.ThenChange(_tooltip.scss:tooltip-anim-scale)
47
+ }, G = {
48
+ ARIA_EXPANDED: "aria-expanded",
49
+ ARIA_HASPOPUP: "aria-haspopup",
50
+ PERSISTENT: "data-mdc-tooltip-persistent",
51
+ SCROLLABLE_ANCESTOR: "tooltip-scrollable-ancestor",
52
+ HAS_CARET: "data-mdc-tooltip-has-caret"
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 = {
68
+ LEFT: "left",
69
+ RIGHT: "right",
70
+ CENTER: "center",
71
+ TOP: "top",
72
+ BOTTOM: "bottom"
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 m;
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
+ })(m || (m = {}));
85
+ /**
86
+ * @license
87
+ * Copyright 2020 Google Inc.
88
+ *
89
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ * of this software and associated documentation files (the "Software"), to deal
91
+ * in the Software without restriction, including without limitation the rights
92
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ * copies of the Software, and to permit persons to whom the Software is
94
+ * furnished to do so, subject to the following conditions:
95
+ *
96
+ * The above copyright notice and this permission notice shall be included in
97
+ * all copies or substantial portions of the Software.
98
+ *
99
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
+ * THE SOFTWARE.
106
+ */
107
+ var ct = (
108
+ /** @class */
109
+ function() {
110
+ function i() {
111
+ this.rafIDs = /* @__PURE__ */ new Map();
112
+ }
113
+ return i.prototype.request = function(o, t) {
114
+ var r = this;
115
+ this.cancel(o);
116
+ var e = requestAnimationFrame(function(n) {
117
+ r.rafIDs.delete(o), t(n);
118
+ });
119
+ this.rafIDs.set(o, e);
120
+ }, i.prototype.cancel = function(o) {
121
+ var t = this.rafIDs.get(o);
122
+ t && (cancelAnimationFrame(t), this.rafIDs.delete(o));
123
+ }, i.prototype.cancelAll = function() {
124
+ var o = this;
125
+ this.rafIDs.forEach(function(t, r) {
126
+ o.cancel(r);
127
+ });
128
+ }, i.prototype.getQueue = function() {
129
+ var o = [];
130
+ return this.rafIDs.forEach(function(t, r) {
131
+ o.push(r);
132
+ }), o;
133
+ }, i;
134
+ }()
135
+ );
136
+ /**
137
+ * @license
138
+ * Copyright 2016 Google Inc.
139
+ *
140
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
141
+ * of this software and associated documentation files (the "Software"), to deal
142
+ * in the Software without restriction, including without limitation the rights
143
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
144
+ * copies of the Software, and to permit persons to whom the Software is
145
+ * furnished to do so, subject to the following conditions:
146
+ *
147
+ * The above copyright notice and this permission notice shall be included in
148
+ * all copies or substantial portions of the Software.
149
+ *
150
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
151
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
152
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
153
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
154
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
155
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
156
+ * THE SOFTWARE.
157
+ */
158
+ var Z = {
159
+ animation: {
160
+ prefixed: "-webkit-animation",
161
+ standard: "animation"
162
+ },
163
+ transform: {
164
+ prefixed: "-webkit-transform",
165
+ standard: "transform"
166
+ },
167
+ transition: {
168
+ prefixed: "-webkit-transition",
169
+ standard: "transition"
170
+ }
171
+ };
172
+ function ht(i) {
173
+ return Boolean(i.document) && typeof i.document.createElement == "function";
174
+ }
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;
179
+ }
180
+ return o;
181
+ }
182
+ /**
183
+ * @license
184
+ * Copyright 2020 Google Inc.
185
+ *
186
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
187
+ * of this software and associated documentation files (the "Software"), to deal
188
+ * in the Software without restriction, including without limitation the rights
189
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
190
+ * copies of the Software, and to permit persons to whom the Software is
191
+ * furnished to do so, subject to the following conditions:
192
+ *
193
+ * The above copyright notice and this permission notice shall be included in
194
+ * all copies or substantial portions of the Software.
195
+ *
196
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
197
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
198
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
199
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
200
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
201
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
202
+ * THE SOFTWARE.
203
+ */
204
+ var p = {
205
+ UNKNOWN: "Unknown",
206
+ BACKSPACE: "Backspace",
207
+ ENTER: "Enter",
208
+ SPACEBAR: "Spacebar",
209
+ PAGE_UP: "PageUp",
210
+ PAGE_DOWN: "PageDown",
211
+ END: "End",
212
+ HOME: "Home",
213
+ ARROW_LEFT: "ArrowLeft",
214
+ ARROW_UP: "ArrowUp",
215
+ ARROW_RIGHT: "ArrowRight",
216
+ ARROW_DOWN: "ArrowDown",
217
+ DELETE: "Delete",
218
+ ESCAPE: "Escape",
219
+ TAB: "Tab"
220
+ }, D = /* @__PURE__ */ new Set();
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 = {
236
+ BACKSPACE: 8,
237
+ ENTER: 13,
238
+ SPACEBAR: 32,
239
+ PAGE_UP: 33,
240
+ PAGE_DOWN: 34,
241
+ END: 35,
242
+ HOME: 36,
243
+ ARROW_LEFT: 37,
244
+ ARROW_UP: 38,
245
+ ARROW_RIGHT: 39,
246
+ ARROW_DOWN: 40,
247
+ DELETE: 46,
248
+ ESCAPE: 27,
249
+ TAB: 9
250
+ }, w = /* @__PURE__ */ new Map();
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;
276
+ if (D.has(o))
277
+ return o;
278
+ var t = w.get(i.keyCode);
279
+ return t || p.UNKNOWN;
280
+ }
281
+ /**
282
+ * @license
283
+ * Copyright 2020 Google Inc.
284
+ *
285
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
286
+ * of this software and associated documentation files (the "Software"), to deal
287
+ * in the Software without restriction, including without limitation the rights
288
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
289
+ * copies of the Software, and to permit persons to whom the Software is
290
+ * furnished to do so, subject to the following conditions:
291
+ *
292
+ * The above copyright notice and this permission notice shall be included in
293
+ * all copies or substantial portions of the Software.
294
+ *
295
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
296
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
297
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
298
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
299
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
300
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
301
+ * THE SOFTWARE.
302
+ */
303
+ var ut = x.RICH, $ = x.SHOWN, q = x.SHOWING, U = x.SHOWING_TRANSITION, V = x.HIDE, z = x.HIDE_TRANSITION, mt = x.MULTILINE_TOOLTIP, Q;
304
+ (function(i) {
305
+ i.POLL_ANCHOR = "poll_anchor";
306
+ })(Q || (Q = {}));
307
+ var tt = typeof window < "u", Tt = (
308
+ /** @class */
309
+ function(i) {
310
+ st(o, i);
311
+ function o(t) {
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);
319
+ }, r.tooltipMouseEnterHandler = function() {
320
+ r.handleTooltipMouseEnter();
321
+ }, r.tooltipMouseLeaveHandler = function() {
322
+ r.handleTooltipMouseLeave();
323
+ }, r.richTooltipFocusOutHandler = function(e) {
324
+ r.handleRichTooltipFocusOut(e);
325
+ }, r.windowScrollHandler = function() {
326
+ r.handleWindowScrollEvent();
327
+ }, r.windowResizeHandler = function() {
328
+ r.handleWindowChangeEvent();
329
+ }, r;
330
+ }
331
+ return Object.defineProperty(o, "defaultAdapter", {
332
+ get: function() {
333
+ return {
334
+ getAttribute: function() {
335
+ return null;
336
+ },
337
+ setAttribute: function() {
338
+ },
339
+ removeAttribute: function() {
340
+ },
341
+ addClass: function() {
342
+ },
343
+ hasClass: function() {
344
+ return !1;
345
+ },
346
+ removeClass: function() {
347
+ },
348
+ getComputedStyleProperty: function() {
349
+ return "";
350
+ },
351
+ setStyleProperty: function() {
352
+ },
353
+ setSurfaceAnimationStyleProperty: function() {
354
+ },
355
+ getViewportWidth: function() {
356
+ return 0;
357
+ },
358
+ getViewportHeight: function() {
359
+ return 0;
360
+ },
361
+ getTooltipSize: function() {
362
+ return { width: 0, height: 0 };
363
+ },
364
+ getAnchorBoundingRect: function() {
365
+ return { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 };
366
+ },
367
+ getParentBoundingRect: function() {
368
+ return { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 };
369
+ },
370
+ getAnchorAttribute: function() {
371
+ return null;
372
+ },
373
+ setAnchorAttribute: function() {
374
+ return null;
375
+ },
376
+ isRTL: function() {
377
+ return !1;
378
+ },
379
+ anchorContainsElement: function() {
380
+ return !1;
381
+ },
382
+ tooltipContainsElement: function() {
383
+ return !1;
384
+ },
385
+ focusAnchorElement: function() {
386
+ },
387
+ registerEventHandler: function() {
388
+ },
389
+ deregisterEventHandler: function() {
390
+ },
391
+ registerAnchorEventHandler: function() {
392
+ },
393
+ deregisterAnchorEventHandler: function() {
394
+ },
395
+ registerDocumentEventHandler: function() {
396
+ },
397
+ deregisterDocumentEventHandler: function() {
398
+ },
399
+ registerWindowEventHandler: function() {
400
+ },
401
+ deregisterWindowEventHandler: function() {
402
+ },
403
+ notifyHidden: function() {
404
+ },
405
+ getTooltipCaretBoundingRect: function() {
406
+ return { top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 };
407
+ },
408
+ setTooltipCaretStyle: function() {
409
+ },
410
+ clearTooltipCaretStyles: function() {
411
+ },
412
+ getActiveElement: function() {
413
+ return null;
414
+ }
415
+ };
416
+ },
417
+ enumerable: !1,
418
+ configurable: !0
419
+ }), o.prototype.init = function() {
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";
421
+ }, o.prototype.isShown = function() {
422
+ return this.tooltipShown;
423
+ }, o.prototype.isRich = function() {
424
+ return this.richTooltip;
425
+ }, o.prototype.isPersistent = function() {
426
+ return this.persistentTooltip;
427
+ }, o.prototype.handleAnchorMouseEnter = function() {
428
+ var t = this;
429
+ this.tooltipShown ? this.show() : (this.clearHideTimeout(), this.showTimeout = setTimeout(function() {
430
+ t.show();
431
+ }, this.showDelayMs));
432
+ }, o.prototype.handleAnchorTouchstart = function() {
433
+ var t = this;
434
+ this.showTimeout = setTimeout(function() {
435
+ t.show();
436
+ }, this.showDelayMs), this.adapter.registerWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
437
+ }, o.prototype.preventContextMenuOnLongTouch = function(t) {
438
+ t.preventDefault();
439
+ }, o.prototype.handleAnchorTouchend = function() {
440
+ this.clearShowTimeout(), this.isShown() || this.adapter.deregisterWindowEventHandler("contextmenu", this.preventContextMenuOnLongTouch);
441
+ }, o.prototype.handleAnchorFocus = function(t) {
442
+ var r = this, e = t.relatedTarget, n = e instanceof HTMLElement && this.adapter.tooltipContainsElement(e);
443
+ n || (this.showTimeout = setTimeout(function() {
444
+ r.show();
445
+ }, this.showDelayMs));
446
+ }, o.prototype.handleAnchorMouseLeave = function() {
447
+ var t = this;
448
+ this.clearShowTimeout(), this.hideTimeout = setTimeout(function() {
449
+ t.hide();
450
+ }, this.hideDelayMs);
451
+ }, o.prototype.handleAnchorClick = function() {
452
+ this.tooltipShown ? this.hide() : this.show();
453
+ }, o.prototype.handleDocumentClick = function(t) {
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();
456
+ }, o.prototype.handleKeydown = function(t) {
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();
461
+ }
462
+ }, o.prototype.handleAnchorBlur = function(t) {
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();
469
+ }, o.prototype.handleTooltipMouseEnter = function() {
470
+ this.show();
471
+ }, o.prototype.handleTooltipMouseLeave = function() {
472
+ var t = this;
473
+ this.clearShowTimeout(), this.hideTimeout = setTimeout(function() {
474
+ t.hide();
475
+ }, this.hideDelayMs);
476
+ }, o.prototype.handleRichTooltipFocusOut = function(t) {
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();
479
+ }, o.prototype.handleWindowScrollEvent = function() {
480
+ if (this.persistentTooltip) {
481
+ this.handleWindowChangeEvent();
482
+ return;
483
+ }
484
+ this.hide();
485
+ }, o.prototype.handleWindowChangeEvent = function() {
486
+ var t = this;
487
+ this.animFrame.request(Q.POLL_ANCHOR, function() {
488
+ t.repositionTooltipOnAnchorMove();
489
+ });
490
+ }, o.prototype.show = function() {
491
+ var t, r, e = this;
492
+ if (this.clearHideTimeout(), this.clearShowTimeout(), !this.tooltipShown) {
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(mt), 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);
494
+ try {
495
+ for (var n = H(this.addAncestorScrollEventListeners), a = n.next(); !a.done; a = n.next()) {
496
+ var c = a.value;
497
+ c();
498
+ }
499
+ } catch (u) {
500
+ t = { error: u };
501
+ } finally {
502
+ try {
503
+ a && !a.done && (r = n.return) && r.call(n);
504
+ } finally {
505
+ if (t)
506
+ throw t.error;
507
+ }
508
+ }
509
+ this.frameId = requestAnimationFrame(function() {
510
+ e.clearAllAnimationClasses(), e.adapter.addClass($), e.adapter.addClass(U);
511
+ });
512
+ }
513
+ }, o.prototype.hide = function() {
514
+ var t, r;
515
+ if (this.clearHideTimeout(), this.clearShowTimeout(), !!this.tooltipShown) {
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);
517
+ try {
518
+ for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
519
+ var a = n.value;
520
+ a();
521
+ }
522
+ } catch (c) {
523
+ t = { error: c };
524
+ } finally {
525
+ try {
526
+ n && !n.done && (r = e.return) && r.call(e);
527
+ } finally {
528
+ if (t)
529
+ throw t.error;
530
+ }
531
+ }
532
+ }
533
+ }, o.prototype.handleTransitionEnd = function() {
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();
536
+ }, o.prototype.clearAllAnimationClasses = function() {
537
+ this.adapter.removeClass(U), this.adapter.removeClass(z);
538
+ }, o.prototype.setTooltipPosition = function(t) {
539
+ var r = t.xPos, e = t.yPos, n = t.withCaretPos;
540
+ if (this.hasCaret && n) {
541
+ this.tooltipPositionWithCaret = n;
542
+ return;
543
+ }
544
+ r && (this.xTooltipPos = r), e && (this.yTooltipPos = e);
545
+ }, o.prototype.setAnchorBoundaryType = function(t) {
546
+ t === j.UNBOUNDED ? this.anchorGap = O.UNBOUNDED_ANCHOR_GAP : this.anchorGap = O.BOUNDED_ANCHOR_GAP;
547
+ }, o.prototype.setShowDelay = function(t) {
548
+ this.showDelayMs = t;
549
+ }, o.prototype.setHideDelay = function(t) {
550
+ this.hideDelayMs = t;
551
+ }, o.prototype.isTooltipMultiline = function() {
552
+ var t = this.adapter.getTooltipSize();
553
+ return t.height > O.MIN_HEIGHT && t.width >= O.MAX_WIDTH;
554
+ }, o.prototype.positionPlainTooltip = function() {
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");
557
+ }, o.prototype.positionRichTooltip = function() {
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");
564
+ }, o.prototype.calculateTooltipStyles = function(t) {
565
+ if (!t)
566
+ return { top: 0, left: 0 };
567
+ var r = this.adapter.getTooltipSize(), e = this.calculateYTooltipDistance(t, r.height), n = this.calculateXTooltipDistance(t, r.width);
568
+ return {
569
+ top: e.distance,
570
+ yTransformOrigin: e.yTransformOrigin,
571
+ left: n.distance,
572
+ xTransformOrigin: n.xTransformOrigin
573
+ };
574
+ }, o.prototype.calculateXTooltipDistance = function(t, r) {
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 }
590
+ ] : [
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);
597
+ });
598
+ if (A)
599
+ return A;
600
+ if (t.left < 0)
601
+ return {
602
+ distance: this.minViewportTooltipThreshold,
603
+ xTransformOrigin: d.LEFT
604
+ };
605
+ var E = this.adapter.getViewportWidth(), f = E - (r + this.minViewportTooltipThreshold);
606
+ return { distance: f, xTransformOrigin: d.RIGHT };
607
+ }, o.prototype.determineValidPositionOptions = function() {
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();
611
+ try {
612
+ for (var u = H(e), s = u.next(); !s.done; s = u.next()) {
613
+ var l = s.value;
614
+ this.positionHonorsViewportThreshold(l) ? a.add(l) : this.positionDoesntCollideWithViewport(l) && c.add(l);
615
+ }
616
+ } catch (g) {
617
+ t = { error: g };
618
+ } finally {
619
+ try {
620
+ s && !s.done && (r = u.return) && r.call(u);
621
+ } finally {
622
+ if (t)
623
+ throw t.error;
624
+ }
625
+ }
626
+ return a.size ? a : c;
627
+ }, o.prototype.positionHonorsViewportThreshold = function(t) {
628
+ var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
629
+ return t + e <= r - this.minViewportTooltipThreshold && t >= this.minViewportTooltipThreshold;
630
+ }, o.prototype.positionDoesntCollideWithViewport = function(t) {
631
+ var r = this.adapter.getViewportWidth(), e = this.adapter.getTooltipSize().width;
632
+ return t + e <= r && t >= 0;
633
+ }, o.prototype.calculateYTooltipDistance = function(t, r) {
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;
639
+ }, o.prototype.yPositionHonorsViewportThreshold = function(t) {
640
+ var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
641
+ return t + e + this.minViewportTooltipThreshold <= r && t >= this.minViewportTooltipThreshold;
642
+ }, o.prototype.yPositionDoesntCollideWithViewport = function(t) {
643
+ var r = this.adapter.getViewportHeight(), e = this.adapter.getTooltipSize().height;
644
+ return t + e <= r && t >= 0;
645
+ }, o.prototype.calculateTooltipWithCaretStyles = function(t) {
646
+ this.adapter.clearTooltipCaretStyles();
647
+ var r = this.adapter.getTooltipCaretBoundingRect();
648
+ if (!t || !r)
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;
653
+ return {
654
+ yTransformOrigin: v,
655
+ xTransformOrigin: y,
656
+ top: E,
657
+ left: A
658
+ };
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, T = u - r / 2, C = /* @__PURE__ */ new Map([
661
+ [m.START, v],
662
+ [m.CENTER, T],
663
+ [m.END, y],
664
+ [m.SIDE_END, A],
665
+ [m.SIDE_START, g]
666
+ ]);
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]
675
+ ]);
676
+ return E;
677
+ }, o.prototype.repositionTooltipOnAnchorMove = function() {
678
+ var t = this.adapter.getAnchorBoundingRect();
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());
680
+ }, o.prototype.validateTooltipWithCaretDistances = function(t, r) {
681
+ var e, n, a, c, u, s, l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map([
682
+ [
683
+ _.ABOVE,
684
+ [
685
+ m.START,
686
+ m.CENTER,
687
+ m.END
688
+ ]
689
+ ],
690
+ [
691
+ _.BELOW,
692
+ [
693
+ m.START,
694
+ m.CENTER,
695
+ m.END
696
+ ]
697
+ ],
698
+ [
699
+ _.SIDE_TOP,
700
+ [m.SIDE_START, m.SIDE_END]
701
+ ],
702
+ [
703
+ _.SIDE_CENTER,
704
+ [m.SIDE_START, m.SIDE_END]
705
+ ],
706
+ [
707
+ _.SIDE_BOTTOM,
708
+ [m.SIDE_START, m.SIDE_END]
709
+ ]
710
+ ]);
711
+ try {
712
+ for (var E = H(A.keys()), f = E.next(); !f.done; f = E.next()) {
713
+ var v = f.value, y = t.get(v);
714
+ if (this.yPositionHonorsViewportThreshold(y))
715
+ try {
716
+ for (var T = (a = void 0, H(A.get(v))), C = T.next(); !C.done; C = T.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 });
721
+ }
722
+ }
723
+ } catch (W) {
724
+ a = { error: W };
725
+ } finally {
726
+ try {
727
+ C && !C.done && (c = T.return) && c.call(T);
728
+ } finally {
729
+ if (a)
730
+ throw a.error;
731
+ }
732
+ }
733
+ if (this.yPositionDoesntCollideWithViewport(y))
734
+ try {
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 });
740
+ }
741
+ }
742
+ } catch (W) {
743
+ u = { error: W };
744
+ } finally {
745
+ try {
746
+ M && !M.done && (s = k.return) && s.call(k);
747
+ } finally {
748
+ if (u)
749
+ throw u.error;
750
+ }
751
+ }
752
+ }
753
+ } catch (W) {
754
+ e = { error: W };
755
+ } finally {
756
+ try {
757
+ f && !f.done && (n = E.return) && n.call(E);
758
+ } finally {
759
+ if (e)
760
+ throw e.error;
761
+ }
762
+ }
763
+ return l.size ? l : g;
764
+ }, o.prototype.generateBackupPositionOption = function(t, r, e) {
765
+ var n = !this.adapter.isRTL(), a, c;
766
+ if (t.left < 0)
767
+ a = this.minViewportTooltipThreshold + e.caretHeight, c = n ? m.END : m.START;
768
+ else {
769
+ var u = this.adapter.getViewportWidth();
770
+ a = u - (r.width + this.minViewportTooltipThreshold + e.caretHeight), c = n ? m.START : m.END;
771
+ }
772
+ var s, l;
773
+ if (t.top < 0)
774
+ s = this.minViewportTooltipThreshold + e.caretHeight, l = _.BELOW;
775
+ else {
776
+ var g = this.adapter.getViewportHeight();
777
+ s = g - (r.height + this.minViewportTooltipThreshold + e.caretHeight), l = _.ABOVE;
778
+ }
779
+ var A = this.caretPositionOptionsMapping(c, l);
780
+ return /* @__PURE__ */ new Map([[A, { xDistance: a, yDistance: s }]]);
781
+ }, o.prototype.determineTooltipWithCaretDistance = function(t) {
782
+ if (t.has(this.tooltipPositionWithCaret)) {
783
+ var r = t.get(this.tooltipPositionWithCaret);
784
+ return {
785
+ position: this.tooltipPositionWithCaret,
786
+ xDistance: r.xDistance,
787
+ yDistance: r.yDistance
788
+ };
789
+ }
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);
805
+ }), a = t.get(n);
806
+ return {
807
+ position: n,
808
+ xDistance: a.xDistance,
809
+ yDistance: a.yDistance
810
+ };
811
+ }, o.prototype.caretPositionOptionsMapping = function(t, r) {
812
+ switch (r) {
813
+ case _.ABOVE:
814
+ if (t === m.START)
815
+ return h.ABOVE_START;
816
+ if (t === m.CENTER)
817
+ return h.ABOVE_CENTER;
818
+ if (t === m.END)
819
+ return h.ABOVE_END;
820
+ break;
821
+ case _.BELOW:
822
+ if (t === m.START)
823
+ return h.BELOW_START;
824
+ if (t === m.CENTER)
825
+ return h.BELOW_CENTER;
826
+ if (t === m.END)
827
+ return h.BELOW_END;
828
+ break;
829
+ case _.SIDE_TOP:
830
+ if (t === m.SIDE_START)
831
+ return h.TOP_SIDE_START;
832
+ if (t === m.SIDE_END)
833
+ return h.TOP_SIDE_END;
834
+ break;
835
+ case _.SIDE_CENTER:
836
+ if (t === m.SIDE_START)
837
+ return h.CENTER_SIDE_START;
838
+ if (t === m.SIDE_END)
839
+ return h.CENTER_SIDE_END;
840
+ break;
841
+ case _.SIDE_BOTTOM:
842
+ if (t === m.SIDE_START)
843
+ return h.BOTTOM_SIDE_START;
844
+ if (t === m.SIDE_END)
845
+ return h.BOTTOM_SIDE_END;
846
+ break;
847
+ }
848
+ throw new Error("MDCTooltipFoundation: Invalid caret position of " + t + ", " + r);
849
+ }, o.prototype.setCaretPositionStyles = function(t, r) {
850
+ var e, n, a = this.calculateCaretPositionOnTooltip(t, r);
851
+ if (!a)
852
+ return { yTransformOrigin: 0, xTransformOrigin: 0 };
853
+ this.adapter.clearTooltipCaretStyles(), this.adapter.setTooltipCaretStyle(a.yAlignment, a.yAxisPx), this.adapter.setTooltipCaretStyle(a.xAlignment, a.xAxisPx);
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);
856
+ try {
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");
860
+ }
861
+ } catch (A) {
862
+ e = { error: A };
863
+ } finally {
864
+ try {
865
+ l && !l.done && (n = s.return) && n.call(s);
866
+ } finally {
867
+ if (e)
868
+ throw e.error;
869
+ }
870
+ }
871
+ return {
872
+ yTransformOrigin: a.yTransformOrigin,
873
+ xTransformOrigin: a.xTransformOrigin
874
+ };
875
+ }, o.prototype.calculateCaretPositionOnTooltip = function(t, r) {
876
+ var e = !this.adapter.isRTL(), n = this.adapter.getComputedStyleProperty("width"), a = this.adapter.getComputedStyleProperty("height");
877
+ if (!(!n || !a || !r)) {
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"], T = 20;
879
+ switch (t) {
880
+ case h.BELOW_CENTER:
881
+ return {
882
+ yAlignment: d.TOP,
883
+ xAlignment: d.LEFT,
884
+ yAxisPx: s,
885
+ xAxisPx: c,
886
+ rotation: -1 * E,
887
+ skew: -1 * T,
888
+ xTransformOrigin: c,
889
+ yTransformOrigin: s,
890
+ caretCorners: v
891
+ };
892
+ case h.BELOW_END:
893
+ return {
894
+ yAlignment: d.TOP,
895
+ xAlignment: e ? d.RIGHT : d.LEFT,
896
+ yAxisPx: s,
897
+ xAxisPx: l,
898
+ rotation: e ? E : -1 * E,
899
+ skew: e ? T : -1 * T,
900
+ xTransformOrigin: e ? g : l,
901
+ yTransformOrigin: s,
902
+ caretCorners: e ? y : v
903
+ };
904
+ case h.BELOW_START:
905
+ return {
906
+ yAlignment: d.TOP,
907
+ xAlignment: e ? d.LEFT : d.RIGHT,
908
+ yAxisPx: s,
909
+ xAxisPx: l,
910
+ rotation: e ? -1 * E : E,
911
+ skew: e ? -1 * T : T,
912
+ xTransformOrigin: e ? l : g,
913
+ yTransformOrigin: s,
914
+ caretCorners: e ? v : y
915
+ };
916
+ case h.TOP_SIDE_END:
917
+ return {
918
+ yAlignment: d.TOP,
919
+ xAlignment: e ? d.LEFT : d.RIGHT,
920
+ yAxisPx: l,
921
+ xAxisPx: s,
922
+ rotation: e ? f : -1 * f,
923
+ skew: e ? -1 * T : T,
924
+ xTransformOrigin: e ? s : n,
925
+ yTransformOrigin: l,
926
+ caretCorners: e ? v : y
927
+ };
928
+ case h.CENTER_SIDE_END:
929
+ return {
930
+ yAlignment: d.TOP,
931
+ xAlignment: e ? d.LEFT : d.RIGHT,
932
+ yAxisPx: u,
933
+ xAxisPx: s,
934
+ rotation: e ? f : -1 * f,
935
+ skew: e ? -1 * T : T,
936
+ xTransformOrigin: e ? s : n,
937
+ yTransformOrigin: u,
938
+ caretCorners: e ? v : y
939
+ };
940
+ case h.BOTTOM_SIDE_END:
941
+ return {
942
+ yAlignment: d.BOTTOM,
943
+ xAlignment: e ? d.LEFT : d.RIGHT,
944
+ yAxisPx: l,
945
+ xAxisPx: s,
946
+ rotation: e ? -1 * f : f,
947
+ skew: e ? T : -1 * T,
948
+ xTransformOrigin: e ? s : n,
949
+ yTransformOrigin: A,
950
+ caretCorners: e ? y : v
951
+ };
952
+ case h.TOP_SIDE_START:
953
+ return {
954
+ yAlignment: d.TOP,
955
+ xAlignment: e ? d.RIGHT : d.LEFT,
956
+ yAxisPx: l,
957
+ xAxisPx: s,
958
+ rotation: e ? -1 * f : f,
959
+ skew: e ? T : -1 * T,
960
+ xTransformOrigin: e ? n : s,
961
+ yTransformOrigin: l,
962
+ caretCorners: e ? y : v
963
+ };
964
+ case h.CENTER_SIDE_START:
965
+ return {
966
+ yAlignment: d.TOP,
967
+ xAlignment: e ? d.RIGHT : d.LEFT,
968
+ yAxisPx: u,
969
+ xAxisPx: s,
970
+ rotation: e ? -1 * f : f,
971
+ skew: e ? T : -1 * T,
972
+ xTransformOrigin: e ? n : s,
973
+ yTransformOrigin: u,
974
+ caretCorners: e ? y : v
975
+ };
976
+ case h.BOTTOM_SIDE_START:
977
+ return {
978
+ yAlignment: d.BOTTOM,
979
+ xAlignment: e ? d.RIGHT : d.LEFT,
980
+ yAxisPx: l,
981
+ xAxisPx: s,
982
+ rotation: e ? f : -1 * f,
983
+ skew: e ? -1 * T : T,
984
+ xTransformOrigin: e ? n : s,
985
+ yTransformOrigin: A,
986
+ caretCorners: e ? v : y
987
+ };
988
+ case h.ABOVE_CENTER:
989
+ return {
990
+ yAlignment: d.BOTTOM,
991
+ xAlignment: d.LEFT,
992
+ yAxisPx: s,
993
+ xAxisPx: c,
994
+ rotation: E,
995
+ skew: T,
996
+ xTransformOrigin: c,
997
+ yTransformOrigin: a,
998
+ caretCorners: y
999
+ };
1000
+ case h.ABOVE_END:
1001
+ return {
1002
+ yAlignment: d.BOTTOM,
1003
+ xAlignment: e ? d.RIGHT : d.LEFT,
1004
+ yAxisPx: s,
1005
+ xAxisPx: l,
1006
+ rotation: e ? -1 * E : E,
1007
+ skew: e ? -1 * T : T,
1008
+ xTransformOrigin: e ? g : l,
1009
+ yTransformOrigin: a,
1010
+ caretCorners: e ? v : y
1011
+ };
1012
+ default:
1013
+ case h.ABOVE_START:
1014
+ return {
1015
+ yAlignment: d.BOTTOM,
1016
+ xAlignment: e ? d.LEFT : d.RIGHT,
1017
+ yAxisPx: s,
1018
+ xAxisPx: l,
1019
+ rotation: e ? E : -1 * E,
1020
+ skew: e ? T : -1 * T,
1021
+ xTransformOrigin: e ? l : g,
1022
+ yTransformOrigin: a,
1023
+ caretCorners: e ? y : v
1024
+ };
1025
+ }
1026
+ }
1027
+ }, o.prototype.clearShowTimeout = function() {
1028
+ this.showTimeout && (clearTimeout(this.showTimeout), this.showTimeout = null);
1029
+ }, o.prototype.clearHideTimeout = function() {
1030
+ this.hideTimeout && (clearTimeout(this.hideTimeout), this.hideTimeout = null);
1031
+ }, o.prototype.attachScrollHandler = function(t) {
1032
+ var r = this;
1033
+ this.addAncestorScrollEventListeners.push(function() {
1034
+ t("scroll", r.windowScrollHandler);
1035
+ });
1036
+ }, o.prototype.removeScrollHandler = function(t) {
1037
+ var r = this;
1038
+ this.removeAncestorScrollEventListeners.push(function() {
1039
+ t("scroll", r.windowScrollHandler);
1040
+ });
1041
+ }, o.prototype.destroy = function() {
1042
+ var t, r;
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);
1044
+ try {
1045
+ for (var e = H(this.removeAncestorScrollEventListeners), n = e.next(); !n.done; n = e.next()) {
1046
+ var a = n.value;
1047
+ a();
1048
+ }
1049
+ } catch (c) {
1050
+ t = { error: c };
1051
+ } finally {
1052
+ try {
1053
+ n && !n.done && (r = e.return) && r.call(e);
1054
+ } finally {
1055
+ if (t)
1056
+ throw t.error;
1057
+ }
1058
+ }
1059
+ this.animFrame.cancelAll();
1060
+ }, o;
1061
+ }(lt)
1062
+ );
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)}
7
1064
  `;
8
- var x = Object.defineProperty, b = Object.getOwnPropertyDescriptor, c = (t, o, e, n) => {
9
- for (var i = n > 1 ? void 0 : n ? b(o, e) : o, d = t.length - 1, s; d >= 0; d--)
10
- (s = t[d]) && (i = (n ? s(o, e, i) : s(i)) || i);
11
- return n && i && x(o, e, 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;
12
1069
  };
13
- let r = class extends p {
1070
+ let S = class extends it {
14
1071
  constructor() {
15
- super(...arguments), this.mdcFoundationClass = _;
1072
+ super(...arguments), this.mdcFoundationClass = Tt;
16
1073
  }
17
1074
  createAdapter() {
18
1075
  return {
19
- ...g(this.mdcRoot),
20
- getAttribute: (t) => this.mdcRoot.getAttribute(t),
21
- setAttribute: (t, o) => this.mdcRoot.setAttribute(t, o),
22
- removeAttribute: (t) => this.mdcRoot.removeAttribute(t),
23
- getComputedStyleProperty: (t) => getComputedStyle(this.mdcRoot, t).cssText,
24
- setStyleProperty: (t, o) => this.mdcRoot.style.setProperty(t, o),
25
- setSurfaceAnimationStyleProperty: (t, o) => this.mdcSurface.style.setProperty(t, 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),
26
1083
  getViewportWidth: () => Math.max(
27
1084
  document.documentElement.clientWidth || 0,
28
1085
  window.innerWidth || 0
@@ -36,52 +1093,52 @@ let r = class extends p {
36
1093
  height: this.mdcRoot.clientHeight
37
1094
  }),
38
1095
  getAnchorBoundingRect: () => {
39
- var t;
40
- return ((t = this.anchor) == null ? void 0 : t.getBoundingClientRect()) ?? null;
1096
+ var i;
1097
+ return ((i = this.anchor) == null ? void 0 : i.getBoundingClientRect()) ?? null;
41
1098
  },
42
1099
  getParentBoundingRect: () => {
43
- var t;
44
- return ((t = this.renderRoot.getRootNode().parentElement) == null ? void 0 : t.getBoundingClientRect()) ?? null;
1100
+ var i;
1101
+ return ((i = this.renderRoot.getRootNode().parentElement) == null ? void 0 : i.getBoundingClientRect()) ?? null;
45
1102
  },
46
- getAnchorAttribute: (t) => {
1103
+ getAnchorAttribute: (i) => {
47
1104
  var o;
48
- return ((o = this.anchor) == null ? void 0 : o.getAttribute(t)) ?? null;
1105
+ return ((o = this.anchor) == null ? void 0 : o.getAttribute(i)) ?? null;
49
1106
  },
50
- setAnchorAttribute: (t, o) => {
51
- var e;
52
- return (e = this.anchor) == null ? void 0 : e.setAttribute(t, o);
1107
+ setAnchorAttribute: (i, o) => {
1108
+ var t;
1109
+ return (t = this.anchor) == null ? void 0 : t.setAttribute(i, o);
53
1110
  },
54
1111
  isRTL: () => !1,
55
- anchorContainsElement: (t) => {
1112
+ anchorContainsElement: (i) => {
56
1113
  var o;
57
- return ((o = this.anchor) == null ? void 0 : o.contains(t)) ?? !1;
1114
+ return ((o = this.anchor) == null ? void 0 : o.contains(i)) ?? !1;
58
1115
  },
59
- tooltipContainsElement: (t) => this.contains(t),
1116
+ tooltipContainsElement: (i) => this.contains(i),
60
1117
  focusAnchorElement: () => {
61
- var t;
62
- return (t = this.anchor) == null ? void 0 : t.focus();
1118
+ var i;
1119
+ return (i = this.anchor) == null ? void 0 : i.focus();
63
1120
  },
64
- registerEventHandler: (t, o) => {
65
- var e;
66
- return (e = this.mdcRoot) == null ? void 0 : e.addEventListener(t, o);
1121
+ registerEventHandler: (i, o) => {
1122
+ var t;
1123
+ return (t = this.mdcRoot) == null ? void 0 : t.addEventListener(i, o);
67
1124
  },
68
- deregisterEventHandler: (t, o) => {
69
- var e;
70
- return (e = this.mdcRoot) == null ? void 0 : e.removeEventListener(t, o);
1125
+ deregisterEventHandler: (i, o) => {
1126
+ var t;
1127
+ return (t = this.mdcRoot) == null ? void 0 : t.removeEventListener(i, o);
71
1128
  },
72
- registerAnchorEventHandler: (t, o) => {
73
- var e;
74
- return (e = this.anchor) == null ? void 0 : e.addEventListener(t, o);
1129
+ registerAnchorEventHandler: (i, o) => {
1130
+ var t;
1131
+ return (t = this.anchor) == null ? void 0 : t.addEventListener(i, o);
75
1132
  },
76
- deregisterAnchorEventHandler: (t, o) => {
77
- var e;
78
- return (e = this.anchor) == null ? void 0 : e.removeEventListener(t, o);
1133
+ deregisterAnchorEventHandler: (i, o) => {
1134
+ var t;
1135
+ return (t = this.anchor) == null ? void 0 : t.removeEventListener(i, o);
79
1136
  },
80
- registerDocumentEventHandler: (t, o) => document.addEventListener(t, o),
81
- deregisterDocumentEventHandler: (t, o) => document.removeEventListener(t, o),
82
- registerWindowEventHandler: (t, o) => window.addEventListener(t, o),
83
- deregisterWindowEventHandler: (t, o) => window.removeEventListener(t, o),
84
- notifyHidden: () => this.dispatchEvent(new Event(y.HIDDEN)),
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)),
85
1142
  getTooltipCaretBoundingRect: () => null,
86
1143
  setTooltipCaretStyle: () => {
87
1144
  },
@@ -90,49 +1147,49 @@ let r = class extends p {
90
1147
  getActiveElement: () => document.activeElement
91
1148
  };
92
1149
  }
93
- updated(t) {
94
- super.updated(t), 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);
95
1152
  }
96
1153
  async firstUpdated() {
97
- var t, o, e, n, i;
98
- this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), (t = this.anchor) == null || t.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(
99
1156
  "click",
100
1157
  () => this.mdcFoundation.handleAnchorClick()
101
1158
  ), (o = this.anchor) == null || o.addEventListener(
102
1159
  "mouseenter",
103
1160
  () => this.mdcFoundation.handleAnchorMouseEnter()
104
- ), (e = this.anchor) == null || e.addEventListener(
1161
+ ), (t = this.anchor) == null || t.addEventListener(
105
1162
  "touchstart",
106
1163
  () => this.mdcFoundation.handleAnchorTouchstart()
107
- ), this.persistent || ((n = this.anchor) == null || n.addEventListener(
1164
+ ), this.persistent || ((r = this.anchor) == null || r.addEventListener(
108
1165
  "mouseleave",
109
1166
  () => this.mdcFoundation.handleAnchorMouseLeave()
110
- ), (i = this.anchor) == null || i.addEventListener(
1167
+ ), (e = this.anchor) == null || e.addEventListener(
111
1168
  "touchend",
112
1169
  () => this.mdcFoundation.handleAnchorTouchend()
113
1170
  ));
114
1171
  }
115
1172
  disconnectedCallback() {
116
- var t, o, e, n, i;
117
- super.connectedCallback(), (t = this.anchor) == null || t.removeEventListener(
1173
+ var i, o, t, r, e;
1174
+ super.connectedCallback(), (i = this.anchor) == null || i.removeEventListener(
118
1175
  "click",
119
1176
  () => this.mdcFoundation.handleAnchorClick()
120
1177
  ), (o = this.anchor) == null || o.removeEventListener(
121
1178
  "mouseenter",
122
1179
  () => this.mdcFoundation.handleAnchorMouseEnter()
123
- ), (e = this.anchor) == null || e.removeEventListener(
1180
+ ), (t = this.anchor) == null || t.removeEventListener(
124
1181
  "mouseleave",
125
1182
  () => this.mdcFoundation.handleAnchorMouseLeave()
126
- ), (n = this.anchor) == null || n.removeEventListener(
1183
+ ), (r = this.anchor) == null || r.removeEventListener(
127
1184
  "touchstart",
128
1185
  () => this.mdcFoundation.handleAnchorTouchstart()
129
- ), (i = this.anchor) == null || i.removeEventListener(
1186
+ ), (e = this.anchor) == null || e.removeEventListener(
130
1187
  "touchend",
131
1188
  () => this.mdcFoundation.handleAnchorTouchend()
132
1189
  );
133
1190
  }
134
1191
  render() {
135
- return l`
1192
+ return Y`
136
1193
  <div
137
1194
  class="mdc-tooltip ${this.rich ? "mdc-tooltip--rich" : ""}"
138
1195
  role="tooltip"
@@ -140,50 +1197,50 @@ let r = class extends p {
140
1197
  data-mdc-tooltip-persistent="true"
141
1198
  >
142
1199
  <div class="mdc-tooltip__surface mdc-tooltip__surface-animation">
143
- ${this.rich ? l`<div class="mdc-tooltip__title">${this.richTitle}</div>
1200
+ ${this.rich ? Y`<div class="mdc-tooltip__title">${this.richTitle}</div>
144
1201
  <div class="mdc-tooltip__content">
145
1202
  <slot></slot>
146
1203
  </div>
147
1204
  <div class="mdc-tooltip--rich-actions">
148
1205
  <slot name="actionItems"></slot>
149
- </div>` : l`<slot></slot>`}
1206
+ </div>` : Y`<slot></slot>`}
150
1207
  </div>
151
1208
  </div>
152
1209
  `;
153
1210
  }
154
1211
  };
155
- r.styles = [
156
- h`
157
- ${f(v)}
1212
+ S.styles = [
1213
+ rt`
1214
+ ${ot(ft)}
158
1215
  `
159
1216
  ];
160
- c([
161
- m(".mdc-tooltip")
162
- ], r.prototype, "mdcRoot", 2);
163
- c([
164
- m(".mdc-tooltip__surface")
165
- ], r.prototype, "mdcSurface", 2);
166
- c([
167
- a({ type: Object })
168
- ], r.prototype, "anchor", 2);
169
- c([
170
- a()
171
- ], r.prototype, "richTitle", 2);
172
- c([
173
- a({ type: Boolean, reflect: !0 })
174
- ], r.prototype, "rich", 2);
175
- c([
176
- a({ type: Boolean, reflect: !0 })
177
- ], r.prototype, "persistent", 2);
178
- c([
179
- a({ type: Number })
180
- ], r.prototype, "showDelay", 2);
181
- c([
182
- a({ type: Number })
183
- ], r.prototype, "hideDelay", 2);
184
- r = c([
185
- u("cv-tooltip")
186
- ], 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);
187
1244
  export {
188
- r as CovalentTooltipBase
1245
+ S as CovalentTooltipBase
189
1246
  };