@covalent/components 7.1.0-beta.1 → 7.1.0-beta.3

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 (228) hide show
  1. package/action-ribbon/action-ribbon.d.ts +1 -2
  2. package/action-ribbon/action-ribbon.d.ts.map +1 -1
  3. package/action-ribbon.js +5 -5
  4. package/action-ribbon.mjs +12 -14
  5. package/alert/alert.d.ts +1 -2
  6. package/alert/alert.d.ts.map +1 -1
  7. package/alert.js +4 -4
  8. package/alert.mjs +10 -12
  9. package/app-shell/app-shell.d.ts +1 -2
  10. package/app-shell/app-shell.d.ts.map +1 -1
  11. package/app-shell.js +5 -5
  12. package/app-shell.mjs +19 -21
  13. package/button/button.d.ts +1 -2
  14. package/button/button.d.ts.map +1 -1
  15. package/button.js +2 -2
  16. package/button.mjs +11 -13
  17. package/card/card.d.ts +1 -2
  18. package/card/card.d.ts.map +1 -1
  19. package/card.js +7 -7
  20. package/card.mjs +1 -3
  21. package/check-list-item.js +5 -5
  22. package/check-list-item.mjs +19 -21
  23. package/checkbox/checkbox.d.ts +1 -2
  24. package/checkbox/checkbox.d.ts.map +1 -1
  25. package/checkbox.js +2 -2
  26. package/checkbox.mjs +15 -17
  27. package/chips/chip-set-base.d.ts +1 -1
  28. package/chips/chip-set-base.d.ts.map +1 -1
  29. package/chips/chip-set.d.ts +1 -2
  30. package/chips/chip-set.d.ts.map +1 -1
  31. package/chips/chip.d.ts +1 -2
  32. package/chips/chip.d.ts.map +1 -1
  33. package/circular-progress/circular-progress.d.ts +1 -2
  34. package/circular-progress/circular-progress.d.ts.map +1 -1
  35. package/circular-progress.js +2 -2
  36. package/circular-progress.mjs +9 -11
  37. package/code-snippet/code-snippet.d.ts +1 -2
  38. package/code-snippet/code-snippet.d.ts.map +1 -1
  39. package/code-snippet-557c2c8c.mjs +12228 -0
  40. package/code-snippet-792fa24f.js +13 -0
  41. package/code-snippet.js +1 -13
  42. package/code-snippet.mjs +6 -12206
  43. package/dialog/dialog.d.ts +1 -2
  44. package/dialog/dialog.d.ts.map +1 -1
  45. package/{dialog-79036d60.js → dialog-9eb800e8.js} +4 -4
  46. package/{dialog-9ac44447.mjs → dialog-b0a2f7ff.mjs} +23 -25
  47. package/dialog.js +1 -1
  48. package/dialog.mjs +3 -4
  49. package/drawer/drawer.d.ts +1 -2
  50. package/drawer/drawer.d.ts.map +1 -1
  51. package/drawer.js +2 -2
  52. package/drawer.mjs +11 -13
  53. package/empty-state/empty-state.d.ts +1 -2
  54. package/empty-state/empty-state.d.ts.map +1 -1
  55. package/empty-state.js +4 -4
  56. package/empty-state.mjs +14 -16
  57. package/{form-element-ead758d4.js → form-element-c553d6f5.js} +1 -1
  58. package/{form-element-bd973124.mjs → form-element-ffcf59ff.mjs} +1 -1
  59. package/formfield/formfield.d.ts +1 -2
  60. package/formfield/formfield.d.ts.map +1 -1
  61. package/{foundation-3f556da7.mjs → foundation-39dc72d2.mjs} +1 -1
  62. package/{foundation-62d4413d.js → foundation-786bf879.js} +1 -1
  63. package/icon/icon.d.ts +1 -2
  64. package/icon/icon.d.ts.map +1 -1
  65. package/icon-button/icon-button.d.ts +1 -2
  66. package/icon-button/icon-button.d.ts.map +1 -1
  67. package/icon-button.js +2 -2
  68. package/icon-button.mjs +21 -23
  69. package/icon-check-toggle.js +6 -6
  70. package/icon-check-toggle.mjs +5 -7
  71. package/icon-checkbox/icon-check-toggle.d.ts +1 -2
  72. package/icon-checkbox/icon-check-toggle.d.ts.map +1 -1
  73. package/icon-radio/icon-radio-toggle.d.ts +1 -2
  74. package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
  75. package/icon-radio-toggle.js +5 -5
  76. package/icon-radio-toggle.mjs +17 -19
  77. package/icon.js +2 -2
  78. package/icon.mjs +14 -16
  79. package/index.d.ts +2 -0
  80. package/index.d.ts.map +1 -1
  81. package/index.js +568 -1
  82. package/index.mjs +3680 -108
  83. package/linear-progress/linear-progress.d.ts +1 -2
  84. package/linear-progress/linear-progress.d.ts.map +1 -1
  85. package/linear-progress.js +6 -6
  86. package/linear-progress.mjs +23 -25
  87. package/list/check-list-item.d.ts +1 -2
  88. package/list/check-list-item.d.ts.map +1 -1
  89. package/list/list-item.d.ts +1 -2
  90. package/list/list-item.d.ts.map +1 -1
  91. package/list/list.d.ts +1 -2
  92. package/list/list.d.ts.map +1 -1
  93. package/list/nav-list-item.d.ts +6 -5
  94. package/list/nav-list-item.d.ts.map +1 -1
  95. package/list/radio-list-item.d.ts +1 -2
  96. package/list/radio-list-item.d.ts.map +1 -1
  97. package/list-item-7970e039.js +8 -0
  98. package/list-item-b1f5251a.mjs +30 -0
  99. package/list-item.js +1 -1
  100. package/list-item.mjs +5 -6
  101. package/list.js +3 -3
  102. package/list.mjs +13 -15
  103. package/menu/menu.d.ts +1 -2
  104. package/menu/menu.d.ts.map +1 -1
  105. package/menu.js +2 -2
  106. package/menu.mjs +16 -18
  107. package/{mwc-checkbox-base-d46c7666.js → mwc-checkbox-base-3d8c9549.js} +1 -1
  108. package/{mwc-checkbox-base-3da36456.mjs → mwc-checkbox-base-f10fd709.mjs} +3 -3
  109. package/{mwc-drawer-base-fe660bdf.mjs → mwc-drawer-base-135de8a5.mjs} +1 -1
  110. package/{mwc-drawer-base-8eecb1de.js → mwc-drawer-base-798b11f8.js} +1 -1
  111. package/{mwc-icon-ba18383d.mjs → mwc-icon-bf656cf5.mjs} +1 -1
  112. package/{mwc-icon-8c9cd0c9.js → mwc-icon-f87639bc.js} +1 -1
  113. package/{mwc-line-ripple-directive-d1cf9570.js → mwc-line-ripple-directive-a6b39a3c.js} +1 -1
  114. package/{mwc-line-ripple-directive-ffce2cff.mjs → mwc-line-ripple-directive-b24a914e.mjs} +1 -1
  115. package/{mwc-list-base-cb3500b4.js → mwc-list-base-400b00e2.js} +1 -1
  116. package/{mwc-list-base-32d4ac31.mjs → mwc-list-base-76e37212.mjs} +2 -2
  117. package/{mwc-list-item-base-4a4d1e1b.js → mwc-list-item-base-297d86b0.js} +1 -1
  118. package/{mwc-list-item-base-8654347d.mjs → mwc-list-item-base-fe4398c3.mjs} +2 -2
  119. package/{mwc-menu-base-572a76b9.mjs → mwc-menu-base-c4bc88ea.mjs} +2 -2
  120. package/{mwc-menu-base-f14ec544.js → mwc-menu-base-c75ca473.js} +1 -1
  121. package/{mwc-radio-base-470b4fcc.js → mwc-radio-base-913e02e2.js} +1 -1
  122. package/{mwc-radio-base-9446d39b.mjs → mwc-radio-base-a374fbd9.mjs} +3 -3
  123. package/{mwc-slider.css-10adbaf8.mjs → mwc-slider.css-8b6f275c.mjs} +3 -3
  124. package/{mwc-slider.css-9dd57b10.js → mwc-slider.css-c7107d94.js} +1 -1
  125. package/{mwc-tab-base-4ba47acc.mjs → mwc-tab-base-be0c887f.mjs} +2 -2
  126. package/{mwc-tab-base-fc3ffb43.js → mwc-tab-base-f28722aa.js} +1 -1
  127. package/{mwc-top-app-bar-base-adc4168a.mjs → mwc-top-app-bar-base-55da3fe4.mjs} +1 -1
  128. package/{mwc-top-app-bar-base-0304e67f.js → mwc-top-app-bar-base-aec60f27.js} +1 -1
  129. package/nav-list-item.js +12 -12
  130. package/nav-list-item.mjs +68 -64
  131. package/package.json +1 -1
  132. package/radio/radio.d.ts +1 -2
  133. package/radio/radio.d.ts.map +1 -1
  134. package/radio-list-item.js +5 -5
  135. package/radio-list-item.mjs +20 -22
  136. package/radio.js +2 -2
  137. package/radio.mjs +15 -17
  138. package/{ripple-handlers-c82b1232.js → ripple-handlers-5d5b21db.js} +1 -1
  139. package/{ripple-handlers-321219b8.mjs → ripple-handlers-f37f21cf.mjs} +1 -1
  140. package/select/select.d.ts +1 -2
  141. package/select/select.d.ts.map +1 -1
  142. package/select.js +10 -10
  143. package/select.mjs +127 -129
  144. package/side-sheet/side-sheet.d.ts +2 -2
  145. package/side-sheet/side-sheet.d.ts.map +1 -1
  146. package/side-sheet.js +4 -4
  147. package/side-sheet.mjs +6 -6
  148. package/slider/slider-range.d.ts +1 -2
  149. package/slider/slider-range.d.ts.map +1 -1
  150. package/slider/slider.d.ts +1 -2
  151. package/slider/slider.d.ts.map +1 -1
  152. package/slider-range.js +7 -7
  153. package/slider-range.mjs +21 -23
  154. package/slider.js +2 -2
  155. package/slider.mjs +12 -14
  156. package/snackbar/snackbar.d.ts +1 -2
  157. package/snackbar/snackbar.d.ts.map +1 -1
  158. package/snackbar.js +10 -10
  159. package/snackbar.mjs +10 -12
  160. package/status-header/status-header-item.d.ts +1 -2
  161. package/status-header/status-header-item.d.ts.map +1 -1
  162. package/status-header/status-header.d.ts +1 -2
  163. package/status-header/status-header.d.ts.map +1 -1
  164. package/status-header-item.js +3 -3
  165. package/status-header-item.mjs +17 -19
  166. package/status-header.js +5 -5
  167. package/status-header.mjs +15 -17
  168. package/style.css +1 -1
  169. package/switch/switch.d.ts +1 -2
  170. package/switch/switch.d.ts.map +1 -1
  171. package/switch.js +8 -8
  172. package/switch.mjs +4 -6
  173. package/tab/tab-bar.d.ts +1 -2
  174. package/tab/tab-bar.d.ts.map +1 -1
  175. package/tab/tab.d.ts +1 -2
  176. package/tab/tab.d.ts.map +1 -1
  177. package/tab-bar.js +5 -5
  178. package/tab-bar.mjs +20 -22
  179. package/tab.js +2 -2
  180. package/tab.mjs +12 -14
  181. package/text-lockup/text-lockup.d.ts +1 -2
  182. package/text-lockup/text-lockup.d.ts.map +1 -1
  183. package/text-lockup.js +5 -5
  184. package/text-lockup.mjs +5 -7
  185. package/textarea/textarea.d.ts +1 -2
  186. package/textarea/textarea.d.ts.map +1 -1
  187. package/textarea.js +2 -2
  188. package/textarea.mjs +15 -17
  189. package/textfield/textfield.d.ts +1 -2
  190. package/textfield/textfield.d.ts.map +1 -1
  191. package/{textfield-0993c163.js → textfield-62e16cc2.js} +1 -1
  192. package/{textfield-2cee5a1a.mjs → textfield-63d1859a.mjs} +3 -3
  193. package/textfield.js +3 -3
  194. package/textfield.mjs +13 -15
  195. package/toolbar/toolbar.d.ts +1 -2
  196. package/toolbar/toolbar.d.ts.map +1 -1
  197. package/toolbar.js +3 -3
  198. package/toolbar.mjs +11 -13
  199. package/tooltip/tooltip.d.ts +1 -2
  200. package/tooltip/tooltip.d.ts.map +1 -1
  201. package/tooltip.js +6 -6
  202. package/tooltip.mjs +59 -61
  203. package/top-app-bar/top-app-bar-fixed.d.ts +1 -2
  204. package/top-app-bar/top-app-bar-fixed.d.ts.map +1 -1
  205. package/top-app-bar/top-app-bar.d.ts +1 -2
  206. package/top-app-bar/top-app-bar.d.ts.map +1 -1
  207. package/top-app-bar-fixed.js +6 -6
  208. package/top-app-bar-fixed.mjs +21 -23
  209. package/top-app-bar.js +3 -3
  210. package/top-app-bar.mjs +16 -18
  211. package/tree-list/tree-list-item.d.ts +1 -2
  212. package/tree-list/tree-list-item.d.ts.map +1 -1
  213. package/tree-list/tree-list.d.ts +1 -2
  214. package/tree-list/tree-list.d.ts.map +1 -1
  215. package/tree-list-item.js +8 -8
  216. package/tree-list-item.mjs +1 -3
  217. package/tree-list.js +4 -4
  218. package/tree-list.mjs +8 -9
  219. package/tslib.es6-98719205.js +1 -0
  220. package/tslib.es6-f3e988cd.mjs +86 -0
  221. package/typography/typography.d.ts +1 -2
  222. package/typography/typography.d.ts.map +1 -1
  223. package/typography.js +3 -3
  224. package/typography.mjs +10 -12
  225. package/list-item-3dc4b60f.js +0 -8
  226. package/list-item-bab8d6ba.mjs +0 -32
  227. package/tslib.es6-e6a11c8a.js +0 -1
  228. package/tslib.es6-f1eaf65c.mjs +0 -82
