@covalent/components 6.2.0 → 6.2.1

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 (190) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +30 -35
  3. package/alert.js +6 -6
  4. package/alert.mjs +14 -19
  5. package/app-shell/app-shell.d.ts +2 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +8 -8
  8. package/app-shell.mjs +44 -42
  9. package/button.js +9 -9
  10. package/button.mjs +16 -25
  11. package/card.js +8 -8
  12. package/card.mjs +15 -17
  13. package/check-list-item.js +9 -9
  14. package/check-list-item.mjs +17 -26
  15. package/checkbox.js +2 -2
  16. package/checkbox.mjs +20 -29
  17. package/circular-progress.js +29 -29
  18. package/circular-progress.mjs +10 -14
  19. package/code-snippet.js +9 -9
  20. package/code-snippet.mjs +7 -10
  21. package/dialog.js +1 -1
  22. package/dialog.mjs +162 -14
  23. package/{dialog-85c21333.mjs → dialog2.mjs} +50 -56
  24. package/directive-helpers.mjs +5 -0
  25. package/drawer.js +3 -3
  26. package/drawer.mjs +9 -15
  27. package/empty-state.js +5 -5
  28. package/empty-state.mjs +4 -6
  29. package/{form-element-d4e7bcdb.js → form-element.mjs} +2 -2
  30. package/{foundation-3f55a9dc.js → foundation.mjs} +3 -3
  31. package/icon-button.js +8 -8
  32. package/icon-button.mjs +16 -25
  33. package/icon-check-toggle.js +9 -9
  34. package/icon-check-toggle.mjs +11 -20
  35. package/icon-radio/icon-radio-toggle.d.ts +2 -3
  36. package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
  37. package/icon-radio-toggle.js +8 -14
  38. package/icon-radio-toggle.mjs +37 -64
  39. package/icon.js +2 -2
  40. package/icon.mjs +8 -9
  41. package/if-defined.mjs +5 -0
  42. package/index.js +1 -1
  43. package/index.mjs +114 -124
  44. package/linear-progress.js +12 -12
  45. package/linear-progress.mjs +17 -23
  46. package/list/list-expansion.d.ts +3 -2
  47. package/list/list-expansion.d.ts.map +1 -1
  48. package/list/list-item.d.ts.map +1 -1
  49. package/list/list.d.ts +5 -0
  50. package/list/list.d.ts.map +1 -1
  51. package/list-expansion.js +8 -8
  52. package/list-expansion.mjs +37 -41
  53. package/list-item.js +1 -1
  54. package/list-item.mjs +9 -18
  55. package/list-item2.mjs +43 -0
  56. package/list.js +1 -1
  57. package/list.mjs +5 -20
  58. package/{list-28b77a61.mjs → list2.mjs} +35 -16
  59. package/menu.js +2 -2
  60. package/menu.mjs +20 -29
  61. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base.mjs} +6 -6
  62. package/mwc-checkbox.css.mjs +5 -0
  63. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base.mjs} +11 -11
  64. package/mwc-icon.mjs +9 -0
  65. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive.mjs} +16 -16
  66. package/mwc-list-base.mjs +111 -0
  67. package/mwc-list-item-base.mjs +28 -0
  68. package/mwc-list-item.css.mjs +9 -0
  69. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base.mjs} +20 -20
  70. package/{mwc-radio-base-442d495a.js → mwc-radio-base.mjs} +11 -11
  71. package/mwc-radio.css.mjs +5 -0
  72. package/mwc-ripple.mjs +175 -0
  73. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css.mjs} +20 -20
  74. package/{mwc-tab-base-1a19b299.js → mwc-tab-base.mjs} +22 -22
  75. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base.mjs} +10 -10
  76. package/nav-list-item.js +10 -10
  77. package/nav-list-item.mjs +28 -36
  78. package/{observer-a096ab43.js → observer.mjs} +1 -1
  79. package/package.json +1 -1
  80. package/radio-list-item.js +10 -10
  81. package/radio-list-item.mjs +24 -33
  82. package/radio.js +2 -2
  83. package/radio.mjs +19 -28
  84. package/ripple-handlers.mjs +5 -0
  85. package/select.js +28 -28
  86. package/select.mjs +21 -31
  87. package/side-sheet.js +4 -4
  88. package/side-sheet.mjs +8 -14
  89. package/slider-range.js +7 -7
  90. package/slider-range.mjs +64 -72
  91. package/slider.js +3 -3
  92. package/slider.mjs +21 -29
  93. package/snackbar.js +15 -15
  94. package/snackbar.mjs +21 -27
  95. package/status-header-item.js +4 -4
  96. package/status-header-item.mjs +13 -14
  97. package/status-header.js +6 -6
  98. package/status-header.mjs +7 -9
  99. package/style.css +1 -1
  100. package/switch.js +18 -18
  101. package/switch.mjs +22 -31
  102. package/tab-bar.js +21 -21
  103. package/tab-bar.mjs +14 -23
  104. package/tab.js +3 -3
  105. package/tab.mjs +6 -15
  106. package/text-lockup.js +5 -5
  107. package/text-lockup.mjs +6 -8
  108. package/textarea.js +14 -14
  109. package/textarea.mjs +20 -28
  110. package/textfield.js +3 -3
  111. package/textfield.mjs +132 -41
  112. package/{textfield-276b0ded.mjs → textfield2.mjs} +21 -28
  113. package/toolbar.js +3 -3
  114. package/toolbar.mjs +4 -10
  115. package/tooltip.js +12 -12
  116. package/tooltip.mjs +9 -13
  117. package/top-app-bar-fixed.js +5 -5
  118. package/top-app-bar-fixed.mjs +23 -29
  119. package/top-app-bar.js +3 -3
  120. package/top-app-bar.mjs +6 -30
  121. package/{top-app-bar-a236c3bc.mjs → top-app-bar2.mjs} +1 -1
  122. package/tree-list-item.js +8 -8
  123. package/tree-list-item.mjs +3 -5
  124. package/tree-list.js +3 -3
  125. package/tree-list.mjs +4 -4
  126. package/typography.js +4 -4
  127. package/typography.mjs +11 -12
  128. package/aria-property-fa2717fe.mjs +0 -41
  129. package/base-element-c3dc926e.mjs +0 -28
  130. package/base-element-d5abe37a.js +0 -5
  131. package/class-map-08c84aeb.mjs +0 -62
  132. package/class-map-50b8edb4.js +0 -9
  133. package/dialog-8ee07177.js +0 -162
  134. package/directive-helpers-725a181d.mjs +0 -11
  135. package/directive-helpers-fce8cf91.js +0 -5
  136. package/event-options-3937d997.mjs +0 -14
  137. package/event-options-7bc382d8.js +0 -5
  138. package/form-element-6dbd7afa.mjs +0 -50
  139. package/foundation-2334d146.mjs +0 -60
  140. package/foundation-c580100a.mjs +0 -152
  141. package/if-defined-639ed018.mjs +0 -10
  142. package/if-defined-cb12d481.js +0 -5
  143. package/inert.esm-359d4581.mjs +0 -640
  144. package/list-170cca53.js +0 -5
  145. package/list-item-26ddcc43.js +0 -8
  146. package/list-item-c1e72538.mjs +0 -43
  147. package/mwc-checkbox-base-10e977f2.mjs +0 -198
  148. package/mwc-checkbox.css-956e3d6c.js +0 -5
  149. package/mwc-checkbox.css-b7abc7fd.mjs +0 -10
  150. package/mwc-drawer-base-b2b772c3.mjs +0 -335
  151. package/mwc-icon-b96fb867.js +0 -9
  152. package/mwc-icon-c7013880.mjs +0 -26
  153. package/mwc-line-ripple-directive-c3e1f04a.mjs +0 -653
  154. package/mwc-list-base-7d5f7278.js +0 -111
  155. package/mwc-list-base-c0f8af1c.mjs +0 -840
  156. package/mwc-list-item-base-803b9771.js +0 -28
  157. package/mwc-list-item-base-acef0223.mjs +0 -202
  158. package/mwc-list-item.css-401e2407.js +0 -9
  159. package/mwc-list-item.css-b5481d96.mjs +0 -17
  160. package/mwc-menu-base-8970b43d.mjs +0 -1145
  161. package/mwc-radio-base-c29e6f42.mjs +0 -528
  162. package/mwc-radio.css-388ad26d.js +0 -5
  163. package/mwc-radio.css-4694aa9c.mjs +0 -10
  164. package/mwc-slider.css-336f809b.mjs +0 -956
  165. package/mwc-tab-base-7fb3d339.mjs +0 -694
  166. package/mwc-top-app-bar-base-79c87e69.mjs +0 -380
  167. package/observer-be7b92e2.mjs +0 -32
  168. package/property-074570d1.js +0 -5
  169. package/property-ca27685b.mjs +0 -20
  170. package/query-1e7846ea.mjs +0 -25
  171. package/query-2ba749b7.js +0 -5
  172. package/query-assigned-elements-07e38f46.js +0 -33
  173. package/query-assigned-elements-514e5265.mjs +0 -615
  174. package/query-assigned-nodes-9ec0fa5f.js +0 -5
  175. package/query-assigned-nodes-bea12e0c.mjs +0 -17
  176. package/ripple-handlers-2176f137.js +0 -107
  177. package/ripple-handlers-227497d3.mjs +0 -761
  178. package/state-6f7e570d.mjs +0 -12
  179. package/state-949232e6.js +0 -5
  180. package/style-map-2cb0fb63.mjs +0 -40
  181. package/style-map-3056a771.js +0 -5
  182. package/textfield-507c6a06.js +0 -133
  183. package/top-app-bar-34e85527.js +0 -6
  184. package/tslib.es6-6b53b818.js +0 -1
  185. package/tslib.es6-b5e819a6.mjs +0 -82
  186. package/utils-a8190a39.js +0 -5
  187. package/utils-dc65fdc9.mjs +0 -52
  188. /package/{aria-property-849c8816.js → aria-property.mjs} +0 -0
  189. /package/{foundation-e830bd94.js → foundation2.mjs} +0 -0
  190. /package/{inert.esm-2cee6f2e.js → inert.esm.mjs} +0 -0
