@covalent/components 8.23.2 → 9.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
  2. package/action-ribbon.js +5 -6
  3. package/action-ribbon.mjs +47 -51
  4. package/alert.js +5 -6
  5. package/alert.mjs +48 -52
  6. package/app-shell.js +1 -2
  7. package/app-shell.mjs +13 -30
  8. package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
  9. package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
  10. package/badge.js +1 -2
  11. package/badge.mjs +10 -12
  12. package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
  13. package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
  14. package/button.js +2 -3
  15. package/button.mjs +18 -23
  16. package/card.js +8 -9
  17. package/card.mjs +36 -38
  18. package/check-list-item.js +11 -15
  19. package/check-list-item.mjs +53 -70
  20. package/checkbox.js +1 -2
  21. package/checkbox.mjs +15 -31
  22. package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
  23. package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
  24. package/chip-set.js +5 -6
  25. package/chip-set.mjs +73 -83
  26. package/chip.js +1 -1
  27. package/chip.mjs +4 -13
  28. package/circular-progress.js +1 -1
  29. package/circular-progress.mjs +9 -10
  30. package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
  31. package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
  32. package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
  33. package/code-editor-hT6MTCL6.js +660 -0
  34. package/code-editor.js +1 -1
  35. package/code-editor.mjs +3 -6
  36. package/code-snippet.js +5 -6
  37. package/code-snippet.mjs +235 -284
  38. package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
  39. package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
  40. package/dialog.js +1 -1
  41. package/dialog.mjs +4 -13
  42. package/directive-C7oCP5Bh.js +5 -0
  43. package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
  44. package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
  45. package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
  46. package/drawer.js +2 -3
  47. package/drawer.mjs +7 -17
  48. package/empty-state.js +2 -3
  49. package/empty-state.mjs +12 -15
  50. package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
  51. package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
  52. package/expansion-panel-item.js +1 -2
  53. package/expansion-panel-item.mjs +6 -9
  54. package/expansion-panel.js +1 -1
  55. package/expansion-panel.mjs +2 -2
  56. package/focused-page.js +1 -2
  57. package/focused-page.mjs +13 -16
  58. package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
  59. package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
  60. package/formfield.js +6 -7
  61. package/formfield.mjs +19 -23
  62. package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
  63. package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
  64. package/full-screen-dialog.js +4 -5
  65. package/full-screen-dialog.mjs +13 -22
  66. package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
  67. package/html-BMgGKfr0.js +6 -0
  68. package/icon-button-toggle.js +11 -16
  69. package/icon-button-toggle.mjs +68 -78
  70. package/icon-button.js +6 -11
  71. package/icon-button.mjs +56 -66
  72. package/icon-check-toggle.js +6 -7
  73. package/icon-check-toggle.mjs +10 -23
  74. package/icon-radio-toggle.js +4 -5
  75. package/icon-radio-toggle.mjs +13 -29
  76. package/icon.js +1 -5
  77. package/icon.mjs +13 -20
  78. package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
  79. package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
  80. package/index.js +1 -1
  81. package/index.mjs +110 -150
  82. package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
  83. package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
  84. package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
  85. package/linear-progress.js +2 -3
  86. package/linear-progress.mjs +12 -14
  87. package/list-item-BZVW1fmJ.js +5 -0
  88. package/list-item-DCzzLVZh.mjs +11 -0
  89. package/list-item.js +5 -5
  90. package/list-item.mjs +21 -32
  91. package/list.js +3 -8
  92. package/list.mjs +18 -38
  93. package/menu.js +3 -8
  94. package/menu.mjs +18 -39
  95. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
  96. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
  97. package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
  98. package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
  99. package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
  100. package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
  101. package/mwc-icon-button.css-BtgKBOl3.js +5 -0
  102. package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
  103. package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
  104. package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
  105. package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
  106. package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
  107. package/mwc-list.css-CaMJWsDp.js +111 -0
  108. package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
  109. package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
  110. package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
  111. package/mwc-radio.css-CVMtIq-L.js +105 -0
  112. package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
  113. package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
  114. package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
  115. package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
  116. package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
  117. package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
  118. package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
  119. package/nav-list-item.js +4 -5
  120. package/nav-list-item.mjs +12 -23
  121. package/notebook-cell.js +8 -9
  122. package/notebook-cell.mjs +14 -29
  123. package/package.json +1 -1
  124. package/python-B8sEpp0H.js +6 -0
  125. package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
  126. package/query-BBDQWsft.mjs +15 -0
  127. package/query-BxDs8ftQ.js +5 -0
  128. package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
  129. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
  130. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
  131. package/radio-list-item.js +9 -13
  132. package/radio-list-item.mjs +50 -66
  133. package/radio.js +1 -2
  134. package/radio.mjs +15 -32
  135. package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
  136. package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
  137. package/select.js +15 -20
  138. package/select.mjs +196 -213
  139. package/side-sheet.js +1 -2
  140. package/side-sheet.mjs +18 -27
  141. package/slider-range.js +1 -1
  142. package/slider-range.mjs +15 -19
  143. package/slider.js +1 -1
  144. package/slider.mjs +18 -26
  145. package/snackbar.js +9 -10
  146. package/snackbar.mjs +30 -33
  147. package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
  148. package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
  149. package/status-dialog/status-dialog.d.ts.map +1 -1
  150. package/status-dialog.js +15 -37
  151. package/status-dialog.mjs +47 -116
  152. package/status-header-item.js +1 -2
  153. package/status-header-item.mjs +7 -8
  154. package/status-header.js +4 -5
  155. package/status-header.mjs +22 -24
  156. package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
  157. package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
  158. package/style.css +1 -1
  159. package/switch.js +6 -7
  160. package/switch.mjs +20 -29
  161. package/tab-bar.js +18 -22
  162. package/tab-bar.mjs +192 -205
  163. package/tab.js +1 -6
  164. package/tab.mjs +13 -31
  165. package/text-lockup.js +1 -2
  166. package/text-lockup.mjs +14 -16
  167. package/textarea.js +15 -19
  168. package/textarea.mjs +53 -68
  169. package/textfield-BwmiygD8.js +136 -0
  170. package/textfield-C6sUZIeA.mjs +927 -0
  171. package/textfield.js +3 -7
  172. package/textfield.mjs +17 -37
  173. package/toolbar.js +1 -2
  174. package/toolbar.mjs +6 -13
  175. package/tooltip.js +3 -4
  176. package/tooltip.mjs +29 -40
  177. package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
  178. package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
  179. package/top-app-bar-fixed.js +6 -6
  180. package/top-app-bar-fixed.mjs +24 -32
  181. package/top-app-bar.js +3 -3
  182. package/top-app-bar.mjs +18 -25
  183. package/tree-list-item.js +1 -2
  184. package/tree-list-item.mjs +9 -13
  185. package/tree-list.js +1 -2
  186. package/tree-list.mjs +6 -7
  187. package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
  188. package/typescript-CqVUCaiQ.js +6 -0
  189. package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
  190. package/typography.js +1 -2
  191. package/typography.mjs +7 -8
  192. package/code-editor-b36fad77.js +0 -662
  193. package/directive-1186bc23.js +0 -5
  194. package/html-b2900c6a.js +0 -6
  195. package/mwc-checkbox-base-02b4eb91.mjs +0 -198
  196. package/mwc-checkbox-base-935d9566.js +0 -41
  197. package/mwc-list-base-22616d0a.js +0 -111
  198. package/mwc-list-item-base-06d93e6e.js +0 -28
  199. package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
  200. package/mwc-radio-base-147cf999.js +0 -101
  201. package/mwc-radio.css-4e140252.js +0 -5
  202. package/mwc-radio.css-7454bb11.mjs +0 -10
  203. package/python-6a1f2ad7.js +0 -6
  204. package/query-680f1868.js +0 -5
  205. package/query-d843aa92.mjs +0 -25
  206. package/textfield-83e78e56.js +0 -133
  207. package/textfield-853ebae5.mjs +0 -933
  208. package/typescript-98fbdb3d.js +0 -6
  209. /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
  210. /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
  211. /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
  212. /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
  213. /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
  214. /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
  215. /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
  216. /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
  217. /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
  218. /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
  219. /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
  220. /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
  221. /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
  222. /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
  223. /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
  224. /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
  225. /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
  226. /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
  227. /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
  228. /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
  229. /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
  230. /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
  231. /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
  232. /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