package/index.js CHANGED
@@ -1 +1,568 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./button.js"),o=require("./checkbox.js"),a=require("./card.js"),i=require("./circular-progress.js"),u=require("./code-snippet.js"),l=require("./dialog-79036d60.js"),c=require("./drawer.js"),b=require("./empty-state.js"),C=require("./icon.js"),s=require("./icon-button.js"),v=require("./icon-check-toggle.js"),p=require("./icon-radio-toggle.js"),d=require("./linear-progress.js"),q=require("./check-list-item.js"),g=require("./list.js"),m=require("./list-item-3dc4b60f.js"),y=require("./nav-list-item.js"),P=require("./radio-list-item.js"),f=require("./menu.js"),j=require("./radio.js"),O=require("./select.js"),T=require("./side-sheet.js"),S=require("./slider.js"),I=require("./slider-range.js"),L=require("./snackbar.js"),h=require("./status-header.js"),k=require("./status-header-item.js"),x=require("./switch.js"),R=require("./tab.js"),A=require("./tab-bar.js"),B=require("./textarea.js"),w=require("./textfield.js"),H=require("./text-lockup.js"),F=require("./toolbar.js"),D=require("./tooltip.js"),M=require("./top-app-bar.js"),E=require("./top-app-bar-fixed.js"),N=require("./tree-list.js"),_=require("./tree-list-item.js"),z=require("./typography.js");require("./query-assigned-elements-f623705d.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-62d4413d.js");require("./tslib.es6-e6a11c8a.js");require("./class-map-b5efe8da.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./mwc-drawer-base-8eecb1de.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-8c9cd0c9.js");require("./ripple-handlers-c82b1232.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-d46c7666.js");require("./form-element-ead758d4.js");require("./mwc-checkbox.css-b3434429.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-470b4fcc.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./mwc-list-item.css-25adc0c4.js");require("./mwc-list-base-cb3500b4.js");require("./mwc-menu-base-f14ec544.js");require("./mwc-line-ripple-directive-d1cf9570.js");require("./mwc-slider.css-9dd57b10.js");require("./directive-helpers-0ce1f995.js");require("./mwc-tab-base-fc3ffb43.js");require("./textfield-0993c163.js");require("./mwc-top-app-bar-base-0304e67f.js");require("./top-app-bar-a531c1b4.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>o.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>i.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>u.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>l.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>c.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>b.CovalentEmptyState});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>C.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>s.CovalentIconButton});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>v.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>p.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>d.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>q.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>g.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>m.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>y.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>P.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>f.CovalentMenu});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>j.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>O.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>T.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>S.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>I.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>L.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>h.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>k.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>x.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>R.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>A.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>B.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>w.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>H.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>F.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>D.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>M.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>E.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>N.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>_.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>z.CovalentTypography});
1
+ "use strict";var ct=Object.defineProperty;var st=(i,t,e)=>t in i?ct(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var v=(i,t,e)=>(st(i,typeof t!="symbol"?t+"":t,e),e);require("./action-ribbon.js");require("./alert.js");require("./app-shell.js");require("./button.js");require("./checkbox.js");require("./card.js");const A=require("./query-assigned-elements-f623705d.js"),lt=require("./utils-a8190a39.js"),d=require("./tslib.es6-98719205.js"),R=require("./property-57f6f6fe.js"),ze=require("./query-680f1868.js"),ut=require("./class-map-b5efe8da.js"),b=require("./code-snippet-792fa24f.js");require("./circular-progress.js");require("./dialog-9eb800e8.js");require("./drawer.js");require("./empty-state.js");require("./icon.js");require("./icon-button.js");require("./icon-check-toggle.js");require("./icon-radio-toggle.js");require("./linear-progress.js");require("./check-list-item.js");require("./list.js");require("./list-item-7970e039.js");require("./nav-list-item.js");require("./radio-list-item.js");require("./menu.js");require("./radio.js");require("./select.js");require("./side-sheet.js");require("./slider.js");require("./slider-range.js");require("./snackbar.js");require("./status-header.js");require("./status-header-item.js");require("./switch.js");require("./tab.js");require("./tab-bar.js");require("./textarea.js");require("./textfield.js");require("./text-lockup.js");require("./toolbar.js");require("./tooltip.js");require("./top-app-bar.js");require("./top-app-bar-fixed.js");require("./tree-list.js");require("./tree-list-item.js");require("./typography.js");require("./observer-a096ab43.js");require("./foundation-786bf879.js");require("./mwc-drawer-base-798b11f8.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-f87639bc.js");require("./ripple-handlers-5d5b21db.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-3d8c9549.js");require("./form-element-c553d6f5.js");require("./mwc-checkbox.css-b3434429.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-913e02e2.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-297d86b0.js");require("./mwc-list-item.css-25adc0c4.js");require("./mwc-list-base-400b00e2.js");require("./mwc-menu-base-c75ca473.js");require("./mwc-line-ripple-directive-a6b39a3c.js");require("./mwc-slider.css-c7107d94.js");require("./directive-helpers-0ce1f995.js");require("./mwc-tab-base-f28722aa.js");require("./textfield-62e16cc2.js");require("./mwc-top-app-bar-base-aec60f27.js");require("./top-app-bar-a531c1b4.js");var L={};/**
2
+ * @license
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */const P={};function k(i){if(i!==P)throw new Error("Bad secret")}/**
5
+ * @license
6
+ * SPDX-License-Identifier: Apache-2.0
7
+ */class He{constructor(){v(this,"brand")}}class ke extends He{constructor(e,r){super();v(this,"privateDoNotAccessOrElseWrappedAttrPrefix");process.env.NODE_ENV!=="production"&&k(r),this.privateDoNotAccessOrElseWrappedAttrPrefix=e}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function Be(i){return new ke(i,P)}function qe(i){if(i instanceof ke)return i.privateDoNotAccessOrElseWrappedAttrPrefix;{let t="";throw process.env.NODE_ENV!=="production"&&(t="Unexpected type when unwrapping SafeAttributePrefix"),new Error(t)}}const dt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:He,createAttributePrefix:Be,unwrapAttributePrefix:qe},Symbol.toStringTag,{value:"Module"}));/**
8
+ * @license
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */function K(i,t,e){if(!Array.isArray(i)||!Array.isArray(i.raw)||!t&&i.length!==1)throw new TypeError(e)}/**
11
+ * @license
12
+ * SPDX-License-Identifier: Apache-2.0
13
+ */const pt=["href","rel","src","srcdoc","action","formaction","sandbox","cite","poster","icon"];/**
14
+ * @license
15
+ * SPDX-License-Identifier: Apache-2.0
16
+ */function ht(i){process.env.NODE_ENV!=="production"&&K(i,!0,"safeAttr is a template literal tag function and should be called using the tagged template syntax. For example, safeAttr`foo`;");const t=i[0].toLowerCase();if(process.env.NODE_ENV!=="production"){if(t.indexOf("on")===0||"on".indexOf(t)===0)throw new Error(`Prefix '${i[0]}' does not guarantee the attribute to be safe as it is also a prefix for event handler attributesPlease use 'addEventListener' to set event handlers.`);pt.forEach(e=>{if(e.indexOf(t)===0)throw new Error(`Prefix '${i[0]}' does not guarantee the attribute to be safe as it is also a prefix for the security sensitive attribute '${e}'. Please use native or safe DOM APIs to set the attribute.`)})}return Be(t)}const mt=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:ht},Symbol.toStringTag,{value:"Module"})),ft=b.getAugmentedNamespace(mt);/**
17
+ * @license
18
+ * SPDX-License-Identifier: Apache-2.0
19
+ */let Ge="google#safe";function vt(){if(typeof window<"u")return window.trustedTypes}function V(){return Ge!==""?vt()??null:null}let te;function pe(){var i;if(te===void 0)try{te=((i=V())==null?void 0:i.createPolicy(Ge,{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t}))??null}catch{te=null}return te}/**
20
+ * @license
21
+ * SPDX-License-Identifier: Apache-2.0
22
+ */class he{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedHtml");process.env.NODE_ENV!=="production"&&k(e),this.privateDoNotAccessOrElseWrappedHtml=t}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function We(i,t){return t??new he(i,P)}const gt=typeof window!==void 0?window.TrustedHTML:void 0,je=gt??he;function B(i){var e;const t=i;return We(t,(e=pe())==null?void 0:e.createHTML(t))}const _t=(()=>{var i;return We("",(i=V())==null?void 0:i.emptyHTML)})();function yt(i){return i instanceof je}function me(i){var t;if((t=V())!=null&&t.isHTML(i))return i;if(i instanceof he)return i.privateDoNotAccessOrElseWrappedHtml;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeHtml"),new Error(e)}}const At=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:_t,SafeHtml:je,createHtml:B,isHtml:yt,unwrapHtml:me},Symbol.toStringTag,{value:"Module"}));/**
23
+ * @license
24
+ * SPDX-License-Identifier: Apache-2.0
25
+ */class fe{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedResourceUrl");process.env.NODE_ENV!=="production"&&k(e),this.privateDoNotAccessOrElseWrappedResourceUrl=t}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const bt=typeof window!==void 0?window.TrustedScriptURL:void 0,$e=bt??fe;function j(i){var r;const t=i;return((r=pe())==null?void 0:r.createScriptURL(t))??new fe(t,P)}function Et(i){return i instanceof $e}function ce(i){var t;if((t=V())!=null&&t.isScriptURL(i))return i;if(i instanceof fe)return i.privateDoNotAccessOrElseWrappedResourceUrl;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping TrustedResourceUrl"),new Error(e)}}const St=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:$e,createResourceUrl:j,isResourceUrl:Et,unwrapResourceUrl:ce},Symbol.toStringTag,{value:"Module"}));/**
26
+ * @license
27
+ * SPDX-License-Identifier: Apache-2.0
28
+ */class ve{constructor(t,e){v(this,"privateDoNotAccessOrElseWrappedScript");process.env.NODE_ENV!=="production"&&k(e),this.privateDoNotAccessOrElseWrappedScript=t}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function Ke(i,t){return t??new ve(i,P)}const wt=typeof window!==void 0?window.TrustedScript:void 0,Ve=wt??ve;function Z(i){var e;const t=i;return Ke(t,(e=pe())==null?void 0:e.createScript(t))}const It=(()=>{var i;return Ke("",(i=V())==null?void 0:i.emptyScript)})();function Ct(i){return i instanceof Ve}function se(i){var t;if((t=V())!=null&&t.isScript(i))return i;if(i instanceof ve)return i.privateDoNotAccessOrElseWrappedScript;{let e="";throw process.env.NODE_ENV!=="production"&&(e="Unexpected type when unwrapping SafeScript"),new Error(e)}}const Tt=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:It,SafeScript:Ve,createScript:Z,isScript:Ct,unwrapScript:se},Symbol.toStringTag,{value:"Module"}));/**
29
+ * @license
30
+ * SPDX-License-Identifier: Apache-2.0
31
+ */function Rt(i,t={}){let e=W(i);return t.preserveSpaces&&(e=e.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),t.preserveNewlines&&(e=e.replace(/(\r\n|\n|\r)/g,"<br>")),t.preserveTabs&&(e=e.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),B(e)}function Nt(i,t={}){const e=se(i).toString();let r="<script";return t.id&&(r+=` id="${W(t.id)}"`),t.nonce&&(r+=` nonce="${W(t.nonce)}"`),t.type&&(r+=` type="${W(t.type)}"`),r+=`>${e}<\/script>`,B(r)}function Ot(i,t,e){const r=ce(i).toString();let n=`<script src="${W(r)}"`;return t&&(n+=" async"),e&&(n+=` nonce="${W(e)}"`),n+="><\/script>",B(n)}function W(i){return i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function Dt(i){return B(i.map(me).join(""))}const Pt=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:Dt,createScript:Nt,createScriptSrc:Ot,htmlEscape:Rt},Symbol.toStringTag,{value:"Module"})),xt=b.getAugmentedNamespace(Pt);/**
32
+ * @license
33
+ * SPDX-License-Identifier: Apache-2.0
34
+ */function Ft(i){let t;try{t=new URL(i)}catch{return"https:"}return t.protocol}const Lt=["data:","http:","https:","mailto:","ftp:"];function Ut(i){const t=Ft(i);return t!==void 0&&Lt.indexOf(t.toLowerCase())!==-1?i:"about:invalid#zClosurez"}/**
35
+ * @license
36
+ * SPDX-License-Identifier: Apache-2.0
37
+ */class Xe{constructor(){v(this,"brand")}}class ge extends Xe{constructor(e,r){super();v(this,"privateDoNotAccessOrElseWrappedStyle");process.env.NODE_ENV!=="production"&&k(r),this.privateDoNotAccessOrElseWrappedStyle=e}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function _e(i){return new ge(i,P)}function Mt(i){return i instanceof ge}function Ye(i){if(i instanceof ge)return i.privateDoNotAccessOrElseWrappedStyle;{let t="";throw process.env.NODE_ENV!=="production"&&(t="Unexpected type when unwrapping SafeStyle"),new Error(t)}}const zt=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:Xe,createStyle:_e,isStyle:Mt,unwrapStyle:Ye},Symbol.toStringTag,{value:"Module"}));/**
38
+ * @license
39
+ * SPDX-License-Identifier: Apache-2.0
40
+ */function Ht(i,t){Bt(i)&&kt(i),i.innerHTML=me(t)}function Ze(i,t,e,r){if(i.length===0)throw new Error("No prefixes are provided");const n=i.map(a=>qe(a)),o=e.toLowerCase();if(n.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${e}" does not match any of the allowed prefixes.`);t.setAttribute(e,r)}function kt(i){if(i.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(i.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function Bt(i){return i.tagName!==void 0}/**
41
+ * @license
42
+ * SPDX-License-Identifier: Apache-2.0
43
+ */function qt(i){const t=document.createElement("template"),e=B(i);return Ht(t,e),t.content}/**
44
+ * @license
45
+ * SPDX-License-Identifier: Apache-2.0
46
+ */function Se(i){const t=i.nodeName;return typeof t=="string"?t:"FORM"}function we(i){return i.nodeType===Node.TEXT_NODE}function Ie(i){const t=i.nodeType;return t===Node.ELEMENT_NODE||typeof t!="number"}/**
47
+ * @license
48
+ * SPDX-License-Identifier: Apache-2.0
49
+ */class M{constructor(t,e,r,n){v(this,"allowedElements");v(this,"elementPolicies");v(this,"allowedGlobalAttributes");v(this,"globalAttributePolicies");this.allowedElements=t,this.elementPolicies=e,this.allowedGlobalAttributes=r,this.globalAttributePolicies=n}isAllowedElement(t){return t.toLowerCase()!=="form"&&(this.allowedElements.has(t)||this.elementPolicies.has(t))}getAttributePolicy(t,e){const r=this.elementPolicies.get(e);return r!=null&&r.has(t)?r.get(t):this.allowedGlobalAttributes.has(t)?{policyAction:h.KEEP}:this.globalAttributePolicies.get(t)||{policyAction:h.DROP}}}var h;(function(i){i[i.DROP=0]="DROP",i[i.KEEP=1]="KEEP",i[i.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",i[i.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",i[i.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(h||(h={}));/**
50
+ * @license
51
+ * SPDX-License-Identifier: Apache-2.0
52
+ */const Je=new M(new Set(["ARTICLE","SECTION","NAV","ASIDE","H1","H2","H3","H4","H5","H6","HEADER","FOOTER","ADDRESS","P","HR","PRE","BLOCKQUOTE","OL","UL","LH","LI","DL","DT","DD","FIGURE","FIGCAPTION","MAIN","DIV","EM","STRONG","SMALL","S","CITE","Q","DFN","ABBR","RUBY","RB","RT","RTC","RP","DATA","TIME","CODE","VAR","SAMP","KBD","SUB","SUP","I","B","U","MARK","BDI","BDO","SPAN","BR","WBR","INS","DEL","PICTURE","PARAM","TRACK","MAP","TABLE","CAPTION","COLGROUP","COL","TBODY","THEAD","TFOOT","TR","TD","TH","SELECT","DATALIST","OPTGROUP","OPTION","OUTPUT","PROGRESS","METER","FIELDSET","LEGEND","DETAILS","SUMMARY","MENU","DIALOG","SLOT","CANVAS","FONT","CENTER"]),new Map([["A",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:h.KEEP_AND_SANITIZE_URL,conditions:new Map([["rel",new Set(["alternate","author","bookmark","canonical","cite","help","icon","license","next","prefetch","dns-prefetch","prerender","preconnect","preload","prev","search","subresource"])]])}]])],["SOURCE",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:h.KEEP_AND_SANITIZE_URL}]])]]),new Set(["title","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-current","aria-disabled","aria-dropeffect","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","alt","align","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","bgcolor","border","cellpadding","cellspacing","checked","color","cols","colspan","controls","datetime","disabled","download","draggable","enctype","face","formenctype","frameborder","height","hreflang","hidden","ismap","label","lang","loop","max","maxlength","media","minlength","min","multiple","muted","nonce","open","placeholder","preload","rel","required","reversed","role","rows","rowspan","selected","shape","size","sizes","slot","span","spellcheck","start","step","summary","translate","type","valign","value","width","wrap","itemscope","itemtype","itemid","itemprop","itemref"]),new Map([["dir",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:h.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:h.KEEP_AND_SANITIZE_URL}],["target",{policyAction:h.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
53
+ * @license
54
+ * SPDX-License-Identifier: Apache-2.0
55
+ */class ye{constructor(t,e){v(this,"sanitizerTable");v(this,"changes",[]);this.sanitizerTable=t,k(e)}sanitizeAssertUnchanged(t){this.changes=[];const e=this.sanitize(t);if(this.changes.length!==0){let r="";throw process.env.NODE_ENV!=="production"&&(r=`Unexpected change to HTML value as a result of sanitization. Input: "${t}", sanitized output: "${e}"
56
+ List of changes:${this.changes.join(`
57
+ `)}`),new Error(r)}return e}sanitize(t){const e=document.createElement("span");e.appendChild(this.sanitizeToFragment(t));let r=new XMLSerializer().serializeToString(e);return r=r.slice(r.indexOf(">")+1,r.lastIndexOf("</")),B(r)}sanitizeToFragment(t){const e=qt(t),r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c=>this.nodeFilter(c),!1);let n=r.nextNode();const o=document.createDocumentFragment();let a=o;for(;n!==null;){let c;if(we(n))c=this.sanitizeTextNode(n);else if(Ie(n))c=this.sanitizeElementNode(n);else throw new Error("Node is not of type text or element");if(a.appendChild(c),n=r.firstChild(),n)a=c;else for(;!(n=r.nextSibling())&&(n=r.parentNode());)a=a.parentNode}return o}sanitizeTextNode(t){return document.createTextNode(t.data)}sanitizeElementNode(t){const e=Se(t),r=document.createElement(e),n=t.attributes;for(const{name:o,value:a}of n){const c=this.sanitizerTable.getAttributePolicy(o,e);if(!this.satisfiesAllConditions(c.conditions,n)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case h.KEEP:r.setAttribute(o,a);break;case h.KEEP_AND_SANITIZE_URL:const s=Ut(a);s!==a&&this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${s}"`),r.setAttribute(o,s);break;case h.KEEP_AND_NORMALIZE:r.setAttribute(o,a.toLowerCase());break;case h.KEEP_AND_SANITIZE_STYLE:r.setAttribute(o,a);break;case h.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:$t(c.policyAction,"Unhandled AttributePolicyAction case")}}return r}nodeFilter(t){if(we(t))return NodeFilter.FILTER_ACCEPT;if(!Ie(t))return NodeFilter.FILTER_REJECT;const e=Se(t);return e===null?(this.recordChange(`Node name was null for node: ${t}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(e)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${e} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(t){process.env.NODE_ENV!=="production"?this.changes.push(t):this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(t,e){var r;if(!t)return!0;for(const[n,o]of t){const a=(r=e.getNamedItem(n))==null?void 0:r.value;if(a&&!o.has(a))return!1}return!0}}const Ae=(()=>new ye(Je,P))();function Gt(i){return Ae.sanitize(i)}function Wt(i){return Ae.sanitizeAssertUnchanged(i)}function jt(i){return Ae.sanitizeToFragment(i)}function $t(i,t=`unexpected value ${i}!`){throw new Error(t)}const Kt=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:ye,sanitizeHtml:Gt,sanitizeHtmlAssertUnchanged:Wt,sanitizeHtmlToFragment:jt},Symbol.toStringTag,{value:"Module"})),Vt=b.getAugmentedNamespace(Kt);/**
58
+ * @license
59
+ * SPDX-License-Identifier: Apache-2.0
60
+ */class Xt{constructor(){v(this,"sanitizerTable");v(this,"calledBuild",!1);this.sanitizerTable=Je}onlyAllowElements(t){const e=new Set,r=new Map;for(let n of t){if(n=n.toUpperCase(),!this.sanitizerTable.isAllowedElement(n))throw new Error(`Element: ${n}, is not allowed by html5_contract.textpb`);const o=this.sanitizerTable.elementPolicies.get(n);o!==void 0?r.set(n,o):e.add(n)}return this.sanitizerTable=new M(e,r,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(t){const e=new Set,r=new Map,n=new Map;for(const o of t)this.sanitizerTable.allowedGlobalAttributes.has(o)&&e.add(o),this.sanitizerTable.globalAttributePolicies.has(o)&&r.set(o,this.sanitizerTable.globalAttributePolicies.get(o));for(const[o,a]of this.sanitizerTable.elementPolicies.entries()){const c=new Map;for(const[s,u]of a.entries())t.has(s)&&c.set(s,u);n.set(o,c)}return this.sanitizerTable=new M(this.sanitizerTable.allowedElements,n,e,r),this}allowDataAttributes(t){const e=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const r of t){if(r.indexOf("data-")!==0)throw new Error(`data attribute: ${r} does not begin with the prefix "data-"`);e.add(r)}return this.sanitizerTable=new M(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,e,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("style",{policyAction:h.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new M(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}allowClassAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("class",{policyAction:h.KEEP}),this.sanitizerTable=new M(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}allowIdAttributes(){const t=new Map(this.sanitizerTable.globalAttributePolicies);return t.set("id",{policyAction:h.KEEP}),this.sanitizerTable=new M(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,t),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new ye(this.sanitizerTable,P)}}const Yt=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Xt},Symbol.toStringTag,{value:"Module"})),Zt=b.getAugmentedNamespace(Yt);/**
61
+ * @license
62
+ * SPDX-License-Identifier: Apache-2.0
63
+ */function Jt(i){if(!(/^https:\/\//.test(i)||/^\/\//.test(i)))return!1;const t=i.indexOf("//")+2,e=i.indexOf("/",t);if(e<=t)throw new Error("Can't interpolate data in a url's origin, Please make sure to fully specify the origin, terminated with '/'.");const r=i.substring(t,e);if(!/^[0-9a-z.:-]+$/i.test(r))throw new Error("The origin contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(r))throw new Error("Invalid port number.");if(!/(^|\.)[a-z][^.]*$/i.test(r))throw new Error("The top-level domain must start with a letter.");return!0}function Qt(i){if(!/^about:blank/.test(i))return!1;if(i!=="about:blank"&&!/^about:blank#/.test(i))throw new Error("The about url is invalid.");return!0}function ei(i){if(!/^\//.test(i))return!1;if(i==="/"||i.length>1&&i[1]!=="/"&&i[1]!=="\\")return!0;throw new Error("The path start in the url is invalid.")}function ti(i,...t){if(process.env.NODE_ENV!=="production"&&K(i,!0,"trustedResourceUrl is a template literal tag function and can only be called as such (e.g. trustedResourceUrl`/somepath.js`)"),t.length===0)return j(i[0]);const e=i[0].toLowerCase();if(process.env.NODE_ENV!=="production"){if(/^data:/.test(e))throw new Error("Data URLs cannot have expressions in the template literal input.");if(!Jt(e)&&!ei(e)&&!Qt(e))throw new Error("Trying to interpolate expressions in an unsupported url format.")}const r=[i[0]];for(let n=0;n<t.length;n++)r.push(encodeURIComponent(t[n])),r.push(i[n+1]);return j(r.join(""))}function ii(i,t){let e=ce(i).toString();if(/#/.test(e)){let n="";throw process.env.NODE_ENV!=="production"&&(n=`Found a hash in url (${e}), appending not supported`),new Error(n)}let r=/\?/.test(e)?"&":"?";return t.forEach((n,o)=>{const a=n instanceof Array?n:[n];for(let c=0;c<a.length;c++){const s=a[c];s!=null&&(e+=r+encodeURIComponent(o)+"="+encodeURIComponent(String(s)),r="&")}}),j(e)}const ri=/[^#]*/;function ni(i,t){const e=ce(i).toString();return j(ri.exec(e)[0]+"#"+t)}function oi(i){const t=se(i).toString(),e=new Blob([t],{type:"text/javascript"});return j(URL.createObjectURL(e))}const ai=Object.freeze(Object.defineProperty({__proto__:null,appendParams:ii,blobUrlFromScript:oi,replaceFragment:ni,trustedResourceUrl:ti},Symbol.toStringTag,{value:"Module"})),ci=b.getAugmentedNamespace(ai);/**
64
+ * @license
65
+ * SPDX-License-Identifier: Apache-2.0
66
+ */function si(i){return process.env.NODE_ENV!=="production"&&K(i,!1,"safeScript is a template literal tag function that only accepts template literals without expressions. For example, safeScript`foo`;"),Z(i[0])}function li(i){return Z(i.map(se).join(""))}function Qe(i){return Z(JSON.stringify(i).replace(/</g,"\\x3c"))}function ui(i,...t){if(process.env.NODE_ENV!=="production"){if(t.some(e=>e!==""))throw new Error("safeScriptWithArgs only allows empty string expressions to enable inline comments.");K(i,!0,"safeScriptWithArgs is a template literal tag function that only accepts template literals. For example, safeScriptWithArgs`foo`;")}return(...e)=>{const r=e.map(n=>Qe(n).toString());return Z(`(${i.join("")})(${r.join(",")})`)}}const di=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:li,safeScript:si,safeScriptWithArgs:ui,scriptFromJson:Qe},Symbol.toStringTag,{value:"Module"})),pi=b.getAugmentedNamespace(di);/**
67
+ * @license
68
+ * SPDX-License-Identifier: Apache-2.0
69
+ */function hi(i){process.env.NODE_ENV!=="production"&&K(i,!1,"safeStyle is a template literal tag function that only accepts template literals without expressions. For example, safeStyle`foo`;");const t=i[0];if(process.env.NODE_ENV!=="production"){if(/[<>]/.test(t))throw new Error("Forbidden characters in style string: "+t);if(!/;$/.test(t))throw new Error('Style string does not end with ";": '+t);if(!/:/.test(t))throw new Error('Style string should contain one or more ":": '+t)}return _e(t)}function mi(i){return _e(i.map(Ye).join(""))}const fi=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:mi,safeStyle:hi},Symbol.toStringTag,{value:"Module"})),vi=b.getAugmentedNamespace(fi);/**
70
+ * @license
71
+ * SPDX-License-Identifier: Apache-2.0
72
+ */class et{constructor(){v(this,"brand")}}class be extends et{constructor(e,r){super();v(this,"privateDoNotAccessOrElseWrappedStyleSheet");process.env.NODE_ENV!=="production"&&k(r),this.privateDoNotAccessOrElseWrappedStyleSheet=e}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function Ee(i){return new be(i,P)}function gi(i){return i instanceof be}function tt(i){if(i instanceof be)return i.privateDoNotAccessOrElseWrappedStyleSheet;{let t="";throw process.env.NODE_ENV!=="production"&&(t="Unexpected type when unwrapping SafeStyleSheet"),new Error(t)}}const _i=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:et,createStyleSheet:Ee,isStyleSheet:gi,unwrapStyleSheet:tt},Symbol.toStringTag,{value:"Module"}));/**
73
+ * @license
74
+ * SPDX-License-Identifier: Apache-2.0
75
+ */function yi(i){process.env.NODE_ENV!=="production"&&K(i,!1,"safeStyleSheet is a template literal tag function that only accepts template literals without expressions. For example, safeStyleSheet`foo`;");const t=i[0];if(process.env.NODE_ENV!=="production"&&/[<>]/.test(t))throw new Error("Forbidden characters in styleSheet string: "+t);return Ee(t)}function Ai(i){return Ee(i.map(tt).join(""))}const bi=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:Ai,safeStyleSheet:yi},Symbol.toStringTag,{value:"Module"})),Ei=b.getAugmentedNamespace(bi),Si=b.getAugmentedNamespace(dt),wi=b.getAugmentedNamespace(At),Ii=b.getAugmentedNamespace(St),Ci=b.getAugmentedNamespace(Tt),Ti=b.getAugmentedNamespace(zt),Ri=b.getAugmentedNamespace(_i);(function(i){/**
76
+ * @license
77
+ * SPDX-License-Identifier: Apache-2.0
78
+ */Object.defineProperty(i,"__esModule",{value:!0}),i.unwrapStyleSheet=i.SafeStyleSheet=i.isStyleSheet=i.unwrapStyle=i.SafeStyle=i.isStyle=i.unwrapScript=i.SafeScript=i.isScript=i.EMPTY_SCRIPT=i.unwrapResourceUrl=i.TrustedResourceUrl=i.isResourceUrl=i.unwrapHtml=i.SafeHtml=i.isHtml=i.EMPTY_HTML=i.unwrapAttributePrefix=i.SafeAttributePrefix=i.safeStyleSheet=i.concatStyleSheets=i.safeStyle=i.concatStyles=i.scriptFromJson=i.safeScriptWithArgs=i.safeScript=i.concatScripts=i.trustedResourceUrl=i.replaceFragment=i.blobUrlFromScript=i.appendParams=i.HtmlSanitizerBuilder=i.sanitizeHtmlToFragment=i.sanitizeHtmlAssertUnchanged=i.sanitizeHtml=i.htmlEscape=i.createScriptSrc=i.createScript=i.concatHtmls=i.safeAttrPrefix=void 0;var t=ft;Object.defineProperty(i,"safeAttrPrefix",{enumerable:!0,get:function(){return t.safeAttrPrefix}});var e=xt;Object.defineProperty(i,"concatHtmls",{enumerable:!0,get:function(){return e.concatHtmls}}),Object.defineProperty(i,"createScript",{enumerable:!0,get:function(){return e.createScript}}),Object.defineProperty(i,"createScriptSrc",{enumerable:!0,get:function(){return e.createScriptSrc}}),Object.defineProperty(i,"htmlEscape",{enumerable:!0,get:function(){return e.htmlEscape}});var r=Vt;Object.defineProperty(i,"sanitizeHtml",{enumerable:!0,get:function(){return r.sanitizeHtml}}),Object.defineProperty(i,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return r.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(i,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return r.sanitizeHtmlToFragment}});var n=Zt;Object.defineProperty(i,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return n.HtmlSanitizerBuilder}});var o=ci;Object.defineProperty(i,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(i,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(i,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(i,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=pi;Object.defineProperty(i,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(i,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(i,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(i,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=vi;Object.defineProperty(i,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(i,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var s=Ei;Object.defineProperty(i,"concatStyleSheets",{enumerable:!0,get:function(){return s.concatStyleSheets}}),Object.defineProperty(i,"safeStyleSheet",{enumerable:!0,get:function(){return s.safeStyleSheet}});var u=Si;Object.defineProperty(i,"SafeAttributePrefix",{enumerable:!0,get:function(){return u.SafeAttributePrefix}}),Object.defineProperty(i,"unwrapAttributePrefix",{enumerable:!0,get:function(){return u.unwrapAttributePrefix}});var p=wi;Object.defineProperty(i,"EMPTY_HTML",{enumerable:!0,get:function(){return p.EMPTY_HTML}}),Object.defineProperty(i,"isHtml",{enumerable:!0,get:function(){return p.isHtml}}),Object.defineProperty(i,"SafeHtml",{enumerable:!0,get:function(){return p.SafeHtml}}),Object.defineProperty(i,"unwrapHtml",{enumerable:!0,get:function(){return p.unwrapHtml}});var m=Ii;Object.defineProperty(i,"isResourceUrl",{enumerable:!0,get:function(){return m.isResourceUrl}}),Object.defineProperty(i,"TrustedResourceUrl",{enumerable:!0,get:function(){return m.TrustedResourceUrl}}),Object.defineProperty(i,"unwrapResourceUrl",{enumerable:!0,get:function(){return m.unwrapResourceUrl}});var S=Ci;Object.defineProperty(i,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return S.EMPTY_SCRIPT}}),Object.defineProperty(i,"isScript",{enumerable:!0,get:function(){return S.isScript}}),Object.defineProperty(i,"SafeScript",{enumerable:!0,get:function(){return S.SafeScript}}),Object.defineProperty(i,"unwrapScript",{enumerable:!0,get:function(){return S.unwrapScript}});var N=Ti;Object.defineProperty(i,"isStyle",{enumerable:!0,get:function(){return N.isStyle}}),Object.defineProperty(i,"SafeStyle",{enumerable:!0,get:function(){return N.SafeStyle}}),Object.defineProperty(i,"unwrapStyle",{enumerable:!0,get:function(){return N.unwrapStyle}});var q=Ri;Object.defineProperty(i,"isStyleSheet",{enumerable:!0,get:function(){return q.isStyleSheet}}),Object.defineProperty(i,"SafeStyleSheet",{enumerable:!0,get:function(){return q.SafeStyleSheet}}),Object.defineProperty(i,"unwrapStyleSheet",{enumerable:!0,get:function(){return q.unwrapStyleSheet}})})(L);/**
79
+ * @license
80
+ * Copyright 2020 Google Inc.
81
+ *
82
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
83
+ * of this software and associated documentation files (the "Software"), to deal
84
+ * in the Software without restriction, including without limitation the rights
85
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
86
+ * copies of the Software, and to permit persons to whom the Software is
87
+ * furnished to do so, subject to the following conditions:
88
+ *
89
+ * The above copyright notice and this permission notice shall be included in
90
+ * all copies or substantial portions of the Software.
91
+ *
92
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
98
+ * THE SOFTWARE.
99
+ */var Ni=function(){function i(){this.rafIDs=new Map}return i.prototype.request=function(t,e){var r=this;this.cancel(t);var n=requestAnimationFrame(function(o){r.rafIDs.delete(t),e(o)});this.rafIDs.set(t,n)},i.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},i.prototype.cancelAll=function(){var t=this;this.rafIDs.forEach(function(e,r){t.cancel(r)})},i.prototype.getQueue=function(){var t=[];return this.rafIDs.forEach(function(e,r){t.push(r)}),t},i}();/**
100
+ * @license
101
+ * Copyright 2016 Google Inc.
102
+ *
103
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
104
+ * of this software and associated documentation files (the "Software"), to deal
105
+ * in the Software without restriction, including without limitation the rights
106
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
107
+ * copies of the Software, and to permit persons to whom the Software is
108
+ * furnished to do so, subject to the following conditions:
109
+ *
110
+ * The above copyright notice and this permission notice shall be included in
111
+ * all copies or substantial portions of the Software.
112
+ *
113
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
114
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
116
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
117
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
118
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
119
+ * THE SOFTWARE.
120
+ */var J=function(){function i(t){t===void 0&&(t={}),this.adapter=t}return Object.defineProperty(i,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),i.prototype.init=function(){},i.prototype.destroy=function(){},i}();/**
121
+ * @license
122
+ * Copyright 2020 Google Inc.
123
+ *
124
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
125
+ * of this software and associated documentation files (the "Software"), to deal
126
+ * in the Software without restriction, including without limitation the rights
127
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
128
+ * copies of the Software, and to permit persons to whom the Software is
129
+ * furnished to do so, subject to the following conditions:
130
+ *
131
+ * The above copyright notice and this permission notice shall be included in
132
+ * all copies or substantial portions of the Software.
133
+ *
134
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
135
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
136
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
137
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
138
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
139
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
140
+ * THE SOFTWARE.
141
+ */var l={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"},_=new Set;_.add(l.BACKSPACE);_.add(l.ENTER);_.add(l.SPACEBAR);_.add(l.PAGE_UP);_.add(l.PAGE_DOWN);_.add(l.END);_.add(l.HOME);_.add(l.ARROW_LEFT);_.add(l.ARROW_UP);_.add(l.ARROW_RIGHT);_.add(l.ARROW_DOWN);_.add(l.DELETE);_.add(l.ESCAPE);_.add(l.TAB);var E={BACKSPACE:8,ENTER:13,SPACEBAR:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ESCAPE:27,TAB:9},y=new Map;y.set(E.BACKSPACE,l.BACKSPACE);y.set(E.ENTER,l.ENTER);y.set(E.SPACEBAR,l.SPACEBAR);y.set(E.PAGE_UP,l.PAGE_UP);y.set(E.PAGE_DOWN,l.PAGE_DOWN);y.set(E.END,l.END);y.set(E.HOME,l.HOME);y.set(E.ARROW_LEFT,l.ARROW_LEFT);y.set(E.ARROW_UP,l.ARROW_UP);y.set(E.ARROW_RIGHT,l.ARROW_RIGHT);y.set(E.ARROW_DOWN,l.ARROW_DOWN);y.set(E.DELETE,l.DELETE);y.set(E.ESCAPE,l.ESCAPE);y.set(E.TAB,l.TAB);var x=new Set;x.add(l.PAGE_UP);x.add(l.PAGE_DOWN);x.add(l.END);x.add(l.HOME);x.add(l.ARROW_LEFT);x.add(l.ARROW_UP);x.add(l.ARROW_RIGHT);x.add(l.ARROW_DOWN);function it(i){var t=i.key;if(_.has(t))return t;var e=y.get(i.keyCode);return e||l.UNKNOWN}function Oi(i){return x.has(it(i))}/**
142
+ * @license
143
+ * Copyright 2020 Google Inc.
144
+ *
145
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
146
+ * of this software and associated documentation files (the "Software"), to deal
147
+ * in the Software without restriction, including without limitation the rights
148
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
149
+ * copies of the Software, and to permit persons to whom the Software is
150
+ * furnished to do so, subject to the following conditions:
151
+ *
152
+ * The above copyright notice and this permission notice shall be included in
153
+ * all copies or substantial portions of the Software.
154
+ *
155
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
156
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
157
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
158
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
159
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
160
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
161
+ * THE SOFTWARE.
162
+ */var Y;(function(i){i.PRIMARY_ACTION="mdc-evolution-chip__action--primary",i.TRAILING_ACTION="mdc-evolution-chip__action--trailing",i.CHIP_ROOT="mdc-evolution-chip"})(Y||(Y={}));var D;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.CLICK=1]="CLICK",i[i.BACKSPACE_KEY=2]="BACKSPACE_KEY",i[i.DELETE_KEY=3]="DELETE_KEY",i[i.SPACEBAR_KEY=4]="SPACEBAR_KEY",i[i.ENTER_KEY=5]="ENTER_KEY"})(D||(D={}));var w;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.PRIMARY=1]="PRIMARY",i[i.TRAILING=2]="TRAILING"})(w||(w={}));var $;(function(i){i.INTERACTION="MDCChipAction:interaction",i.NAVIGATION="MDCChipAction:navigation"})($||($={}));var T;(function(i){i[i.FOCUSABLE=0]="FOCUSABLE",i[i.FOCUSABLE_AND_FOCUSED=1]="FOCUSABLE_AND_FOCUSED",i[i.NOT_FOCUSABLE=2]="NOT_FOCUSABLE"})(T||(T={}));var g;(function(i){i.ARIA_DISABLED="aria-disabled",i.ARIA_HIDDEN="aria-hidden",i.ARIA_SELECTED="aria-selected",i.DATA_DELETABLE="data-mdc-deletable",i.DISABLED="disabled",i.ROLE="role",i.TAB_INDEX="tabindex"})(g||(g={}));/**
163
+ * @license
164
+ * Copyright 2016 Google Inc.
165
+ *
166
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
167
+ * of this software and associated documentation files (the "Software"), to deal
168
+ * in the Software without restriction, including without limitation the rights
169
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
170
+ * copies of the Software, and to permit persons to whom the Software is
171
+ * furnished to do so, subject to the following conditions:
172
+ *
173
+ * The above copyright notice and this permission notice shall be included in
174
+ * all copies or substantial portions of the Software.
175
+ *
176
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
177
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
178
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
179
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
180
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
181
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
182
+ * THE SOFTWARE.
183
+ */var f;(function(i){i.SELECTING="mdc-evolution-chip--selecting",i.DESELECTING="mdc-evolution-chip--deselecting",i.SELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--selecting-with-primary-icon",i.DESELECTING_WITH_PRIMARY_ICON="mdc-evolution-chip--deselecting-with-primary-icon",i.DISABLED="mdc-evolution-chip--disabled",i.ENTER="mdc-evolution-chip--enter",i.EXIT="mdc-evolution-chip--exit",i.SELECTED="mdc-evolution-chip--selected",i.HIDDEN="mdc-evolution-chip--hidden",i.WITH_PRIMARY_ICON="mdc-evolution-chip--with-primary-icon"})(f||(f={}));var I;(function(i){i.INTERACTION="MDCChip:interaction",i.NAVIGATION="MDCChip:navigation",i.ANIMATION="MDCChip:animation"})(I||(I={}));var oe;(function(i){i.DATA_REMOVED_ANNOUNCEMENT="data-mdc-removed-announcement",i.DATA_ADDED_ANNOUNCEMENT="data-mdc-added-announcement"})(oe||(oe={}));var C;(function(i){i.ENTER="mdc-evolution-chip-enter",i.EXIT="mdc-evolution-chip-exit"})(C||(C={}));/**
184
+ * @license
185
+ * Copyright 2020 Google Inc.
186
+ *
187
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
188
+ * of this software and associated documentation files (the "Software"), to deal
189
+ * in the Software without restriction, including without limitation the rights
190
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
191
+ * copies of the Software, and to permit persons to whom the Software is
192
+ * furnished to do so, subject to the following conditions:
193
+ *
194
+ * The above copyright notice and this permission notice shall be included in
195
+ * all copies or substantial portions of the Software.
196
+ *
197
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
198
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
199
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
200
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
201
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
202
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
203
+ * THE SOFTWARE.
204
+ */var z;(function(i){i[i.UNSPECIFIED=0]="UNSPECIFIED",i[i.LEFT=1]="LEFT",i[i.RIGHT=2]="RIGHT"})(z||(z={}));var O;(function(i){i.SELECTION="selection",i.EXIT="exit"})(O||(O={}));var Di=function(i){d.__extends(t,i);function t(e){var r=i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this;return r.animFrame=new Ni,r}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},emitEvent:function(){},getActions:function(){return[]},getAttribute:function(){return null},getElementID:function(){return""},getOffsetWidth:function(){return 0},hasClass:function(){return!1},isActionDisabled:function(){return!1},isActionFocusable:function(){return!1},isActionSelectable:function(){return!1},isActionSelected:function(){return!1},isRTL:function(){return!1},removeClass:function(){},setActionDisabled:function(){},setActionFocus:function(){},setActionSelected:function(){},setStyleProperty:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.animFrame.cancelAll()},t.prototype.getElementID=function(){return this.adapter.getElementID()},t.prototype.setDisabled=function(e){var r,n,o=this.getActions();try{for(var a=d.__values(o),c=a.next();!c.done;c=a.next()){var s=c.value;this.adapter.setActionDisabled(s,e)}}catch(u){r={error:u}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}e?this.adapter.addClass(f.DISABLED):this.adapter.removeClass(f.DISABLED)},t.prototype.isDisabled=function(){var e,r,n=this.getActions();try{for(var o=d.__values(n),a=o.next();!a.done;a=o.next()){var c=a.value;if(this.adapter.isActionDisabled(c))return!0}}catch(s){e={error:s}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return!1},t.prototype.getActions=function(){return this.adapter.getActions()},t.prototype.isActionFocusable=function(e){return this.adapter.isActionFocusable(e)},t.prototype.isActionSelectable=function(e){return this.adapter.isActionSelectable(e)},t.prototype.isActionSelected=function(e){return this.adapter.isActionSelected(e)},t.prototype.setActionFocus=function(e,r){this.adapter.setActionFocus(e,r)},t.prototype.setActionSelected=function(e,r){this.adapter.setActionSelected(e,r),this.animateSelection(r)},t.prototype.startAnimation=function(e){if(e===C.ENTER){this.adapter.addClass(f.ENTER);return}if(e===C.EXIT){this.adapter.addClass(f.EXIT);return}},t.prototype.handleAnimationEnd=function(e){var r=this,n=e.animationName;if(n===C.ENTER){this.adapter.removeClass(f.ENTER),this.adapter.emitEvent(I.ANIMATION,{chipID:this.getElementID(),animation:C.ENTER,addedAnnouncement:this.getAddedAnnouncement(),isComplete:!0});return}if(n===C.EXIT){this.adapter.removeClass(f.EXIT),this.adapter.addClass(f.HIDDEN);var o=this.adapter.getOffsetWidth();this.adapter.setStyleProperty("width",o+"px"),this.animFrame.request(O.EXIT,function(){r.animFrame.request(O.EXIT,function(){r.adapter.setStyleProperty("width","0")})})}},t.prototype.handleTransitionEnd=function(){this.adapter.hasClass(f.HIDDEN)&&this.adapter.emitEvent(I.ANIMATION,{chipID:this.getElementID(),animation:C.EXIT,removedAnnouncement:this.getRemovedAnnouncement(),isComplete:!0})},t.prototype.handleActionInteraction=function(e){var r=e.detail,n=r.source,o=r.actionID,a=this.adapter.isActionSelectable(n),c=this.adapter.isActionSelected(n);this.adapter.emitEvent(I.INTERACTION,{chipID:this.getElementID(),shouldRemove:this.shouldRemove(r),actionID:o,isSelectable:a,isSelected:c,source:n})},t.prototype.handleActionNavigation=function(e){var r=e.detail,n=r.source,o=r.key,a=this.adapter.isRTL(),c=this.adapter.isActionFocusable(w.TRAILING),s=this.adapter.isActionFocusable(w.PRIMARY),u=this.directionFromKey(o,a),p=n===w.PRIMARY&&u===z.RIGHT&&c,m=n===w.TRAILING&&u===z.LEFT&&s;if(p){this.navigateActions({from:n,to:w.TRAILING});return}if(m){this.navigateActions({from:n,to:w.PRIMARY});return}this.adapter.emitEvent(I.NAVIGATION,{chipID:this.getElementID(),isRTL:a,source:n,key:o})},t.prototype.directionFromKey=function(e,r){var n=e===l.ARROW_LEFT,o=e===l.ARROW_RIGHT;return!r&&n||r&&o?z.LEFT:!r&&o||r&&n?z.RIGHT:z.UNSPECIFIED},t.prototype.navigateActions=function(e){this.adapter.setActionFocus(e.from,T.NOT_FOCUSABLE),this.adapter.setActionFocus(e.to,T.FOCUSABLE_AND_FOCUSED)},t.prototype.shouldRemove=function(e){var r=e.source,n=e.trigger;return n===D.BACKSPACE_KEY||n===D.DELETE_KEY?!0:r===w.TRAILING},t.prototype.getRemovedAnnouncement=function(){var e=this.adapter.getAttribute(oe.DATA_REMOVED_ANNOUNCEMENT);return e||void 0},t.prototype.getAddedAnnouncement=function(){var e=this.adapter.getAttribute(oe.DATA_ADDED_ANNOUNCEMENT);return e||void 0},t.prototype.animateSelection=function(e){var r=this;this.resetAnimationStyles(),this.animFrame.request(O.SELECTION,function(){r.animFrame.request(O.SELECTION,function(){r.updateSelectionStyles(e)})})},t.prototype.resetAnimationStyles=function(){this.adapter.removeClass(f.SELECTING),this.adapter.removeClass(f.DESELECTING),this.adapter.removeClass(f.SELECTING_WITH_PRIMARY_ICON),this.adapter.removeClass(f.DESELECTING_WITH_PRIMARY_ICON)},t.prototype.updateSelectionStyles=function(e){var r=this,n=this.adapter.hasClass(f.WITH_PRIMARY_ICON);if(n&&e){this.adapter.addClass(f.SELECTING_WITH_PRIMARY_ICON),this.animFrame.request(O.SELECTION,function(){r.adapter.addClass(f.SELECTED)});return}if(n&&!e){this.adapter.addClass(f.DESELECTING_WITH_PRIMARY_ICON),this.animFrame.request(O.SELECTION,function(){r.adapter.removeClass(f.SELECTED)});return}if(e){this.adapter.addClass(f.SELECTING),this.animFrame.request(O.SELECTION,function(){r.adapter.addClass(f.SELECTED)});return}if(!e){this.adapter.addClass(f.DESELECTING),this.animFrame.request(O.SELECTION,function(){r.adapter.removeClass(f.SELECTED)});return}},t}(J);/**
205
+ * @license
206
+ * Copyright 2016 Google Inc.
207
+ *
208
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
209
+ * of this software and associated documentation files (the "Software"), to deal
210
+ * in the Software without restriction, including without limitation the rights
211
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
212
+ * copies of the Software, and to permit persons to whom the Software is
213
+ * furnished to do so, subject to the following conditions:
214
+ *
215
+ * The above copyright notice and this permission notice shall be included in
216
+ * all copies or substantial portions of the Software.
217
+ *
218
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
219
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
220
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
221
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
222
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
223
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
224
+ * THE SOFTWARE.
225
+ */function Pi(i){return String(i).replace(/\-([a-z])/g,function(t,e){return e.toUpperCase()})}var rt=function(){function i(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];this.root=t,this.initialize.apply(this,d.__spreadArray([],d.__read(r))),this.foundation=e===void 0?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return i.attachTo=function(t){return new i(t,new J({}))},i.prototype.initialize=function(){},i.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},i.prototype.initialSyncWithDOM=function(){},i.prototype.destroy=function(){this.foundation.destroy()},i.prototype.listen=function(t,e,r){this.root.addEventListener(t,e,r)},i.prototype.unlisten=function(t,e,r){this.root.removeEventListener(t,e,r)},i.prototype.emit=function(t,e,r){r===void 0&&(r=!1);var n;typeof CustomEvent=="function"?n=new CustomEvent(t,{bubbles:r,detail:e}):(n=document.createEvent("CustomEvent"),n.initCustomEvent(t,r,!1,e)),this.root.dispatchEvent(n)},i.prototype.safeSetAttribute=function(t,e,r){if(e.toLowerCase()==="tabindex")t.tabIndex=Number(r);else if(e.indexOf("data-")===0){var n=Pi(e.replace(/^data-/,""));t.dataset[n]=r}else Ze([L.safeAttrPrefix(Ce||(Ce=d.__makeTemplateObject(["aria-"],["aria-"]))),L.safeAttrPrefix(Te||(Te=d.__makeTemplateObject(["role"],["role"])))],t,e,r)},i}(),Ce,Te;/**
226
+ * @license
227
+ * Copyright 2018 Google Inc.
228
+ *
229
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
230
+ * of this software and associated documentation files (the "Software"), to deal
231
+ * in the Software without restriction, including without limitation the rights
232
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
233
+ * copies of the Software, and to permit persons to whom the Software is
234
+ * furnished to do so, subject to the following conditions:
235
+ *
236
+ * The above copyright notice and this permission notice shall be included in
237
+ * all copies or substantial portions of the Software.
238
+ *
239
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
240
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
241
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
242
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
243
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
245
+ * THE SOFTWARE.
246
+ */function xi(i,t){if(i.closest)return i.closest(t);for(var e=i;e;){if(nt(e,t))return e;e=e.parentElement}return null}function nt(i,t){var e=i.matches||i.webkitMatchesSelector||i.msMatchesSelector;return e.call(i,t)}/**
247
+ * @license
248
+ * Copyright 2019 Google Inc.
249
+ *
250
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
251
+ * of this software and associated documentation files (the "Software"), to deal
252
+ * in the Software without restriction, including without limitation the rights
253
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
254
+ * copies of the Software, and to permit persons to whom the Software is
255
+ * furnished to do so, subject to the following conditions:
256
+ *
257
+ * The above copyright notice and this permission notice shall be included in
258
+ * all copies or substantial portions of the Software.
259
+ *
260
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
261
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
262
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
263
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
264
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
265
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
266
+ * THE SOFTWARE.
267
+ */function ie(i){return i===void 0&&(i=window),Fi(i)?{passive:!0}:!1}function Fi(i){i===void 0&&(i=window);var t=!1;try{var e={get passive(){return t=!0,!1}},r=function(){};i.document.addEventListener("test",r,e),i.document.removeEventListener("test",r,e)}catch{t=!1}return t}/**
268
+ * @license
269
+ * Copyright 2016 Google Inc.
270
+ *
271
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
272
+ * of this software and associated documentation files (the "Software"), to deal
273
+ * in the Software without restriction, including without limitation the rights
274
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
275
+ * copies of the Software, and to permit persons to whom the Software is
276
+ * furnished to do so, subject to the following conditions:
277
+ *
278
+ * The above copyright notice and this permission notice shall be included in
279
+ * all copies or substantial portions of the Software.
280
+ *
281
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
282
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
283
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
284
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
285
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
286
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
287
+ * THE SOFTWARE.
288
+ */var Li={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"},Ui={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"},Re={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},re;function Mi(i,t){t===void 0&&(t=!1);var e=i.CSS,r=re;if(typeof re=="boolean"&&!t)return re;var n=e&&typeof e.supports=="function";if(!n)return!1;var o=e.supports("--css-vars","yes"),a=e.supports("(--css-vars: yes)")&&e.supports("color","#00000000");return r=o||a,t||(re=r),r}function zi(i,t,e){if(!i)return{x:0,y:0};var r=t.x,n=t.y,o=r+e.left,a=n+e.top,c,s;if(i.type==="touchstart"){var u=i;c=u.changedTouches[0].pageX-o,s=u.changedTouches[0].pageY-a}else{var p=i;c=p.pageX-o,s=p.pageY-a}return{x:c,y:s}}/**
289
+ * @license
290
+ * Copyright 2016 Google Inc.
291
+ *
292
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
293
+ * of this software and associated documentation files (the "Software"), to deal
294
+ * in the Software without restriction, including without limitation the rights
295
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
296
+ * copies of the Software, and to permit persons to whom the Software is
297
+ * furnished to do so, subject to the following conditions:
298
+ *
299
+ * The above copyright notice and this permission notice shall be included in
300
+ * all copies or substantial portions of the Software.
301
+ *
302
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
303
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
304
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
305
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
306
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
307
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
308
+ * THE SOFTWARE.
309
+ */var Ne=["touchstart","pointerdown","mousedown","keydown"],Oe=["touchend","pointerup","mouseup","contextmenu"],ne=[],ot=function(i){d.__extends(t,i);function t(e){var r=i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(n){r.activateImpl(n)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return Object.defineProperty(t,"cssClasses",{get:function(){return Li},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return Ui},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return Re},enumerable:!1,configurable:!0}),Object.defineProperty(t,"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}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var n=t.cssClasses,o=n.ROOT,a=n.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,n=r.ROOT,o=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(n),e.adapter.removeClass(o),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var r,n;if(e){try{for(var o=d.__values(Ne),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var r,n;if(e.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=d.__values(Oe),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},t.prototype.deregisterRootHandlers=function(){var e,r;try{for(var n=d.__values(Ne),o=n.next();!o.done;o=n.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){e={error:c}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,r;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=d.__values(Oe),o=n.next();!o.done;o=n.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){e={error:c}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings,n=Object.keys(r);n.forEach(function(o){o.indexOf("VAR_")===0&&e.adapter.updateCssVariable(r[o],null)})},t.prototype.activateImpl=function(e){var r=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var o=this.previousActivationEvent,a=o&&e!==void 0&&o.type!==e.type;if(!a){n.isActivated=!0,n.isProgrammatic=e===void 0,n.activationEvent=e,n.wasActivatedByPointer=n.isProgrammatic?!1:e!==void 0&&(e.type==="mousedown"||e.type==="touchstart"||e.type==="pointerdown");var c=e!==void 0&&ne.length>0&&ne.some(function(s){return r.adapter.containsEventTarget(s)});if(c){this.resetActivationState();return}e!==void 0&&(ne.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){ne=[],!n.wasElementMadeActive&&e!==void 0&&(e.key===" "||e.keyCode===32)&&(n.wasElementMadeActive=r.checkElementMadeActive(e),n.wasElementMadeActive&&r.animateActivation()),n.wasElementMadeActive||(r.activationState=r.defaultActivationState())})}}}},t.prototype.checkElementMadeActive=function(e){return e!==void 0&&e.type==="keydown"?this.adapter.isSurfaceActive():!0},t.prototype.animateActivation=function(){var e=this,r=t.strings,n=r.VAR_FG_TRANSLATE_START,o=r.VAR_FG_TRANSLATE_END,a=t.cssClasses,c=a.FG_DEACTIVATION,s=a.FG_ACTIVATION,u=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var p="",m="";if(!this.adapter.isUnbounded()){var S=this.getFgTranslationCoordinates(),N=S.startPoint,q=S.endPoint;p=N.x+"px, "+N.y+"px",m=q.x+"px, "+q.y+"px"}this.adapter.updateCssVariable(n,p),this.adapter.updateCssVariable(o,m),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},u)},t.prototype.getFgTranslationCoordinates=function(){var e=this.activationState,r=e.activationEvent,n=e.wasActivatedByPointer,o;n?o=zi(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):o={x:this.frame.width/2,y:this.frame.height/2},o={x:o.x-this.initialSize/2,y:o.y-this.initialSize/2};var a={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:o,endPoint:a}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,n=this.activationState,o=n.hasDeactivationUXRun,a=n.isActivated,c=o||!a;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(r)},Re.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,r=this.activationState;if(r.isActivated){var n=d.__assign({},r);r.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(n)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var r=e.wasActivatedByPointer,n=e.wasElementMadeActive;(r||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width),n=function(){var a=Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2));return a+t.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?r:n();var o=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&o%2!==0?this.initialSize=o-1:this.initialSize=o,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,n=e.VAR_LEFT,o=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(a,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(n,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(J);/**
310
+ * @license
311
+ * Copyright 2016 Google Inc.
312
+ *
313
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
314
+ * of this software and associated documentation files (the "Software"), to deal
315
+ * in the Software without restriction, including without limitation the rights
316
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
317
+ * copies of the Software, and to permit persons to whom the Software is
318
+ * furnished to do so, subject to the following conditions:
319
+ *
320
+ * The above copyright notice and this permission notice shall be included in
321
+ * all copies or substantial portions of the Software.
322
+ *
323
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
324
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
325
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
326
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
327
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
328
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
329
+ * THE SOFTWARE.
330
+ */var De=function(i){d.__extends(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.disabled=!1,e}return t.attachTo=function(e,r){r===void 0&&(r={isUnbounded:void 0});var n=new t(e);return r.isUnbounded!==void 0&&(n.unbounded=r.isUnbounded),n},t.createAdapter=function(e){return{addClass:function(r){e.root.classList.add(r)},browserSupportsCssVars:function(){return Mi(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(r){return e.root.contains(r)},deregisterDocumentInteractionHandler:function(r,n){document.documentElement.removeEventListener(r,n,ie())},deregisterInteractionHandler:function(r,n){e.root.removeEventListener(r,n,ie())},deregisterResizeHandler:function(r){window.removeEventListener("resize",r)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return nt(e.root,":active")},isSurfaceDisabled:function(){return!!e.disabled},isUnbounded:function(){return!!e.unbounded},registerDocumentInteractionHandler:function(r,n){document.documentElement.addEventListener(r,n,ie())},registerInteractionHandler:function(r,n){e.root.addEventListener(r,n,ie())},registerResizeHandler:function(r){window.addEventListener("resize",r)},removeClass:function(r){e.root.classList.remove(r)},updateCssVariable:function(r,n){e.root.style.setProperty(r,n)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(e){this.isUnbounded=!!e,this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new ot(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},t}(rt);/**
331
+ * @license
332
+ * Copyright 2020 Google Inc.
333
+ *
334
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
335
+ * of this software and associated documentation files (the "Software"), to deal
336
+ * in the Software without restriction, including without limitation the rights
337
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
338
+ * copies of the Software, and to permit persons to whom the Software is
339
+ * furnished to do so, subject to the following conditions:
340
+ *
341
+ * The above copyright notice and this permission notice shall be included in
342
+ * all copies or substantial portions of the Software.
343
+ *
344
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
345
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
346
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
347
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
348
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
349
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
350
+ * THE SOFTWARE.
351
+ */function Hi(i,t){var e=Number(t.replace("px",""));return Number.isNaN(e)?i:{width:i.width+e,height:i.height,top:i.top,right:i.right,bottom:i.bottom,left:i.left}}var ki="--mdc-chip-graphic-selected-width";/**
352
+ * @license
353
+ * Copyright 2020 Google Inc.
354
+ *
355
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
356
+ * of this software and associated documentation files (the "Software"), to deal
357
+ * in the Software without restriction, including without limitation the rights
358
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
359
+ * copies of the Software, and to permit persons to whom the Software is
360
+ * furnished to do so, subject to the following conditions:
361
+ *
362
+ * The above copyright notice and this permission notice shall be included in
363
+ * all copies or substantial portions of the Software.
364
+ *
365
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
366
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
367
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
368
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
369
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
370
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
371
+ * THE SOFTWARE.
372
+ */var Q=new Map;Q.set(l.SPACEBAR,D.SPACEBAR_KEY);Q.set(l.ENTER,D.ENTER_KEY);Q.set(l.DELETE,D.DELETE_KEY);Q.set(l.BACKSPACE,D.BACKSPACE_KEY);var at=function(i){d.__extends(t,i);function t(e){return i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(D.CLICK)},t.prototype.handleKeydown=function(e){var r=it(e);if(this.shouldNotifyInteractionFromKey(r)){e.preventDefault(),this.emitInteraction(this.getTriggerFromKey(r));return}if(Oi(e)){e.preventDefault(),this.emitNavigation(r);return}return!0},t.prototype.setDisabled=function(e){if(this.isSelectable()){this.adapter.setAttribute(g.ARIA_DISABLED,""+e);return}e?this.adapter.setAttribute(g.DISABLED,"true"):this.adapter.removeAttribute(g.DISABLED)},t.prototype.isDisabled=function(){return this.adapter.getAttribute(g.ARIA_DISABLED)==="true"||this.adapter.getAttribute(g.DISABLED)!==null},t.prototype.setFocus=function(e){if(this.isFocusable()){if(e===T.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(g.TAB_INDEX,"0"),this.adapter.focus();return}if(e===T.FOCUSABLE){this.adapter.setAttribute(g.TAB_INDEX,"0");return}if(e===T.NOT_FOCUSABLE){this.adapter.setAttribute(g.TAB_INDEX,"-1");return}}},t.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(g.ARIA_HIDDEN)==="true")},t.prototype.setSelected=function(e){this.isSelectable()&&this.adapter.setAttribute(g.ARIA_SELECTED,""+e)},t.prototype.isSelected=function(){return this.adapter.getAttribute(g.ARIA_SELECTED)==="true"},t.prototype.emitInteraction=function(e){this.adapter.emitEvent($.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:e})},t.prototype.emitNavigation=function(e){this.adapter.emitEvent($.NAVIGATION,{source:this.actionType(),key:e})},t.prototype.shouldNotifyInteractionFromKey=function(e){var r=e===l.ENTER||e===l.SPACEBAR,n=e===l.BACKSPACE||e===l.DELETE;return!!(r||n&&this.shouldEmitInteractionOnRemoveKey())},t.prototype.getTriggerFromKey=function(e){var r=Q.get(e);return r||D.UNSPECIFIED},t}(J);/**
373
+ * @license
374
+ * Copyright 2020 Google Inc.
375
+ *
376
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
377
+ * of this software and associated documentation files (the "Software"), to deal
378
+ * in the Software without restriction, including without limitation the rights
379
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
380
+ * copies of the Software, and to permit persons to whom the Software is
381
+ * furnished to do so, subject to the following conditions:
382
+ *
383
+ * The above copyright notice and this permission notice shall be included in
384
+ * all copies or substantial portions of the Software.
385
+ *
386
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
387
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
388
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
389
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
390
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
391
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
392
+ * THE SOFTWARE.
393
+ */var Bi=function(i){d.__extends(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isSelectable=function(){return this.adapter.getAttribute(g.ROLE)==="option"},t.prototype.actionType=function(){return w.PRIMARY},t.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(g.DATA_DELETABLE)==="true"},t}(at);/**
394
+ * @license
395
+ * Copyright 2020 Google Inc.
396
+ *
397
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
398
+ * of this software and associated documentation files (the "Software"), to deal
399
+ * in the Software without restriction, including without limitation the rights
400
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
401
+ * copies of the Software, and to permit persons to whom the Software is
402
+ * furnished to do so, subject to the following conditions:
403
+ *
404
+ * The above copyright notice and this permission notice shall be included in
405
+ * all copies or substantial portions of the Software.
406
+ *
407
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
408
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
409
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
410
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
411
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
412
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
413
+ * THE SOFTWARE.
414
+ */var qi=function(i){d.__extends(t,i);function t(){return i!==null&&i.apply(this,arguments)||this}return t.prototype.isSelectable=function(){return!1},t.prototype.actionType=function(){return w.TRAILING},t.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},t}(at);/**
415
+ * @license
416
+ * Copyright 2020 Google Inc.
417
+ *
418
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
419
+ * of this software and associated documentation files (the "Software"), to deal
420
+ * in the Software without restriction, including without limitation the rights
421
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
422
+ * copies of the Software, and to permit persons to whom the Software is
423
+ * furnished to do so, subject to the following conditions:
424
+ *
425
+ * The above copyright notice and this permission notice shall be included in
426
+ * all copies or substantial portions of the Software.
427
+ *
428
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
429
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
430
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
431
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
432
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
433
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
434
+ * THE SOFTWARE.
435
+ */var Gi=[L.safeAttrPrefix(Pe||(Pe=d.__makeTemplateObject(["aria-"],["aria-"]))),L.safeAttrPrefix(xe||(xe=d.__makeTemplateObject(["data-"],["data-"]))),L.safeAttrPrefix(Fe||(Fe=d.__makeTemplateObject(["disabled"],["disabled"]))),L.safeAttrPrefix(Le||(Le=d.__makeTemplateObject(["role"],["role"]))),L.safeAttrPrefix(Ue||(Ue=d.__makeTemplateObject(["tabindex"],["tabindex"])))],Wi=function(i){d.__extends(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.rootHTML=e.root,e}return t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e){var r=this;e===void 0&&(e=function(o,a){return new De(o,a)});var n=d.__assign(d.__assign({},De.createAdapter(this)),{computeBoundingRect:function(){return r.computeRippleClientRect()}});this.rippleInstance=e(this.root,new ot(n))},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.handleKeydown=function(r){e.foundation.handleKeydown(r)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},t.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),i.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this,r={emitEvent:function(n,o){e.emit(n,o,!0)},focus:function(){e.rootHTML.focus()},getAttribute:function(n){return e.root.getAttribute(n)},getElementID:function(){return e.root.id},removeAttribute:function(n){e.root.removeAttribute(n)},setAttribute:function(n,o){Ze(Gi,e.root,n,o)}};return this.root.classList.contains(Y.TRAILING_ACTION)?new qi(r):new Bi(r)},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.isDisabled=function(){return this.foundation.isDisabled()},t.prototype.setFocus=function(e){this.foundation.setFocus(e)},t.prototype.isFocusable=function(){return this.foundation.isFocusable()},t.prototype.setSelected=function(e){this.foundation.setSelected(e)},t.prototype.isSelected=function(){return this.foundation.isSelected()},t.prototype.isSelectable=function(){return this.foundation.isSelectable()},t.prototype.actionType=function(){return this.foundation.actionType()},t.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(Y.PRIMARY_ACTION)){var e=xi(this.root,"."+Y.CHIP_ROOT);if(!e)return this.root.getBoundingClientRect();var r=window.getComputedStyle(e).getPropertyValue(ki);return Hi(e.getBoundingClientRect(),r)}return this.root.getBoundingClientRect()},t}(rt),Pe,xe,Fe,Le,Ue,ji=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,U=(i,t,e,r)=>{for(var n=r>1?void 0:r?$i(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(n=(r?a(t,e,n):a(n))||n);return r&&n&&ji(t,e,n),n};let Ki=0;class F extends A.s{constructor(){super(),this.mdcFoundationClass=Di,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Ki++}render(){const t={"mdc-evolution-chip":!0,"mdc-evolution-chip--disabled":this.disabled,"mdc-evolution-chip--with-trailing-action":this.trailingIcon,"mdc-evolution-chip--with-primary-graphic":!this.trailingIcon&&this.icon,"mdc-evolution-chip--with-primary-icon":this.icon&&!this.filter,"mdc-evolution-chip--filter":this.filter,"mdc-evolution-chip--selectable":this.filter,"mdc-evolution-chip--with-avatar":this.avatar,secondary:this.state==="secondary",negative:this.state==="negative",caution:this.state==="caution"};return A.x`
436
+ <span
437
+ class="${ut.o(t)}"
438
+ role="${this.filter?"presentation":"row"}"
439
+ id="cv-chip-${this.chipId}"
440
+ >
441
+ <span
442
+ class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
443
+ role="${this.filter?"presentation":"gridcell"}"
444
+ >
445
+ <button
446
+ class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
447
+ role="${this.filter?"option":""}"
448
+ type="button"
449
+ tabindex="-1"
450
+ >
451
+ <span
452
+ class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
453
+ ></span>
454
+ ${!this.trailingIcon&&this.icon||this.filter?this.renderGraphic():""}
455
+ <span class="mdc-evolution-chip__text-label">${this.label}</span>
456
+ </button>
457
+ </span>
458
+ ${this.trailingIcon?this.renderTrailing():""}
459
+ </span>
460
+ `}async firstUpdated(){this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.actions=new Map;const t=this.mdcRoot.querySelectorAll(".mdc-evolution-chip__action");for(let e=0;e<t.length;e++){const r=new Wi(t[e]);this.actions.set(r.actionType(),r),t[e].addEventListener($.INTERACTION,n=>{var o;(o=this.mdcFoundation)==null||o.handleActionInteraction(n)}),t[e].addEventListener($.NAVIGATION,n=>{var o;(o=this.mdcFoundation)==null||o.handleActionNavigation(n)})}}renderGraphic(){const t=this.filter?this.renderCheckMark():this.renderIcon();return A.x`<span class="mdc-evolution-chip__graphic">
461
+ ${t}
462
+ </span>`}renderCheckMark(){return A.x` <span class="mdc-evolution-chip__checkmark">
463
+ <svg class="mdc-evolution-chip__checkmark-svg" viewBox="-2 -3 30 30">
464
+ <path
465
+ class="mdc-evolution-chip__checkmark-path"
466
+ fill="none"
467
+ d="M1.73,12.91 8.1,19.28 22.79,4.59"
468
+ />
469
+ </svg>
470
+ </span>`}renderIcon(t=!1){return A.x` <span
471
+ class="mdc-evolution-chip__icon mdc-evolution-chip__icon--${t?"trailing":"primary"}"
472
+ >
473
+ ${this.icon}
474
+ </span>`}renderTrailing(){return A.x` <span
475
+ class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
476
+ role="gridcell"
477
+ >
478
+ <button
479
+ class="mdc-evolution-chip__action mdc-evolution-chip__action--trailing"
480
+ type="button"
481
+ tabindex="-1"
482
+ data-mdc-deletable="true"
483
+ aria-label="Remove ${this.label}"
484
+ >
485
+ <span
486
+ class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--trailing"
487
+ ></span>
488
+ ${this.renderIcon(!0)}
489
+ </button>
490
+ </span>`}createAdapter(){return{...lt.addHasRemoveClass(this.mdcRoot),emitEvent:(t,e)=>this.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e})),getActions:()=>{const t=[];for(const[e]of this.actions)t.push(e);return t},getAttribute:t=>this.mdcRoot.getAttribute(t),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:t=>this.mdcRoot.classList.contains(t),isActionSelectable:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isSelectable())??!0},isActionSelected:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isSelected())??!1},isActionFocusable:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isFocusable())??!0},isActionDisabled:t=>{var e;return((e=this.actions.get(t))==null?void 0:e.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(t,e)=>{var r;return(r=this.actions.get(t))==null?void 0:r.setDisabled(e)},setActionFocus:(t,e)=>{var r;return(r=this.actions.get(t))==null?void 0:r.setFocus(e)},setActionSelected:(t,e)=>{var r;return(r=this.actions.get(t))==null?void 0:r.setSelected(e)},setStyleProperty:(t,e)=>this.mdcRoot.style.setProperty(t,e)}}getActions(){var t;return((t=this.mdcFoundation)==null?void 0:t.getActions())??[]}getElementID(){var t;return((t=this.mdcFoundation)==null?void 0:t.getElementID())??""}isActionFocusable(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionFocusable(t))??!1}isActionSelectable(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionSelectable(t))??!1}isActionSelected(t){var e;return((e=this.mdcFoundation)==null?void 0:e.isActionSelected(t))??!1}setActionFocus(t,e){var r;return(r=this.mdcFoundation)==null?void 0:r.setActionFocus(t,e)}setActionSelected(t,e){var r;return(r=this.mdcFoundation)==null?void 0:r.setActionSelected(t,e)}startAnimation(t){var e;return(e=this.mdcFoundation)==null?void 0:e.startAnimation(t)}}U([ze.i(".mdc-evolution-chip")],F.prototype,"mdcRoot",2);U([R.n()],F.prototype,"label",2);U([R.n({type:String})],F.prototype,"icon",2);U([R.n({type:Boolean,reflect:!0})],F.prototype,"trailingIcon",2);U([R.n({type:Boolean,reflect:!0})],F.prototype,"avatar",2);U([R.n({type:Boolean,reflect:!0})],F.prototype,"disabled",2);U([R.n({type:Boolean,reflect:!0})],F.prototype,"filter",2);U([R.n()],F.prototype,"state",2);const Vi=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width .15s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform .15s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 45ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width .1s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform .1s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1);transform:translate(-50%,-50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%,-50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{0%{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter .1s 0ms cubic-bezier(0,0,.2,1)}@keyframes mdc-evolution-chip-exit{0%{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width .15s 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip{height:32px;border-radius:16px;background-color:#e0e0e0}.mdc-evolution-chip .mdc-evolution-chip__ripple{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__icon--primary{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip .mdc-evolution-chip__action--primary,.mdc-evolution-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip .mdc-evolution-chip__text-label,.mdc-evolution-chip .mdc-evolution-chip__icon--primary,.mdc-evolution-chip .mdc-evolution-chip__checkmark,.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{color:#000000de}.mdc-evolution-chip .mdc-evolution-chip__text-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-evolution-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 20px}.mdc-evolution-chip .mdc-evolution-chip__graphic,.mdc-evolution-chip .mdc-evolution-chip__icon--primary{height:20px;width:20px;font-size:20px}.mdc-evolution-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-evolution-chip.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:Canvas}}.mdc-evolution-chip .mdc-evolution-chip__focus-ring{display:none}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% - 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip--filter.mdc-evolution-chip--selected{background-color:#cecece}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--trailing:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__ripple--trailing{height:18px;width:18px}.mdc-evolution-chip__action{--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)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-evolution-chip__action.mdc-ripple-upgraded--unbounded .mdc-evolution-chip__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-activation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-evolution-chip__ripple{position:absolute;box-sizing:content-box;overflow:hidden;pointer-events:none}.mdc-evolution-chip__ripple--primary{height:100%;width:100%;top:0;left:0}.mdc-evolution-chip__ripple--trailing{top:50%;transform:translateY(-50%)}.mdc-evolution-chip{background-color:var(--mdc-theme-surface-neutral)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-evolution-chip .mdc-evolution-chip__icon{font-family:var(--mdc-icon-font, "Material Symbols Rounded");color:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip .mdc-evolution-chip__checkmark-path{stroke:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip.mdc-evolution-chip--selected{background-color:var(--mdc-theme-surface-primary)}.mdc-evolution-chip.negative{background-color:var(--mdc-theme-surface-negative)}.mdc-evolution-chip.caution{background-color:var(--mdc-theme-surface-caution)}.mdc-evolution-chip.secondary{background-color:var(--mdc-theme-surface-secondary)}
491
+ `;var Xi=Object.defineProperty,Yi=Object.getOwnPropertyDescriptor,Zi=(i,t,e,r)=>{for(var n=r>1?void 0:r?Yi(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(n=(r?a(t,e,n):a(n))||n);return r&&n&&Xi(t,e,n),n};let ae=class extends F{};ae.styles=[A.i`
492
+ ${A.r(Vi)}
493
+ `];ae=Zi([A.e("cv-chip")],ae);/**
494
+ * @license
495
+ * Copyright 2016 Google Inc.
496
+ *
497
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
498
+ * of this software and associated documentation files (the "Software"), to deal
499
+ * in the Software without restriction, including without limitation the rights
500
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
501
+ * copies of the Software, and to permit persons to whom the Software is
502
+ * furnished to do so, subject to the following conditions:
503
+ *
504
+ * The above copyright notice and this permission notice shall be included in
505
+ * all copies or substantial portions of the Software.
506
+ *
507
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
508
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
509
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
510
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
511
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
512
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
513
+ * THE SOFTWARE.
514
+ */var le;(function(i){i.ARIA_MULTISELECTABLE="aria-multiselectable"})(le||(le={}));var Me;(function(i){i.CHIP="mdc-evolution-chip"})(Me||(Me={}));var G;(function(i){i.INTERACTION="MDCChipSet:interaction",i.REMOVAL="MDCChipSet:removal",i.SELECTION="MDCChipSet:selection"})(G||(G={}));/**
515
+ * @license
516
+ * Copyright 2020 Google Inc.
517
+ *
518
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
519
+ * of this software and associated documentation files (the "Software"), to deal
520
+ * in the Software without restriction, including without limitation the rights
521
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
522
+ * copies of the Software, and to permit persons to whom the Software is
523
+ * furnished to do so, subject to the following conditions:
524
+ *
525
+ * The above copyright notice and this permission notice shall be included in
526
+ * all copies or substantial portions of the Software.
527
+ *
528
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
529
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
530
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
531
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
532
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
533
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
534
+ * THE SOFTWARE.
535
+ */var H;(function(i){i[i.INCREMENT=0]="INCREMENT",i[i.DECREMENT=1]="DECREMENT"})(H||(H={}));var Ji=function(i){d.__extends(t,i);function t(e){return i.call(this,d.__assign(d.__assign({},t.defaultAdapter),e))||this}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{announceMessage:function(){},emitEvent:function(){},getAttribute:function(){return null},getChipActionsAtIndex:function(){return[]},getChipCount:function(){return 0},getChipIdAtIndex:function(){return""},getChipIndexById:function(){return 0},isChipFocusableAtIndex:function(){return!1},isChipSelectableAtIndex:function(){return!1},isChipSelectedAtIndex:function(){return!1},removeChipAtIndex:function(){},setChipFocusAtIndex:function(){},setChipSelectedAtIndex:function(){},startChipAnimationAtIndex:function(){}}},enumerable:!1,configurable:!0}),t.prototype.handleChipAnimation=function(e){var r=e.detail,n=r.chipID,o=r.animation,a=r.isComplete,c=r.addedAnnouncement,s=r.removedAnnouncement,u=this.adapter.getChipIndexById(n);if(o===C.EXIT&&a){s&&this.adapter.announceMessage(s),this.removeAfterAnimation(u,n);return}if(o===C.ENTER&&a&&c){this.adapter.announceMessage(c);return}},t.prototype.handleChipInteraction=function(e){var r=e.detail,n=r.source,o=r.chipID,a=r.isSelectable,c=r.isSelected,s=r.shouldRemove,u=this.adapter.getChipIndexById(o);if(s){this.removeChip(u);return}this.focusChip(u,n,T.FOCUSABLE),this.adapter.emitEvent(G.INTERACTION,{chipIndex:u,chipID:o}),a&&this.setSelection(u,n,!c)},t.prototype.handleChipNavigation=function(e){var r=e.detail,n=r.chipID,o=r.key,a=r.isRTL,c=r.source,s=this.adapter.getChipIndexById(n),u=o===l.ARROW_RIGHT&&!a||o===l.ARROW_LEFT&&a;if(u){this.focusNextChipFrom(s+1);return}var p=o===l.ARROW_LEFT&&!a||o===l.ARROW_RIGHT&&a;if(p){this.focusPrevChipFrom(s-1);return}if(o===l.ARROW_DOWN){this.focusNextChipFrom(s+1,c);return}if(o===l.ARROW_UP){this.focusPrevChipFrom(s-1,c);return}if(o===l.HOME){this.focusNextChipFrom(0,c);return}if(o===l.END){this.focusPrevChipFrom(this.adapter.getChipCount()-1,c);return}},t.prototype.getSelectedChipIndexes=function(){for(var e,r,n=new Set,o=this.adapter.getChipCount(),a=0;a<o;a++){var c=this.adapter.getChipActionsAtIndex(a);try{for(var s=(e=void 0,d.__values(c)),u=s.next();!u.done;u=s.next()){var p=u.value;this.adapter.isChipSelectedAtIndex(a,p)&&n.add(a)}}catch(m){e={error:m}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}return n},t.prototype.setChipSelected=function(e,r,n){this.adapter.isChipSelectableAtIndex(e,r)&&this.setSelection(e,r,n)},t.prototype.isChipSelected=function(e,r){return this.adapter.isChipSelectedAtIndex(e,r)},t.prototype.removeChip=function(e){e>=this.adapter.getChipCount()||e<0||(this.adapter.startChipAnimationAtIndex(e,C.EXIT),this.adapter.emitEvent(G.REMOVAL,{chipID:this.adapter.getChipIdAtIndex(e),chipIndex:e,isComplete:!1}))},t.prototype.addChip=function(e){e>=this.adapter.getChipCount()||e<0||this.adapter.startChipAnimationAtIndex(e,C.ENTER)},t.prototype.focusNextChipFrom=function(e,r){for(var n=this.adapter.getChipCount(),o=e;o<n;o++){var a=this.getFocusableAction(o,H.INCREMENT,r);if(a){this.focusChip(o,a,T.FOCUSABLE_AND_FOCUSED);return}}},t.prototype.focusPrevChipFrom=function(e,r){for(var n=e;n>-1;n--){var o=this.getFocusableAction(n,H.DECREMENT,r);if(o){this.focusChip(n,o,T.FOCUSABLE_AND_FOCUSED);return}}},t.prototype.getFocusableAction=function(e,r,n){var o=this.adapter.getChipActionsAtIndex(e);return r===H.DECREMENT&&o.reverse(),n?this.getMatchingFocusableAction(e,o,n):this.getFirstFocusableAction(e,o)},t.prototype.getFirstFocusableAction=function(e,r){var n,o;try{for(var a=d.__values(r),c=a.next();!c.done;c=a.next()){var s=c.value;if(this.adapter.isChipFocusableAtIndex(e,s))return s}}catch(u){n={error:u}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return null},t.prototype.getMatchingFocusableAction=function(e,r,n){var o,a,c=null;try{for(var s=d.__values(r),u=s.next();!u.done;u=s.next()){var p=u.value;if(this.adapter.isChipFocusableAtIndex(e,p)&&(c=p),c===n)return c}}catch(m){o={error:m}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return c},t.prototype.focusChip=function(e,r,n){var o,a;this.adapter.setChipFocusAtIndex(e,r,n);for(var c=this.adapter.getChipCount(),s=0;s<c;s++){var u=this.adapter.getChipActionsAtIndex(s);try{for(var p=(o=void 0,d.__values(u)),m=p.next();!m.done;m=p.next()){var S=m.value;S===r&&s===e||this.adapter.setChipFocusAtIndex(s,S,T.NOT_FOCUSABLE)}}catch(N){o={error:N}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}},t.prototype.supportsMultiSelect=function(){return this.adapter.getAttribute(le.ARIA_MULTISELECTABLE)==="true"},t.prototype.setSelection=function(e,r,n){var o,a;if(this.adapter.setChipSelectedAtIndex(e,r,n),this.adapter.emitEvent(G.SELECTION,{chipID:this.adapter.getChipIdAtIndex(e),chipIndex:e,isSelected:n}),!this.supportsMultiSelect())for(var c=this.adapter.getChipCount(),s=0;s<c;s++){var u=this.adapter.getChipActionsAtIndex(s);try{for(var p=(o=void 0,d.__values(u)),m=p.next();!m.done;m=p.next()){var S=m.value;S===r&&s===e||this.adapter.setChipSelectedAtIndex(s,S,!1)}}catch(N){o={error:N}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}},t.prototype.removeAfterAnimation=function(e,r){this.adapter.removeChipAtIndex(e),this.adapter.emitEvent(G.REMOVAL,{chipIndex:e,isComplete:!0,chipID:r});var n=this.adapter.getChipCount();n<=0||this.focusNearestFocusableAction(e)},t.prototype.focusNearestFocusableAction=function(e){for(var r=this.adapter.getChipCount(),n=e,o=e;n>-1||o<r;){var a=this.getNearestFocusableAction(n,o,w.TRAILING);if(a){this.focusChip(a.index,a.action,T.FOCUSABLE_AND_FOCUSED);return}n--,o++}},t.prototype.getNearestFocusableAction=function(e,r,n){var o=this.getFocusableAction(e,H.DECREMENT,n);if(o)return{index:e,action:o};if(r===e)return null;var a=this.getFocusableAction(r,H.INCREMENT,n);return a?{index:r,action:a}:null},t}(J);/**
536
+ * @license
537
+ * Copyright 2020 Google Inc.
538
+ *
539
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
540
+ * of this software and associated documentation files (the "Software"), to deal
541
+ * in the Software without restriction, including without limitation the rights
542
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
543
+ * copies of the Software, and to permit persons to whom the Software is
544
+ * furnished to do so, subject to the following conditions:
545
+ *
546
+ * The above copyright notice and this permission notice shall be included in
547
+ * all copies or substantial portions of the Software.
548
+ *
549
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
550
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
551
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
552
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
553
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
554
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
555
+ * THE SOFTWARE.
556
+ */var ue;(function(i){i.POLITE="polite",i.ASSERTIVE="assertive"})(ue||(ue={}));var Qi="data-mdc-dom-announce";function er(i,t){tr.getInstance().say(i,t)}var tr=function(){function i(){this.liveRegions=new Map}return i.getInstance=function(){return i.instance||(i.instance=new i),i.instance},i.prototype.say=function(t,e){var r,n,o=(r=e==null?void 0:e.priority)!==null&&r!==void 0?r:ue.POLITE,a=(n=e==null?void 0:e.ownerDocument)!==null&&n!==void 0?n:document,c=this.getLiveRegion(o,a);c.textContent="",setTimeout(function(){c.textContent=t,a.addEventListener("click",s)},1);function s(){c.textContent="",a.removeEventListener("click",s)}},i.prototype.getLiveRegion=function(t,e){var r=this.liveRegions.get(e);r||(r=new Map,this.liveRegions.set(e,r));var n=r.get(t);if(n&&e.body.contains(n))return n;var o=this.createLiveRegion(t,e);return r.set(t,o),o},i.prototype.createLiveRegion=function(t,e){var r=e.createElement("div");return r.style.position="absolute",r.style.top="-9999px",r.style.left="-9999px",r.style.height="1px",r.style.overflow="hidden",r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live",t),r.setAttribute(Qi,"true"),e.body.appendChild(r),r},i}(),ir=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,ee=(i,t,e,r)=>{for(var n=r>1?void 0:r?rr(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(n=(r?a(t,e,n):a(n))||n);return r&&n&&ir(t,e,n),n};class X extends A.s{constructor(){super(...arguments),this.selectable=!1,this.multi=!1,this.label="",this.activeIndex=0,this._previousActiveIndex=-1,this.chips=[]}render(){return A.x`<span
557
+ class="mdc-evolution-chip-set"
558
+ role="${this.selectable||this.multi?"listbox":"grid"}"
559
+ aria-label="${this.label}"
560
+ aria-multiselectable="${this.multi}"
561
+ >
562
+ <span class="mdc-evolution-chip-set__chips" role="presentation">
563
+ <slot></slot>
564
+ </span>
565
+ </span>`}async updated(t){super.updated(t),await this.updateComplete,this.activeIndex!=this._previousActiveIndex&&this.mdcFoundation.setChipSelected(this.activeIndex,w.PRIMARY,!0)}firstUpdated(t){var n;super.firstUpdated(t);const e=(n=this.shadowRoot)==null?void 0:n.querySelector("slot"),r=(e==null?void 0:e.assignedElements().filter(o=>o instanceof ae))??[];for(let o=0;o<r.length;o++){const a=r[o];this.chips.push(a)}this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new Ji(this.createAdapter()),this.mdcFoundation.init()}connectedCallback(){super.connectedCallback(),this.addEventListener(I.ANIMATION,this._handleChipAnimation),this.addEventListener(I.INTERACTION,this._handleChipInteraction),this.addEventListener(I.NAVIGATION,this._handleChipNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(I.ANIMATION,this._handleChipAnimation),this.removeEventListener(I.INTERACTION,this._handleChipInteraction),this.removeEventListener(I.NAVIGATION,this._handleChipNavigation)}createAdapter(){return{announceMessage:er,emitEvent:(t,e)=>this.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e})),getAttribute:t=>this.mdcRoot.getAttribute(t),getChipActionsAtIndex:t=>this.chips[t].getActions(),getChipCount:()=>this.chips.length,getChipIdAtIndex:t=>this.chips[t].getElementID(),getChipIndexById:t=>this.chips.findIndex(e=>e.getElementID()===t),isChipFocusableAtIndex:(t,e)=>this.chips[t].isActionFocusable(e),isChipSelectableAtIndex:(t,e)=>this.chips[t].isActionSelectable(e),isChipSelectedAtIndex:(t,e)=>this.chips[t].isActionSelected(e),removeChipAtIndex:t=>this.chips[t].remove(),setChipFocusAtIndex:(t,e,r)=>this.chips[t].setActionFocus(e,r),setChipSelectedAtIndex:(t,e,r)=>this.chips[t].setActionSelected(e,r),startChipAnimationAtIndex:(t,e)=>this.chips[t].startAnimation(e)}}_handleChipAnimation(t){this.mdcFoundation.handleChipAnimation(t)}_handleChipInteraction(t){this.mdcFoundation.handleChipInteraction(t)}_handleChipNavigation(t){this.mdcFoundation.handleChipNavigation(t)}}ee([ze.i(".mdc-evolution-chip-set")],X.prototype,"mdcRoot",2);ee([R.n({type:Boolean,reflect:!0})],X.prototype,"selectable",2);ee([R.n({type:Boolean,reflect:!0})],X.prototype,"multi",2);ee([R.n()],X.prototype,"label",2);ee([R.n({type:Number})],X.prototype,"activeIndex",2);const nr=`.mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:4px 0 4px 8px}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}
566
+ `;var or=Object.defineProperty,ar=Object.getOwnPropertyDescriptor,cr=(i,t,e,r)=>{for(var n=r>1?void 0:r?ar(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(n=(r?a(t,e,n):a(n))||n);return r&&n&&or(t,e,n),n};let de=class extends X{};de.styles=[A.i`
567
+ ${A.r(nr)}
568
+ `];de=cr([A.e("cv-chip-set")],de);