package/code-snippet.mjs CHANGED
@@ -1,7 +1,4 @@
1
- import { i as Tt, r as St, s as wt, y as Se, e as Ot } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as ve } from "./property-ca27685b.mjs";
3
- import { o as Rt } from "./query-assigned-nodes-bea12e0c.mjs";
4
- import { o as At } from "./class-map-08c84aeb.mjs";
1
+ import { b as Tt, r as St, e as ve, j as wt, s as Ot, y as Se, o as Rt, c as At } from "./mwc-ripple.mjs";
5
2
  const Mt = `:host{background-color:var(--mdc-theme-surface-canvas);border-radius:var(--mdc-shape-medium);display:block;position:relative;overflow:hidden}:host pre{margin:0;padding:16px 0;overflow:auto}:host pre code.hljs.cv-code-snippet{padding:0 16px;display:block;overflow-x:auto}:host .hljs{color:var(--cov-theme-code-snippet-color, #abb2bf)}:host .hljs-comment,:host .hljs-quote{color:var(--cov-theme-code-snippet-comment, #5c6370);font-style:italic}:host .hljs-doctag,:host .hljs-formula,:host .hljs-keyword{color:var(--cov-theme-code-snippet-keyword, #c678dd)}:host .hljs-deletion,:host .hljs-name,:host .hljs-section,:host .hljs-selector-tag,:host .hljs-subst{color:var(--cov-theme-code-snippet-selector, #e06c75)}:host .hljs-literal{color:var(--cov-theme-code-snippet-literal, #56b6c2)}:host .hljs-addition,:host .hljs-attribute,:host .hljs-meta .hljs-string,:host .hljs-regexp,:host .hljs-string{color:var(--cov-theme-code-snippet-string, #98c379)}:host .hljs-attr,:host .hljs-number,:host .hljs-selector-attr,:host .hljs-selector-class,:host .hljs-selector-pseudo,:host .hljs-template-variable,:host .hljs-type,:host .hljs-variable{color:var(--cov-theme-code-snippet-variable, #d19a66)}:host .hljs-bullet,:host .hljs-link,:host .hljs-meta,:host .hljs-selector-id,:host .hljs-symbol,:host .hljs-title{color:var(--cov-theme-code-snippet-title, #61aeee)}:host .hljs-built_in,:host .hljs-class .hljs-title,:host .hljs-title.class_{color:var(--cov-theme-code-snippet-class, #e6c07b)}:host .hljs-emphasis{font-style:italic}:host .hljs-strong{font-weight:700}:host .hljs-link{text-decoration:underline}:host([inline]){border-radius:0}.header{border-bottom:1px solid var(--mdc-theme-border);position:sticky;top:-8px;background-color:var(--mdc-theme-surface-canvas);display:flex;justify-content:space-between;padding:4px 8px 4px 16px;align-items:center;border-radius:var(--mdc-shape-medium) var(--mdc-shape-medium) 0 0}.title{font-family:var(--mdc-typography-subtitle2-font-family);font-size:var(--mdc-typography-subtitle2-font-size);font-weight:var(--mdc-typography-subtitle2-font-weight);line-height:var(--mdc-typography-subtitle2-line-height);padding-right:16px}
6
3
  `;
7
4
  var _n = { exports: {} };
@@ -12075,7 +12072,7 @@ var ca = Object.defineProperty, la = Object.getOwnPropertyDescriptor, pe = (n, e
12075
12072
  (a = n[o]) && (c = (s ? a(e, t, c) : a(c)) || c);
12076
12073
  return s && c && ca(e, t, c), c;
12077
12074
  };