@@ -1,40 +1,40 @@
1
- "use strict";var kt=Object.defineProperty;var Bt=(e,i,t)=>i in e?kt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var p=(e,i,t)=>(Bt(e,typeof i!="symbol"?i+"":i,t),t);const b=require("./query-assigned-elements-f623705d.js"),jt=require("./utils-a8190a39.js"),s=require("./tslib.es6-98719205.js"),v=require("./keyboard-39125691.js"),$=require("./foundation-e830bd94.js"),R=require("./property-57f6f6fe.js"),Gt=require("./query-680f1868.js"),Kt=require("./class-map-0a4c6ca9.js"),f=require("./_commonjsHelpers-2367a3a2.js");var w={};/**
1
+ "use strict";var Ht=Object.defineProperty;var kt=(e,i,t)=>i in e?Ht(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var p=(e,i,t)=>kt(e,typeof i!="symbol"?i+"":i,t);const b=require("./query-assigned-elements-4CafVNR8.js"),Bt=require("./utils-wMBJ9n_n.js"),s=require("./tslib.es6-CHeFCc6E.js"),v=require("./keyboard-CZlaSOb1.js"),$=require("./foundation-pgmPu2iJ.js"),R=require("./property-DYTC_2-m.js"),jt=require("./query-BxDs8ftQ.js"),Gt=require("./class-map-C8G1ALWK.js"),f=require("./_commonjsHelpers-6jR-N8xe.js");var w={};/**
2
2
  * @license
3
3
  * SPDX-License-Identifier: Apache-2.0
4
- */const A={};function $t(e){if(e!==A)throw new Error("Bad secret")}/**
4
+ */const A={};function Kt(e){if(e!==A)throw new Error("Bad secret")}/**
5
5
  * @license
6
6
  * SPDX-License-Identifier: Apache-2.0
7
- */class yt{constructor(){p(this,"brand")}}class bt extends yt{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedAttrPrefix");this.privateDoNotAccessOrElseWrappedAttrPrefix=t}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function At(e){return new bt(e,A)}function Et(e){if(e instanceof bt)return e.privateDoNotAccessOrElseWrappedAttrPrefix;{let i="";throw new Error(i)}}const Wt=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:yt,createAttributePrefix:At,unwrapAttributePrefix:Et},Symbol.toStringTag,{value:"Module"}));/**
7
+ */class yt{constructor(){p(this,"brand")}}class bt extends yt{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedAttrPrefix");this.privateDoNotAccessOrElseWrappedAttrPrefix=t}toString(){return this.privateDoNotAccessOrElseWrappedAttrPrefix}}function At(e){return new bt(e,A)}function Et(e){if(e instanceof bt)return e.privateDoNotAccessOrElseWrappedAttrPrefix;{let i="";throw new Error(i)}}const $t=Object.freeze(Object.defineProperty({__proto__:null,SafeAttributePrefix:yt,createAttributePrefix:At,unwrapAttributePrefix:Et},Symbol.toStringTag,{value:"Module"}));/**
8
8
  * @license
9
9
  * SPDX-License-Identifier: Apache-2.0
10
- */function qt(e){const i=e[0].toLowerCase();return At(i)}const Yt=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:qt},Symbol.toStringTag,{value:"Module"})),Xt=f.getAugmentedNamespace(Yt);/**
10
+ */function Wt(e){const i=e[0].toLowerCase();return At(i)}const qt=Object.freeze(Object.defineProperty({__proto__:null,safeAttrPrefix:Wt},Symbol.toStringTag,{value:"Module"})),Yt=f.getAugmentedNamespace(qt);/**
11
11
  * @license
12
12
  * SPDX-License-Identifier: Apache-2.0
13
- */let St="google#safe";function Zt(){if(typeof window<"u")return window.trustedTypes}function M(){return St!==""?Zt()??null:null}let k;function Y(){var e;if(k===void 0)try{k=((e=M())==null?void 0:e.createPolicy(St,{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i}))??null}catch{k=null}return k}/**
13
+ */let Xt="google#safe";function Zt(){if(typeof window<"u")return window.trustedTypes}function M(){return Zt()??null}let k;function Y(){var e;if(k===void 0)try{k=((e=M())==null?void 0:e.createPolicy(Xt,{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i}))??null}catch{k=null}return k}/**
14
14
  * @license
15
15
  * SPDX-License-Identifier: Apache-2.0
16
- */class X{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedHtml");this.privateDoNotAccessOrElseWrappedHtml=i}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function wt(e,i){return i??new X(e,A)}const Vt=typeof window!==void 0?window.TrustedHTML:void 0,Tt=Vt??X;function O(e){var t;const i=e;return wt(i,(t=Y())==null?void 0:t.createHTML(i))}const Jt=(()=>{var e;return wt("",(e=M())==null?void 0:e.emptyHTML)})();function Qt(e){return e instanceof Tt}function Z(e){var i;if((i=M())!=null&&i.isHTML(e))return e;if(e instanceof X)return e.privateDoNotAccessOrElseWrappedHtml;{let t="";throw new Error(t)}}const te=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:Jt,SafeHtml:Tt,createHtml:O,isHtml:Qt,unwrapHtml:Z},Symbol.toStringTag,{value:"Module"}));/**
16
+ */class X{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedHtml");this.privateDoNotAccessOrElseWrappedHtml=i}toString(){return this.privateDoNotAccessOrElseWrappedHtml.toString()}}function St(e,i){return i??new X(e,A)}const Vt=typeof window!==void 0?window.TrustedHTML:void 0,wt=Vt??X;function N(e){var t;const i=e;return St(i,(t=Y())==null?void 0:t.createHTML(i))}const Jt=(()=>{var e;return St("",(e=M())==null?void 0:e.emptyHTML)})();function Qt(e){return e instanceof wt}function Z(e){var i;if((i=M())!=null&&i.isHTML(e))return e;if(e instanceof X)return e.privateDoNotAccessOrElseWrappedHtml;{let t="";throw new Error(t)}}const te=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_HTML:Jt,SafeHtml:wt,createHtml:N,isHtml:Qt,unwrapHtml:Z},Symbol.toStringTag,{value:"Module"}));/**
17
17
  * @license
18
18
  * SPDX-License-Identifier: Apache-2.0
19
- */class V{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedResourceUrl");this.privateDoNotAccessOrElseWrappedResourceUrl=i}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const ee=typeof window!==void 0?window.TrustedScriptURL:void 0,Ct=ee??V;function F(e){var n;const i=e;return((n=Y())==null?void 0:n.createScriptURL(i))??new V(i,A)}function ie(e){return e instanceof Ct}function W(e){var i;if((i=M())!=null&&i.isScriptURL(e))return e;if(e instanceof V)return e.privateDoNotAccessOrElseWrappedResourceUrl;{let t="";throw new Error(t)}}const ne=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Ct,createResourceUrl:F,isResourceUrl:ie,unwrapResourceUrl:W},Symbol.toStringTag,{value:"Module"}));/**
19
+ */class V{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedResourceUrl");this.privateDoNotAccessOrElseWrappedResourceUrl=i}toString(){return this.privateDoNotAccessOrElseWrappedResourceUrl.toString()}}const ee=typeof window!==void 0?window.TrustedScriptURL:void 0,Tt=ee??V;function F(e){var n;const i=e;return((n=Y())==null?void 0:n.createScriptURL(i))??new V(i,A)}function ie(e){return e instanceof Tt}function W(e){var i;if((i=M())!=null&&i.isScriptURL(e))return e;if(e instanceof V)return e.privateDoNotAccessOrElseWrappedResourceUrl;{let t="";throw new Error(t)}}const ne=Object.freeze(Object.defineProperty({__proto__:null,TrustedResourceUrl:Tt,createResourceUrl:F,isResourceUrl:ie,unwrapResourceUrl:W},Symbol.toStringTag,{value:"Module"}));/**
20
20
  * @license
21
21
  * SPDX-License-Identifier: Apache-2.0
22
- */class J{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedScript");this.privateDoNotAccessOrElseWrappedScript=i}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function It(e,i){return i??new J(e,A)}const re=typeof window!==void 0?window.TrustedScript:void 0,Dt=re??J;function U(e){var t;const i=e;return It(i,(t=Y())==null?void 0:t.createScript(i))}const oe=(()=>{var e;return It("",(e=M())==null?void 0:e.emptyScript)})();function ae(e){return e instanceof Dt}function q(e){var i;if((i=M())!=null&&i.isScript(e))return e;if(e instanceof J)return e.privateDoNotAccessOrElseWrappedScript;{let t="";throw new Error(t)}}const ce=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:oe,SafeScript:Dt,createScript:U,isScript:ae,unwrapScript:q},Symbol.toStringTag,{value:"Module"}));/**
22
+ */class J{constructor(i,t){p(this,"privateDoNotAccessOrElseWrappedScript");this.privateDoNotAccessOrElseWrappedScript=i}toString(){return this.privateDoNotAccessOrElseWrappedScript.toString()}}function Ct(e,i){return i??new J(e,A)}const re=typeof window!==void 0?window.TrustedScript:void 0,It=re??J;function U(e){var t;const i=e;return Ct(i,(t=Y())==null?void 0:t.createScript(i))}const oe=(()=>{var e;return Ct("",(e=M())==null?void 0:e.emptyScript)})();function ae(e){return e instanceof It}function q(e){var i;if((i=M())!=null&&i.isScript(e))return e;if(e instanceof J)return e.privateDoNotAccessOrElseWrappedScript;{let t="";throw new Error(t)}}const ce=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_SCRIPT:oe,SafeScript:It,createScript:U,isScript:ae,unwrapScript:q},Symbol.toStringTag,{value:"Module"}));/**
23
23
  * @license
24
24
  * SPDX-License-Identifier: Apache-2.0
25
- */function le(e,i={}){let t=L(e);return i.preserveSpaces&&(t=t.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),i.preserveNewlines&&(t=t.replace(/(\r\n|\n|\r)/g,"<br>")),i.preserveTabs&&(t=t.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),O(t)}function se(e,i={}){const t=q(e).toString();let n="<script";return i.id&&(n+=` id="${L(i.id)}"`),i.nonce&&(n+=` nonce="${L(i.nonce)}"`),i.type&&(n+=` type="${L(i.type)}"`),n+=`>${t}<\/script>`,O(n)}function de(e,i,t){const n=W(e).toString();let r=`<script src="${L(n)}"`;return i&&(r+=" async"),t&&(r+=` nonce="${L(t)}"`),r+="><\/script>",O(r)}function L(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ue(e){return O(e.map(Z).join(""))}const pe=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:ue,createScript:se,createScriptSrc:de,htmlEscape:le},Symbol.toStringTag,{value:"Module"})),he=f.getAugmentedNamespace(pe);/**
25
+ */function le(e,i={}){let t=L(e);return i.preserveSpaces&&(t=t.replace(/(^|[\r\n\t ]) /g,"$1&#160;")),i.preserveNewlines&&(t=t.replace(/(\r\n|\n|\r)/g,"<br>")),i.preserveTabs&&(t=t.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>')),N(t)}function se(e,i={}){const t=q(e).toString();let n="<script";return i.id&&(n+=` id="${L(i.id)}"`),i.nonce&&(n+=` nonce="${L(i.nonce)}"`),i.type&&(n+=` type="${L(i.type)}"`),n+=`>${t}<\/script>`,N(n)}function de(e,i,t){const n=W(e).toString();let r=`<script src="${L(n)}"`;return i&&(r+=" async"),t&&(r+=` nonce="${L(t)}"`),r+="><\/script>",N(r)}function L(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ue(e){return N(e.map(Z).join(""))}const pe=Object.freeze(Object.defineProperty({__proto__:null,concatHtmls:ue,createScript:se,createScriptSrc:de,htmlEscape:le},Symbol.toStringTag,{value:"Module"})),he=f.getAugmentedNamespace(pe);/**
26
26
  * @license
27
27
  * SPDX-License-Identifier: Apache-2.0
28
28
  */function me(e){let i;try{i=new URL(e)}catch{return"https:"}return i.protocol}const fe=["data:","http:","https:","mailto:","ftp:"];function ve(e){const i=me(e);return i!==void 0&&fe.indexOf(i.toLowerCase())!==-1?e:"about:invalid#zClosurez"}/**
29
29
  * @license
30
30
  * SPDX-License-Identifier: Apache-2.0
31
- */class Rt{constructor(){p(this,"brand")}}class Q extends Rt{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedStyle");this.privateDoNotAccessOrElseWrappedStyle=t}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function tt(e){return new Q(e,A)}function ge(e){return e instanceof Q}function Ot(e){if(e instanceof Q)return e.privateDoNotAccessOrElseWrappedStyle;{let i="";throw new Error(i)}}const _e=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:Rt,createStyle:tt,isStyle:ge,unwrapStyle:Ot},Symbol.toStringTag,{value:"Module"}));/**
31
+ */class Dt{constructor(){p(this,"brand")}}class Q extends Dt{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedStyle");this.privateDoNotAccessOrElseWrappedStyle=t}toString(){return this.privateDoNotAccessOrElseWrappedStyle}}function tt(e){return new Q(e,A)}function ge(e){return e instanceof Q}function Rt(e){if(e instanceof Q)return e.privateDoNotAccessOrElseWrappedStyle;{let i="";throw new Error(i)}}const _e=Object.freeze(Object.defineProperty({__proto__:null,SafeStyle:Dt,createStyle:tt,isStyle:ge,unwrapStyle:Rt},Symbol.toStringTag,{value:"Module"}));/**
32
32
  * @license
33
33
  * SPDX-License-Identifier: Apache-2.0
34
34
  */function ye(e,i){Ae(e)&&be(e),e.innerHTML=Z(i)}function Nt(e,i,t,n){if(e.length===0)throw new Error("No prefixes are provided");const r=e.map(a=>Et(a)),o=t.toLowerCase();if(r.every(a=>o.indexOf(a)!==0))throw new Error(`Attribute "${t}" does not match any of the allowed prefixes.`);i.setAttribute(t,n)}function be(e){if(e.tagName.toLowerCase()==="script")throw new Error("Use setTextContent with a SafeScript.");if(e.tagName.toLowerCase()==="style")throw new Error("Use setTextContent with a SafeStyleSheet.")}function Ae(e){return e.tagName!==void 0}/**
35
35
  * @license
36
36
  * SPDX-License-Identifier: Apache-2.0
37
- */function Ee(e){const i=document.createElement("template"),t=O(e);return ye(i,t),i.content}/**
37
+ */function Ee(e){const i=document.createElement("template"),t=N(e);return ye(i,t),i.content}/**
38
38
  * @license
39
39
  * SPDX-License-Identifier: Apache-2.0
40
40
  */function ot(e){const i=e.nodeName;return typeof i=="string"?i:"FORM"}function at(e){return e.nodeType===Node.TEXT_NODE}function ct(e){const i=e.nodeType;return i===Node.ELEMENT_NODE||typeof i!="number"}/**
@@ -43,31 +43,31 @@
43
43
  */class I{constructor(i,t,n,r){p(this,"allowedElements");p(this,"elementPolicies");p(this,"allowedGlobalAttributes");p(this,"globalAttributePolicies");this.allowedElements=i,this.elementPolicies=t,this.allowedGlobalAttributes=n,this.globalAttributePolicies=r}isAllowedElement(i){return i.toLowerCase()!=="form"&&(this.allowedElements.has(i)||this.elementPolicies.has(i))}getAttributePolicy(i,t){const n=this.elementPolicies.get(t);return n!=null&&n.has(i)?n.get(i):this.allowedGlobalAttributes.has(i)?{policyAction:d.KEEP}:this.globalAttributePolicies.get(i)||{policyAction:d.DROP}}}var d;(function(e){e[e.DROP=0]="DROP",e[e.KEEP=1]="KEEP",e[e.KEEP_AND_SANITIZE_URL=2]="KEEP_AND_SANITIZE_URL",e[e.KEEP_AND_NORMALIZE=3]="KEEP_AND_NORMALIZE",e[e.KEEP_AND_SANITIZE_STYLE=4]="KEEP_AND_SANITIZE_STYLE"})(d||(d={}));/**
44
44
  * @license
45
45
  * SPDX-License-Identifier: Apache-2.0
46
- */const Pt=new I(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:d.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:d.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:d.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:d.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:d.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:d.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:d.KEEP_AND_SANITIZE_URL}],["target",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
46
+ */const Ot=new I(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:d.KEEP_AND_SANITIZE_URL}]])],["AREA",new Map([["href",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["LINK",new Map([["href",{policyAction:d.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:d.KEEP_AND_SANITIZE_URL}]])],["IMG",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["VIDEO",new Map([["src",{policyAction:d.KEEP_AND_SANITIZE_URL}]])],["AUDIO",new Map([["src",{policyAction:d.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:d.KEEP_AND_NORMALIZE,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["async",new Set(["async"])]])}],["cite",{policyAction:d.KEEP_AND_SANITIZE_URL}],["loading",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{policyAction:d.KEEP_AND_SANITIZE_URL}],["target",{policyAction:d.KEEP_AND_NORMALIZE,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]));/**
47
47
  * @license
48
48
  * SPDX-License-Identifier: Apache-2.0
49
- */class et{constructor(i,t){p(this,"sanitizerTable");p(this,"changes",[]);this.sanitizerTable=i,$t(t)}sanitizeAssertUnchanged(i){this.changes=[];const t=this.sanitize(i);if(this.changes.length!==0){let n="";throw new Error(n)}return t}sanitize(i){const t=document.createElement("span");t.appendChild(this.sanitizeToFragment(i));let n=new XMLSerializer().serializeToString(t);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),O(n)}sanitizeToFragment(i){const t=Ee(i),n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c=>this.nodeFilter(c),!1);let r=n.nextNode();const o=document.createDocumentFragment();let a=o;for(;r!==null;){let c;if(at(r))c=this.sanitizeTextNode(r);else if(ct(r))c=this.sanitizeElementNode(r);else throw new Error("Node is not of type text or element");if(a.appendChild(c),r=n.firstChild(),r)a=c;else for(;!(r=n.nextSibling())&&(r=n.parentNode());)a=a.parentNode}return o}sanitizeTextNode(i){return document.createTextNode(i.data)}sanitizeElementNode(i){const t=ot(i),n=document.createElement(t),r=i.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,t);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case d.KEEP:n.setAttribute(o,a);break;case d.KEEP_AND_SANITIZE_URL:const l=ve(a);l!==a&&this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${l}"`),n.setAttribute(o,l);break;case d.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case d.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case d.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Ce(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(i){if(at(i))return NodeFilter.FILTER_ACCEPT;if(!ct(i))return NodeFilter.FILTER_REJECT;const t=ot(i);return t===null?(this.recordChange(`Node name was null for node: ${i}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(t)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${t} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(i){this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(i,t){var n;if(!i)return!0;for(const[r,o]of i){const a=(n=t.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const it=(()=>new et(Pt,A))();function Se(e){return it.sanitize(e)}function we(e){return it.sanitizeAssertUnchanged(e)}function Te(e){return it.sanitizeToFragment(e)}function Ce(e,i=`unexpected value ${e}!`){throw new Error(i)}const Ie=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:et,sanitizeHtml:Se,sanitizeHtmlAssertUnchanged:we,sanitizeHtmlToFragment:Te},Symbol.toStringTag,{value:"Module"})),De=f.getAugmentedNamespace(Ie);/**
49
+ */class et{constructor(i,t){p(this,"sanitizerTable");p(this,"changes",[]);this.sanitizerTable=i,Kt(t)}sanitizeAssertUnchanged(i){this.changes=[];const t=this.sanitize(i);if(this.changes.length!==0){let n="";throw new Error(n)}return t}sanitize(i){const t=document.createElement("span");t.appendChild(this.sanitizeToFragment(i));let n=new XMLSerializer().serializeToString(t);return n=n.slice(n.indexOf(">")+1,n.lastIndexOf("</")),N(n)}sanitizeToFragment(i){const t=Ee(i),n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,c=>this.nodeFilter(c),!1);let r=n.nextNode();const o=document.createDocumentFragment();let a=o;for(;r!==null;){let c;if(at(r))c=this.sanitizeTextNode(r);else if(ct(r))c=this.sanitizeElementNode(r);else throw new Error("Node is not of type text or element");if(a.appendChild(c),r=n.firstChild(),r)a=c;else for(;!(r=n.nextSibling())&&(r=n.parentNode());)a=a.parentNode}return o}sanitizeTextNode(i){return document.createTextNode(i.data)}sanitizeElementNode(i){const t=ot(i),n=document.createElement(t),r=i.attributes;for(const{name:o,value:a}of r){const c=this.sanitizerTable.getAttributePolicy(o,t);if(!this.satisfiesAllConditions(c.conditions,r)){this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);continue}switch(c.policyAction){case d.KEEP:n.setAttribute(o,a);break;case d.KEEP_AND_SANITIZE_URL:const l=ve(a);l!==a&&this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${l}"`),n.setAttribute(o,l);break;case d.KEEP_AND_NORMALIZE:n.setAttribute(o,a.toLowerCase());break;case d.KEEP_AND_SANITIZE_STYLE:n.setAttribute(o,a);break;case d.DROP:this.recordChange(`Attribute: ${o} was dropped`);break;default:Ce(c.policyAction,"Unhandled AttributePolicyAction case")}}return n}nodeFilter(i){if(at(i))return NodeFilter.FILTER_ACCEPT;if(!ct(i))return NodeFilter.FILTER_REJECT;const t=ot(i);return t===null?(this.recordChange(`Node name was null for node: ${i}`),NodeFilter.FILTER_REJECT):this.sanitizerTable.isAllowedElement(t)?NodeFilter.FILTER_ACCEPT:(this.recordChange(`Element: ${t} was dropped`),NodeFilter.FILTER_REJECT)}recordChange(i){this.changes.length===0&&this.changes.push("")}satisfiesAllConditions(i,t){var n;if(!i)return!0;for(const[r,o]of i){const a=(n=t.getNamedItem(r))==null?void 0:n.value;if(a&&!o.has(a))return!1}return!0}}const it=new et(Ot,A);function Se(e){return it.sanitize(e)}function we(e){return it.sanitizeAssertUnchanged(e)}function Te(e){return it.sanitizeToFragment(e)}function Ce(e,i=`unexpected value ${e}!`){throw new Error(i)}const Ie=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerImpl:et,sanitizeHtml:Se,sanitizeHtmlAssertUnchanged:we,sanitizeHtmlToFragment:Te},Symbol.toStringTag,{value:"Module"})),De=f.getAugmentedNamespace(Ie);/**
50
50
  * @license
51
51
  * SPDX-License-Identifier: Apache-2.0
52
- */class Re{constructor(){p(this,"sanitizerTable");p(this,"calledBuild",!1);this.sanitizerTable=Pt}onlyAllowElements(i){const t=new Set,n=new Map;for(let r of i){if(r=r.toUpperCase(),!this.sanitizerTable.isAllowedElement(r))throw new Error(`Element: ${r}, is not allowed by html5_contract.textpb`);const o=this.sanitizerTable.elementPolicies.get(r);o!==void 0?n.set(r,o):t.add(r)}return this.sanitizerTable=new I(t,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(i){const t=new Set,n=new Map,r=new Map;for(const o of i)this.sanitizerTable.allowedGlobalAttributes.has(o)&&t.add(o),this.sanitizerTable.globalAttributePolicies.has(o)&&n.set(o,this.sanitizerTable.globalAttributePolicies.get(o));for(const[o,a]of this.sanitizerTable.elementPolicies.entries()){const c=new Map;for(const[l,m]of a.entries())i.has(l)&&c.set(l,m);r.set(o,c)}return this.sanitizerTable=new I(this.sanitizerTable.allowedElements,r,t,n),this}allowDataAttributes(i){const t=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of i){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);t.add(n)}return this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,t,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("style",{policyAction:d.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}allowClassAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("class",{policyAction:d.KEEP}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}allowIdAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("id",{policyAction:d.KEEP}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new et(this.sanitizerTable,A)}}const Oe=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Re},Symbol.toStringTag,{value:"Module"})),Ne=f.getAugmentedNamespace(Oe);/**
52
+ */class Re{constructor(){p(this,"sanitizerTable");p(this,"calledBuild",!1);this.sanitizerTable=Ot}onlyAllowElements(i){const t=new Set,n=new Map;for(let r of i){if(r=r.toUpperCase(),!this.sanitizerTable.isAllowedElement(r))throw new Error(`Element: ${r}, is not allowed by html5_contract.textpb`);const o=this.sanitizerTable.elementPolicies.get(r);o!==void 0?n.set(r,o):t.add(r)}return this.sanitizerTable=new I(t,n,this.sanitizerTable.allowedGlobalAttributes,this.sanitizerTable.globalAttributePolicies),this}onlyAllowAttributes(i){const t=new Set,n=new Map,r=new Map;for(const o of i)this.sanitizerTable.allowedGlobalAttributes.has(o)&&t.add(o),this.sanitizerTable.globalAttributePolicies.has(o)&&n.set(o,this.sanitizerTable.globalAttributePolicies.get(o));for(const[o,a]of this.sanitizerTable.elementPolicies.entries()){const c=new Map;for(const[l,m]of a.entries())i.has(l)&&c.set(l,m);r.set(o,c)}return this.sanitizerTable=new I(this.sanitizerTable.allowedElements,r,t,n),this}allowDataAttributes(i){const t=new Set(this.sanitizerTable.allowedGlobalAttributes);for(const n of i){if(n.indexOf("data-")!==0)throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);t.add(n)}return this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,t,this.sanitizerTable.globalAttributePolicies),this}allowStyleAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("style",{policyAction:d.KEEP_AND_SANITIZE_STYLE}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}allowClassAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("class",{policyAction:d.KEEP}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}allowIdAttributes(){const i=new Map(this.sanitizerTable.globalAttributePolicies);return i.set("id",{policyAction:d.KEEP}),this.sanitizerTable=new I(this.sanitizerTable.allowedElements,this.sanitizerTable.elementPolicies,this.sanitizerTable.allowedGlobalAttributes,i),this}build(){if(this.calledBuild)throw new Error("this sanitizer has already called build");return this.calledBuild=!0,new et(this.sanitizerTable,A)}}const Ne=Object.freeze(Object.defineProperty({__proto__:null,HtmlSanitizerBuilder:Re},Symbol.toStringTag,{value:"Module"})),Oe=f.getAugmentedNamespace(Ne);/**
53
53
  * @license
54
54
  * SPDX-License-Identifier: Apache-2.0
55
55
  */function Pe(e,...i){if(i.length===0)return F(e[0]);e[0].toLowerCase();const t=[e[0]];for(let n=0;n<i.length;n++)t.push(encodeURIComponent(i[n])),t.push(e[n+1]);return F(t.join(""))}function Le(e,i){let t=W(e).toString();if(/#/.test(t)){let r="";throw new Error(r)}let n=/\?/.test(t)?"&":"?";return i.forEach((r,o)=>{const a=r instanceof Array?r:[r];for(let c=0;c<a.length;c++){const l=a[c];l!=null&&(t+=n+encodeURIComponent(o)+"="+encodeURIComponent(String(l)),n="&")}}),F(t)}const Fe=/[^#]*/;function xe(e,i){const t=W(e).toString();return F(Fe.exec(t)[0]+"#"+i)}function Me(e){const i=q(e).toString(),t=new Blob([i],{type:"text/javascript"});return F(URL.createObjectURL(t))}const ze=Object.freeze(Object.defineProperty({__proto__:null,appendParams:Le,blobUrlFromScript:Me,replaceFragment:xe,trustedResourceUrl:Pe},Symbol.toStringTag,{value:"Module"})),Ue=f.getAugmentedNamespace(ze);/**
56
56
  * @license
57
57
  * SPDX-License-Identifier: Apache-2.0
58
- */function He(e){return U(e[0])}function ke(e){return U(e.map(q).join(""))}function Lt(e){return U(JSON.stringify(e).replace(/</g,"\\x3c"))}function Be(e,...i){return(...t)=>{const n=t.map(r=>Lt(r).toString());return U(`(${e.join("")})(${n.join(",")})`)}}const je=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:ke,safeScript:He,safeScriptWithArgs:Be,scriptFromJson:Lt},Symbol.toStringTag,{value:"Module"})),Ge=f.getAugmentedNamespace(je);/**
58
+ */function He(e){return U(e[0])}function ke(e){return U(e.map(q).join(""))}function Pt(e){return U(JSON.stringify(e).replace(/</g,"\\x3c"))}function Be(e,...i){return(...t)=>{const n=t.map(r=>Pt(r).toString());return U(`(${e.join("")})(${n.join(",")})`)}}const je=Object.freeze(Object.defineProperty({__proto__:null,concatScripts:ke,safeScript:He,safeScriptWithArgs:Be,scriptFromJson:Pt},Symbol.toStringTag,{value:"Module"})),Ge=f.getAugmentedNamespace(je);/**
59
59
  * @license
60
60
  * SPDX-License-Identifier: Apache-2.0
61
- */function Ke(e){const i=e[0];return tt(i)}function $e(e){return tt(e.map(Ot).join(""))}const We=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:$e,safeStyle:Ke},Symbol.toStringTag,{value:"Module"})),qe=f.getAugmentedNamespace(We);/**
61
+ */function Ke(e){const i=e[0];return tt(i)}function $e(e){return tt(e.map(Rt).join(""))}const We=Object.freeze(Object.defineProperty({__proto__:null,concatStyles:$e,safeStyle:Ke},Symbol.toStringTag,{value:"Module"})),qe=f.getAugmentedNamespace(We);/**
62
62
  * @license
63
63
  * SPDX-License-Identifier: Apache-2.0
64
- */class Ft{constructor(){p(this,"brand")}}class nt extends Ft{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedStyleSheet");this.privateDoNotAccessOrElseWrappedStyleSheet=t}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function rt(e){return new nt(e,A)}function Ye(e){return e instanceof nt}function xt(e){if(e instanceof nt)return e.privateDoNotAccessOrElseWrappedStyleSheet;{let i="";throw new Error(i)}}const Xe=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:Ft,createStyleSheet:rt,isStyleSheet:Ye,unwrapStyleSheet:xt},Symbol.toStringTag,{value:"Module"}));/**
64
+ */class Lt{constructor(){p(this,"brand")}}class nt extends Lt{constructor(t,n){super();p(this,"privateDoNotAccessOrElseWrappedStyleSheet");this.privateDoNotAccessOrElseWrappedStyleSheet=t}toString(){return this.privateDoNotAccessOrElseWrappedStyleSheet}}function rt(e){return new nt(e,A)}function Ye(e){return e instanceof nt}function Ft(e){if(e instanceof nt)return e.privateDoNotAccessOrElseWrappedStyleSheet;{let i="";throw new Error(i)}}const Xe=Object.freeze(Object.defineProperty({__proto__:null,SafeStyleSheet:Lt,createStyleSheet:rt,isStyleSheet:Ye,unwrapStyleSheet:Ft},Symbol.toStringTag,{value:"Module"}));/**
65
65
  * @license
66
66
  * SPDX-License-Identifier: Apache-2.0
67
- */function Ze(e){const i=e[0];return rt(i)}function Ve(e){return rt(e.map(xt).join(""))}const Je=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:Ve,safeStyleSheet:Ze},Symbol.toStringTag,{value:"Module"})),Qe=f.getAugmentedNamespace(Je),ti=f.getAugmentedNamespace(Wt),ei=f.getAugmentedNamespace(te),ii=f.getAugmentedNamespace(ne),ni=f.getAugmentedNamespace(ce),ri=f.getAugmentedNamespace(_e),oi=f.getAugmentedNamespace(Xe);(function(e){/**
67
+ */function Ze(e){const i=e[0];return rt(i)}function Ve(e){return rt(e.map(Ft).join(""))}const Je=Object.freeze(Object.defineProperty({__proto__:null,concatStyleSheets:Ve,safeStyleSheet:Ze},Symbol.toStringTag,{value:"Module"})),Qe=f.getAugmentedNamespace(Je),ti=f.getAugmentedNamespace($t),ei=f.getAugmentedNamespace(te),ii=f.getAugmentedNamespace(ne),ni=f.getAugmentedNamespace(ce),ri=f.getAugmentedNamespace(_e),oi=f.getAugmentedNamespace(Xe);(function(e){/**
68
68
  * @license
69
69
  * SPDX-License-Identifier: Apache-2.0
70
- */Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.SafeStyleSheet=e.isStyleSheet=e.unwrapStyle=e.SafeStyle=e.isStyle=e.unwrapScript=e.SafeScript=e.isScript=e.EMPTY_SCRIPT=e.unwrapResourceUrl=e.TrustedResourceUrl=e.isResourceUrl=e.unwrapHtml=e.SafeHtml=e.isHtml=e.EMPTY_HTML=e.unwrapAttributePrefix=e.SafeAttributePrefix=e.safeStyleSheet=e.concatStyleSheets=e.safeStyle=e.concatStyles=e.scriptFromJson=e.safeScriptWithArgs=e.safeScript=e.concatScripts=e.trustedResourceUrl=e.replaceFragment=e.blobUrlFromScript=e.appendParams=e.HtmlSanitizerBuilder=e.sanitizeHtmlToFragment=e.sanitizeHtmlAssertUnchanged=e.sanitizeHtml=e.htmlEscape=e.createScriptSrc=e.createScript=e.concatHtmls=e.safeAttrPrefix=void 0;var i=Xt;Object.defineProperty(e,"safeAttrPrefix",{enumerable:!0,get:function(){return i.safeAttrPrefix}});var t=he;Object.defineProperty(e,"concatHtmls",{enumerable:!0,get:function(){return t.concatHtmls}}),Object.defineProperty(e,"createScript",{enumerable:!0,get:function(){return t.createScript}}),Object.defineProperty(e,"createScriptSrc",{enumerable:!0,get:function(){return t.createScriptSrc}}),Object.defineProperty(e,"htmlEscape",{enumerable:!0,get:function(){return t.htmlEscape}});var n=De;Object.defineProperty(e,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(e,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(e,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=Ne;Object.defineProperty(e,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=Ue;Object.defineProperty(e,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(e,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(e,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(e,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=Ge;Object.defineProperty(e,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(e,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(e,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(e,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=qe;Object.defineProperty(e,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(e,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var l=Qe;Object.defineProperty(e,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(e,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var m=ti;Object.defineProperty(e,"SafeAttributePrefix",{enumerable:!0,get:function(){return m.SafeAttributePrefix}}),Object.defineProperty(e,"unwrapAttributePrefix",{enumerable:!0,get:function(){return m.unwrapAttributePrefix}});var g=ei;Object.defineProperty(e,"EMPTY_HTML",{enumerable:!0,get:function(){return g.EMPTY_HTML}}),Object.defineProperty(e,"isHtml",{enumerable:!0,get:function(){return g.isHtml}}),Object.defineProperty(e,"SafeHtml",{enumerable:!0,get:function(){return g.SafeHtml}}),Object.defineProperty(e,"unwrapHtml",{enumerable:!0,get:function(){return g.unwrapHtml}});var S=ii;Object.defineProperty(e,"isResourceUrl",{enumerable:!0,get:function(){return S.isResourceUrl}}),Object.defineProperty(e,"TrustedResourceUrl",{enumerable:!0,get:function(){return S.TrustedResourceUrl}}),Object.defineProperty(e,"unwrapResourceUrl",{enumerable:!0,get:function(){return S.unwrapResourceUrl}});var C=ni;Object.defineProperty(e,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return C.EMPTY_SCRIPT}}),Object.defineProperty(e,"isScript",{enumerable:!0,get:function(){return C.isScript}}),Object.defineProperty(e,"SafeScript",{enumerable:!0,get:function(){return C.SafeScript}}),Object.defineProperty(e,"unwrapScript",{enumerable:!0,get:function(){return C.unwrapScript}});var N=ri;Object.defineProperty(e,"isStyle",{enumerable:!0,get:function(){return N.isStyle}}),Object.defineProperty(e,"SafeStyle",{enumerable:!0,get:function(){return N.SafeStyle}}),Object.defineProperty(e,"unwrapStyle",{enumerable:!0,get:function(){return N.unwrapStyle}});var P=oi;Object.defineProperty(e,"isStyleSheet",{enumerable:!0,get:function(){return P.isStyleSheet}}),Object.defineProperty(e,"SafeStyleSheet",{enumerable:!0,get:function(){return P.SafeStyleSheet}}),Object.defineProperty(e,"unwrapStyleSheet",{enumerable:!0,get:function(){return P.unwrapStyleSheet}})})(w);/**
70
+ */Object.defineProperty(e,"__esModule",{value:!0}),e.unwrapStyleSheet=e.SafeStyleSheet=e.isStyleSheet=e.unwrapStyle=e.SafeStyle=e.isStyle=e.unwrapScript=e.SafeScript=e.isScript=e.EMPTY_SCRIPT=e.unwrapResourceUrl=e.TrustedResourceUrl=e.isResourceUrl=e.unwrapHtml=e.SafeHtml=e.isHtml=e.EMPTY_HTML=e.unwrapAttributePrefix=e.SafeAttributePrefix=e.safeStyleSheet=e.concatStyleSheets=e.safeStyle=e.concatStyles=e.scriptFromJson=e.safeScriptWithArgs=e.safeScript=e.concatScripts=e.trustedResourceUrl=e.replaceFragment=e.blobUrlFromScript=e.appendParams=e.HtmlSanitizerBuilder=e.sanitizeHtmlToFragment=e.sanitizeHtmlAssertUnchanged=e.sanitizeHtml=e.htmlEscape=e.createScriptSrc=e.createScript=e.concatHtmls=e.safeAttrPrefix=void 0;var i=Yt;Object.defineProperty(e,"safeAttrPrefix",{enumerable:!0,get:function(){return i.safeAttrPrefix}});var t=he;Object.defineProperty(e,"concatHtmls",{enumerable:!0,get:function(){return t.concatHtmls}}),Object.defineProperty(e,"createScript",{enumerable:!0,get:function(){return t.createScript}}),Object.defineProperty(e,"createScriptSrc",{enumerable:!0,get:function(){return t.createScriptSrc}}),Object.defineProperty(e,"htmlEscape",{enumerable:!0,get:function(){return t.htmlEscape}});var n=De;Object.defineProperty(e,"sanitizeHtml",{enumerable:!0,get:function(){return n.sanitizeHtml}}),Object.defineProperty(e,"sanitizeHtmlAssertUnchanged",{enumerable:!0,get:function(){return n.sanitizeHtmlAssertUnchanged}}),Object.defineProperty(e,"sanitizeHtmlToFragment",{enumerable:!0,get:function(){return n.sanitizeHtmlToFragment}});var r=Oe;Object.defineProperty(e,"HtmlSanitizerBuilder",{enumerable:!0,get:function(){return r.HtmlSanitizerBuilder}});var o=Ue;Object.defineProperty(e,"appendParams",{enumerable:!0,get:function(){return o.appendParams}}),Object.defineProperty(e,"blobUrlFromScript",{enumerable:!0,get:function(){return o.blobUrlFromScript}}),Object.defineProperty(e,"replaceFragment",{enumerable:!0,get:function(){return o.replaceFragment}}),Object.defineProperty(e,"trustedResourceUrl",{enumerable:!0,get:function(){return o.trustedResourceUrl}});var a=Ge;Object.defineProperty(e,"concatScripts",{enumerable:!0,get:function(){return a.concatScripts}}),Object.defineProperty(e,"safeScript",{enumerable:!0,get:function(){return a.safeScript}}),Object.defineProperty(e,"safeScriptWithArgs",{enumerable:!0,get:function(){return a.safeScriptWithArgs}}),Object.defineProperty(e,"scriptFromJson",{enumerable:!0,get:function(){return a.scriptFromJson}});var c=qe;Object.defineProperty(e,"concatStyles",{enumerable:!0,get:function(){return c.concatStyles}}),Object.defineProperty(e,"safeStyle",{enumerable:!0,get:function(){return c.safeStyle}});var l=Qe;Object.defineProperty(e,"concatStyleSheets",{enumerable:!0,get:function(){return l.concatStyleSheets}}),Object.defineProperty(e,"safeStyleSheet",{enumerable:!0,get:function(){return l.safeStyleSheet}});var m=ti;Object.defineProperty(e,"SafeAttributePrefix",{enumerable:!0,get:function(){return m.SafeAttributePrefix}}),Object.defineProperty(e,"unwrapAttributePrefix",{enumerable:!0,get:function(){return m.unwrapAttributePrefix}});var g=ei;Object.defineProperty(e,"EMPTY_HTML",{enumerable:!0,get:function(){return g.EMPTY_HTML}}),Object.defineProperty(e,"isHtml",{enumerable:!0,get:function(){return g.isHtml}}),Object.defineProperty(e,"SafeHtml",{enumerable:!0,get:function(){return g.SafeHtml}}),Object.defineProperty(e,"unwrapHtml",{enumerable:!0,get:function(){return g.unwrapHtml}});var S=ii;Object.defineProperty(e,"isResourceUrl",{enumerable:!0,get:function(){return S.isResourceUrl}}),Object.defineProperty(e,"TrustedResourceUrl",{enumerable:!0,get:function(){return S.TrustedResourceUrl}}),Object.defineProperty(e,"unwrapResourceUrl",{enumerable:!0,get:function(){return S.unwrapResourceUrl}});var C=ni;Object.defineProperty(e,"EMPTY_SCRIPT",{enumerable:!0,get:function(){return C.EMPTY_SCRIPT}}),Object.defineProperty(e,"isScript",{enumerable:!0,get:function(){return C.isScript}}),Object.defineProperty(e,"SafeScript",{enumerable:!0,get:function(){return C.SafeScript}}),Object.defineProperty(e,"unwrapScript",{enumerable:!0,get:function(){return C.unwrapScript}});var O=ri;Object.defineProperty(e,"isStyle",{enumerable:!0,get:function(){return O.isStyle}}),Object.defineProperty(e,"SafeStyle",{enumerable:!0,get:function(){return O.SafeStyle}}),Object.defineProperty(e,"unwrapStyle",{enumerable:!0,get:function(){return O.unwrapStyle}});var P=oi;Object.defineProperty(e,"isStyleSheet",{enumerable:!0,get:function(){return P.isStyleSheet}}),Object.defineProperty(e,"SafeStyleSheet",{enumerable:!0,get:function(){return P.SafeStyleSheet}}),Object.defineProperty(e,"unwrapStyleSheet",{enumerable:!0,get:function(){return P.unwrapStyleSheet}})})(w);/**
71
71
  * @license
72
72
  * Copyright 2016 Google Inc.
73
73
  *
@@ -88,7 +88,7 @@
88
88
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
89
89
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
90
90
  * THE SOFTWARE.
91
- */function ai(e){return String(e).replace(/\-([a-z])/g,function(i,t){return t.toUpperCase()})}var Mt=function(){function e(i,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=i,this.initialize.apply(this,s.__spreadArray([],s.__read(n))),this.foundation=t===void 0?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(i){return new e(i,new $.MDCFoundation({}))},e.prototype.initialize=function(){},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(i,t,n){this.root.addEventListener(i,t,n)},e.prototype.unlisten=function(i,t,n){this.root.removeEventListener(i,t,n)},e.prototype.emit=function(i,t,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(i,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(i,n,!1,t)),this.root.dispatchEvent(r)},e.prototype.safeSetAttribute=function(i,t,n){if(t.toLowerCase()==="tabindex")i.tabIndex=Number(n);else if(t.indexOf("data-")===0){var r=ai(t.replace(/^data-/,""));i.dataset[r]=n}else Nt([w.safeAttrPrefix(lt||(lt=s.__makeTemplateObject(["aria-"],["aria-"]))),w.safeAttrPrefix(st||(st=s.__makeTemplateObject(["role"],["role"])))],i,t,n)},e}(),lt,st;/**
91
+ */function ai(e){return String(e).replace(/\-([a-z])/g,function(i,t){return t.toUpperCase()})}var xt=function(){function e(i,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];this.root=i,this.initialize.apply(this,s.__spreadArray([],s.__read(n))),this.foundation=t===void 0?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(i){return new e(i,new $.MDCFoundation({}))},e.prototype.initialize=function(){},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(i,t,n){this.root.addEventListener(i,t,n)},e.prototype.unlisten=function(i,t,n){this.root.removeEventListener(i,t,n)},e.prototype.emit=function(i,t,n){n===void 0&&(n=!1);var r;typeof CustomEvent=="function"?r=new CustomEvent(i,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(i,n,!1,t)),this.root.dispatchEvent(r)},e.prototype.safeSetAttribute=function(i,t,n){if(t.toLowerCase()==="tabindex")i.tabIndex=Number(n);else if(t.indexOf("data-")===0){var r=ai(t.replace(/^data-/,""));i.dataset[r]=n}else Nt([w.safeAttrPrefix(lt||(lt=s.__makeTemplateObject(["aria-"],["aria-"]))),w.safeAttrPrefix(st||(st=s.__makeTemplateObject(["role"],["role"])))],i,t,n)},e}(),lt,st;/**
92
92
  * @license
93
93
  * Copyright 2018 Google Inc.
94
94
  *
@@ -109,7 +109,7 @@
109
109
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
110
110
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
111
111
  * THE SOFTWARE.
112
- */function ci(e,i){if(e.closest)return e.closest(i);for(var t=e;t;){if(zt(t,i))return t;t=t.parentElement}return null}function zt(e,i){var t=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return t.call(e,i)}/**
112
+ */function ci(e,i){if(e.closest)return e.closest(i);for(var t=e;t;){if(Mt(t,i))return t;t=t.parentElement}return null}function Mt(e,i){var t=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return t.call(e,i)}/**
113
113
  * @license
114
114
  * Copyright 2020 Google Inc.
115
115
  *
@@ -256,7 +256,7 @@
256
256
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
257
257
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
258
258
  * THE SOFTWARE.
259
- */var ut=["touchstart","pointerdown","mousedown","keydown"],pt=["touchend","pointerup","mouseup","contextmenu"],G=[],Ut=function(e){s.__extends(i,e);function i(t){var n=e.call(this,s.__assign(s.__assign({},i.defaultAdapter),t))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(r){n.activateImpl(r)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object.defineProperty(i,"cssClasses",{get:function(){return di},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return ui},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return dt},enumerable:!1,configurable:!0}),Object.defineProperty(i,"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}),i.prototype.init=function(){var t=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=i.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(o),t.adapter.isUnbounded()&&(t.adapter.addClass(a),t.layoutInternal())})}},i.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));var n=i.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(r),t.adapter.removeClass(o),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},i.prototype.activate=function(t){this.activateImpl(t)},i.prototype.deactivate=function(){this.deactivateImpl()},i.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},i.prototype.setUnbounded=function(t){var n=i.cssClasses.UNBOUNDED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},i.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){t.adapter.addClass(i.cssClasses.BG_FOCUSED)})},i.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){t.adapter.removeClass(i.cssClasses.BG_FOCUSED)})},i.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},i.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},i.prototype.registerRootHandlers=function(t){var n,r;if(t){try{for(var o=s.__values(ut),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},i.prototype.registerDeactivationHandlers=function(t){var n,r;if(t.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=s.__values(pt),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},i.prototype.deregisterRootHandlers=function(){var t,n;try{for(var r=s.__values(ut),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},i.prototype.deregisterDeactivationHandlers=function(){var t,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=s.__values(pt),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},i.prototype.removeCssVars=function(){var t=this,n=i.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&t.adapter.updateCssVariable(n[o],null)})},i.prototype.activateImpl=function(t){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&t!==void 0&&o.type!==t.type;if(!a){r.isActivated=!0,r.isProgrammatic=t===void 0,r.activationEvent=t,r.wasActivatedByPointer=r.isProgrammatic?!1:t!==void 0&&(t.type==="mousedown"||t.type==="touchstart"||t.type==="pointerdown");var c=t!==void 0&&G.length>0&&G.some(function(l){return n.adapter.containsEventTarget(l)});if(c){this.resetActivationState();return}t!==void 0&&(G.push(t.target),this.registerDeactivationHandlers(t)),r.wasElementMadeActive=this.checkElementMadeActive(t),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){G=[],!r.wasElementMadeActive&&t!==void 0&&(t.key===" "||t.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(t),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},i.prototype.checkElementMadeActive=function(t){return t!==void 0&&t.type==="keydown"?this.adapter.isSurfaceActive():!0},i.prototype.animateActivation=function(){var t=this,n=i.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=i.cssClasses,c=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,m=i.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var g="",S="";if(!this.adapter.isUnbounded()){var C=this.getFgTranslationCoordinates(),N=C.startPoint,P=C.endPoint;g=N.x+"px, "+N.y+"px",S=P.x+"px, "+P.y+"px"}this.adapter.updateCssVariable(r,g),this.adapter.updateCssVariable(o,S),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout(function(){t.activationTimerCallback()},m)},i.prototype.getFgTranslationCoordinates=function(){var t=this.activationState,n=t.activationEvent,r=t.wasActivatedByPointer,o;r?o=hi(n,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}},i.prototype.runDeactivationUXLogicIfReady=function(){var t=this,n=i.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated,c=o||!a;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){t.adapter.removeClass(n)},dt.FG_DEACTIVATION_MS))},i.prototype.rmBoundedActivationClasses=function(){var t=i.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},i.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return t.previousActivationEvent=void 0},i.numbers.TAP_DELAY_MS)},i.prototype.deactivateImpl=function(){var t=this,n=this.activationState;if(n.isActivated){var r=s.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){t.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(r),t.resetActivationState()}))}},i.prototype.animateDeactivation=function(t){var n=t.wasActivatedByPointer,r=t.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},i.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2));return a+i.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*i.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()},i.prototype.updateLayoutCssVars=function(){var t=i.strings,n=t.VAR_FG_SIZE,r=t.VAR_LEFT,o=t.VAR_TOP,a=t.VAR_FG_SCALE;this.adapter.updateCssVariable(n,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(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},i}($.MDCFoundation);/**
259
+ */var ut=["touchstart","pointerdown","mousedown","keydown"],pt=["touchend","pointerup","mouseup","contextmenu"],G=[],zt=function(e){s.__extends(i,e);function i(t){var n=e.call(this,s.__assign(s.__assign({},i.defaultAdapter),t))||this;return n.activationAnimationHasEnded=!1,n.activationTimer=0,n.fgDeactivationRemovalTimer=0,n.fgScale="0",n.frame={width:0,height:0},n.initialSize=0,n.layoutFrame=0,n.maxRadius=0,n.unboundedCoords={left:0,top:0},n.activationState=n.defaultActivationState(),n.activationTimerCallback=function(){n.activationAnimationHasEnded=!0,n.runDeactivationUXLogicIfReady()},n.activateHandler=function(r){n.activateImpl(r)},n.deactivateHandler=function(){n.deactivateImpl()},n.focusHandler=function(){n.handleFocus()},n.blurHandler=function(){n.handleBlur()},n.resizeHandler=function(){n.layout()},n}return Object.defineProperty(i,"cssClasses",{get:function(){return di},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return ui},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return dt},enumerable:!1,configurable:!0}),Object.defineProperty(i,"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}),i.prototype.init=function(){var t=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=i.cssClasses,o=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(o),t.adapter.isUnbounded()&&(t.adapter.addClass(a),t.layoutInternal())})}},i.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));var n=i.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(r),t.adapter.removeClass(o),t.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},i.prototype.activate=function(t){this.activateImpl(t)},i.prototype.deactivate=function(){this.deactivateImpl()},i.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){t.layoutInternal(),t.layoutFrame=0})},i.prototype.setUnbounded=function(t){var n=i.cssClasses.UNBOUNDED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},i.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){t.adapter.addClass(i.cssClasses.BG_FOCUSED)})},i.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){t.adapter.removeClass(i.cssClasses.BG_FOCUSED)})},i.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},i.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},i.prototype.registerRootHandlers=function(t){var n,r;if(t){try{for(var o=s.__values(ut),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},i.prototype.registerDeactivationHandlers=function(t){var n,r;if(t.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=s.__values(pt),a=o.next();!a.done;a=o.next()){var c=a.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},i.prototype.deregisterRootHandlers=function(){var t,n;try{for(var r=s.__values(ut),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},i.prototype.deregisterDeactivationHandlers=function(){var t,n;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var r=s.__values(pt),o=r.next();!o.done;o=r.next()){var a=o.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(c){t={error:c}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},i.prototype.removeCssVars=function(){var t=this,n=i.strings,r=Object.keys(n);r.forEach(function(o){o.indexOf("VAR_")===0&&t.adapter.updateCssVariable(n[o],null)})},i.prototype.activateImpl=function(t){var n=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var o=this.previousActivationEvent,a=o&&t!==void 0&&o.type!==t.type;if(!a){r.isActivated=!0,r.isProgrammatic=t===void 0,r.activationEvent=t,r.wasActivatedByPointer=r.isProgrammatic?!1:t!==void 0&&(t.type==="mousedown"||t.type==="touchstart"||t.type==="pointerdown");var c=t!==void 0&&G.length>0&&G.some(function(l){return n.adapter.containsEventTarget(l)});if(c){this.resetActivationState();return}t!==void 0&&(G.push(t.target),this.registerDeactivationHandlers(t)),r.wasElementMadeActive=this.checkElementMadeActive(t),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){G=[],!r.wasElementMadeActive&&t!==void 0&&(t.key===" "||t.keyCode===32)&&(r.wasElementMadeActive=n.checkElementMadeActive(t),r.wasElementMadeActive&&n.animateActivation()),r.wasElementMadeActive||(n.activationState=n.defaultActivationState())})}}}},i.prototype.checkElementMadeActive=function(t){return t!==void 0&&t.type==="keydown"?this.adapter.isSurfaceActive():!0},i.prototype.animateActivation=function(){var t=this,n=i.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,a=i.cssClasses,c=a.FG_DEACTIVATION,l=a.FG_ACTIVATION,m=i.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var g="",S="";if(!this.adapter.isUnbounded()){var C=this.getFgTranslationCoordinates(),O=C.startPoint,P=C.endPoint;g=O.x+"px, "+O.y+"px",S=P.x+"px, "+P.y+"px"}this.adapter.updateCssVariable(r,g),this.adapter.updateCssVariable(o,S),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer=setTimeout(function(){t.activationTimerCallback()},m)},i.prototype.getFgTranslationCoordinates=function(){var t=this.activationState,n=t.activationEvent,r=t.wasActivatedByPointer,o;r?o=hi(n,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}},i.prototype.runDeactivationUXLogicIfReady=function(){var t=this,n=i.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated,c=o||!a;c&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout(function(){t.adapter.removeClass(n)},dt.FG_DEACTIVATION_MS))},i.prototype.rmBoundedActivationClasses=function(){var t=i.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},i.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return t.previousActivationEvent=void 0},i.numbers.TAP_DELAY_MS)},i.prototype.deactivateImpl=function(){var t=this,n=this.activationState;if(n.isActivated){var r=s.__assign({},n);n.isProgrammatic?(requestAnimationFrame(function(){t.animateDeactivation(r)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(r),t.resetActivationState()}))}},i.prototype.animateDeactivation=function(t){var n=t.wasActivatedByPointer,r=t.wasElementMadeActive;(n||r)&&this.runDeactivationUXLogicIfReady()},i.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width),r=function(){var a=Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2));return a+i.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?n:r();var o=Math.floor(n*i.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()},i.prototype.updateLayoutCssVars=function(){var t=i.strings,n=t.VAR_FG_SIZE,r=t.VAR_LEFT,o=t.VAR_TOP,a=t.VAR_FG_SCALE;this.adapter.updateCssVariable(n,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(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},i}($.MDCFoundation);/**
260
260
  * @license
261
261
  * Copyright 2016 Google Inc.
262
262
  *
@@ -277,7 +277,7 @@
277
277
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
278
278
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
279
279
  * THE SOFTWARE.
280
- */var ht=function(e){s.__extends(i,e);function i(){var t=e!==null&&e.apply(this,arguments)||this;return t.disabled=!1,t}return i.attachTo=function(t,n){n===void 0&&(n={isUnbounded:void 0});var r=new i(t);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},i.createAdapter=function(t){return{addClass:function(n){t.root.classList.add(n)},browserSupportsCssVars:function(){return pi(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(n){return t.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,B())},deregisterInteractionHandler:function(n,r){t.root.removeEventListener(n,r,B())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return zt(t.root,":active")},isSurfaceDisabled:function(){return!!t.disabled},isUnbounded:function(){return!!t.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,B())},registerInteractionHandler:function(n,r){t.root.addEventListener(n,r,B())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){t.root.classList.remove(n)},updateCssVariable:function(n,r){t.root.style.setProperty(n,r)}}},Object.defineProperty(i.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(t){this.isUnbounded=!!t,this.setUnbounded()},enumerable:!1,configurable:!0}),i.prototype.activate=function(){this.foundation.activate()},i.prototype.deactivate=function(){this.foundation.deactivate()},i.prototype.layout=function(){this.foundation.layout()},i.prototype.getDefaultFoundation=function(){return new Ut(i.createAdapter(this))},i.prototype.initialSyncWithDOM=function(){var t=this.root;this.isUnbounded="mdcRippleIsUnbounded"in t.dataset},i.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},i}(Mt);/**
280
+ */var ht=function(e){s.__extends(i,e);function i(){var t=e!==null&&e.apply(this,arguments)||this;return t.disabled=!1,t}return i.attachTo=function(t,n){n===void 0&&(n={isUnbounded:void 0});var r=new i(t);return n.isUnbounded!==void 0&&(r.unbounded=n.isUnbounded),r},i.createAdapter=function(t){return{addClass:function(n){t.root.classList.add(n)},browserSupportsCssVars:function(){return pi(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(n){return t.root.contains(n)},deregisterDocumentInteractionHandler:function(n,r){document.documentElement.removeEventListener(n,r,B())},deregisterInteractionHandler:function(n,r){t.root.removeEventListener(n,r,B())},deregisterResizeHandler:function(n){window.removeEventListener("resize",n)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return Mt(t.root,":active")},isSurfaceDisabled:function(){return!!t.disabled},isUnbounded:function(){return!!t.unbounded},registerDocumentInteractionHandler:function(n,r){document.documentElement.addEventListener(n,r,B())},registerInteractionHandler:function(n,r){t.root.addEventListener(n,r,B())},registerResizeHandler:function(n){window.addEventListener("resize",n)},removeClass:function(n){t.root.classList.remove(n)},updateCssVariable:function(n,r){t.root.style.setProperty(n,r)}}},Object.defineProperty(i.prototype,"unbounded",{get:function(){return!!this.isUnbounded},set:function(t){this.isUnbounded=!!t,this.setUnbounded()},enumerable:!1,configurable:!0}),i.prototype.activate=function(){this.foundation.activate()},i.prototype.deactivate=function(){this.foundation.deactivate()},i.prototype.layout=function(){this.foundation.layout()},i.prototype.getDefaultFoundation=function(){return new zt(i.createAdapter(this))},i.prototype.initialSyncWithDOM=function(){var t=this.root;this.isUnbounded="mdcRippleIsUnbounded"in t.dataset},i.prototype.setUnbounded=function(){this.foundation.setUnbounded(!!this.isUnbounded)},i}(xt);/**
281
281
  * @license
282
282
  * Copyright 2020 Google Inc.
283
283
  *
@@ -319,7 +319,7 @@
319
319
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
320
320
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
321
321
  * THE SOFTWARE.
322
- */var H=new Map;H.set(v.KEY.SPACEBAR,y.SPACEBAR_KEY);H.set(v.KEY.ENTER,y.ENTER_KEY);H.set(v.KEY.DELETE,y.DELETE_KEY);H.set(v.KEY.BACKSPACE,y.BACKSPACE_KEY);var Ht=function(e){s.__extends(i,e);function i(t){return e.call(this,s.__assign(s.__assign({},i.defaultAdapter),t))||this}return Object.defineProperty(i,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),i.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(y.CLICK)},i.prototype.handleKeydown=function(t){var n=v.normalizeKey(t);if(this.shouldNotifyInteractionFromKey(n)){t.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(v.isNavigationEvent(t)){t.preventDefault(),this.emitNavigation(n);return}return!0},i.prototype.setDisabled=function(t){if(this.isSelectable()){this.adapter.setAttribute(h.ARIA_DISABLED,""+t);return}t?this.adapter.setAttribute(h.DISABLED,"true"):this.adapter.removeAttribute(h.DISABLED)},i.prototype.isDisabled=function(){return this.adapter.getAttribute(h.ARIA_DISABLED)==="true"||this.adapter.getAttribute(h.DISABLED)!==null},i.prototype.setFocus=function(t){if(this.isFocusable()){if(t===exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(h.TAB_INDEX,"0"),this.adapter.focus();return}if(t===exports.MDCChipActionFocusBehavior.FOCUSABLE){this.adapter.setAttribute(h.TAB_INDEX,"0");return}if(t===exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE){this.adapter.setAttribute(h.TAB_INDEX,"-1");return}}},i.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(h.ARIA_HIDDEN)==="true")},i.prototype.setSelected=function(t){this.isSelectable()&&this.adapter.setAttribute(h.ARIA_SELECTED,""+t)},i.prototype.isSelected=function(){return this.adapter.getAttribute(h.ARIA_SELECTED)==="true"},i.prototype.emitInteraction=function(t){this.adapter.emitEvent(x.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:t})},i.prototype.emitNavigation=function(t){this.adapter.emitEvent(x.NAVIGATION,{source:this.actionType(),key:t})},i.prototype.shouldNotifyInteractionFromKey=function(t){var n=t===v.KEY.ENTER||t===v.KEY.SPACEBAR,r=t===v.KEY.BACKSPACE||t===v.KEY.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},i.prototype.getTriggerFromKey=function(t){var n=H.get(t);return n||y.UNSPECIFIED},i}($.MDCFoundation);/**
322
+ */var H=new Map;H.set(v.KEY.SPACEBAR,y.SPACEBAR_KEY);H.set(v.KEY.ENTER,y.ENTER_KEY);H.set(v.KEY.DELETE,y.DELETE_KEY);H.set(v.KEY.BACKSPACE,y.BACKSPACE_KEY);var Ut=function(e){s.__extends(i,e);function i(t){return e.call(this,s.__assign(s.__assign({},i.defaultAdapter),t))||this}return Object.defineProperty(i,"defaultAdapter",{get:function(){return{emitEvent:function(){},focus:function(){},getAttribute:function(){return null},getElementID:function(){return""},removeAttribute:function(){},setAttribute:function(){}}},enumerable:!1,configurable:!0}),i.prototype.handleClick=function(){this.isDisabled()||this.emitInteraction(y.CLICK)},i.prototype.handleKeydown=function(t){var n=v.normalizeKey(t);if(this.shouldNotifyInteractionFromKey(n)){t.preventDefault(),this.emitInteraction(this.getTriggerFromKey(n));return}if(v.isNavigationEvent(t)){t.preventDefault(),this.emitNavigation(n);return}return!0},i.prototype.setDisabled=function(t){if(this.isSelectable()){this.adapter.setAttribute(h.ARIA_DISABLED,""+t);return}t?this.adapter.setAttribute(h.DISABLED,"true"):this.adapter.removeAttribute(h.DISABLED)},i.prototype.isDisabled=function(){return this.adapter.getAttribute(h.ARIA_DISABLED)==="true"||this.adapter.getAttribute(h.DISABLED)!==null},i.prototype.setFocus=function(t){if(this.isFocusable()){if(t===exports.MDCChipActionFocusBehavior.FOCUSABLE_AND_FOCUSED){this.adapter.setAttribute(h.TAB_INDEX,"0"),this.adapter.focus();return}if(t===exports.MDCChipActionFocusBehavior.FOCUSABLE){this.adapter.setAttribute(h.TAB_INDEX,"0");return}if(t===exports.MDCChipActionFocusBehavior.NOT_FOCUSABLE){this.adapter.setAttribute(h.TAB_INDEX,"-1");return}}},i.prototype.isFocusable=function(){return!(this.isDisabled()||this.adapter.getAttribute(h.ARIA_HIDDEN)==="true")},i.prototype.setSelected=function(t){this.isSelectable()&&this.adapter.setAttribute(h.ARIA_SELECTED,""+t)},i.prototype.isSelected=function(){return this.adapter.getAttribute(h.ARIA_SELECTED)==="true"},i.prototype.emitInteraction=function(t){this.adapter.emitEvent(x.INTERACTION,{actionID:this.adapter.getElementID(),source:this.actionType(),trigger:t})},i.prototype.emitNavigation=function(t){this.adapter.emitEvent(x.NAVIGATION,{source:this.actionType(),key:t})},i.prototype.shouldNotifyInteractionFromKey=function(t){var n=t===v.KEY.ENTER||t===v.KEY.SPACEBAR,r=t===v.KEY.BACKSPACE||t===v.KEY.DELETE;return!!(n||r&&this.shouldEmitInteractionOnRemoveKey())},i.prototype.getTriggerFromKey=function(t){var n=H.get(t);return n||y.UNSPECIFIED},i}($.MDCFoundation);/**
323
323
  * @license
324
324
  * Copyright 2020 Google Inc.
325
325
  *
@@ -340,7 +340,7 @@
340
340
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
341
341
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
342
342
  * THE SOFTWARE.
343
- */var vi=function(e){s.__extends(i,e);function i(){return e!==null&&e.apply(this,arguments)||this}return i.prototype.isSelectable=function(){return this.adapter.getAttribute(h.ROLE)==="option"},i.prototype.actionType=function(){return exports.MDCChipActionType.PRIMARY},i.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(h.DATA_DELETABLE)==="true"},i}(Ht);/**
343
+ */var vi=function(e){s.__extends(i,e);function i(){return e!==null&&e.apply(this,arguments)||this}return i.prototype.isSelectable=function(){return this.adapter.getAttribute(h.ROLE)==="option"},i.prototype.actionType=function(){return exports.MDCChipActionType.PRIMARY},i.prototype.shouldEmitInteractionOnRemoveKey=function(){return this.adapter.getAttribute(h.DATA_DELETABLE)==="true"},i}(Ut);/**
344
344
  * @license
345
345
  * Copyright 2020 Google Inc.
346
346
  *
@@ -361,7 +361,7 @@
361
361
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
362
362
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
363
363
  * THE SOFTWARE.
364
- */var gi=function(e){s.__extends(i,e);function i(){return e!==null&&e.apply(this,arguments)||this}return i.prototype.isSelectable=function(){return!1},i.prototype.actionType=function(){return exports.MDCChipActionType.TRAILING},i.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},i}(Ht);/**
364
+ */var gi=function(e){s.__extends(i,e);function i(){return e!==null&&e.apply(this,arguments)||this}return i.prototype.isSelectable=function(){return!1},i.prototype.actionType=function(){return exports.MDCChipActionType.TRAILING},i.prototype.shouldEmitInteractionOnRemoveKey=function(){return!0},i}(Ut);/**
365
365
  * @license
366
366
  * Copyright 2020 Google Inc.
367
367
  *
@@ -382,9 +382,9 @@
382
382
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
383
383
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
384
384
  * THE SOFTWARE.
385
- */var _i=[w.safeAttrPrefix(mt||(mt=s.__makeTemplateObject(["aria-"],["aria-"]))),w.safeAttrPrefix(ft||(ft=s.__makeTemplateObject(["data-"],["data-"]))),w.safeAttrPrefix(vt||(vt=s.__makeTemplateObject(["disabled"],["disabled"]))),w.safeAttrPrefix(gt||(gt=s.__makeTemplateObject(["role"],["role"]))),w.safeAttrPrefix(_t||(_t=s.__makeTemplateObject(["tabindex"],["tabindex"])))],yi=function(e){s.__extends(i,e);function i(){var t=e!==null&&e.apply(this,arguments)||this;return t.rootHTML=t.root,t}return i.attachTo=function(t){return new i(t)},Object.defineProperty(i.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),i.prototype.initialize=function(t){var n=this;t===void 0&&(t=function(o,a){return new ht(o,a)});var r=s.__assign(s.__assign({},ht.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=t(this.root,new Ut(r))},i.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.handleKeydown=function(n){t.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},i.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),e.prototype.destroy.call(this)},i.prototype.getDefaultFoundation=function(){var t=this,n={emitEvent:function(r,o){t.emit(r,o,!0)},focus:function(){t.rootHTML.focus()},getAttribute:function(r){return t.root.getAttribute(r)},getElementID:function(){return t.root.id},removeAttribute:function(r){t.root.removeAttribute(r)},setAttribute:function(r,o){Nt(_i,t.root,r,o)}};return this.root.classList.contains(z.TRAILING_ACTION)?new gi(n):new vi(n)},i.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},i.prototype.isDisabled=function(){return this.foundation.isDisabled()},i.prototype.setFocus=function(t){this.foundation.setFocus(t)},i.prototype.isFocusable=function(){return this.foundation.isFocusable()},i.prototype.setSelected=function(t){this.foundation.setSelected(t)},i.prototype.isSelected=function(){return this.foundation.isSelected()},i.prototype.isSelectable=function(){return this.foundation.isSelectable()},i.prototype.actionType=function(){return this.foundation.actionType()},i.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(z.PRIMARY_ACTION)){var t=ci(this.root,"."+z.CHIP_ROOT);if(!t)return this.root.getBoundingClientRect();var n=window.getComputedStyle(t).getPropertyValue(fi);return mi(t.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},i}(Mt),mt,ft,vt,gt,_t,bi=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,T=(e,i,t,n)=>{for(var r=n>1?void 0:n?Ai(i,t):i,o=e.length-1,a;o>=0;o--)(a=e[o])&&(r=(n?a(i,t,r):a(r))||r);return n&&r&&bi(i,t,r),r};let Ei=0;class E extends b.s{constructor(){super(),this.mdcFoundationClass=li,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Ei++}render(){const i={"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",positive:this.state==="positive",negative:this.state==="negative",caution:this.state==="caution"};return b.x`
385
+ */var _i=[w.safeAttrPrefix(mt||(mt=s.__makeTemplateObject(["aria-"],["aria-"]))),w.safeAttrPrefix(ft||(ft=s.__makeTemplateObject(["data-"],["data-"]))),w.safeAttrPrefix(vt||(vt=s.__makeTemplateObject(["disabled"],["disabled"]))),w.safeAttrPrefix(gt||(gt=s.__makeTemplateObject(["role"],["role"]))),w.safeAttrPrefix(_t||(_t=s.__makeTemplateObject(["tabindex"],["tabindex"])))],yi=function(e){s.__extends(i,e);function i(){var t=e!==null&&e.apply(this,arguments)||this;return t.rootHTML=t.root,t}return i.attachTo=function(t){return new i(t)},Object.defineProperty(i.prototype,"ripple",{get:function(){return this.rippleInstance},enumerable:!1,configurable:!0}),i.prototype.initialize=function(t){var n=this;t===void 0&&(t=function(o,a){return new ht(o,a)});var r=s.__assign(s.__assign({},ht.createAdapter(this)),{computeBoundingRect:function(){return n.computeRippleClientRect()}});this.rippleInstance=t(this.root,new zt(r))},i.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.handleKeydown=function(n){t.foundation.handleKeydown(n)},this.listen("click",this.handleClick),this.listen("keydown",this.handleKeydown)},i.prototype.destroy=function(){this.ripple.destroy(),this.unlisten("click",this.handleClick),this.unlisten("keydown",this.handleKeydown),e.prototype.destroy.call(this)},i.prototype.getDefaultFoundation=function(){var t=this,n={emitEvent:function(r,o){t.emit(r,o,!0)},focus:function(){t.rootHTML.focus()},getAttribute:function(r){return t.root.getAttribute(r)},getElementID:function(){return t.root.id},removeAttribute:function(r){t.root.removeAttribute(r)},setAttribute:function(r,o){Nt(_i,t.root,r,o)}};return this.root.classList.contains(z.TRAILING_ACTION)?new gi(n):new vi(n)},i.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},i.prototype.isDisabled=function(){return this.foundation.isDisabled()},i.prototype.setFocus=function(t){this.foundation.setFocus(t)},i.prototype.isFocusable=function(){return this.foundation.isFocusable()},i.prototype.setSelected=function(t){this.foundation.setSelected(t)},i.prototype.isSelected=function(){return this.foundation.isSelected()},i.prototype.isSelectable=function(){return this.foundation.isSelectable()},i.prototype.actionType=function(){return this.foundation.actionType()},i.prototype.computeRippleClientRect=function(){if(this.root.classList.contains(z.PRIMARY_ACTION)){var t=ci(this.root,"."+z.CHIP_ROOT);if(!t)return this.root.getBoundingClientRect();var n=window.getComputedStyle(t).getPropertyValue(fi);return mi(t.getBoundingClientRect(),n)}return this.root.getBoundingClientRect()},i}(xt),mt,ft,vt,gt,_t,bi=Object.defineProperty,T=(e,i,t,n)=>{for(var r=void 0,o=e.length-1,a;o>=0;o--)(a=e[o])&&(r=a(i,t,r)||r);return r&&bi(i,t,r),r};let Ai=0;class E extends b.s{constructor(){super(),this.mdcFoundationClass=li,this.label="",this.icon="",this.trailingIcon=!1,this.avatar=!1,this.disabled=!1,this.filter=!1,this.chipId=Ai++}render(){const i={"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",positive:this.state==="positive",negative:this.state==="negative",caution:this.state==="caution"};return b.x`
386
386
  <span
387
- class="${Kt.o(i)}"
387
+ class="${Gt.o(i)}"
388
388
  role="${this.filter?"presentation":"row"}"
389
389
  id="cv-chip-${this.chipId}"
390
390
  >
@@ -437,7 +437,6 @@
437
437
  ></span>
438
438
  ${this.renderIcon(!0)}
439
439
  </button>
440
- </span>`}createAdapter(){return{...jt.addHasRemoveClass(this.mdcRoot),emitEvent:(i,t)=>this.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:t})),getActions:()=>{const i=[];for(const[t]of this.actions)i.push(t);return i},getAttribute:i=>this.mdcRoot.getAttribute(i),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:i=>this.mdcRoot.classList.contains(i),isActionSelectable:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isSelectable())??!0},isActionSelected:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isSelected())??!1},isActionFocusable:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isFocusable())??!0},isActionDisabled:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setDisabled(t)},setActionFocus:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setFocus(t)},setActionSelected:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setSelected(t)},setStyleProperty:(i,t)=>this.mdcRoot.style.setProperty(i,t)}}getActions(){var i;return((i=this.mdcFoundation)==null?void 0:i.getActions())??[]}getElementID(){var i;return((i=this.mdcFoundation)==null?void 0:i.getElementID())??""}isActionFocusable(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionFocusable(i))??!1}isActionSelectable(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionSelectable(i))??!1}isActionSelected(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionSelected(i))??!1}setActionFocus(i,t){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(i,t)}setActionSelected(i,t){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(i,t)}startAnimation(i){var t;return(t=this.mdcFoundation)==null?void 0:t.startAnimation(i)}}T([Gt.i(".mdc-evolution-chip")],E.prototype,"mdcRoot",2);T([R.n()],E.prototype,"label",2);T([R.n({type:String})],E.prototype,"icon",2);T([R.n({type:Boolean,reflect:!0})],E.prototype,"trailingIcon",2);T([R.n({type:Boolean,reflect:!0})],E.prototype,"avatar",2);T([R.n({type:Boolean,reflect:!0})],E.prototype,"disabled",2);T([R.n({type:Boolean,reflect:!0})],E.prototype,"filter",2);T([R.n()],E.prototype,"state",2);const Si=`.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(--cv-theme-surface-container)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--cv-theme-on-surface-container)}.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.positive{background-color:var(--cv-theme-surface-positive)}.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)}
441
- `;var wi=Object.defineProperty,Ti=Object.getOwnPropertyDescriptor,Ci=(e,i,t,n)=>{for(var r=n>1?void 0:n?Ti(i,t):i,o=e.length-1,a;o>=0;o--)(a=e[o])&&(r=(n?a(i,t,r):a(r))||r);return n&&r&&wi(i,t,r),r};exports.CovalentChip=class extends E{};exports.CovalentChip.styles=[b.i`
442
- ${b.r(Si)}
443
- `];exports.CovalentChip=Ci([b.e("cv-chip")],exports.CovalentChip);const Ii=exports.CovalentChip;exports.CovalentChip$1=Ii;
440
+ </span>`}createAdapter(){return{...Bt.addHasRemoveClass(this.mdcRoot),emitEvent:(i,t)=>this.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:t})),getActions:()=>{const i=[];for(const[t]of this.actions)i.push(t);return i},getAttribute:i=>this.mdcRoot.getAttribute(i),getElementID:()=>this.mdcRoot.getAttribute("id")??"",getOffsetWidth:()=>this.mdcRoot.offsetWidth,hasClass:i=>this.mdcRoot.classList.contains(i),isActionSelectable:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isSelectable())??!0},isActionSelected:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isSelected())??!1},isActionFocusable:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isFocusable())??!0},isActionDisabled:i=>{var t;return((t=this.actions.get(i))==null?void 0:t.isDisabled())??!1},isRTL:()=>window.getComputedStyle(this.mdcRoot).getPropertyValue("direction")==="rtl",setActionDisabled:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setDisabled(t)},setActionFocus:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setFocus(t)},setActionSelected:(i,t)=>{var n;return(n=this.actions.get(i))==null?void 0:n.setSelected(t)},setStyleProperty:(i,t)=>this.mdcRoot.style.setProperty(i,t)}}getActions(){var i;return((i=this.mdcFoundation)==null?void 0:i.getActions())??[]}getElementID(){var i;return((i=this.mdcFoundation)==null?void 0:i.getElementID())??""}isActionFocusable(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionFocusable(i))??!1}isActionSelectable(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionSelectable(i))??!1}isActionSelected(i){var t;return((t=this.mdcFoundation)==null?void 0:t.isActionSelected(i))??!1}setActionFocus(i,t){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionFocus(i,t)}setActionSelected(i,t){var n;return(n=this.mdcFoundation)==null?void 0:n.setActionSelected(i,t)}startAnimation(i){var t;return(t=this.mdcFoundation)==null?void 0:t.startAnimation(i)}}T([jt.i(".mdc-evolution-chip")],E.prototype,"mdcRoot");T([R.n()],E.prototype,"label");T([R.n({type:String})],E.prototype,"icon");T([R.n({type:Boolean,reflect:!0})],E.prototype,"trailingIcon");T([R.n({type:Boolean,reflect:!0})],E.prototype,"avatar");T([R.n({type:Boolean,reflect:!0})],E.prototype,"disabled");T([R.n({type:Boolean,reflect:!0})],E.prototype,"filter");T([R.n()],E.prototype,"state");const Ei='.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(--cv-theme-surface-container)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--cv-theme-on-surface-container)}.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.positive{background-color:var(--cv-theme-surface-positive)}.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)}';var Si=Object.defineProperty,wi=Object.getOwnPropertyDescriptor,Ti=(e,i,t,n)=>{for(var r=n>1?void 0:n?wi(i,t):i,o=e.length-1,a;o>=0;o--)(a=e[o])&&(r=(n?a(i,t,r):a(r))||r);return n&&r&&Si(i,t,r),r};exports.CovalentChip=class extends E{};exports.CovalentChip.styles=[b.i`
441
+ ${b.r(Ei)}
442
+ `];exports.CovalentChip=Ti([b.e("cv-chip")],exports.CovalentChip);const Ci=exports.CovalentChip;exports.CovalentChip$1=Ci;