@covalent/components 1.0.11 → 1.0.14

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 (247) hide show
  1. package/actionRibbon.js +192 -0
  2. package/alert.js +198 -0
  3. package/appDetail.js +69 -0
  4. package/appShell.js +399 -0
  5. package/button.js +280 -0
  6. package/checkbox.js +270 -0
  7. package/circularProgress.js +184 -0
  8. package/components/{action-ribbon → src/action-ribbon}/action-ribbon-base.d.ts +3 -3
  9. package/components/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
  10. package/components/{action-ribbon/action-ribbon.component.d.ts → src/action-ribbon/action-ribbon.d.ts} +1 -1
  11. package/components/src/action-ribbon/action-ribbon.d.ts.map +1 -0
  12. package/components/{action-ribbon → src/action-ribbon}/foundation.d.ts +0 -0
  13. package/components/src/action-ribbon/foundation.d.ts.map +1 -0
  14. package/components/src/alert/alert-base.d.ts +31 -0
  15. package/components/src/alert/alert-base.d.ts.map +1 -0
  16. package/components/src/alert/alert.d.ts +15 -0
  17. package/components/src/alert/alert.d.ts.map +1 -0
  18. package/components/src/app-detail/app-detail-base.d.ts +5 -0
  19. package/components/src/app-detail/app-detail-base.d.ts.map +1 -0
  20. package/components/src/app-detail/app-detail.d.ts +10 -0
  21. package/components/src/app-detail/app-detail.d.ts.map +1 -0
  22. package/components/src/app-shell/app-shell.d.ts +27 -0
  23. package/components/src/app-shell/app-shell.d.ts.map +1 -0
  24. package/components/src/button/button.d.ts +10 -0
  25. package/components/src/button/button.d.ts.map +1 -0
  26. package/components/src/card/card-base.d.ts +17 -0
  27. package/components/src/card/card-base.d.ts.map +1 -0
  28. package/components/src/card/card.d.ts +10 -0
  29. package/components/src/card/card.d.ts.map +1 -0
  30. package/components/src/checkbox/checkbox.d.ts +10 -0
  31. package/components/src/checkbox/checkbox.d.ts.map +1 -0
  32. package/components/src/chips/chip-base.d.ts +52 -0
  33. package/components/src/chips/chip-base.d.ts.map +1 -0
  34. package/components/src/chips/chip-set-base.d.ts +33 -0
  35. package/components/src/chips/chip-set-base.d.ts.map +1 -0
  36. package/components/src/chips/chip-set.d.ts +15 -0
  37. package/components/src/chips/chip-set.d.ts.map +1 -0
  38. package/components/src/chips/chip.d.ts +15 -0
  39. package/components/src/chips/chip.d.ts.map +1 -0
  40. package/components/src/chips/foundation.d.ts +38 -0
  41. package/components/src/chips/foundation.d.ts.map +1 -0
  42. package/components/src/circular-progress/circular-progress.d.ts +10 -0
  43. package/components/src/circular-progress/circular-progress.d.ts.map +1 -0
  44. package/components/src/dialog/dialog.d.ts +10 -0
  45. package/components/src/dialog/dialog.d.ts.map +1 -0
  46. package/components/src/drawer/drawer.d.ts +10 -0
  47. package/components/src/drawer/drawer.d.ts.map +1 -0
  48. package/components/src/formfield/formfield.d.ts +10 -0
  49. package/components/src/formfield/formfield.d.ts.map +1 -0
  50. package/components/src/icon/icon.d.ts +10 -0
  51. package/components/src/icon/icon.d.ts.map +1 -0
  52. package/components/src/icon-button/icon-button.d.ts +10 -0
  53. package/components/src/icon-button/icon-button.d.ts.map +1 -0
  54. package/components/src/index.d.ts +29 -0
  55. package/components/src/index.d.ts.map +1 -0
  56. package/components/src/linear-progress/linear-progress.d.ts +10 -0
  57. package/components/src/linear-progress/linear-progress.d.ts.map +1 -0
  58. package/components/src/list/check-list-item.d.ts +10 -0
  59. package/components/src/list/check-list-item.d.ts.map +1 -0
  60. package/components/src/list/list-expansion.d.ts +14 -0
  61. package/components/src/list/list-expansion.d.ts.map +1 -0
  62. package/components/src/list/list-item.d.ts +12 -0
  63. package/components/src/list/list-item.d.ts.map +1 -0
  64. package/components/src/list/list.d.ts +10 -0
  65. package/components/src/list/list.d.ts.map +1 -0
  66. package/components/src/list/radio-list-item.d.ts +10 -0
  67. package/components/src/list/radio-list-item.d.ts.map +1 -0
  68. package/components/src/menu/menu.d.ts +10 -0
  69. package/components/src/menu/menu.d.ts.map +1 -0
  70. package/components/src/radio/radio.d.ts +10 -0
  71. package/components/src/radio/radio.d.ts.map +1 -0
  72. package/components/src/select/select.d.ts +10 -0
  73. package/components/src/select/select.d.ts.map +1 -0
  74. package/components/src/slider/slider-range.d.ts +10 -0
  75. package/components/src/slider/slider-range.d.ts.map +1 -0
  76. package/components/src/slider/slider.d.ts +10 -0
  77. package/components/src/slider/slider.d.ts.map +1 -0
  78. package/components/src/snackbar/snackbar.d.ts +10 -0
  79. package/components/src/snackbar/snackbar.d.ts.map +1 -0
  80. package/components/src/switch/switch.d.ts +10 -0
  81. package/components/src/switch/switch.d.ts.map +1 -0
  82. package/components/src/tab/tab-bar.d.ts +10 -0
  83. package/components/src/tab/tab-bar.d.ts.map +1 -0
  84. package/components/src/tab/tab.d.ts +10 -0
  85. package/components/src/tab/tab.d.ts.map +1 -0
  86. package/components/src/textarea/textarea.d.ts +10 -0
  87. package/components/src/textarea/textarea.d.ts.map +1 -0
  88. package/components/src/textfield/textfield.d.ts +10 -0
  89. package/components/src/textfield/textfield.d.ts.map +1 -0
  90. package/components/src/top-app-bar/top-app-bar-fixed.d.ts +10 -0
  91. package/components/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
  92. package/components/src/top-app-bar/top-app-bar.d.ts +10 -0
  93. package/components/src/top-app-bar/top-app-bar.d.ts.map +1 -0
  94. package/dialog.js +264 -0
  95. package/drawer.js +185 -0
  96. package/formField.js +157 -0
  97. package/icon.js +99 -0
  98. package/iconButton.js +256 -0
  99. package/{covalent-icons → icons}/covalent-icons.css +0 -0
  100. package/{covalent-icons → icons}/covalent-icons.eot +0 -0
  101. package/{covalent-icons → icons}/covalent-icons.svg +0 -0
  102. package/{covalent-icons → icons}/covalent-icons.ttf +0 -0
  103. package/{covalent-icons → icons}/covalent-icons.woff +0 -0
  104. package/icons/favicon.ico +0 -0
  105. package/index.js +1877 -0
  106. package/linearProgress.js +154 -0
  107. package/list.js +344 -0
  108. package/listExpansion.js +360 -0
  109. package/listItem.js +264 -0
  110. package/listRadioItem.js +342 -0
  111. package/menu.js +485 -0
  112. package/package.json +2 -80
  113. package/radio.js +275 -0
  114. package/select.js +624 -0
  115. package/slider.js +367 -0
  116. package/sliderRange.js +417 -0
  117. package/snackBar.js +177 -0
  118. package/styles.css +1 -0
  119. package/styles.js +1 -0
  120. package/switch.js +360 -0
  121. package/tab.js +277 -0
  122. package/tabBar.js +352 -0
  123. package/textArea.js +291 -0
  124. package/textField.js +252 -0
  125. package/theme.css +1 -0
  126. package/theme.js +1 -0
  127. package/topAppBar.js +192 -0
  128. package/topAppBarFixed.js +198 -0
  129. package/vendor.css +13 -0
  130. package/vendor.js +1 -0
  131. package/components/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  132. package/components/action-ribbon/action-ribbon.component.d.ts.map +0 -1
  133. package/components/action-ribbon/foundation.d.ts.map +0 -1
  134. package/components/app-shell/app-shell.component.d.ts +0 -51
  135. package/components/app-shell/app-shell.component.d.ts.map +0 -1
  136. package/components/mini-list/mini-list.component.d.ts +0 -16
  137. package/components/mini-list/mini-list.component.d.ts.map +0 -1
  138. package/covalent-icons/svgs/Screen Shot 2021-09-21 at 3.33.14 PM.png +0 -0
  139. package/covalent-icons/svgs/alias_arrow.svg +0 -3
  140. package/covalent-icons/svgs/api.svg +0 -3
  141. package/covalent-icons/svgs/api_ondark.svg +0 -3
  142. package/covalent-icons/svgs/application.svg +0 -3
  143. package/covalent-icons/svgs/bucket.svg +0 -3
  144. package/covalent-icons/svgs/cluster_analysis.svg +0 -3
  145. package/covalent-icons/svgs/column.svg +0 -3
  146. package/covalent-icons/svgs/connected_identity.svg +0 -3
  147. package/covalent-icons/svgs/data_preparation.svg +0 -3
  148. package/covalent-icons/svgs/data_source.svg +0 -3
  149. package/covalent-icons/svgs/database.svg +0 -3
  150. package/covalent-icons/svgs/database_changed.svg +0 -3
  151. package/covalent-icons/svgs/database_edit.svg +0 -3
  152. package/covalent-icons/svgs/database_foreign.svg +0 -3
  153. package/covalent-icons/svgs/database_lab.svg +0 -3
  154. package/covalent-icons/svgs/database_search.svg +0 -3
  155. package/covalent-icons/svgs/database_synced.svg +0 -3
  156. package/covalent-icons/svgs/disconnect.svg +0 -3
  157. package/covalent-icons/svgs/dock_right.svg +0 -3
  158. package/covalent-icons/svgs/engine.svg +0 -3
  159. package/covalent-icons/svgs/file.svg +0 -3
  160. package/covalent-icons/svgs/file_changed.svg +0 -3
  161. package/covalent-icons/svgs/file_edit.svg +0 -3
  162. package/covalent-icons/svgs/file_foreign.svg +0 -3
  163. package/covalent-icons/svgs/file_lab.svg +0 -3
  164. package/covalent-icons/svgs/file_search.svg +0 -3
  165. package/covalent-icons/svgs/file_synced.svg +0 -3
  166. package/covalent-icons/svgs/formula.svg +0 -3
  167. package/covalent-icons/svgs/lab.svg +0 -3
  168. package/covalent-icons/svgs/loader-dots.svg +0 -31
  169. package/covalent-icons/svgs/machine_learning.svg +0 -3
  170. package/covalent-icons/svgs/machine_learning_ondark.svg +0 -3
  171. package/covalent-icons/svgs/model.svg +0 -3
  172. package/covalent-icons/svgs/model_configuration.svg +0 -3
  173. package/covalent-icons/svgs/model_configuration_ondark.svg +0 -3
  174. package/covalent-icons/svgs/model_ondark.svg +0 -3
  175. package/covalent-icons/svgs/no_results.svg +0 -3
  176. package/covalent-icons/svgs/node_branch.svg +0 -3
  177. package/covalent-icons/svgs/node_merge.svg +0 -3
  178. package/covalent-icons/svgs/node_notification.svg +0 -3
  179. package/covalent-icons/svgs/node_notification_ondark.svg +0 -3
  180. package/covalent-icons/svgs/object_storage.svg +0 -3
  181. package/covalent-icons/svgs/object_storage_ondark.svg +0 -3
  182. package/covalent-icons/svgs/operations.svg +0 -3
  183. package/covalent-icons/svgs/operators_divide.svg +0 -3
  184. package/covalent-icons/svgs/operators_equals.svg +0 -5
  185. package/covalent-icons/svgs/operators_greater_than.svg +0 -3
  186. package/covalent-icons/svgs/operators_greater_than_or_equal.svg +0 -5
  187. package/covalent-icons/svgs/operators_less_than.svg +0 -3
  188. package/covalent-icons/svgs/operators_less_than_or_equal.svg +0 -5
  189. package/covalent-icons/svgs/operators_multiply.svg +0 -5
  190. package/covalent-icons/svgs/operators_not_equal.svg +0 -5
  191. package/covalent-icons/svgs/operators_parentheses.svg +0 -3
  192. package/covalent-icons/svgs/operators_parenthesis_left.svg +0 -3
  193. package/covalent-icons/svgs/operators_parenthesis_right.svg +0 -3
  194. package/covalent-icons/svgs/operators_product_analyst.svg +0 -3
  195. package/covalent-icons/svgs/operators_product_console.svg +0 -3
  196. package/covalent-icons/svgs/operators_product_editor.svg +0 -3
  197. package/covalent-icons/svgs/operators_subtract.svg +0 -5
  198. package/covalent-icons/svgs/outbound_campaign_manager.svg +0 -3
  199. package/covalent-icons/svgs/resize_northeast.svg +0 -3
  200. package/covalent-icons/svgs/resize_northwest.svg +0 -3
  201. package/covalent-icons/svgs/resize_southeast.svg +0 -3
  202. package/covalent-icons/svgs/resize_southwest.svg +0 -3
  203. package/covalent-icons/svgs/rules.svg +0 -3
  204. package/covalent-icons/svgs/rules_insert.svg +0 -3
  205. package/covalent-icons/svgs/rules_insert_ondark.svg +0 -3
  206. package/covalent-icons/svgs/rules_ondark.svg +0 -3
  207. package/covalent-icons/svgs/rules_select.svg +0 -3
  208. package/covalent-icons/svgs/rules_select_ondark.svg +0 -3
  209. package/covalent-icons/svgs/script.svg +0 -3
  210. package/covalent-icons/svgs/script_macro.svg +0 -6
  211. package/covalent-icons/svgs/script_macro_ondark.svg +0 -6
  212. package/covalent-icons/svgs/script_ondark.svg +0 -3
  213. package/covalent-icons/svgs/script_sql.svg +0 -6
  214. package/covalent-icons/svgs/script_sql_ondark.svg +0 -6
  215. package/covalent-icons/svgs/script_stored_procedure.svg +0 -6
  216. package/covalent-icons/svgs/script_stored_procedure_ondark.svg +0 -6
  217. package/covalent-icons/svgs/segmentation.svg +0 -3
  218. package/covalent-icons/svgs/server.svg +0 -3
  219. package/covalent-icons/svgs/server_changed.svg +0 -3
  220. package/covalent-icons/svgs/server_edit.svg +0 -3
  221. package/covalent-icons/svgs/server_foreign.svg +0 -3
  222. package/covalent-icons/svgs/server_lab.svg +0 -3
  223. package/covalent-icons/svgs/server_search.svg +0 -3
  224. package/covalent-icons/svgs/server_synced.svg +0 -3
  225. package/covalent-icons/svgs/sftp.svg +0 -3
  226. package/covalent-icons/svgs/sftp_ondark.svg +0 -3
  227. package/covalent-icons/svgs/table.svg +0 -3
  228. package/covalent-icons/svgs/table_changed.svg +0 -3
  229. package/covalent-icons/svgs/table_edit.svg +0 -3
  230. package/covalent-icons/svgs/table_foreign.svg +0 -3
  231. package/covalent-icons/svgs/table_lab.svg +0 -3
  232. package/covalent-icons/svgs/table_search.svg +0 -3
  233. package/covalent-icons/svgs/table_synced.svg +0 -3
  234. package/covalent-icons/svgs/teradata-icons-v1.0.zip +0 -0
  235. package/covalent-icons/svgs/teradata.svg +0 -3
  236. package/covalent-icons/svgs/teradata_nocircle.svg +0 -3
  237. package/covalent-icons/svgs/text_analysis.svg +0 -3
  238. package/covalent-icons/svgs/undock.svg +0 -3
  239. package/covalent-icons/svgs/variable.svg +0 -3
  240. package/covalent-icons/svgs/variable_ondark.svg +0 -3
  241. package/covalent-icons/svgs/view_sankey.svg +0 -3
  242. package/covalent-icons/svgs/wand.svg +0 -3
  243. package/covalent-icons/svgs/workflow.svg +0 -3
  244. package/covalent-theme.css +0 -13
  245. package/covalent.js +0 -685
  246. package/index.d.ts +0 -4
  247. package/index.d.ts.map +0 -1