12078
- let ce = class extends wt {
12075
+ let ce = class extends Ot {
12079
12076
  constructor() {
12080
12077
  super(...arguments), this.inline = !1, this.hideHeader = !1, this._code = "";
12081
12078
  }
@@ -12103,7 +12100,7 @@ let ce = class extends wt {
12103
12100
  return this.maxHeight && this.maxHeight > 0 && (t = `max-height: ${this.maxHeight}px`), Se`<pre
12104
12101
  style="${t}"
12105
12102
  part="container"
12106
- ><code class="${At(n)}">${e}</code></pre>`;
12103
+ ><code class="${Rt(n)}">${e}</code></pre>`;
12107
12104
  }
12108
12105
  renderHeader() {
12109
12106
  return Se`<div class="header" part="header">
@@ -12130,16 +12127,16 @@ pe([
12130
12127
  ve({ type: Boolean, reflect: !0 })
12131
12128
  ], ce.prototype, "hideHeader", 2);
12132
12129
  pe([
12133
- Rt({})
12130
+ wt({})
12134
12131
  ], ce.prototype, "_codeItems", 2);
12135
12132
  pe([
12136
12133
  ve()
12137
12134
  ], ce.prototype, "maxHeight", 2);
12138
12135
  ce = pe([
12139
- Ot("cv-code-snippet")
12136
+ At("cv-code-snippet")
12140
12137
  ], ce);
12141
- const pa = ce;
12138
+ const ua = ce;
12142
12139
  export {
12143
12140
  ce as CovalentCodeSnippet,
12144
- pa as default
12141
+ ua as default
12145
12142
  };
package/dialog.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-07e38f46.js");const e=require("./dialog-8ee07177.js");require("./tslib.es6-6b53b818.js");require("./inert.esm-2cee6f2e.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./property-074570d1.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>e.CovalentDialog});exports.default=e.CovalentDialog$1;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-ripple.mjs");const e=require("./dialog.mjs");require("./inert.esm.mjs");require("./observer.mjs");Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>e.CovalentDialog});exports.default=e.CovalentDialog$1;
package/dialog.mjs CHANGED
@@ -1,14 +1,162 @@
1
- import "./query-assigned-elements-514e5265.mjs";
2
- import { C, a as d } from "./dialog-85c21333.mjs";
3
- import "./tslib.es6-b5e819a6.mjs";
4
- import "./inert.esm-359d4581.mjs";
5
- import "./base-element-c3dc926e.mjs";
6
- import "./utils-dc65fdc9.mjs";
7
- import "./observer-be7b92e2.mjs";
8
- import "./property-ca27685b.mjs";
9
- import "./query-1e7846ea.mjs";
10
- import "./class-map-08c84aeb.mjs";
11
- export {
12
- C as CovalentDialog,
13
- d as default
14
- };
1
+ "use strict";const a=require("./mwc-ripple.mjs");require("./inert.esm.mjs");const g=require("./observer.mjs");/**
2
+ * @license
3
+ * Copyright 2016 Google Inc.
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ * of this software and associated documentation files (the "Software"), to deal
7
+ * in the Software without restriction, including without limitation the rights
8
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ * copies of the Software, and to permit persons to whom the Software is
10
+ * furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ * THE SOFTWARE.
22
+ */var n={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked",FULLSCREEN:"mdc-dialog--fullscreen",SCROLL_DIVIDER_HEADER:"mdc-dialog-scroll-divider-header",SCROLL_DIVIDER_FOOTER:"mdc-dialog-scroll-divider-footer",SURFACE_SCRIM_SHOWN:"mdc-dialog__surface-scrim--shown",SURFACE_SCRIM_SHOWING:"mdc-dialog__surface-scrim--showing",SURFACE_SCRIM_HIDING:"mdc-dialog__surface-scrim--hiding",SCRIM_HIDDEN:"mdc-dialog__scrim--hidden"},l={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),SURFACE_SELECTOR:".mdc-dialog__surface"},p={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150};/**
23
+ * @license
24
+ * Copyright 2020 Google Inc.
25
+ *
26
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
27
+ * of this software and associated documentation files (the "Software"), to deal
28
+ * in the Software without restriction, including without limitation the rights
29
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
+ * copies of the Software, and to permit persons to whom the Software is
31
+ * furnished to do so, subject to the following conditions:
32
+ *
33
+ * The above copyright notice and this permission notice shall be included in
34
+ * all copies or substantial portions of the Software.
35
+ *
36
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
+ * THE SOFTWARE.
43
+ */var x=function(){function o(){this.rafIDs=new Map}return o.prototype.request=function(e,t){var i=this;this.cancel(e);var d=requestAnimationFrame(function(c){i.rafIDs.delete(e),t(c)});this.rafIDs.set(e,d)},o.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},o.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach(function(t,i){e.cancel(i)})},o.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach(function(t,i){e.push(i)}),e},o}();/**
44
+ * @license
45
+ * Copyright 2016 Google Inc.
46
+ *
47
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
48
+ * of this software and associated documentation files (the "Software"), to deal
49
+ * in the Software without restriction, including without limitation the rights
50
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
+ * copies of the Software, and to permit persons to whom the Software is
52
+ * furnished to do so, subject to the following conditions:
53
+ *
54
+ * The above copyright notice and this permission notice shall be included in
55
+ * all copies or substantial portions of the Software.
56
+ *
57
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
+ * THE SOFTWARE.
64
+ */var C=function(){function o(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(o,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(o,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(o,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(o,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),o.prototype.init=function(){},o.prototype.destroy=function(){},o}();/**
65
+ * @license
66
+ * Copyright 2017 Google Inc.
67
+ *
68
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
69
+ * of this software and associated documentation files (the "Software"), to deal
70
+ * in the Software without restriction, including without limitation the rights
71
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
+ * copies of the Software, and to permit persons to whom the Software is
73
+ * furnished to do so, subject to the following conditions:
74
+ *
75
+ * The above copyright notice and this permission notice shall be included in
76
+ * all copies or substantial portions of the Software.
77
+ *
78
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
+ * THE SOFTWARE.
85
+ */var u;(function(o){o.POLL_SCROLL_POS="poll_scroll_position",o.POLL_LAYOUT_CHANGE="poll_layout_change"})(u||(u={}));var E=function(o){a.__extends(e,o);function e(t){var i=o.call(this,a.__assign(a.__assign({},e.defaultAdapter),t))||this;return i.dialogOpen=!1,i.isFullscreen=!1,i.animationFrame=0,i.animationTimer=0,i.escapeKeyAction=l.CLOSE_ACTION,i.scrimClickAction=l.CLOSE_ACTION,i.autoStackButtons=!0,i.areButtonsStacked=!1,i.suppressDefaultPressSelector=l.SUPPRESS_DEFAULT_PRESS_SELECTOR,i.animFrame=new x,i.contentScrollHandler=function(){i.handleScrollEvent()},i.windowResizeHandler=function(){i.layout()},i.windowOrientationChangeHandler=function(){i.layout()},i}return Object.defineProperty(e,"cssClasses",{get:function(){return n},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){},registerContentEventHandler:function(){},deregisterContentEventHandler:function(){},isScrollableContentAtTop:function(){return!1},isScrollableContentAtBottom:function(){return!1},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.hasClass(n.STACKED)&&this.setAutoStackButtons(!1),this.isFullscreen=this.adapter.hasClass(n.FULLSCREEN)},e.prototype.destroy=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.handleAnimationTimerEnd()),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.animFrame.cancelAll(),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler)},e.prototype.open=function(t){var i=this;this.dialogOpen=!0,this.adapter.notifyOpening(),this.adapter.addClass(n.OPENING),this.isFullscreen&&this.adapter.registerContentEventHandler("scroll",this.contentScrollHandler),t&&t.isAboveFullscreenDialog&&this.adapter.addClass(n.SCRIM_HIDDEN),this.adapter.registerWindowEventHandler("resize",this.windowResizeHandler),this.adapter.registerWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),this.runNextAnimationFrame(function(){i.adapter.addClass(n.OPEN),i.adapter.addBodyClass(n.SCROLL_LOCK),i.layout(),i.animationTimer=setTimeout(function(){i.handleAnimationTimerEnd(),i.adapter.trapFocus(i.adapter.getInitialFocusEl()),i.adapter.notifyOpened()},p.DIALOG_ANIMATION_OPEN_TIME_MS)})},e.prototype.close=function(t){var i=this;t===void 0&&(t=""),this.dialogOpen&&(this.dialogOpen=!1,this.adapter.notifyClosing(t),this.adapter.addClass(n.CLOSING),this.adapter.removeClass(n.OPEN),this.adapter.removeBodyClass(n.SCROLL_LOCK),this.isFullscreen&&this.adapter.deregisterContentEventHandler("scroll",this.contentScrollHandler),this.adapter.deregisterWindowEventHandler("resize",this.windowResizeHandler),this.adapter.deregisterWindowEventHandler("orientationchange",this.windowOrientationChangeHandler),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(t)},p.DIALOG_ANIMATION_CLOSE_TIME_MS))},e.prototype.showSurfaceScrim=function(){var t=this;this.adapter.addClass(n.SURFACE_SCRIM_SHOWING),this.runNextAnimationFrame(function(){t.adapter.addClass(n.SURFACE_SCRIM_SHOWN)})},e.prototype.hideSurfaceScrim=function(){this.adapter.removeClass(n.SURFACE_SCRIM_SHOWN),this.adapter.addClass(n.SURFACE_SCRIM_HIDING)},e.prototype.handleSurfaceScrimTransitionEnd=function(){this.adapter.removeClass(n.SURFACE_SCRIM_HIDING),this.adapter.removeClass(n.SURFACE_SCRIM_SHOWING)},e.prototype.isOpen=function(){return this.dialogOpen},e.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction},e.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction=t},e.prototype.getScrimClickAction=function(){return this.scrimClickAction},e.prototype.setScrimClickAction=function(t){this.scrimClickAction=t},e.prototype.getAutoStackButtons=function(){return this.autoStackButtons},e.prototype.setAutoStackButtons=function(t){this.autoStackButtons=t},e.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},e.prototype.setSuppressDefaultPressSelector=function(t){this.suppressDefaultPressSelector=t},e.prototype.layout=function(){var t=this;this.animFrame.request(u.POLL_LAYOUT_CHANGE,function(){t.layoutInternal()})},e.prototype.handleClick=function(t){var i=this.adapter.eventTargetMatches(t.target,l.SCRIM_SELECTOR);if(i&&this.scrimClickAction!=="")this.close(this.scrimClickAction);else{var d=this.adapter.getActionFromEvent(t);d&&this.close(d)}},e.prototype.handleKeydown=function(t){var i=t.key==="Enter"||t.keyCode===13;if(i){var d=this.adapter.getActionFromEvent(t);if(!d){var c=t.composedPath?t.composedPath()[0]:t.target,s=this.suppressDefaultPressSelector?!this.adapter.eventTargetMatches(c,this.suppressDefaultPressSelector):!0;i&&s&&this.adapter.clickDefaultButton()}}},e.prototype.handleDocumentKeydown=function(t){var i=t.key==="Escape"||t.keyCode===27;i&&this.escapeKeyAction!==""&&this.close(this.escapeKeyAction)},e.prototype.handleScrollEvent=function(){var t=this;this.animFrame.request(u.POLL_SCROLL_POS,function(){t.toggleScrollDividerHeader(),t.toggleScrollDividerFooter()})},e.prototype.layoutInternal=function(){this.autoStackButtons&&this.detectStackedButtons(),this.toggleScrollableClasses()},e.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(n.OPENING),this.adapter.removeClass(n.CLOSING)},e.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){i.animationFrame=0,clearTimeout(i.animationTimer),i.animationTimer=setTimeout(t,0)})},e.prototype.detectStackedButtons=function(){this.adapter.removeClass(n.STACKED);var t=this.adapter.areButtonsStacked();t&&this.adapter.addClass(n.STACKED),t!==this.areButtonsStacked&&(this.adapter.reverseButtons(),this.areButtonsStacked=t)},e.prototype.toggleScrollableClasses=function(){this.adapter.removeClass(n.SCROLLABLE),this.adapter.isContentScrollable()&&(this.adapter.addClass(n.SCROLLABLE),this.isFullscreen&&(this.toggleScrollDividerHeader(),this.toggleScrollDividerFooter()))},e.prototype.toggleScrollDividerHeader=function(){this.adapter.isScrollableContentAtTop()?this.adapter.hasClass(n.SCROLL_DIVIDER_HEADER)&&this.adapter.removeClass(n.SCROLL_DIVIDER_HEADER):this.adapter.addClass(n.SCROLL_DIVIDER_HEADER)},e.prototype.toggleScrollDividerFooter=function(){this.adapter.isScrollableContentAtBottom()?this.adapter.hasClass(n.SCROLL_DIVIDER_FOOTER)&&this.adapter.removeClass(n.SCROLL_DIVIDER_FOOTER):this.adapter.addClass(n.SCROLL_DIVIDER_FOOTER)},e}(C);const S=E;/**
86
+ * @license
87
+ * Copyright 2019 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
+ */function m(o){return o===void 0&&(o=window),w(o)?{passive:!0}:!1}function w(o){o===void 0&&(o=window);var e=!1;try{var t={get passive(){return e=!0,!1}},i=function(){};o.document.addEventListener("test",i,t),o.document.removeEventListener("test",i,t)}catch{e=!1}return e}/**
107
+ * @license
108
+ * Copyright 2018 Google Inc.
109
+ *
110
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
111
+ * of this software and associated documentation files (the "Software"), to deal
112
+ * in the Software without restriction, including without limitation the rights
113
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
114
+ * copies of the Software, and to permit persons to whom the Software is
115
+ * furnished to do so, subject to the following conditions:
116
+ *
117
+ * The above copyright notice and this permission notice shall be included in
118
+ * all copies or substantial portions of the Software.
119
+ *
120
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
121
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
122
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
123
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
124
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
125
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
126
+ * THE SOFTWARE.
127
+ */function A(o,e){if(o.closest)return o.closest(e);for(var t=o;t;){if(_(t,e))return t;t=t.parentElement}return null}function _(o,e){var t=o.matches||o.webkitMatchesSelector||o.msMatchesSelector;return t.call(o,e)}/**
128
+ * @license
129
+ * Copyright 2019 Google LLC
130
+ * SPDX-License-Identifier: Apache-2.0
131
+ */const h=document.$blockingElements;class r extends a.BaseElement{constructor(){super(...arguments),this.hideActions=!1,this.stacked=!1,this.heading="",this.scrimClickAction="close",this.escapeKeyAction="close",this.open=!1,this.defaultAction="close",this.actionAttribute="dialogAction",this.initialFocusAttribute="dialogInitialFocus",this.initialSupressDefaultPressSelector="",this.mdcFoundationClass=S,this.boundHandleClick=null,this.boundHandleKeydown=null,this.boundHandleDocumentKeydown=null}set suppressDefaultPressSelector(e){this.mdcFoundation?this.mdcFoundation.setSuppressDefaultPressSelector(e):this.initialSupressDefaultPressSelector=e}get suppressDefaultPressSelector(){return this.mdcFoundation?this.mdcFoundation.getSuppressDefaultPressSelector():this.initialSupressDefaultPressSelector}get primaryButton(){let e=this.primarySlot.assignedNodes();e=e.filter(i=>i instanceof HTMLElement);const t=e[0];return t||null}emitNotification(e,t){const i={detail:t?{action:t}:{}},d=new CustomEvent(e,i);this.dispatchEvent(d)}getInitialFocusEl(){const e=`[${this.initialFocusAttribute}]`,t=this.querySelector(e);if(t)return t;const d=this.primarySlot.assignedNodes({flatten:!0}),c=this.searchNodeTreesForAttribute(d,this.initialFocusAttribute);if(c)return c;const v=this.secondarySlot.assignedNodes({flatten:!0}),f=this.searchNodeTreesForAttribute(v,this.initialFocusAttribute);if(f)return f;const b=this.contentSlot.assignedNodes({flatten:!0});return this.searchNodeTreesForAttribute(b,this.initialFocusAttribute)}searchNodeTreesForAttribute(e,t){for(const i of e)if(i instanceof HTMLElement){if(i.hasAttribute(t))return i;{const d=i.querySelector(`[${t}]`);if(d)return d}}return null}createAdapter(){return Object.assign(Object.assign({},a.addHasRemoveClass(this.mdcRoot)),{addBodyClass:()=>document.body.style.overflow="hidden",removeBodyClass:()=>document.body.style.overflow="",areButtonsStacked:()=>this.stacked,clickDefaultButton:()=>{const e=this.primaryButton;e&&e.click()},eventTargetMatches:(e,t)=>e?_(e,t):!1,getActionFromEvent:e=>{if(!e.target)return"";const t=A(e.target,`[${this.actionAttribute}]`);return t&&t.getAttribute(this.actionAttribute)},getInitialFocusEl:()=>this.getInitialFocusEl(),isContentScrollable:()=>{const e=this.contentElement;return e?e.scrollHeight>e.offsetHeight:!1},notifyClosed:e=>this.emitNotification("closed",e),notifyClosing:e=>{this.closingDueToDisconnect||(this.open=!1),this.emitNotification("closing",e)},notifyOpened:()=>this.emitNotification("opened"),notifyOpening:()=>{this.open=!0,this.emitNotification("opening")},reverseButtons:()=>{},releaseFocus:()=>{h.remove(this)},trapFocus:e=>{this.isConnected&&(h.push(this),e&&e.focus())},registerContentEventHandler:(e,t)=>{this.contentElement.addEventListener(e,t)},deregisterContentEventHandler:(e,t)=>{this.contentElement.removeEventListener(e,t)},isScrollableContentAtTop:()=>{const e=this.contentElement;return e?e.scrollTop===0:!1},isScrollableContentAtBottom:()=>{const e=this.contentElement;return e?Math.ceil(e.scrollHeight-e.scrollTop)===e.clientHeight:!1},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t,m())},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t,m())}})}render(){const e={[n.STACKED]:this.stacked};let t=a.y``;this.heading&&(t=this.renderHeading());const i={"mdc-dialog__actions":!this.hideActions};return a.y`
132
+ <div class="mdc-dialog ${a.o(e)}"
133
+ role="alertdialog"
134
+ aria-modal="true"
135
+ aria-labelledby="title"
136
+ aria-describedby="content">
137
+ <div class="mdc-dialog__container">
138
+ <div class="mdc-dialog__surface">
139
+ ${t}
140
+ <div id="content" class="mdc-dialog__content">
141
+ <slot id="contentSlot"></slot>
142
+ </div>
143
+ <footer
144
+ id="actions"
145
+ class="${a.o(i)}">
146
+ <span>
147
+ <slot name="secondaryAction"></slot>
148
+ </span>
149
+ <span>
150
+ <slot name="primaryAction"></slot>
151
+ </span>
152
+ </footer>
153
+ </div>
154
+ </div>
155
+ <div class="mdc-dialog__scrim"></div>
156
+ </div>`}renderHeading(){return a.y`
157
+ <h2 id="title" class="mdc-dialog__title">${this.heading}</h2>`}firstUpdated(){super.firstUpdated(),this.mdcFoundation.setAutoStackButtons(!0),this.initialSupressDefaultPressSelector?this.suppressDefaultPressSelector=this.initialSupressDefaultPressSelector:this.suppressDefaultPressSelector=[this.suppressDefaultPressSelector,"mwc-textarea","mwc-menu mwc-list-item","mwc-select mwc-list-item"].join(", "),this.boundHandleClick=this.mdcFoundation.handleClick.bind(this.mdcFoundation),this.boundHandleKeydown=this.mdcFoundation.handleKeydown.bind(this.mdcFoundation),this.boundHandleDocumentKeydown=this.mdcFoundation.handleDocumentKeydown.bind(this.mdcFoundation)}connectedCallback(){super.connectedCallback(),this.open&&this.mdcFoundation&&!this.mdcFoundation.isOpen()&&(this.setEventListeners(),this.mdcFoundation.open())}disconnectedCallback(){super.disconnectedCallback(),this.open&&this.mdcFoundation&&(this.removeEventListeners(),this.closingDueToDisconnect=!0,this.mdcFoundation.close(this.currentAction||this.defaultAction),this.closingDueToDisconnect=!1,this.currentAction=void 0,h.remove(this))}forceLayout(){this.mdcFoundation.layout()}focus(){const e=this.getInitialFocusEl();e&&e.focus()}blur(){if(!this.shadowRoot)return;const e=this.shadowRoot.activeElement;if(e)e instanceof HTMLElement&&e.blur();else{const t=this.getRootNode(),i=t instanceof Document?t.activeElement:null;i instanceof HTMLElement&&i.blur()}}setEventListeners(){this.boundHandleClick&&this.mdcRoot.addEventListener("click",this.boundHandleClick),this.boundHandleKeydown&&this.mdcRoot.addEventListener("keydown",this.boundHandleKeydown,m()),this.boundHandleDocumentKeydown&&document.addEventListener("keydown",this.boundHandleDocumentKeydown,m())}removeEventListeners(){this.boundHandleClick&&this.mdcRoot.removeEventListener("click",this.boundHandleClick),this.boundHandleKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleKeydown),this.boundHandleDocumentKeydown&&document.removeEventListener("keydown",this.boundHandleDocumentKeydown)}close(){this.open=!1}show(){this.open=!0}}a.__decorate([a.i(".mdc-dialog")],r.prototype,"mdcRoot",void 0);a.__decorate([a.i('slot[name="primaryAction"]')],r.prototype,"primarySlot",void 0);a.__decorate([a.i('slot[name="secondaryAction"]')],r.prototype,"secondarySlot",void 0);a.__decorate([a.i("#contentSlot")],r.prototype,"contentSlot",void 0);a.__decorate([a.i(".mdc-dialog__content")],r.prototype,"contentElement",void 0);a.__decorate([a.i(".mdc-container")],r.prototype,"conatinerElement",void 0);a.__decorate([a.e({type:Boolean})],r.prototype,"hideActions",void 0);a.__decorate([a.e({type:Boolean}),g.observer(function(){this.forceLayout()})],r.prototype,"stacked",void 0);a.__decorate([a.e({type:String})],r.prototype,"heading",void 0);a.__decorate([a.e({type:String}),g.observer(function(o){this.mdcFoundation.setScrimClickAction(o)})],r.prototype,"scrimClickAction",void 0);a.__decorate([a.e({type:String}),g.observer(function(o){this.mdcFoundation.setEscapeKeyAction(o)})],r.prototype,"escapeKeyAction",void 0);a.__decorate([a.e({type:Boolean,reflect:!0}),g.observer(function(o){this.mdcFoundation&&this.isConnected&&(o?(this.setEventListeners(),this.mdcFoundation.open()):(this.removeEventListeners(),this.mdcFoundation.close(this.currentAction||this.defaultAction),this.currentAction=void 0))})],r.prototype,"open",void 0);a.__decorate([a.e()],r.prototype,"defaultAction",void 0);a.__decorate([a.e()],r.prototype,"actionAttribute",void 0);a.__decorate([a.e()],r.prototype,"initialFocusAttribute",void 0);/**
158
+ * @license
159
+ * Copyright 2021 Google LLC
160
+ * SPDX-LIcense-Identifier: Apache-2.0
161
+ */const y=a.i$1`.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}`,D=`:host{--mdc-dialog-heading-ink-color: var(--mdc-theme-text-primary-on-background);--mdc-dialog-content-ink-color: var(--mdc-theme-text-primary-on-background);--mdc-dialog-scroll-divider-color: var(--mdc-theme-border)}
162
+ `;var O=Object.defineProperty,F=Object.getOwnPropertyDescriptor,L=(o,e,t,i)=>{for(var d=i>1?void 0:i?F(e,t):e,c=o.length-1,s;c>=0;c--)(s=o[c])&&(d=(i?s(e,t,d):s(d))||d);return i&&d&&O(e,t,d),d};exports.CovalentDialog=class extends r{};exports.CovalentDialog.styles=[y,a.i$1`${a.r(D)}`];exports.CovalentDialog=L([a.e$1("cv-dialog")],exports.CovalentDialog);const T=exports.CovalentDialog;exports.CovalentDialog$1=T;exports.styles=y;
@@ -1,12 +1,6 @@
1
- import { y as _, i as S, r as D, e as O } from "./query-assigned-elements-514e5265.mjs";
2
- import { a as F, b as x, _ as r } from "./tslib.es6-b5e819a6.mjs";
3
- import "./inert.esm-359d4581.mjs";
4
- import { B as L } from "./base-element-c3dc926e.mjs";
5
- import { o as h } from "./observer-be7b92e2.mjs";
6
- import { e as s } from "./property-ca27685b.mjs";
7
- import { i as m } from "./query-1e7846ea.mjs";
8
- import { o as E } from "./class-map-08c84aeb.mjs";
9
- import { a as T } from "./utils-dc65fdc9.mjs";
1
+ import { k as D, m as x, _ as r, i as m, e as s, B as O, a as F, y as _, o as E, b as S, r as L, c as T } from "./mwc-ripple.mjs";
2
+ import "./inert.esm.mjs";
3
+ import { o as f } from "./observer.mjs";
10
4
  /**
11
5
  * @license
12
6
  * Copyright 2016 Google Inc.
@@ -29,7 +23,7 @@ import { a as T } from "./utils-dc65fdc9.mjs";
29
23
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
30
24
  * THE SOFTWARE.
31
25
  */
32
- var a = {
26
+ var n = {
33
27
  CLOSING: "mdc-dialog--closing",
34
28
  OPEN: "mdc-dialog--open",
35
29
  OPENING: "mdc-dialog--opening",
@@ -117,10 +111,10 @@ var I = (
117
111
  return o.prototype.request = function(t, e) {
118
112
  var i = this;
119
113
  this.cancel(t);
120
- var n = requestAnimationFrame(function(c) {
114
+ var a = requestAnimationFrame(function(c) {
121
115
  i.rafIDs.delete(t), e(c);
122
116
  });
123
- this.rafIDs.set(t, n);
117
+ this.rafIDs.set(t, a);
124
118
  }, o.prototype.cancel = function(t) {
125
119
  var e = this.rafIDs.get(t);
126
120
  e && (cancelAnimationFrame(e), this.rafIDs.delete(t));
@@ -223,7 +217,7 @@ var p;
223
217
  var k = (
224
218
  /** @class */
225
219
  function(o) {
226
- F(t, o);
220
+ D(t, o);
227
221
  function t(e) {
228
222
  var i = o.call(this, x(x({}, t.defaultAdapter), e)) || this;
229
223
  return i.dialogOpen = !1, i.isFullscreen = !1, i.animationFrame = 0, i.animationTimer = 0, i.escapeKeyAction = u.CLOSE_ACTION, i.scrimClickAction = u.CLOSE_ACTION, i.autoStackButtons = !0, i.areButtonsStacked = !1, i.suppressDefaultPressSelector = u.SUPPRESS_DEFAULT_PRESS_SELECTOR, i.animFrame = new I(), i.contentScrollHandler = function() {
@@ -236,7 +230,7 @@ var k = (
236
230
  }
237
231
  return Object.defineProperty(t, "cssClasses", {
238
232
  get: function() {
239
- return a;
233
+ return n;
240
234
  },
241
235
  enumerable: !1,
242
236
  configurable: !0
@@ -316,30 +310,30 @@ var k = (
316
310
  enumerable: !1,
317
311
  configurable: !0
318
312
  }), t.prototype.init = function() {
319
- this.adapter.hasClass(a.STACKED) && this.setAutoStackButtons(!1), this.isFullscreen = this.adapter.hasClass(a.FULLSCREEN);
313
+ this.adapter.hasClass(n.STACKED) && this.setAutoStackButtons(!1), this.isFullscreen = this.adapter.hasClass(n.FULLSCREEN);
320
314
  }, t.prototype.destroy = function() {
321
315
  this.animationTimer && (clearTimeout(this.animationTimer), this.handleAnimationTimerEnd()), this.isFullscreen && this.adapter.deregisterContentEventHandler("scroll", this.contentScrollHandler), this.animFrame.cancelAll(), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("orientationchange", this.windowOrientationChangeHandler);
322
316
  }, t.prototype.open = function(e) {
323
317
  var i = this;
324
- this.dialogOpen = !0, this.adapter.notifyOpening(), this.adapter.addClass(a.OPENING), this.isFullscreen && this.adapter.registerContentEventHandler("scroll", this.contentScrollHandler), e && e.isAboveFullscreenDialog && this.adapter.addClass(a.SCRIM_HIDDEN), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler), this.adapter.registerWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), this.runNextAnimationFrame(function() {
325
- i.adapter.addClass(a.OPEN), i.adapter.addBodyClass(a.SCROLL_LOCK), i.layout(), i.animationTimer = setTimeout(function() {
318
+ this.dialogOpen = !0, this.adapter.notifyOpening(), this.adapter.addClass(n.OPENING), this.isFullscreen && this.adapter.registerContentEventHandler("scroll", this.contentScrollHandler), e && e.isAboveFullscreenDialog && this.adapter.addClass(n.SCRIM_HIDDEN), this.adapter.registerWindowEventHandler("resize", this.windowResizeHandler), this.adapter.registerWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), this.runNextAnimationFrame(function() {
319
+ i.adapter.addClass(n.OPEN), i.adapter.addBodyClass(n.SCROLL_LOCK), i.layout(), i.animationTimer = setTimeout(function() {
326
320
  i.handleAnimationTimerEnd(), i.adapter.trapFocus(i.adapter.getInitialFocusEl()), i.adapter.notifyOpened();
327
321
  }, y.DIALOG_ANIMATION_OPEN_TIME_MS);
328
322
  });
329
323
  }, t.prototype.close = function(e) {
330
324
  var i = this;
331
- e === void 0 && (e = ""), this.dialogOpen && (this.dialogOpen = !1, this.adapter.notifyClosing(e), this.adapter.addClass(a.CLOSING), this.adapter.removeClass(a.OPEN), this.adapter.removeBodyClass(a.SCROLL_LOCK), this.isFullscreen && this.adapter.deregisterContentEventHandler("scroll", this.contentScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
325
+ e === void 0 && (e = ""), this.dialogOpen && (this.dialogOpen = !1, this.adapter.notifyClosing(e), this.adapter.addClass(n.CLOSING), this.adapter.removeClass(n.OPEN), this.adapter.removeBodyClass(n.SCROLL_LOCK), this.isFullscreen && this.adapter.deregisterContentEventHandler("scroll", this.contentScrollHandler), this.adapter.deregisterWindowEventHandler("resize", this.windowResizeHandler), this.adapter.deregisterWindowEventHandler("orientationchange", this.windowOrientationChangeHandler), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
332
326
  i.adapter.releaseFocus(), i.handleAnimationTimerEnd(), i.adapter.notifyClosed(e);
333
327
  }, y.DIALOG_ANIMATION_CLOSE_TIME_MS));
334
328
  }, t.prototype.showSurfaceScrim = function() {
335
329
  var e = this;
336
- this.adapter.addClass(a.SURFACE_SCRIM_SHOWING), this.runNextAnimationFrame(function() {
337
- e.adapter.addClass(a.SURFACE_SCRIM_SHOWN);
330
+ this.adapter.addClass(n.SURFACE_SCRIM_SHOWING), this.runNextAnimationFrame(function() {
331
+ e.adapter.addClass(n.SURFACE_SCRIM_SHOWN);
338
332
  });
339
333
  }, t.prototype.hideSurfaceScrim = function() {
340
- this.adapter.removeClass(a.SURFACE_SCRIM_SHOWN), this.adapter.addClass(a.SURFACE_SCRIM_HIDING);
334
+ this.adapter.removeClass(n.SURFACE_SCRIM_SHOWN), this.adapter.addClass(n.SURFACE_SCRIM_HIDING);
341
335
  }, t.prototype.handleSurfaceScrimTransitionEnd = function() {
342
- this.adapter.removeClass(a.SURFACE_SCRIM_HIDING), this.adapter.removeClass(a.SURFACE_SCRIM_SHOWING);
336
+ this.adapter.removeClass(n.SURFACE_SCRIM_HIDING), this.adapter.removeClass(n.SURFACE_SCRIM_SHOWING);
343
337
  }, t.prototype.isOpen = function() {
344
338
  return this.dialogOpen;
345
339
  }, t.prototype.getEscapeKeyAction = function() {
@@ -368,14 +362,14 @@ var k = (
368
362
  if (i && this.scrimClickAction !== "")
369
363
  this.close(this.scrimClickAction);
370
364
  else {
371
- var n = this.adapter.getActionFromEvent(e);
372
- n && this.close(n);
365
+ var a = this.adapter.getActionFromEvent(e);
366
+ a && this.close(a);
373
367
  }
374
368
  }, t.prototype.handleKeydown = function(e) {
375
369
  var i = e.key === "Enter" || e.keyCode === 13;
376
370
  if (i) {
377
- var n = this.adapter.getActionFromEvent(e);
378
- if (!n) {
371
+ var a = this.adapter.getActionFromEvent(e);
372
+ if (!a) {
379
373
  var c = e.composedPath ? e.composedPath()[0] : e.target, l = this.suppressDefaultPressSelector ? !this.adapter.eventTargetMatches(c, this.suppressDefaultPressSelector) : !0;
380
374
  i && l && this.adapter.clickDefaultButton();
381
375
  }
@@ -391,22 +385,22 @@ var k = (
391
385
  }, t.prototype.layoutInternal = function() {
392
386
  this.autoStackButtons && this.detectStackedButtons(), this.toggleScrollableClasses();
393
387
  }, t.prototype.handleAnimationTimerEnd = function() {
394
- this.animationTimer = 0, this.adapter.removeClass(a.OPENING), this.adapter.removeClass(a.CLOSING);
388
+ this.animationTimer = 0, this.adapter.removeClass(n.OPENING), this.adapter.removeClass(n.CLOSING);
395
389
  }, t.prototype.runNextAnimationFrame = function(e) {
396
390
  var i = this;
397
391
  cancelAnimationFrame(this.animationFrame), this.animationFrame = requestAnimationFrame(function() {
398
392
  i.animationFrame = 0, clearTimeout(i.animationTimer), i.animationTimer = setTimeout(e, 0);
399
393
  });
400
394
  }, t.prototype.detectStackedButtons = function() {
401
- this.adapter.removeClass(a.STACKED);
395
+ this.adapter.removeClass(n.STACKED);
402
396
  var e = this.adapter.areButtonsStacked();
403
- e && this.adapter.addClass(a.STACKED), e !== this.areButtonsStacked && (this.adapter.reverseButtons(), this.areButtonsStacked = e);
397
+ e && this.adapter.addClass(n.STACKED), e !== this.areButtonsStacked && (this.adapter.reverseButtons(), this.areButtonsStacked = e);
404
398
  }, t.prototype.toggleScrollableClasses = function() {
405
- this.adapter.removeClass(a.SCROLLABLE), this.adapter.isContentScrollable() && (this.adapter.addClass(a.SCROLLABLE), this.isFullscreen && (this.toggleScrollDividerHeader(), this.toggleScrollDividerFooter()));
399
+ this.adapter.removeClass(n.SCROLLABLE), this.adapter.isContentScrollable() && (this.adapter.addClass(n.SCROLLABLE), this.isFullscreen && (this.toggleScrollDividerHeader(), this.toggleScrollDividerFooter()));
406
400
  }, t.prototype.toggleScrollDividerHeader = function() {
407
- this.adapter.isScrollableContentAtTop() ? this.adapter.hasClass(a.SCROLL_DIVIDER_HEADER) && this.adapter.removeClass(a.SCROLL_DIVIDER_HEADER) : this.adapter.addClass(a.SCROLL_DIVIDER_HEADER);
401
+ this.adapter.isScrollableContentAtTop() ? this.adapter.hasClass(n.SCROLL_DIVIDER_HEADER) && this.adapter.removeClass(n.SCROLL_DIVIDER_HEADER) : this.adapter.addClass(n.SCROLL_DIVIDER_HEADER);
408
402
  }, t.prototype.toggleScrollDividerFooter = function() {
409
- this.adapter.isScrollableContentAtBottom() ? this.adapter.hasClass(a.SCROLL_DIVIDER_FOOTER) && this.adapter.removeClass(a.SCROLL_DIVIDER_FOOTER) : this.adapter.addClass(a.SCROLL_DIVIDER_FOOTER);
403
+ this.adapter.isScrollableContentAtBottom() ? this.adapter.hasClass(n.SCROLL_DIVIDER_FOOTER) && this.adapter.removeClass(n.SCROLL_DIVIDER_FOOTER) : this.adapter.addClass(n.SCROLL_DIVIDER_FOOTER);
410
404
  }, t;
411
405
  }(R)
412
406
  );
@@ -496,7 +490,7 @@ function C(o, t) {
496
490
  * SPDX-License-Identifier: Apache-2.0
497
491
  */
498
492
  const b = document.$blockingElements;
499
- class d extends L {
493
+ class d extends O {
500
494
  constructor() {
501
495
  super(...arguments), this.hideActions = !1, this.stacked = !1, this.heading = "", this.scrimClickAction = "close", this.escapeKeyAction = "close", this.open = !1, this.defaultAction = "close", this.actionAttribute = "dialogAction", this.initialFocusAttribute = "dialogInitialFocus", this.initialSupressDefaultPressSelector = "", this.mdcFoundationClass = H, this.boundHandleClick = null, this.boundHandleKeydown = null, this.boundHandleDocumentKeydown = null;
502
496
  }
@@ -516,14 +510,14 @@ class d extends L {
516
510
  return e || null;
517
511
  }
518
512
  emitNotification(t, e) {
519
- const i = { detail: e ? { action: e } : {} }, n = new CustomEvent(t, i);
520
- this.dispatchEvent(n);
513
+ const i = { detail: e ? { action: e } : {} }, a = new CustomEvent(t, i);
514
+ this.dispatchEvent(a);
521
515
  }
522
516
  getInitialFocusEl() {
523
517
  const t = `[${this.initialFocusAttribute}]`, e = this.querySelector(t);
524
518
  if (e)
525
519
  return e;
526
- const n = this.primarySlot.assignedNodes({ flatten: !0 }), c = this.searchNodeTreesForAttribute(n, this.initialFocusAttribute);
520
+ const a = this.primarySlot.assignedNodes({ flatten: !0 }), c = this.searchNodeTreesForAttribute(a, this.initialFocusAttribute);
527
521
  if (c)
528
522
  return c;
529
523
  const w = this.secondarySlot.assignedNodes({ flatten: !0 }), v = this.searchNodeTreesForAttribute(w, this.initialFocusAttribute);
@@ -538,15 +532,15 @@ class d extends L {
538
532
  if (i.hasAttribute(e))
539
533
  return i;
540
534
  {
541
- const n = i.querySelector(`[${e}]`);
542
- if (n)
543
- return n;
535
+ const a = i.querySelector(`[${e}]`);
536
+ if (a)
537
+ return a;
544
538
  }
545
539
  }
546
540
  return null;
547
541
  }
548
542
  createAdapter() {
549
- return Object.assign(Object.assign({}, T(this.mdcRoot)), { addBodyClass: () => document.body.style.overflow = "hidden", removeBodyClass: () => document.body.style.overflow = "", areButtonsStacked: () => this.stacked, clickDefaultButton: () => {
543
+ return Object.assign(Object.assign({}, F(this.mdcRoot)), { addBodyClass: () => document.body.style.overflow = "hidden", removeBodyClass: () => document.body.style.overflow = "", areButtonsStacked: () => this.stacked, clickDefaultButton: () => {
550
544
  const t = this.primaryButton;
551
545
  t && t.click();
552
546
  }, eventTargetMatches: (t, e) => t ? C(t, e) : !1, getActionFromEvent: (t) => {
@@ -584,7 +578,7 @@ class d extends L {
584
578
  }
585
579
  render() {
586
580
  const t = {
587
- [a.STACKED]: this.stacked
581
+ [n.STACKED]: this.stacked
588
582
  };
589
583
  let e = _``;
590
584
  this.heading && (e = this.renderHeading());
@@ -690,7 +684,7 @@ r([
690
684
  ], d.prototype, "hideActions", void 0);
691
685
  r([
692
686
  s({ type: Boolean }),
693
- h(function() {
687
+ f(function() {
694
688
  this.forceLayout();
695
689
  })
696
690
  ], d.prototype, "stacked", void 0);
@@ -699,19 +693,19 @@ r([
699
693
  ], d.prototype, "heading", void 0);
700
694
  r([
701
695
  s({ type: String }),
702
- h(function(o) {
696
+ f(function(o) {
703
697
  this.mdcFoundation.setScrimClickAction(o);
704
698
  })
705
699
  ], d.prototype, "scrimClickAction", void 0);
706
700
  r([
707
701
  s({ type: String }),
708
- h(function(o) {
702
+ f(function(o) {
709
703
  this.mdcFoundation.setEscapeKeyAction(o);
710
704
  })
711
705
  ], d.prototype, "escapeKeyAction", void 0);
712
706
  r([
713
707
  s({ type: Boolean, reflect: !0 }),
714
- h(function(o) {
708
+ f(function(o) {
715
709
  this.mdcFoundation && this.isConnected && (o ? (this.setEventListeners(), this.mdcFoundation.open()) : (this.removeEventListeners(), this.mdcFoundation.close(this.currentAction || this.defaultAction), this.currentAction = void 0));
716
710
  })
717
711
  ], d.prototype, "open", void 0);
@@ -732,19 +726,19 @@ r([
732
726
  const B = S`.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__surface-scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog .mdc-dialog__close{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close .mdc-icon-button__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-dialog .mdc-dialog__close:hover .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-dialog .mdc-dialog__close:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog .mdc-dialog__close.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions,.mdc-dialog.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:0}.mdc-dialog.mdc-dialog-scroll-divider-header.mdc-dialog--fullscreen .mdc-dialog__header{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__surface{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12)}.mdc-dialog__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(max-width: 600px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid transparent;display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1;z-index:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){margin-left:0;margin-right:8px}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*[dir=rtl]){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:.000000001px;margin-top:12px}`, M = `:host{--mdc-dialog-heading-ink-color: var(--mdc-theme-text-primary-on-background);--mdc-dialog-content-ink-color: var(--mdc-theme-text-primary-on-background);--mdc-dialog-scroll-divider-color: var(--mdc-theme-border)}
733
727
  `;
734
728
  var K = Object.defineProperty, z = Object.getOwnPropertyDescriptor, U = (o, t, e, i) => {
735
- for (var n = i > 1 ? void 0 : i ? z(t, e) : t, c = o.length - 1, l; c >= 0; c--)
736
- (l = o[c]) && (n = (i ? l(t, e, n) : l(n)) || n);
737
- return i && n && K(t, e, n), n;
729
+ for (var a = i > 1 ? void 0 : i ? z(t, e) : t, c = o.length - 1, l; c >= 0; c--)
730
+ (l = o[c]) && (a = (i ? l(t, e, a) : l(a)) || a);
731
+ return i && a && K(t, e, a), a;
738
732
  };
739
- let f = class extends d {
733
+ let h = class extends d {
740
734
  };
741
- f.styles = [B, S`${D(M)}`];
742
- f = U([
743
- O("cv-dialog")
744
- ], f);
745
- const tt = f;
735
+ h.styles = [B, S`${L(M)}`];
736
+ h = U([
737
+ T("cv-dialog")
738
+ ], h);
739
+ const q = h;
746
740
  export {
747
- f as C,
748
- tt as a,
741
+ h as C,
742
+ q as a,
749
743
  B as s
750
744
  };
@@ -0,0 +1,5 @@
1
+ "use strict";require("./mwc-ripple.mjs");/**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const r=s=>s.strings===void 0,t={},i=(s,e=t)=>s._$AH=e;exports.e=r;exports.s=i;