package/menu.js ADDED
@@ -0,0 +1,485 @@
1
+ !function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=75)}([function(t,e,i){"use strict";var r=i(6);i.d(e,"b",(function(){return r.b}));var n=i(2);i.d(e,"e",(function(){return n.b}));var s=i(14);i.d(e,"a",(function(){return s.a}));i(4);var o=i(15);i.d(e,"c",(function(){return o.a}));var a=i(8);i.d(e,"f",(function(){return a.a}));var c=i(16);i.d(e,"j",(function(){return c.a}));var d=i(17);i.d(e,"d",(function(){return d.a}));var l=i(18);i.d(e,"g",(function(){return l.a}));i(19);var p=i(20);i.d(e,"i",(function(){return p.a}));var u=i(21);i.d(e,"h",(function(){return u.a})),
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.")},function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"f",(function(){return a})),i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return d}));
8
+ /*! *****************************************************************************
9
+ Copyright (c) Microsoft Corporation.
10
+
11
+ Permission to use, copy, modify, and/or distribute this software for any
12
+ purpose with or without fee is hereby granted.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
+ PERFORMANCE OF THIS SOFTWARE.
21
+ ***************************************************************************** */
22
+ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var s=function(){return(s=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)};function o(t,e,i,r){var n,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,i,o):n(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o}Object.create;function a(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var r,n,s=i.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){n={error:t}}finally{try{r&&!r.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o}function d(t,e,i){if(i||2===arguments.length)for(var r,n=0,s=e.length;n<s;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}Object.create},function(t,e,i){"use strict";
23
+ /**
24
+ * @license
25
+ * Copyright 2017 Google LLC
26
+ * SPDX-License-Identifier: BSD-3-Clause
27
+ */
28
+ var r;i.d(e,"a",(function(){return P})),i.d(e,"b",(function(){return O})),i.d(e,"c",(function(){return A})),i.d(e,"d",(function(){return T})),i.d(e,"e",(function(){return x}));const n=globalThis.trustedTypes,s=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,a="?"+o,c=`<${a}>`,d=document,l=(t="")=>d.createComment(t),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,h=t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,b=/>/g,g=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,v=/'/g,y=/"/g,_=/^(?:script|style|textarea)$/i,E=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),O=E(1),A=(E(2),Symbol.for("lit-noChange")),T=Symbol.for("lit-nothing"),I=new WeakMap,x=(t,e,i)=>{var r,n;const s=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:e;let o=s._$litPart$;if(void 0===o){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=o=new F(e.insertBefore(l(),t),t,void 0,null!=i?i:{})}return o._$AI(t),o},S=d.createTreeWalker(d,129,null,!1),C=(t,e)=>{const i=t.length-1,r=[];let n,a=2===e?"<svg>":"",d=m;for(let e=0;e<i;e++){const i=t[e];let s,l,p=-1,u=0;for(;u<i.length&&(d.lastIndex=u,l=d.exec(i),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=f:void 0!==l[1]?d=b:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),d=g):void 0!==l[3]&&(d=g):d===g?">"===l[0]?(d=null!=n?n:m,p=-1):void 0===l[1]?p=-2:(p=d.lastIndex-l[2].length,s=l[1],d=void 0===l[3]?g:'"'===l[3]?y:v):d===y||d===v?d=g:d===f||d===b?d=m:(d=g,n=void 0);const h=d===g&&t[e+1].startsWith("/>")?" ":"";a+=d===m?i+c:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+o+h):i+o+(-2===p?(r.push(void 0),e):h)}const l=a+(t[i]||"<?>")+(2===e?"</svg>":"");return[void 0!==s?s.createHTML(l):l,r]};class w{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let s=0,c=0;const d=t.length-1,p=this.parts,[u,h]=C(t,e);if(this.el=w.createElement(u,i),S.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=S.nextNode())&&p.length<d;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(o)){const i=h[c++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(o),e=/([.?@])?(.*)/.exec(i);p.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?$:"@"===e[1]?N:L})}else p.push({type:6,index:s})}for(const e of t)r.removeAttribute(e)}if(_.test(r.tagName)){const t=r.textContent.split(o),e=t.length-1;if(e>0){r.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],l()),S.nextNode(),p.push({type:2,index:++s});r.append(t[e],l())}}}else if(8===r.nodeType)if(r.data===a)p.push({type:2,index:s});else{let t=-1;for(;-1!==(t=r.data.indexOf(o,t+1));)p.push({type:7,index:s}),t+=o.length-1}s++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function R(t,e,i=t,r){var n,s,o,a;if(e===A)return e;let c=void 0!==r?null===(n=i._$Cl)||void 0===n?void 0:n[r]:i._$Cu;const d=p(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==d&&(null===(s=null==c?void 0:c._$AO)||void 0===s||s.call(c,!1),void 0===d?c=void 0:(c=new d(t),c._$AT(t,i,r)),void 0!==r?(null!==(o=(a=i)._$Cl)&&void 0!==o?o:a._$Cl=[])[r]=c:i._$Cu=c),void 0!==c&&(e=R(t,c._$AS(t,e.values),c,r)),e}class j{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);S.currentNode=n;let s=S.nextNode(),o=0,a=0,c=r[0];for(;void 0!==c;){if(o===c.index){let e;2===c.type?e=new F(s,s.nextSibling,this,t):1===c.type?e=new c.ctor(s,c.name,c.strings,this,t):6===c.type&&(e=new D(s,this,t)),this.v.push(e),c=r[++a]}o!==(null==c?void 0:c.index)&&(s=S.nextNode(),o++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class F{constructor(t,e,i,r){var n;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cg=null===(n=null==r?void 0:r.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),p(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==A&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):h(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==T&&p(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=w.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new j(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new w(t)),e}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of t)r===e.length?e.push(i=new F(this.A(l()),this.A(l()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class L{constructor(t,e,i,r,n){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const n=this.strings;let s=!1;if(void 0===n)t=R(this,t,e,0),s=!p(t)||t!==this._$AH&&t!==A,s&&(this._$AH=t);else{const r=t;let o,a;for(t=n[0],o=0;o<n.length-1;o++)a=R(this,r[i+o],e,o),a===A&&(a=this._$AH[o]),s||(s=!p(a)||a!==this._$AH[o]),a===T?t=T:t!==T&&(t+=(null!=a?a:"")+n[o+1]),this._$AH[o]=a}s&&!r&&this.k(t)}k(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends L{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===T?void 0:t}}class $ extends L{constructor(){super(...arguments),this.type=4}k(t){t&&t!==T?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class N extends L{constructor(t,e,i,r,n){super(t,e,i,r,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=R(this,t,e,0))&&void 0!==i?i:T)===A)return;const r=this._$AH,n=t===T&&r!==T||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==T&&(r===T||n);n&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class D{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const P={P:"$lit$",V:o,L:a,I:1,N:C,R:j,D:h,j:R,H:F,O:L,F:$,B:N,W:M,Z:D},k=window.litHtmlPolyfillSupport;null==k||k(w,F),(null!==(r=globalThis.litHtmlVersions)&&void 0!==r?r:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
29
+ /**
30
+ * @license
31
+ * Copyright 2017 Google LLC
32
+ * SPDX-License-Identifier: BSD-3-Clause
33
+ */
34
+ const r=({finisher:t,descriptor:e})=>(i,r)=>{var n;if(void 0===r){const r=null!==(n=i.originalKey)&&void 0!==n?n:i.key,s=null!=e?{kind:"method",placement:"prototype",key:r,descriptor:e(i.key)}:{...i,key:r};return null!=t&&(s.finisher=function(e){t(e,r)}),s}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,r,e(r)),null==t||t(n,r)}}},function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n}));
35
+ /**
36
+ * @license
37
+ * Copyright 2017 Google LLC
38
+ * SPDX-License-Identifier: BSD-3-Clause
39
+ */
40
+ const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},n=t=>(...e)=>({_$litDirective$:t,values:e});class s{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"a",(function(){return m}));
41
+ /**
42
+ * @license
43
+ * Copyright 2019 Google LLC
44
+ * SPDX-License-Identifier: BSD-3-Clause
45
+ */
46
+ const r=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),s=new Map;class o{constructor(t,e){if(this._$cssResult$=!0,e!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=s.get(this.cssText);return r&&void 0===t&&(s.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1],t[0]);return new o(i,n)},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new o("string"==typeof t?t:t+"",n))(e)})(t):t
47
+ /**
48
+ * @license
49
+ * Copyright 2017 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */;var d;const l=window.reactiveElementPolyfillSupport,p={toAttribute(t,e){switch(e){case Boolean:t=t?"":null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},u=(t,e)=>e!==t&&(e==e||t==t),h={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:u};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const r=this._$Eh(i,e);void 0!==r&&(this._$Eu.set(r,i),t.push(r))}),t}static createProperty(t,e=h){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,i,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(r){const n=this[t];this[e]=r,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,i;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Em)||void 0===e||e.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i=e,n=this.constructor.elementStyles,r?i.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):n.forEach(t=>{const e=document.createElement("style"),r=window.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=t.cssText,i.appendChild(e)}),e;var i,n}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$Eg(t,e,i=h){var r,n;const s=this.constructor._$Eh(t,i);if(void 0!==s&&!0===i.reflect){const o=(null!==(n=null===(r=i.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==n?n:p.toAttribute)(e,i.type);this._$Ei=t,null==o?this.removeAttribute(s):this.setAttribute(s,o),this._$Ei=null}}_$AK(t,e){var i,r,n;const s=this.constructor,o=s._$Eu.get(t);if(void 0!==o&&this._$Ei!==o){const t=s.getPropertyOptions(o),a=t.converter,c=null!==(n=null!==(r=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==r?r:"function"==typeof a?a:null)&&void 0!==n?n:p.fromAttribute;this._$Ei=o,this[o]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let r=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||u)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,i))):r=!1),!this.isUpdatePending&&r&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Em)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,e)=>this._$Eg(e,this[e],t)),this._$ES=void 0),this._$EU()}updated(t){}firstUpdated(t){}}m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:m}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var r=i(2),n=i(5);
52
+ /**
53
+ * @license
54
+ * Copyright 2018 Google LLC
55
+ * SPDX-License-Identifier: BSD-3-Clause
56
+ */
57
+ const s=Object(n.c)(class extends n.a{constructor(t){var e;if(super(t),t.type!==n.b.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const s=t.element.classList;this.st.forEach(t=>{t in e||(s.remove(t),this.st.delete(t))});for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(n=this.et)||void 0===n?void 0:n.has(t))||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return r.c}})},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));
58
+ /**
59
+ * @license
60
+ * Copyright 2017 Google LLC
61
+ * SPDX-License-Identifier: BSD-3-Clause
62
+ */
63
+ const r=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function n(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):r(t,e)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var r=i(0),n=i(23);i.d(e,"b",(function(){return n.a}));
64
+ /**
65
+ * @license
66
+ * Copyright 2018 Google LLC
67
+ * SPDX-License-Identifier: Apache-2.0
68
+ */
69
+ class s extends r.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(t,e,i){"use strict";var r=i(15);i.d(e,"a",(function(){return r.a}));var n=i(8);i.d(e,"b",(function(){return n.a}));i(16),i(17);var s=i(18);i.d(e,"c",(function(){return s.a}));i(19),i(20),i(21)},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
70
+ /**
71
+ * @license
72
+ * Copyright 2018 Google LLC
73
+ * SPDX-License-Identifier: Apache-2.0
74
+ */
75
+ const r=t=>(e,i)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach((t,i)=>e.constructor._observers.set(i,t))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach((t,e)=>{const i=this.constructor._observers.get(e);void 0!==i&&i.call(this,this[e],t)})}}e.constructor._observers.set(i,t)}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(2);
76
+ /**
77
+ * @license
78
+ * Copyright 2018 Google LLC
79
+ * SPDX-License-Identifier: BSD-3-Clause
80
+ */const n=t=>null!=t?t:r.d},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
81
+ /**
82
+ * @license
83
+ * Copyright 2016 Google Inc.
84
+ *
85
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
86
+ * of this software and associated documentation files (the "Software"), to deal
87
+ * in the Software without restriction, including without limitation the rights
88
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
89
+ * copies of the Software, and to permit persons to whom the Software is
90
+ * furnished to do so, subject to the following conditions:
91
+ *
92
+ * The above copyright notice and this permission notice shall be included in
93
+ * all copies or substantial portions of the Software.
94
+ *
95
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
96
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
97
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
98
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
99
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
100
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
101
+ * THE SOFTWARE.
102
+ */
103
+ var r=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var r=i(6);i.d(e,"b",(function(){return r.b}));var n,s,o=i(2);i.d(e,"c",(function(){return o.b}));r.a;class a extends r.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(o.e)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return o.c}}a.finalized=!0,a._$litElement$=!0,null===(n=globalThis.litElementHydrateSupport)||void 0===n||n.call(globalThis,{LitElement:a});const c=globalThis.litElementPolyfillSupport;null==c||c({LitElement:a});(null!==(s=globalThis.litElementVersions)&&void 0!==s?s:globalThis.litElementVersions=[]).push("3.0.1")},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
104
+ /**
105
+ * @license
106
+ * Copyright 2017 Google LLC
107
+ * SPDX-License-Identifier: BSD-3-Clause
108
+ */
109
+ const r=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(e){window.customElements.define(t,e)}}})(t,e)},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(8);
110
+ /**
111
+ * @license
112
+ * Copyright 2017 Google LLC
113
+ * SPDX-License-Identifier: BSD-3-Clause
114
+ */function n(t){return Object(r.a)({...t,state:!0})}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
115
+ /**
116
+ * @license
117
+ * Copyright 2017 Google LLC
118
+ * SPDX-License-Identifier: BSD-3-Clause
119
+ */function n(t){return Object(r.a)({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
120
+ /**
121
+ * @license
122
+ * Copyright 2017 Google LLC
123
+ * SPDX-License-Identifier: BSD-3-Clause
124
+ */function n(t,e){return Object(r.a)({descriptor:i=>{const r={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;r.get=function(){var i,r;return void 0===this[e]&&(this[e]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==r?r:null),this[e]}}return r}})}},function(t,e,i){"use strict";i(4);
125
+ /**
126
+ * @license
127
+ * Copyright 2017 Google LLC
128
+ * SPDX-License-Identifier: BSD-3-Clause
129
+ */},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
130
+ /**
131
+ * @license
132
+ * Copyright 2017 Google LLC
133
+ * SPDX-License-Identifier: BSD-3-Clause
134
+ */function n(t){return Object(r.a)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var r=i(4);
135
+ /**
136
+ * @license
137
+ * Copyright 2017 Google LLC
138
+ * SPDX-License-Identifier: BSD-3-Clause
139
+ */function n(t="",e=!1,i=""){return Object(r.a)({descriptor:r=>({get(){var r,n,s;const o="slot"+(t?`[name=${t}]`:":not([name])");let a=null!==(s=null===(n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(o))||void 0===n?void 0:n.assignedNodes({flatten:e}))&&void 0!==s?s:[];return i&&(a=a.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(i))),a},enumerable:!0,configurable:!0})})}},function(t,e,i){"use strict";i.d(e,"c",(function(){return s})),i.d(e,"e",(function(){return o})),i.d(e,"d",(function(){return a})),i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return n}));
140
+ /**
141
+ * @license
142
+ * Copyright 2018 Google Inc.
143
+ *
144
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
145
+ * of this software and associated documentation files (the "Software"), to deal
146
+ * in the Software without restriction, including without limitation the rights
147
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
148
+ * copies of the Software, and to permit persons to whom the Software is
149
+ * furnished to do so, subject to the following conditions:
150
+ *
151
+ * The above copyright notice and this permission notice shall be included in
152
+ * all copies or substantial portions of the Software.
153
+ *
154
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
155
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
156
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
157
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
158
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
159
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
160
+ * THE SOFTWARE.
161
+ */
162
+ var r,n,s={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},o={CLOSED_EVENT:"MDCMenuSurface:closed",CLOSING_EVENT:"MDCMenuSurface:closing",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},a={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67,TOUCH_EVENT_WAIT_MS:30};!function(t){t[t.BOTTOM=1]="BOTTOM",t[t.CENTER=2]="CENTER",t[t.RIGHT=4]="RIGHT",t[t.FLIP_RTL=8]="FLIP_RTL"}(r||(r={})),function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=4]="TOP_RIGHT",t[t.BOTTOM_LEFT=1]="BOTTOM_LEFT",t[t.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",t[t.TOP_START=8]="TOP_START",t[t.TOP_END=12]="TOP_END",t[t.BOTTOM_START=9]="BOTTOM_START",t[t.BOTTOM_END=13]="BOTTOM_END"}(n||(n={}))},function(t,e,i){"use strict";i.d(e,"d",(function(){return r})),i.d(e,"a",(function(){return n})),i.d(e,"e",(function(){return c})),i.d(e,"b",(function(){return d})),i.d(e,"c",(function(){return l}));
163
+ /**
164
+ * @license
165
+ * Copyright 2018 Google LLC
166
+ * SPDX-License-Identifier: Apache-2.0
167
+ */
168
+ const r=t=>t.nodeType===Node.ELEMENT_NODE;function n(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let s=!1;const o=()=>{},a={get passive(){return s=!0,!1}};document.addEventListener("x",o,a),document.removeEventListener("x",o);const c=s,d=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i},l=t=>{const e=d();if(!e.length)return!1;const i=e[e.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0});let n=[];const s=t=>{n=t.composedPath()};return document.body.addEventListener("check-if-focused",s),i.dispatchEvent(r),document.body.removeEventListener("check-if-focused",s),-1!==n.indexOf(t)}},function(t,e,i){"use strict";
169
+ /**
170
+ * @license
171
+ * Copyright 2018 Google Inc.
172
+ *
173
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
174
+ * of this software and associated documentation files (the "Software"), to deal
175
+ * in the Software without restriction, including without limitation the rights
176
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
177
+ * copies of the Software, and to permit persons to whom the Software is
178
+ * furnished to do so, subject to the following conditions:
179
+ *
180
+ * The above copyright notice and this permission notice shall be included in
181
+ * all copies or substantial portions of the Software.
182
+ *
183
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
184
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
185
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
186
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
187
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
188
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
189
+ * THE SOFTWARE.
190
+ */
191
+ var r,n;i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return c}));var s={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"},o=((r={})[""+s.LIST_ITEM_ACTIVATED_CLASS]="mdc-list-item--activated",r[""+s.LIST_ITEM_CLASS]="mdc-list-item",r[""+s.LIST_ITEM_DISABLED_CLASS]="mdc-list-item--disabled",r[""+s.LIST_ITEM_SELECTED_CLASS]="mdc-list-item--selected",r[""+s.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-list-item__primary-text",r[""+s.ROOT]="mdc-list",(n={})[""+s.LIST_ITEM_ACTIVATED_CLASS]="mdc-deprecated-list-item--activated",n[""+s.LIST_ITEM_CLASS]="mdc-deprecated-list-item",n[""+s.LIST_ITEM_DISABLED_CLASS]="mdc-deprecated-list-item--disabled",n[""+s.LIST_ITEM_SELECTED_CLASS]="mdc-deprecated-list-item--selected",n[""+s.LIST_ITEM_TEXT_CLASS]="mdc-deprecated-list-item__text",n[""+s.LIST_ITEM_PRIMARY_TEXT_CLASS]="mdc-deprecated-list-item__primary-text",n[""+s.ROOT]="mdc-deprecated-list",n),a={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",ARIA_INTERACTIVE_ROLES_SELECTOR:'[role="listbox"], [role="menu"]',ARIA_MULTI_SELECTABLE_SELECTOR:'[aria-multiselectable="true"]',CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+s.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+s.LIST_ITEM_CLASS+" a,\n ."+o[s.LIST_ITEM_CLASS]+" button:not(:disabled),\n ."+o[s.LIST_ITEM_CLASS]+" a\n ",DEPRECATED_SELECTOR:".mdc-deprecated-list",FOCUSABLE_CHILD_ELEMENTS:"\n ."+s.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+s.LIST_ITEM_CLASS+" a,\n ."+s.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+s.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled),\n .'+o[s.LIST_ITEM_CLASS]+" button:not(:disabled),\n ."+o[s.LIST_ITEM_CLASS]+" a,\n ."+o[s.LIST_ITEM_CLASS]+' input[type="radio"]:not(:disabled),\n .'+o[s.LIST_ITEM_CLASS]+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]',SELECTED_ITEM_SELECTOR:'[aria-selected="true"], [aria-current="true"]'},c={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300}},function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return E}));
192
+ /**
193
+ * @license
194
+ * Copyright 2020 Google Inc.
195
+ *
196
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
197
+ * of this software and associated documentation files (the "Software"), to deal
198
+ * in the Software without restriction, including without limitation the rights
199
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
200
+ * copies of the Software, and to permit persons to whom the Software is
201
+ * furnished to do so, subject to the following conditions:
202
+ *
203
+ * The above copyright notice and this permission notice shall be included in
204
+ * all copies or substantial portions of the Software.
205
+ *
206
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
207
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
208
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
209
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
210
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
211
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
212
+ * THE SOFTWARE.
213
+ */
214
+ var r={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},n=new Set;n.add(r.BACKSPACE),n.add(r.ENTER),n.add(r.SPACEBAR),n.add(r.PAGE_UP),n.add(r.PAGE_DOWN),n.add(r.END),n.add(r.HOME),n.add(r.ARROW_LEFT),n.add(r.ARROW_UP),n.add(r.ARROW_RIGHT),n.add(r.ARROW_DOWN),n.add(r.DELETE),n.add(r.ESCAPE),n.add(r.TAB);var s=8,o=13,a=32,c=33,d=34,l=35,p=36,u=37,h=38,m=39,f=40,b=46,g=27,v=9,y=new Map;y.set(s,r.BACKSPACE),y.set(o,r.ENTER),y.set(a,r.SPACEBAR),y.set(c,r.PAGE_UP),y.set(d,r.PAGE_DOWN),y.set(l,r.END),y.set(p,r.HOME),y.set(u,r.ARROW_LEFT),y.set(h,r.ARROW_UP),y.set(m,r.ARROW_RIGHT),y.set(f,r.ARROW_DOWN),y.set(b,r.DELETE),y.set(g,r.ESCAPE),y.set(v,r.TAB);var _=new Set;function E(t){var e=t.key;if(n.has(e))return e;var i=y.get(t.keyCode);return i||r.UNKNOWN}_.add(r.PAGE_UP),_.add(r.PAGE_DOWN),_.add(r.END),_.add(r.HOME),_.add(r.ARROW_LEFT),_.add(r.ARROW_UP),_.add(r.ARROW_RIGHT),_.add(r.ARROW_DOWN)},function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var r=i(2),n=i(5);
215
+ /**
216
+ * @license
217
+ * Copyright 2018 Google LLC
218
+ * SPDX-License-Identifier: BSD-3-Clause
219
+ */
220
+ const s=Object(n.c)(class extends n.a{constructor(t){var e;if(super(t),t.type!==n.b.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,i)=>{const r=t[i];return null==r?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in e)this.ut.add(t);return this.render(e)}this.ut.forEach(t=>{null==e[t]&&(this.ut.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")});for(const t in e){const r=e[t];null!=r&&(this.ut.add(t),t.includes("-")?i.setProperty(t,r):i[t]=r)}return r.c}})},,function(t,e,i){"use strict";i.d(e,"b",(function(){return c}));var r=i(13),n=i(25),s=i(24);
221
+ /**
222
+ * @license
223
+ * Copyright 2020 Google LLC
224
+ * SPDX-License-Identifier: Apache-2.0
225
+ */
226
+ const o=(t,e)=>t-e,a=["input","button","textarea","select"];function c(t){return t instanceof Set}const d=t=>{const e=t===s.b.UNSET_INDEX?new Set:t;return c(e)?new Set(e):new Set([e])};class l extends r.a{constructor(t){super(Object.assign(Object.assign({},l.defaultAdapter),t)),this.isMulti_=!1,this.wrapFocus_=!1,this.isVertical_=!0,this.selectedIndex_=s.b.UNSET_INDEX,this.focusedItemIndex_=s.b.UNSET_INDEX,this.useActivatedClass_=!1,this.ariaCurrentAttrValue_=null}static get strings(){return s.c}static get numbers(){return s.b}static get defaultAdapter(){return{focusItemAtIndex:()=>{},getFocusedElementIndex:()=>0,getListItemCount:()=>0,isFocusInsideList:()=>!1,isRootFocused:()=>!1,notifyAction:()=>{},notifySelected:()=>{},getSelectedStateForElementIndex:()=>!1,setDisabledStateForElementIndex:()=>{},getDisabledStateForElementIndex:()=>!1,setSelectedStateForElementIndex:()=>{},setActivatedStateForElementIndex:()=>{},setTabIndexForElementIndex:()=>{},setAttributeForElementIndex:()=>{},getAttributeForElementIndex:()=>null}}setWrapFocus(t){this.wrapFocus_=t}setMulti(t){this.isMulti_=t;const e=this.selectedIndex_;if(t){if(!c(e)){const t=e===s.b.UNSET_INDEX;this.selectedIndex_=t?new Set:new Set([e])}}else if(c(e))if(e.size){const t=Array.from(e).sort(o);this.selectedIndex_=t[0]}else this.selectedIndex_=s.b.UNSET_INDEX}setVerticalOrientation(t){this.isVertical_=t}setUseActivatedClass(t){this.useActivatedClass_=t}getSelectedIndex(){return this.selectedIndex_}setSelectedIndex(t){this.isIndexValid_(t)&&(this.isMulti_?this.setMultiSelectionAtIndex_(d(t)):this.setSingleSelectionAtIndex_(t))}handleFocusIn(t,e){e>=0&&this.adapter.setTabIndexForElementIndex(e,0)}handleFocusOut(t,e){e>=0&&this.adapter.setTabIndexForElementIndex(e,-1),setTimeout(()=>{this.adapter.isFocusInsideList()||this.setTabindexToFirstSelectedItem_()},0)}handleKeydown(t,e,i){const r="ArrowLeft"===Object(n.b)(t),s="ArrowUp"===Object(n.b)(t),o="ArrowRight"===Object(n.b)(t),a="ArrowDown"===Object(n.b)(t),c="Home"===Object(n.b)(t),d="End"===Object(n.b)(t),l="Enter"===Object(n.b)(t),p="Spacebar"===Object(n.b)(t);if(this.adapter.isRootFocused())return void(s||d?(t.preventDefault(),this.focusLastElement()):(a||c)&&(t.preventDefault(),this.focusFirstElement()));let u,h=this.adapter.getFocusedElementIndex();if(!(-1===h&&(h=i,h<0))){if(this.isVertical_&&a||!this.isVertical_&&o)this.preventDefaultEvent(t),u=this.focusNextElement(h);else if(this.isVertical_&&s||!this.isVertical_&&r)this.preventDefaultEvent(t),u=this.focusPrevElement(h);else if(c)this.preventDefaultEvent(t),u=this.focusFirstElement();else if(d)this.preventDefaultEvent(t),u=this.focusLastElement();else if((l||p)&&e){const e=t.target;if(e&&"A"===e.tagName&&l)return;this.preventDefaultEvent(t),this.setSelectedIndexOnAction_(h,!0)}this.focusedItemIndex_=h,void 0!==u&&(this.setTabindexAtIndex_(u),this.focusedItemIndex_=u)}}handleSingleSelection(t,e,i){t!==s.b.UNSET_INDEX&&(this.setSelectedIndexOnAction_(t,e,i),this.setTabindexAtIndex_(t),this.focusedItemIndex_=t)}focusNextElement(t){let e=t+1;if(e>=this.adapter.getListItemCount()){if(!this.wrapFocus_)return t;e=0}return this.adapter.focusItemAtIndex(e),e}focusPrevElement(t){let e=t-1;if(e<0){if(!this.wrapFocus_)return t;e=this.adapter.getListItemCount()-1}return this.adapter.focusItemAtIndex(e),e}focusFirstElement(){return this.adapter.focusItemAtIndex(0),0}focusLastElement(){const t=this.adapter.getListItemCount()-1;return this.adapter.focusItemAtIndex(t),t}setEnabled(t,e){this.isIndexValid_(t)&&this.adapter.setDisabledStateForElementIndex(t,!e)}preventDefaultEvent(t){const e=(""+t.target.tagName).toLowerCase();-1===a.indexOf(e)&&t.preventDefault()}setSingleSelectionAtIndex_(t,e=!0){this.selectedIndex_!==t&&(this.selectedIndex_!==s.b.UNSET_INDEX&&(this.adapter.setSelectedStateForElementIndex(this.selectedIndex_,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(this.selectedIndex_,!1)),e&&this.adapter.setSelectedStateForElementIndex(t,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(t,!0),this.setAriaForSingleSelectionAtIndex_(t),this.selectedIndex_=t,this.adapter.notifySelected(t))}setMultiSelectionAtIndex_(t,e=!0){const i=((t,e)=>{const i=Array.from(t),r=Array.from(e),n={added:[],removed:[]},s=i.sort(o),a=r.sort(o);let c=0,d=0;for(;c<s.length||d<a.length;){const t=s[c],e=a[d];t!==e?void 0!==t&&(void 0===e||t<e)?(n.removed.push(t),c++):void 0!==e&&(void 0===t||e<t)&&(n.added.push(e),d++):(c++,d++)}return n})(d(this.selectedIndex_),t);if(i.removed.length||i.added.length){for(const t of i.removed)e&&this.adapter.setSelectedStateForElementIndex(t,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(t,!1);for(const t of i.added)e&&this.adapter.setSelectedStateForElementIndex(t,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(t,!0);this.selectedIndex_=t,this.adapter.notifySelected(t,i)}}setAriaForSingleSelectionAtIndex_(t){this.selectedIndex_===s.b.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(t,s.c.ARIA_CURRENT));const e=null!==this.ariaCurrentAttrValue_,i=e?s.c.ARIA_CURRENT:s.c.ARIA_SELECTED;this.selectedIndex_!==s.b.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,i,"false");const r=e?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(t,i,r)}setTabindexAtIndex_(t){this.focusedItemIndex_===s.b.UNSET_INDEX&&0!==t?this.adapter.setTabIndexForElementIndex(0,-1):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==t&&this.adapter.setTabIndexForElementIndex(this.focusedItemIndex_,-1),this.adapter.setTabIndexForElementIndex(t,0)}setTabindexToFirstSelectedItem_(){let t=0;"number"==typeof this.selectedIndex_&&this.selectedIndex_!==s.b.UNSET_INDEX?t=this.selectedIndex_:c(this.selectedIndex_)&&this.selectedIndex_.size>0&&(t=Math.min(...this.selectedIndex_)),this.setTabindexAtIndex_(t)}isIndexValid_(t){if(t instanceof Set){if(!this.isMulti_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");if(0===t.size)return!0;{let e=!1;for(const i of t)if(e=this.isIndexInRange_(i),e)break;return e}}if("number"==typeof t){if(this.isMulti_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return t===s.b.UNSET_INDEX||this.isIndexInRange_(t)}return!1}isIndexInRange_(t){const e=this.adapter.getListItemCount();return t>=0&&t<e}setSelectedIndexOnAction_(t,e,i){if(this.adapter.getDisabledStateForElementIndex(t))return;let r=t;if(this.isMulti_&&(r=new Set([t])),this.isIndexValid_(r)){if(this.isMulti_)this.toggleMultiAtIndex(t,i,e);else if(e||i)this.setSingleSelectionAtIndex_(t,e);else{this.selectedIndex_===t&&this.setSingleSelectionAtIndex_(s.b.UNSET_INDEX)}e&&this.adapter.notifyAction(t)}}toggleMultiAtIndex(t,e,i=!0){let r=!1;r=void 0===e?!this.adapter.getSelectedStateForElementIndex(t):e;const n=d(this.selectedIndex_);r?n.add(t):n.delete(t),this.setMultiSelectionAtIndex_(n,i)}}e.a=l},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
227
+ /**
228
+ * @license
229
+ * Copyright 2020 Google LLC
230
+ * SPDX-License-Identifier: Apache-2.0
231
+ */
232
+ class r{constructor(t){this.startPress=e=>{t().then(t=>{t&&t.startPress(e)})},this.endPress=()=>{t().then(t=>{t&&t.endPress()})},this.startFocus=()=>{t().then(t=>{t&&t.startFocus()})},this.endFocus=()=>{t().then(t=>{t&&t.endFocus()})},this.startHover=()=>{t().then(t=>{t&&t.startHover()})},this.endHover=()=>{t().then(t=>{t&&t.endHover()})}}}},,function(t,e,i){"use strict";
233
+ /**
234
+ * @license
235
+ * Copyright 2018 Google Inc.
236
+ *
237
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
238
+ * of this software and associated documentation files (the "Software"), to deal
239
+ * in the Software without restriction, including without limitation the rights
240
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
241
+ * copies of the Software, and to permit persons to whom the Software is
242
+ * furnished to do so, subject to the following conditions:
243
+ *
244
+ * The above copyright notice and this permission notice shall be included in
245
+ * all copies or substantial portions of the Software.
246
+ *
247
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
248
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
249
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
250
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
251
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
252
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
253
+ * THE SOFTWARE.
254
+ */
255
+ function r(t,e){if(t.closest)return t.closest(e);for(var i=t;i;){if(n(i,e))return i;i=i.parentElement}return null}function n(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return n}))},,,,function(t,e,i){"use strict";var r=i(1),n=i(0),s=i(31),o=i(9),a=i(13),c={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},d={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},l={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
256
+ /**
257
+ * @license
258
+ * Copyright 2016 Google Inc.
259
+ *
260
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
261
+ * of this software and associated documentation files (the "Software"), to deal
262
+ * in the Software without restriction, including without limitation the rights
263
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
264
+ * copies of the Software, and to permit persons to whom the Software is
265
+ * furnished to do so, subject to the following conditions:
266
+ *
267
+ * The above copyright notice and this permission notice shall be included in
268
+ * all copies or substantial portions of the Software.
269
+ *
270
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
271
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
272
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
273
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
274
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
275
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
276
+ * THE SOFTWARE.
277
+ */
278
+ var p=["touchstart","pointerdown","mousedown","keydown"],u=["touchend","pointerup","mouseup","contextmenu"],h=[],m=function(t){function e(i){var n=t.call(this,Object(r.a)(Object(r.a)({},e.defaultAdapter),i))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(t){n.activateImpl(t)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object(r.c)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,n=r.ROOT,s=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(n),t.adapter.isUnbounded()&&(t.adapter.addClass(s),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,n=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(n),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var n=Object(r.f)(p),s=n.next();!s.done;s=n.next()){var o=s.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var n=Object(r.f)(u),s=n.next();!s.done;s=n.next()){var o=s.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=Object(r.f)(p),n=i.next();!n.done;n=i.next()){var s=n.value;this.adapter.deregisterInteractionHandler(s,this.activateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=Object(r.f)(u),n=i.next();!n.done;n=i.next()){var s=n.value;this.adapter.deregisterDocumentInteractionHandler(s,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==t&&r.type!==t.type))i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&h.length>0&&h.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(h.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){h=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())})))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,n=i.VAR_FG_TRANSLATE_END,s=e.cssClasses,o=s.FG_DEACTIVATION,a=s.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,h=p.endPoint;d=u.x+"px, "+u.y+"px",l=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(r,d),this.adapter.updateCssVariable(n,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(a),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),c)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,i){if(!t)return{x:0,y:0};var r,n,s=e.x,o=e.y,a=s+i.left,c=o+i.top;if("touchstart"===t.type){var d=t;r=d.changedTouches[0].pageX-a,n=d.changedTouches[0].pageY-c}else{var l=t;r=l.pageX-a,n=l.pageY-c}return{x:r,y:n}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,n=r.hasDeactivationUXRun,s=r.isActivated;(n||!s)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),l.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=Object(r.a)({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var i=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?i:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var r=Math.floor(i*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,n=t.VAR_TOP,s=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(s,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(n,this.unboundedCoords.top+"px"))},e}(a.a),f=i(7),b=i(26);
279
+ /**
280
+ * @license
281
+ * Copyright 2018 Google LLC
282
+ * SPDX-License-Identifier: Apache-2.0
283
+ */
284
+ class g extends o.a{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=m}get isActive(){return Object(s.b)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation(()=>{this.mdcFoundation.activate(t)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return n.e`
285
+ <div class="mdc-ripple-surface mdc-ripple-upgraded ${Object(f.a)(i)}"
286
+ style="${Object(b.a)({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}Object(r.b)([Object(n.g)(".mdc-ripple-surface")],g.prototype,"mdcRoot",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"primary",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"accent",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"unbounded",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"disabled",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"activated",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"selected",void 0),Object(r.b)([Object(n.f)({type:Boolean})],g.prototype,"internalUseStateLayerCustomProperties",void 0),Object(r.b)([Object(n.j)()],g.prototype,"hovering",void 0),Object(r.b)([Object(n.j)()],g.prototype,"bgFocused",void 0),Object(r.b)([Object(n.j)()],g.prototype,"fgActivation",void 0),Object(r.b)([Object(n.j)()],g.prototype,"fgDeactivation",void 0),Object(r.b)([Object(n.j)()],g.prototype,"fgScale",void 0),Object(r.b)([Object(n.j)()],g.prototype,"fgSize",void 0),Object(r.b)([Object(n.j)()],g.prototype,"translateStart",void 0),Object(r.b)([Object(n.j)()],g.prototype,"translateEnd",void 0),Object(r.b)([Object(n.j)()],g.prototype,"leftPos",void 0),Object(r.b)([Object(n.j)()],g.prototype,"topPos",void 0);
287
+ /**
288
+ * @license
289
+ * Copyright 2021 Google LLC
290
+ * SPDX-LIcense-Identifier: Apache-2.0
291
+ */
292
+ const v=n.b`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;
293
+ /**
294
+ * @license
295
+ * Copyright 2018 Google LLC
296
+ * SPDX-License-Identifier: Apache-2.0
297
+ */let y=class extends g{};y.styles=[v],y=Object(r.b)([Object(n.c)("mwc-ripple")],y)},function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var r=i(1),n=(i(35),i(11)),s=i(29),o=i(0),a=i(7);
298
+ /**
299
+ * @license
300
+ * Copyright 2020 Google LLC
301
+ * SPDX-License-Identifier: Apache-2.0
302
+ */
303
+ class c extends o.a{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new s.a(()=>(this.shouldRenderRipple=!0,this.ripple)),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:t=>{const e=t.type;this.onDown("mousedown"===e?"mouseup":"touchend",t)}}]}get text(){const t=this.textContent;return t?t.trim():""}render(){const t=this.renderText(),e=this.graphic?this.renderGraphic():o.e``,i=this.hasMeta?this.renderMeta():o.e``;return o.e`
304
+ ${this.renderRipple()}
305
+ ${e}
306
+ ${t}
307
+ ${i}`}renderRipple(){return this.shouldRenderRipple?o.e`
308
+ <mwc-ripple
309
+ .activated=${this.activated}>
310
+ </mwc-ripple>`:this.activated?o.e`<div class="fake-activated-ripple"></div>`:""}renderGraphic(){const t={multi:this.multipleGraphics};return o.e`
311
+ <span class="mdc-deprecated-list-item__graphic material-icons ${Object(a.a)(t)}">
312
+ <slot name="graphic"></slot>
313
+ </span>`}renderMeta(){return o.e`
314
+ <span class="mdc-deprecated-list-item__meta material-icons">
315
+ <slot name="meta"></slot>
316
+ </span>`}renderText(){const t=this.twoline?this.renderTwoline():this.renderSingleLine();return o.e`
317
+ <span class="mdc-deprecated-list-item__text">
318
+ ${t}
319
+ </span>`}renderSingleLine(){return o.e`<slot></slot>`}renderTwoline(){return o.e`
320
+ <span class="mdc-deprecated-list-item__primary-text">
321
+ <slot></slot>
322
+ </span>
323
+ <span class="mdc-deprecated-list-item__secondary-text">
324
+ <slot name="secondary"></slot>
325
+ </span>
326
+ `}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(t,e){const i=()=>{window.removeEventListener(t,i),this.rippleHandlers.endPress()};window.addEventListener(t,i),this.rippleHandlers.startPress(e)}fireRequestSelected(t,e){if(this.noninteractive)return;const i=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:e,selected:t}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const t of this.listeners)for(const e of t.eventNames)t.target.addEventListener(e,t.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const t of this.listeners)for(const e of t.eventNames)t.target.removeEventListener(e,t.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const t=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(t)}}Object(r.b)([Object(o.g)("slot")],c.prototype,"slotElement",void 0),Object(r.b)([Object(o.i)("mwc-ripple")],c.prototype,"ripple",void 0),Object(r.b)([Object(o.f)({type:String})],c.prototype,"value",void 0),Object(r.b)([Object(o.f)({type:String,reflect:!0})],c.prototype,"group",void 0),Object(r.b)([Object(o.f)({type:Number,reflect:!0})],c.prototype,"tabindex",void 0),Object(r.b)([Object(o.f)({type:Boolean,reflect:!0}),Object(n.a)((function(t){t?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")}))],c.prototype,"disabled",void 0),Object(r.b)([Object(o.f)({type:Boolean,reflect:!0})],c.prototype,"twoline",void 0),Object(r.b)([Object(o.f)({type:Boolean,reflect:!0})],c.prototype,"activated",void 0),Object(r.b)([Object(o.f)({type:String,reflect:!0})],c.prototype,"graphic",void 0),Object(r.b)([Object(o.f)({type:Boolean})],c.prototype,"multipleGraphics",void 0),Object(r.b)([Object(o.f)({type:Boolean})],c.prototype,"hasMeta",void 0),Object(r.b)([Object(o.f)({type:Boolean,reflect:!0}),Object(n.a)((function(t){t?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")}))],c.prototype,"noninteractive",void 0),Object(r.b)([Object(o.f)({type:Boolean,reflect:!0}),Object(n.a)((function(t){const e=this.getAttribute("role"),i="gridcell"===e||"option"===e||"row"===e||"tab"===e;i&&t?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged?this._firstChanged=!1:this._skipPropRequest||this.fireRequestSelected(t,"property")}))],c.prototype,"selected",void 0),Object(r.b)([Object(o.j)()],c.prototype,"shouldRenderRipple",void 0),Object(r.b)([Object(o.j)()],c.prototype,"_managingList",void 0)},function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
327
+ /**
328
+ * @license
329
+ * Copyright 2021 Google LLC
330
+ * SPDX-LIcense-Identifier: Apache-2.0
331
+ */
332
+ const r=i(0).b`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-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:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.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)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-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:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.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:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.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);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`},,,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
333
+ /**
334
+ * @license
335
+ * Copyright 2021 Google LLC
336
+ * SPDX-LIcense-Identifier: Apache-2.0
337
+ */
338
+ const r=i(0).b`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`},function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));var r=i(1),n=i(0),s=i(36),o=i(37);
339
+ /**
340
+ * @license
341
+ * Copyright 2020 Google LLC
342
+ * SPDX-License-Identifier: Apache-2.0
343
+ */
344
+ let a=class extends s.a{};a.styles=[o.a],a=Object(r.b)([Object(n.c)("mwc-list-item")],a);var c=i(9),d=i(11),l=i(23),p=i(12),u=i(28);const h=t=>t.hasAttribute("mwc-list-item");function m(){const t=this.itemsReadyResolver;this.itemsReady=new Promise(t=>this.itemsReadyResolver=t),t()}class f extends c.a{constructor(){super(),this.mdcAdapter=null,this.mdcFoundationClass=u.a,this.activatable=!1,this.multi=!1,this.wrapFocus=!1,this.itemRoles=null,this.innerRole=null,this.innerAriaLabel=null,this.rootTabbable=!1,this.previousTabindex=null,this.noninteractive=!1,this.itemsReadyResolver=()=>{},this.itemsReady=Promise.resolve([]),this.items_=[];const t=
345
+ /**
346
+ * @license
347
+ * Copyright 2020 Google LLC
348
+ * SPDX-License-Identifier: Apache-2.0
349
+ */
350
+ function(t,e=50){let i;return function(r=!0){clearTimeout(i),i=setTimeout(()=>{t(r)},e)}}(this.layout.bind(this));this.debouncedLayout=(e=!0)=>{m.call(this),t(e)}}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.itemsReady,t}get items(){return this.items_}updateItems(){var t;const e=null!==(t=this.assignedElements)&&void 0!==t?t:[],i=[];for(const t of e)h(t)&&(i.push(t),t._managingList=this),t.hasAttribute("divider")&&!t.hasAttribute("role")&&t.setAttribute("role","separator");this.items_=i;const r=new Set;if(this.items_.forEach((t,e)=>{this.itemRoles?t.setAttribute("role",this.itemRoles):t.removeAttribute("role"),t.selected&&r.add(e)}),this.multi)this.select(r);else{const t=r.size?r.entries().next().value[1]:-1;this.select(t)}const n=new Event("items-updated",{bubbles:!0,composed:!0});this.dispatchEvent(n)}get selected(){const t=this.index;if(!Object(u.b)(t))return-1===t?null:this.items[t];const e=[];for(const i of t)e.push(this.items[i]);return e}get index(){return this.mdcFoundation?this.mdcFoundation.getSelectedIndex():-1}render(){const t=null===this.innerRole?void 0:this.innerRole,e=null===this.innerAriaLabel?void 0:this.innerAriaLabel,i=this.rootTabbable?"0":"-1";return n.e`
351
+ <!-- @ts-ignore -->
352
+ <ul
353
+ tabindex=${i}
354
+ role="${Object(p.a)(t)}"
355
+ aria-label="${Object(p.a)(e)}"
356
+ class="mdc-deprecated-list"
357
+ @keydown=${this.onKeydown}
358
+ @focusin=${this.onFocusIn}
359
+ @focusout=${this.onFocusOut}
360
+ @request-selected=${this.onRequestSelected}
361
+ @list-item-rendered=${this.onListItemConnected}>
362
+ <slot></slot>
363
+ ${this.renderPlaceholder()}
364
+ </ul>
365
+ `}renderPlaceholder(){var t;const e=null!==(t=this.assignedElements)&&void 0!==t?t:[];return void 0!==this.emptyMessage&&0===e.length?n.e`
366
+ <mwc-list-item noninteractive>${this.emptyMessage}</mwc-list-item>
367
+ `:null}firstUpdated(){super.firstUpdated(),this.items.length||(this.mdcFoundation.setMulti(this.multi),this.layout())}onFocusIn(t){if(this.mdcFoundation&&this.mdcRoot){const e=this.getIndexOfTarget(t);this.mdcFoundation.handleFocusIn(t,e)}}onFocusOut(t){if(this.mdcFoundation&&this.mdcRoot){const e=this.getIndexOfTarget(t);this.mdcFoundation.handleFocusOut(t,e)}}onKeydown(t){if(this.mdcFoundation&&this.mdcRoot){const e=this.getIndexOfTarget(t),i=t.target,r=h(i);this.mdcFoundation.handleKeydown(t,r,e)}}onRequestSelected(t){if(this.mdcFoundation){let e=this.getIndexOfTarget(t);if(-1===e&&(this.layout(),e=this.getIndexOfTarget(t),-1===e))return;if(this.items[e].disabled)return;const i=t.detail.selected,r=t.detail.source;this.mdcFoundation.handleSingleSelection(e,"interaction"===r,i),t.stopPropagation()}}getIndexOfTarget(t){const e=this.items,i=t.composedPath();for(const t of i){let i=-1;if(Object(l.d)(t)&&h(t)&&(i=e.indexOf(t)),-1!==i)return i}return-1}createAdapter(){return this.mdcAdapter={getListItemCount:()=>this.mdcRoot?this.items.length:0,getFocusedElementIndex:this.getFocusedItemIndex,getAttributeForElementIndex:(t,e)=>{if(!this.mdcRoot)return"";const i=this.items[t];return i?i.getAttribute(e):""},setAttributeForElementIndex:(t,e,i)=>{if(!this.mdcRoot)return;const r=this.items[t];r&&r.setAttribute(e,i)},focusItemAtIndex:t=>{const e=this.items[t];e&&e.focus()},setTabIndexForElementIndex:(t,e)=>{const i=this.items[t];i&&(i.tabindex=e)},notifyAction:t=>{const e={bubbles:!0,composed:!0};e.detail={index:t};const i=new CustomEvent("action",e);this.dispatchEvent(i)},notifySelected:(t,e)=>{const i={bubbles:!0,composed:!0};i.detail={index:t,diff:e};const r=new CustomEvent("selected",i);this.dispatchEvent(r)},isFocusInsideList:()=>Object(l.c)(this),isRootFocused:()=>{const t=this.mdcRoot;return t.getRootNode().activeElement===t},setDisabledStateForElementIndex:(t,e)=>{const i=this.items[t];i&&(i.disabled=e)},getDisabledStateForElementIndex:t=>{const e=this.items[t];return!!e&&e.disabled},setSelectedStateForElementIndex:(t,e)=>{const i=this.items[t];i&&(i.selected=e)},getSelectedStateForElementIndex:t=>{const e=this.items[t];return!!e&&e.selected},setActivatedStateForElementIndex:(t,e)=>{const i=this.items[t];i&&(i.activated=e)}},this.mdcAdapter}selectUi(t,e=!1){const i=this.items[t];i&&(i.selected=!0,i.activated=e)}deselectUi(t){const e=this.items[t];e&&(e.selected=!1,e.activated=!1)}select(t){this.mdcFoundation&&this.mdcFoundation.setSelectedIndex(t)}toggle(t,e){this.multi&&this.mdcFoundation.toggleMultiAtIndex(t,e)}onListItemConnected(t){const e=t.target;this.layout(-1===this.items.indexOf(e))}layout(t=!0){t&&this.updateItems();const e=this.items[0];for(const t of this.items)t.tabindex=-1;e&&(this.noninteractive?this.previousTabindex||(this.previousTabindex=e):e.tabindex=0),this.itemsReadyResolver()}getFocusedItemIndex(){if(!this.mdcRoot)return-1;if(!this.items.length)return-1;const t=Object(l.b)();if(!t.length)return-1;for(let e=t.length-1;e>=0;e--){const i=t[e];if(h(i))return this.items.indexOf(i)}return-1}focusItemAtIndex(t){for(const t of this.items)if(0===t.tabindex){t.tabindex=-1;break}this.items[t].tabindex=0,this.items[t].focus()}focus(){const t=this.mdcRoot;t&&t.focus()}blur(){const t=this.mdcRoot;t&&t.blur()}}Object(r.b)([Object(n.f)({type:String})],f.prototype,"emptyMessage",void 0),Object(r.b)([Object(n.g)(".mdc-deprecated-list")],f.prototype,"mdcRoot",void 0),Object(r.b)([Object(n.h)("",!0,"*")],f.prototype,"assignedElements",void 0),Object(r.b)([Object(n.h)("",!0,'[tabindex="0"]')],f.prototype,"tabbableElements",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(d.a)((function(t){this.mdcFoundation&&this.mdcFoundation.setUseActivatedClass(t)}))],f.prototype,"activatable",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(d.a)((function(t,e){this.mdcFoundation&&this.mdcFoundation.setMulti(t),void 0!==e&&this.layout()}))],f.prototype,"multi",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(d.a)((function(t){this.mdcFoundation&&this.mdcFoundation.setWrapFocus(t)}))],f.prototype,"wrapFocus",void 0),Object(r.b)([Object(n.f)({type:String}),Object(d.a)((function(t,e){void 0!==e&&this.updateItems()}))],f.prototype,"itemRoles",void 0),Object(r.b)([Object(n.f)({type:String})],f.prototype,"innerRole",void 0),Object(r.b)([Object(n.f)({type:String})],f.prototype,"innerAriaLabel",void 0),Object(r.b)([Object(n.f)({type:Boolean})],f.prototype,"rootTabbable",void 0),Object(r.b)([Object(n.f)({type:Boolean,reflect:!0}),Object(d.a)((function(t){var e,i;if(t){const t=null!==(i=null===(e=this.tabbableElements)||void 0===e?void 0:e[0])&&void 0!==i?i:null;this.previousTabindex=t,t&&t.setAttribute("tabindex","-1")}else!t&&this.previousTabindex&&(this.previousTabindex.setAttribute("tabindex","0"),this.previousTabindex=null)}))],f.prototype,"noninteractive",void 0)},,,,,,,,,,,,,,,,function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));
368
+ /**
369
+ * @license
370
+ * Copyright 2021 Google LLC
371
+ * SPDX-LIcense-Identifier: Apache-2.0
372
+ */
373
+ const r=i(0).b`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`},,,,function(t,e,i){"use strict";i.d(e,"a",(function(){return S}));var r=i(1),n=i(0),s=i(41),o=i(40);i(28);
374
+ /**
375
+ * @license
376
+ * Copyright 2020 Google LLC
377
+ * SPDX-License-Identifier: Apache-2.0
378
+ */
379
+ let a=class extends s.a{};a.styles=[o.a],a=Object(r.b)([Object(n.c)("mwc-list")],a);var c=i(22),d=i(13),l=function(t){function e(i){var n=t.call(this,Object(r.a)(Object(r.a)({},e.defaultAdapter),i))||this;return n.isSurfaceOpen=!1,n.isQuickOpen=!1,n.isHoistedElement=!1,n.isFixedPosition=!1,n.isHorizontallyCenteredOnViewport=!1,n.maxHeight=0,n.openAnimationEndTimerId=0,n.closeAnimationEndTimerId=0,n.animationRequestId=0,n.anchorCorner=c.a.TOP_START,n.originCorner=c.a.TOP_START,n.anchorMargin={top:0,right:0,bottom:0,left:0},n.position={x:0,y:0},n}return Object(r.c)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return c.c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return c.e},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return c.d},enumerable:!1,configurable:!0}),Object.defineProperty(e,"Corner",{get:function(){return c.a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){},notifyClosing:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=e.cssClasses,i=t.ROOT,r=t.OPEN;if(!this.adapter.hasClass(i))throw new Error(i+" class required in root element.");this.adapter.hasClass(r)&&(this.isSurfaceOpen=!0)},e.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},e.prototype.setAnchorCorner=function(t){this.anchorCorner=t},e.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^c.b.RIGHT},e.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},e.prototype.setIsHoisted=function(t){this.isHoistedElement=t},e.prototype.setFixedPosition=function(t){this.isFixedPosition=t},e.prototype.isFixed=function(){return this.isFixedPosition},e.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},e.prototype.setIsHorizontallyCenteredOnViewport=function(t){this.isHorizontallyCenteredOnViewport=t},e.prototype.setQuickOpen=function(t){this.isQuickOpen=t},e.prototype.setMaxHeight=function(t){this.maxHeight=t},e.prototype.isOpen=function(){return this.isSurfaceOpen},e.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(e.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(e.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.adapter.addClass(e.cssClasses.OPEN),t.openAnimationEndTimerId=setTimeout((function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(e.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()}),c.d.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},e.prototype.close=function(t){var i=this;if(void 0===t&&(t=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(e.cssClasses.OPEN),this.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(e.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){i.adapter.removeClass(e.cssClasses.OPEN),i.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),i.closeAnimationEndTimerId=setTimeout((function(){i.closeAnimationEndTimerId=0,i.adapter.removeClass(e.cssClasses.ANIMATING_CLOSED),i.adapter.notifyClose()}),c.d.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()}},e.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},e.prototype.handleKeydown=function(t){var e=t.keyCode;("Escape"===t.key||27===e)&&this.close()},e.prototype.autoposition=function(){var t;this.measurements=this.getAutoLayoutmeasurements();var i=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(i),n=this.hasBit(i,c.b.BOTTOM)?"bottom":"top",s=this.hasBit(i,c.b.RIGHT)?"right":"left",o=this.getHorizontalOriginOffset(i),a=this.getVerticalOriginOffset(i),d=this.measurements,l=d.anchorSize,p=d.surfaceSize,u=((t={})[s]=o,t[n]=a,t);l.width/p.width>c.d.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(s="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(u),this.adapter.setTransformOrigin(s+" "+n),this.adapter.setPosition(u),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(i,c.b.BOTTOM)||this.adapter.addClass(e.cssClasses.IS_OPEN_BELOW)},e.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),i=this.adapter.getWindowDimensions(),r=this.adapter.getWindowScroll();return t||(t={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:t,bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:i.width-t.right,bottom:i.height-t.bottom,left:t.left},viewportSize:i,windowScroll:r}},e.prototype.getoriginCorner=function(){var t,i,r=this.originCorner,n=this.measurements,s=n.viewportDistance,o=n.anchorSize,a=n.surfaceSize,d=e.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,c.b.BOTTOM)?(t=s.top-d+this.anchorMargin.bottom,i=s.bottom-d-this.anchorMargin.bottom):(t=s.top-d+this.anchorMargin.top,i=s.bottom-d+o.height-this.anchorMargin.top),!(i-a.height>0)&&t>i&&(r=this.setBit(r,c.b.BOTTOM));var l,p,u=this.adapter.isRtl(),h=this.hasBit(this.anchorCorner,c.b.FLIP_RTL),m=this.hasBit(this.anchorCorner,c.b.RIGHT)||this.hasBit(r,c.b.RIGHT),f=!1;(f=u&&h?!m:m)?(l=s.left+o.width+this.anchorMargin.right,p=s.right-this.anchorMargin.right):(l=s.left+this.anchorMargin.left,p=s.right+o.width-this.anchorMargin.left);var b=l-a.width>0,g=p-a.width>0,v=this.hasBit(r,c.b.FLIP_RTL)&&this.hasBit(r,c.b.RIGHT);return g&&v&&u||!b&&v?r=this.unsetBit(r,c.b.RIGHT):(b&&f&&u||b&&!f&&m||!g&&l>=p)&&(r=this.setBit(r,c.b.RIGHT)),r},e.prototype.getMenuSurfaceMaxHeight=function(t){if(this.maxHeight>0)return this.maxHeight;var i=this.measurements.viewportDistance,r=0,n=this.hasBit(t,c.b.BOTTOM),s=this.hasBit(this.anchorCorner,c.b.BOTTOM),o=e.numbers.MARGIN_TO_EDGE;return n?(r=i.top+this.anchorMargin.top-o,s||(r+=this.measurements.anchorSize.height)):(r=i.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-o,s&&(r-=this.measurements.anchorSize.height)),r},e.prototype.getHorizontalOriginOffset=function(t){var e=this.measurements.anchorSize,i=this.hasBit(t,c.b.RIGHT),r=this.hasBit(this.anchorCorner,c.b.RIGHT);if(i){var n=r?e.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?n-(this.measurements.viewportSize.width-this.measurements.bodySize.width):n}return r?e.width-this.anchorMargin.right:this.anchorMargin.left},e.prototype.getVerticalOriginOffset=function(t){var e=this.measurements.anchorSize,i=this.hasBit(t,c.b.BOTTOM),r=this.hasBit(this.anchorCorner,c.b.BOTTOM);return i?r?e.height-this.anchorMargin.top:-this.anchorMargin.bottom:r?e.height+this.anchorMargin.bottom:this.anchorMargin.top},e.prototype.adjustPositionForHoistedElement=function(t){var e,i,n=this.measurements,s=n.windowScroll,o=n.viewportDistance,a=n.surfaceSize,c=n.viewportSize,d=Object.keys(t);try{for(var l=Object(r.f)(d),p=l.next();!p.done;p=l.next()){var u=p.value,h=t[u]||0;!this.isHorizontallyCenteredOnViewport||"left"!==u&&"right"!==u?(h+=o[u],this.isFixedPosition||("top"===u?h+=s.y:"bottom"===u?h-=s.y:"left"===u?h+=s.x:h-=s.x),t[u]=h):t[u]=(c.width-a.width)/2}}catch(t){e={error:t}}finally{try{p&&!p.done&&(i=l.return)&&i.call(l)}finally{if(e)throw e.error}}},e.prototype.maybeRestoreFocus=function(){var t=this,e=this.adapter.isFocused(),i=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(e||i)&&setTimeout((function(){t.adapter.restoreFocus()}),c.d.TOUCH_EVENT_WAIT_MS)},e.prototype.hasBit=function(t,e){return Boolean(t&e)},e.prototype.setBit=function(t,e){return t|e},e.prototype.unsetBit=function(t,e){return t^e},e.prototype.isFinite=function(t){return"number"==typeof t&&isFinite(t)},e}(d.a),p=l,u=i(9),h=i(11),m=i(23),f=i(7),b=i(26);
380
+ /**
381
+ * @license
382
+ * Copyright 2020 Google LLC
383
+ * SPDX-License-Identifier: Apache-2.0
384
+ */
385
+ const g={TOP_LEFT:c.a.TOP_LEFT,TOP_RIGHT:c.a.TOP_RIGHT,BOTTOM_LEFT:c.a.BOTTOM_LEFT,BOTTOM_RIGHT:c.a.BOTTOM_RIGHT,TOP_START:c.a.TOP_START,TOP_END:c.a.TOP_END,BOTTOM_START:c.a.BOTTOM_START,BOTTOM_END:c.a.BOTTOM_END};class v extends u.a{constructor(){super(...arguments),this.mdcFoundationClass=p,this.absolute=!1,this.fullwidth=!1,this.fixed=!1,this.x=null,this.y=null,this.quick=!1,this.open=!1,this.stayOpenOnBodyClick=!1,this.bitwiseCorner=c.a.TOP_START,this.previousMenuCorner=null,this.menuCorner="START",this.corner="TOP_START",this.styleTop="",this.styleLeft="",this.styleRight="",this.styleBottom="",this.styleMaxHeight="",this.styleTransformOrigin="",this.anchor=null,this.previouslyFocused=null,this.previousAnchor=null,this.onBodyClickBound=()=>{}}render(){const t={"mdc-menu-surface--fixed":this.fixed,"mdc-menu-surface--fullwidth":this.fullwidth},e={top:this.styleTop,left:this.styleLeft,right:this.styleRight,bottom:this.styleBottom,"max-height":this.styleMaxHeight,"transform-origin":this.styleTransformOrigin};return n.e`
386
+ <div
387
+ class="mdc-menu-surface ${Object(f.a)(t)}"
388
+ style="${Object(b.a)(e)}"
389
+ @keydown=${this.onKeydown}
390
+ @opened=${this.registerBodyClick}
391
+ @closed=${this.deregisterBodyClick}>
392
+ <slot></slot>
393
+ </div>`}createAdapter(){return Object.assign(Object.assign({},Object(u.b)(this.mdcRoot)),{hasAnchor:()=>!!this.anchor,notifyClose:()=>{const t=new CustomEvent("closed",{bubbles:!0,composed:!0});this.open=!1,this.mdcRoot.dispatchEvent(t)},notifyClosing:()=>{const t=new CustomEvent("closing",{bubbles:!0,composed:!0});this.mdcRoot.dispatchEvent(t)},notifyOpen:()=>{const t=new CustomEvent("opened",{bubbles:!0,composed:!0});this.open=!0,this.mdcRoot.dispatchEvent(t)},isElementInContainer:()=>!1,isRtl:()=>!!this.mdcRoot&&"rtl"===getComputedStyle(this.mdcRoot).direction,setTransformOrigin:t=>{this.mdcRoot&&(this.styleTransformOrigin=t)},isFocused:()=>Object(m.c)(this),saveFocus:()=>{const t=Object(m.b)(),e=t.length;e||(this.previouslyFocused=null),this.previouslyFocused=t[e-1]},restoreFocus:()=>{this.previouslyFocused&&"focus"in this.previouslyFocused&&this.previouslyFocused.focus()},getInnerDimensions:()=>{const t=this.mdcRoot;return t?{width:t.offsetWidth,height:t.offsetHeight}:{width:0,height:0}},getAnchorDimensions:()=>{const t=this.anchor;return t?t.getBoundingClientRect():null},getBodyDimensions:()=>({width:document.body.clientWidth,height:document.body.clientHeight}),getWindowDimensions:()=>({width:window.innerWidth,height:window.innerHeight}),getWindowScroll:()=>({x:window.pageXOffset,y:window.pageYOffset}),setPosition:t=>{this.mdcRoot&&(this.styleLeft="left"in t?t.left+"px":"",this.styleRight="right"in t?t.right+"px":"",this.styleTop="top"in t?t.top+"px":"",this.styleBottom="bottom"in t?t.bottom+"px":"")},setMaxHeight:async t=>{this.mdcRoot&&(this.styleMaxHeight=t,await this.updateComplete,this.styleMaxHeight=`var(--mdc-menu-max-height, ${t})`)}})}onKeydown(t){this.mdcFoundation&&this.mdcFoundation.handleKeydown(t)}onBodyClick(t){if(this.stayOpenOnBodyClick)return;-1===t.composedPath().indexOf(this)&&this.close()}registerBodyClick(){this.onBodyClickBound=this.onBodyClick.bind(this),document.body.addEventListener("click",this.onBodyClickBound,{passive:!0,capture:!0})}deregisterBodyClick(){document.body.removeEventListener("click",this.onBodyClickBound,{capture:!0})}close(){this.open=!1}show(){this.open=!0}}Object(r.b)([Object(n.g)(".mdc-menu-surface")],v.prototype,"mdcRoot",void 0),Object(r.b)([Object(n.g)("slot")],v.prototype,"slotElement",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(h.a)((function(t){this.mdcFoundation&&!this.fixed&&this.mdcFoundation.setIsHoisted(t)}))],v.prototype,"absolute",void 0),Object(r.b)([Object(n.f)({type:Boolean})],v.prototype,"fullwidth",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(h.a)((function(t){this.mdcFoundation&&!this.absolute&&this.mdcFoundation.setFixedPosition(t)}))],v.prototype,"fixed",void 0),Object(r.b)([Object(n.f)({type:Number}),Object(h.a)((function(t){this.mdcFoundation&&null!==this.y&&null!==t&&(this.mdcFoundation.setAbsolutePosition(t,this.y),this.mdcFoundation.setAnchorMargin({left:t,top:this.y,right:-t,bottom:this.y}))}))],v.prototype,"x",void 0),Object(r.b)([Object(n.f)({type:Number}),Object(h.a)((function(t){this.mdcFoundation&&null!==this.x&&null!==t&&(this.mdcFoundation.setAbsolutePosition(this.x,t),this.mdcFoundation.setAnchorMargin({left:this.x,top:t,right:-this.x,bottom:t}))}))],v.prototype,"y",void 0),Object(r.b)([Object(n.f)({type:Boolean}),Object(h.a)((function(t){this.mdcFoundation&&this.mdcFoundation.setQuickOpen(t)}))],v.prototype,"quick",void 0),Object(r.b)([Object(n.f)({type:Boolean,reflect:!0}),Object(h.a)((function(t,e){this.mdcFoundation&&(t?this.mdcFoundation.open():void 0!==e&&this.mdcFoundation.close())}))],v.prototype,"open",void 0),Object(r.b)([Object(n.f)({type:Boolean})],v.prototype,"stayOpenOnBodyClick",void 0),Object(r.b)([Object(n.j)(),Object(h.a)((function(t){this.mdcFoundation&&this.mdcFoundation.setAnchorCorner(t)}))],v.prototype,"bitwiseCorner",void 0),Object(r.b)([Object(n.f)({type:String}),Object(h.a)((function(t){if(this.mdcFoundation){const e="START"===t||"END"===t,i=null===this.previousMenuCorner,r=!i&&t!==this.previousMenuCorner,n=i&&"END"===t;e&&(r||n)&&(this.bitwiseCorner=this.bitwiseCorner^c.b.RIGHT,this.mdcFoundation.flipCornerHorizontally(),this.previousMenuCorner=t)}}))],v.prototype,"menuCorner",void 0),Object(r.b)([Object(n.f)({type:String}),Object(h.a)((function(t){if(this.mdcFoundation&&t){let e=g[t];"END"===this.menuCorner&&(e^=c.b.RIGHT),this.bitwiseCorner=e}}))],v.prototype,"corner",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleTop",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleLeft",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleRight",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleBottom",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleMaxHeight",void 0),Object(r.b)([Object(n.j)()],v.prototype,"styleTransformOrigin",void 0);
394
+ /**
395
+ * @license
396
+ * Copyright 2021 Google LLC
397
+ * SPDX-LIcense-Identifier: Apache-2.0
398
+ */
399
+ const y=n.b`.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;transition:opacity .03s linear,transform .12s cubic-bezier(0, 0, 0.2, 1),height 250ms cubic-bezier(0, 0, 0.2, 1);box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2),0px 8px 10px 1px rgba(0, 0, 0, 0.14),0px 3px 14px 2px rgba(0,0,0,.12);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);color:#000;color:var(--mdc-theme-on-surface, #000);border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0;transition:opacity .075s linear}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}:host(:not([open])){display:none}.mdc-menu-surface{z-index:8;z-index:var(--mdc-menu-z-index, 8);min-width:112px;min-width:var(--mdc-menu-min-width, 112px)}`;
400
+ /**
401
+ * @license
402
+ * Copyright 2020 Google LLC
403
+ * SPDX-License-Identifier: Apache-2.0
404
+ */let _=class extends v{};_.styles=[y],_=Object(r.b)([Object(n.c)("mwc-menu-surface")],_);
405
+ /**
406
+ * @license
407
+ * Copyright 2018 Google Inc.
408
+ *
409
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
410
+ * of this software and associated documentation files (the "Software"), to deal
411
+ * in the Software without restriction, including without limitation the rights
412
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
413
+ * copies of the Software, and to permit persons to whom the Software is
414
+ * furnished to do so, subject to the following conditions:
415
+ *
416
+ * The above copyright notice and this permission notice shall be included in
417
+ * all copies or substantial portions of the Software.
418
+ *
419
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
420
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
421
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
422
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
423
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
424
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
425
+ * THE SOFTWARE.
426
+ */
427
+ var E,O={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},A={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",SELECTED_EVENT:"MDCMenu:selected"},T={FOCUS_ROOT_INDEX:-1};!function(t){t[t.NONE=0]="NONE",t[t.LIST_ROOT=1]="LIST_ROOT",t[t.FIRST_ITEM=2]="FIRST_ITEM",t[t.LAST_ITEM=3]="LAST_ITEM"}(E||(E={}));var I=i(24),x=function(t){function e(i){var n=t.call(this,Object(r.a)(Object(r.a)({},e.defaultAdapter),i))||this;return n.closeAnimationEndTimerId=0,n.defaultFocusState=E.LIST_ROOT,n.selectedIndex=-1,n}return Object(r.c)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return O},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return A},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return T},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId),this.adapter.closeSurface()},e.prototype.handleKeydown=function(t){var e=t.key,i=t.keyCode;("Tab"===e||9===i)&&this.adapter.closeSurface(!0)},e.prototype.handleItemAction=function(t){var e=this,i=this.adapter.getElementIndex(t);i<0||(this.adapter.notifySelected({index:i}),this.adapter.closeSurface(),this.closeAnimationEndTimerId=setTimeout((function(){var i=e.adapter.getElementIndex(t);i>=0&&e.adapter.isSelectableItemAtIndex(i)&&e.setSelectedIndex(i)}),l.numbers.TRANSITION_CLOSE_DURATION))},e.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case E.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case E.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case E.NONE:break;default:this.adapter.focusListRoot()}},e.prototype.setDefaultFocusState=function(t){this.defaultFocusState=t},e.prototype.getSelectedIndex=function(){return this.selectedIndex},e.prototype.setSelectedIndex=function(t){if(this.validatedIndex(t),!this.adapter.isSelectableItemAtIndex(t))throw new Error("MDCMenuFoundation: No selection group at specified index.");var e=this.adapter.getSelectedSiblingOfItemAtIndex(t);e>=0&&(this.adapter.removeAttributeFromElementAtIndex(e,A.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(e,O.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(t,O.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(t,A.ARIA_CHECKED_ATTR,"true"),this.selectedIndex=t},e.prototype.setEnabled=function(t,e){this.validatedIndex(t),e?(this.adapter.removeClassFromElementAtIndex(t,I.a.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,A.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(t,I.a.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,A.ARIA_DISABLED_ATTR,"true"))},e.prototype.validatedIndex=function(t){var e=this.adapter.getMenuItemCount();if(!(t>=0&&t<e))throw new Error("MDCMenuFoundation: No list item at specified index.")},e}(d.a);
428
+ /**
429
+ * @license
430
+ * Copyright 2018 Google Inc.
431
+ *
432
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
433
+ * of this software and associated documentation files (the "Software"), to deal
434
+ * in the Software without restriction, including without limitation the rights
435
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
436
+ * copies of the Software, and to permit persons to whom the Software is
437
+ * furnished to do so, subject to the following conditions:
438
+ *
439
+ * The above copyright notice and this permission notice shall be included in
440
+ * all copies or substantial portions of the Software.
441
+ *
442
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
443
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
444
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
445
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
446
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
447
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
448
+ * THE SOFTWARE.
449
+ */
450
+ /**
451
+ * @license
452
+ * Copyright 2020 Google LLC
453
+ * SPDX-License-Identifier: Apache-2.0
454
+ */
455
+ class S extends u.a{constructor(){super(...arguments),this.mdcFoundationClass=x,this.listElement_=null,this.anchor=null,this.open=!1,this.quick=!1,this.wrapFocus=!1,this.innerRole="menu",this.innerAriaLabel=null,this.corner="TOP_START",this.x=null,this.y=null,this.absolute=!1,this.multi=!1,this.activatable=!1,this.fixed=!1,this.forceGroupSelection=!1,this.fullwidth=!1,this.menuCorner="START",this.stayOpenOnBodyClick=!1,this.defaultFocus="LIST_ROOT",this._listUpdateComplete=null}get listElement(){return this.listElement_||(this.listElement_=this.renderRoot.querySelector("mwc-list")),this.listElement_}get items(){const t=this.listElement;return t?t.items:[]}get index(){const t=this.listElement;return t?t.index:-1}get selected(){const t=this.listElement;return t?t.selected:null}render(){const t="menu"===this.innerRole?"menuitem":"option";return n.e`
456
+ <mwc-menu-surface
457
+ ?hidden=${!this.open}
458
+ .anchor=${this.anchor}
459
+ .open=${this.open}
460
+ .quick=${this.quick}
461
+ .corner=${this.corner}
462
+ .x=${this.x}
463
+ .y=${this.y}
464
+ .absolute=${this.absolute}
465
+ .fixed=${this.fixed}
466
+ .fullwidth=${this.fullwidth}
467
+ .menuCorner=${this.menuCorner}
468
+ ?stayOpenOnBodyClick=${this.stayOpenOnBodyClick}
469
+ class="mdc-menu mdc-menu-surface"
470
+ @closed=${this.onClosed}
471
+ @opened=${this.onOpened}
472
+ @keydown=${this.onKeydown}>
473
+ <mwc-list
474
+ rootTabbable
475
+ .innerAriaLabel=${this.innerAriaLabel}
476
+ .innerRole=${this.innerRole}
477
+ .multi=${this.multi}
478
+ class="mdc-deprecated-list"
479
+ .itemRoles=${t}
480
+ .wrapFocus=${this.wrapFocus}
481
+ .activatable=${this.activatable}
482
+ @action=${this.onAction}>
483
+ <slot></slot>
484
+ </mwc-list>
485
+ </mwc-menu-surface>`}createAdapter(){return{addClassToElementAtIndex:(t,e)=>{const i=this.listElement;if(!i)return;const r=i.items[t];r&&("mdc-menu-item--selected"===e?this.forceGroupSelection&&!r.selected&&i.toggle(t,!0):r.classList.add(e))},removeClassFromElementAtIndex:(t,e)=>{const i=this.listElement;if(!i)return;const r=i.items[t];r&&("mdc-menu-item--selected"===e?r.selected&&i.toggle(t,!1):r.classList.remove(e))},addAttributeToElementAtIndex:(t,e,i)=>{const r=this.listElement;if(!r)return;const n=r.items[t];n&&n.setAttribute(e,i)},removeAttributeFromElementAtIndex:(t,e)=>{const i=this.listElement;if(!i)return;const r=i.items[t];r&&r.removeAttribute(e)},elementContainsClass:(t,e)=>t.classList.contains(e),closeSurface:()=>{this.open=!1},getElementIndex:t=>{const e=this.listElement;return e?e.items.indexOf(t):-1},notifySelected:()=>{},getMenuItemCount:()=>{const t=this.listElement;return t?t.items.length:0},focusItemAtIndex:t=>{const e=this.listElement;if(!e)return;const i=e.items[t];i&&i.focus()},focusListRoot:()=>{this.listElement&&this.listElement.focus()},getSelectedSiblingOfItemAtIndex:t=>{const e=this.listElement;if(!e)return-1;const i=e.items[t];if(!i||!i.group)return-1;for(let r=0;r<e.items.length;r++){if(r===t)continue;const n=e.items[r];if(n.selected&&n.group===i.group)return r}return-1},isSelectableItemAtIndex:t=>{const e=this.listElement;if(!e)return!1;const i=e.items[t];return!!i&&i.hasAttribute("group")}}}onKeydown(t){this.mdcFoundation&&this.mdcFoundation.handleKeydown(t)}onAction(t){const e=this.listElement;if(this.mdcFoundation&&e){const i=t.detail.index,r=e.items[i];r&&this.mdcFoundation.handleItemAction(r)}}onOpened(){this.open=!0,this.mdcFoundation&&this.mdcFoundation.handleMenuSurfaceOpened()}onClosed(){this.open=!1}async getUpdateComplete(){await this._listUpdateComplete;return await super.getUpdateComplete()}async firstUpdated(){super.firstUpdated();const t=this.listElement;t&&(this._listUpdateComplete=t.updateComplete,await this._listUpdateComplete)}select(t){const e=this.listElement;e&&e.select(t)}close(){this.open=!1}show(){this.open=!0}getFocusedItemIndex(){const t=this.listElement;return t?t.getFocusedItemIndex():-1}focusItemAtIndex(t){const e=this.listElement;e&&e.focusItemAtIndex(t)}layout(t=!0){const e=this.listElement;e&&e.layout(t)}}Object(r.b)([Object(n.g)(".mdc-menu")],S.prototype,"mdcRoot",void 0),Object(r.b)([Object(n.g)("slot")],S.prototype,"slotElement",void 0),Object(r.b)([Object(n.f)({type:Object})],S.prototype,"anchor",void 0),Object(r.b)([Object(n.f)({type:Boolean,reflect:!0})],S.prototype,"open",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"quick",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"wrapFocus",void 0),Object(r.b)([Object(n.f)({type:String})],S.prototype,"innerRole",void 0),Object(r.b)([Object(n.f)({type:String})],S.prototype,"innerAriaLabel",void 0),Object(r.b)([Object(n.f)({type:String})],S.prototype,"corner",void 0),Object(r.b)([Object(n.f)({type:Number})],S.prototype,"x",void 0),Object(r.b)([Object(n.f)({type:Number})],S.prototype,"y",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"absolute",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"multi",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"activatable",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"fixed",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"forceGroupSelection",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"fullwidth",void 0),Object(r.b)([Object(n.f)({type:String})],S.prototype,"menuCorner",void 0),Object(r.b)([Object(n.f)({type:Boolean})],S.prototype,"stayOpenOnBodyClick",void 0),Object(r.b)([Object(n.f)({type:String}),Object(h.a)((function(t){this.mdcFoundation&&this.mdcFoundation.setDefaultFocusState(E[t])}))],S.prototype,"defaultFocus",void 0)},,,,,,,,,,,,,,function(t,e,i){"use strict";i.r(e),i.d(e,"CovalentMenuBase",(function(){return a}));var r=i(61),n=i(57),s=i(10),o=function(t,e,i,r){var n,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,i,o):n(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};let a=class extends r.a{};a.styles=[n.a],a=o([Object(s.a)("td-menu")],a)}]);