@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.10

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 (598) hide show
  1. package/.turbo/cache/026e4d886ba97e63-meta.json +1 -0
  2. package/.turbo/cache/026e4d886ba97e63.tar.zst +0 -0
  3. package/.turbo/cache/080ca6155e637d5d-meta.json +1 -0
  4. package/.turbo/cache/080ca6155e637d5d.tar.zst +0 -0
  5. package/.turbo/cache/0b115e30ff606299-meta.json +1 -0
  6. package/.turbo/cache/0b115e30ff606299.tar.zst +0 -0
  7. package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
  8. package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
  9. package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
  10. package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
  11. package/.turbo/cache/1c630fb3411e4a41-meta.json +1 -0
  12. package/.turbo/cache/1c630fb3411e4a41.tar.zst +0 -0
  13. package/.turbo/cache/24b19ac5895e5dd6-meta.json +1 -0
  14. package/.turbo/cache/24b19ac5895e5dd6.tar.zst +0 -0
  15. package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
  16. package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
  17. package/.turbo/cache/29b72c73cbccb53d-meta.json +1 -0
  18. package/.turbo/cache/29b72c73cbccb53d.tar.zst +0 -0
  19. package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
  20. package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
  21. package/.turbo/cache/3e647c5863d32e6f-meta.json +1 -0
  22. package/.turbo/cache/3e647c5863d32e6f.tar.zst +0 -0
  23. package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
  24. package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
  25. package/.turbo/cache/43f5206cc4e69b44-meta.json +1 -0
  26. package/.turbo/cache/43f5206cc4e69b44.tar.zst +0 -0
  27. package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
  28. package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
  29. package/.turbo/cache/4a85ec226b585fd5-meta.json +1 -0
  30. package/.turbo/cache/4a85ec226b585fd5.tar.zst +0 -0
  31. package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
  32. package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
  33. package/.turbo/cache/50a29c70b93c57dd-meta.json +1 -0
  34. package/.turbo/cache/50a29c70b93c57dd.tar.zst +0 -0
  35. package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
  36. package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
  37. package/.turbo/cache/56455145cd768755-meta.json +1 -0
  38. package/.turbo/cache/56455145cd768755.tar.zst +0 -0
  39. package/.turbo/cache/5c06332cf9f132da-meta.json +1 -0
  40. package/.turbo/cache/5c06332cf9f132da.tar.zst +0 -0
  41. package/.turbo/cache/5e613afc6868d0e2-meta.json +1 -0
  42. package/.turbo/cache/5e613afc6868d0e2.tar.zst +0 -0
  43. package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
  44. package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
  45. package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
  46. package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
  47. package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
  48. package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
  49. package/.turbo/cache/639dac15b979bedc-meta.json +1 -0
  50. package/.turbo/cache/639dac15b979bedc.tar.zst +0 -0
  51. package/.turbo/cache/664c2e08614fd212-meta.json +1 -0
  52. package/.turbo/cache/664c2e08614fd212.tar.zst +0 -0
  53. package/.turbo/cache/6c51b0ebfc086faa-meta.json +1 -0
  54. package/.turbo/cache/6c51b0ebfc086faa.tar.zst +0 -0
  55. package/.turbo/cache/7216d994164825fb-meta.json +1 -0
  56. package/.turbo/cache/7216d994164825fb.tar.zst +0 -0
  57. package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
  58. package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
  59. package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
  60. package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
  61. package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
  62. package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
  63. package/.turbo/cache/83a167e135cb431a-meta.json +1 -0
  64. package/.turbo/cache/83a167e135cb431a.tar.zst +0 -0
  65. package/.turbo/cache/8af27c076dc010c3-meta.json +1 -0
  66. package/.turbo/cache/8af27c076dc010c3.tar.zst +0 -0
  67. package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
  68. package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
  69. package/.turbo/cache/953c8216249d3509-meta.json +1 -0
  70. package/.turbo/cache/953c8216249d3509.tar.zst +0 -0
  71. package/.turbo/cache/95a5e76ffd8c5110-meta.json +1 -0
  72. package/.turbo/cache/95a5e76ffd8c5110.tar.zst +0 -0
  73. package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
  74. package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
  75. package/.turbo/cache/a8b0fa0a9aa707c5-meta.json +1 -0
  76. package/.turbo/cache/a8b0fa0a9aa707c5.tar.zst +0 -0
  77. package/.turbo/cache/b22ca87b2f7f9cc2-meta.json +1 -0
  78. package/.turbo/cache/b22ca87b2f7f9cc2.tar.zst +0 -0
  79. package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
  80. package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
  81. package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
  82. package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
  83. package/.turbo/cache/b7bbe2e7d44b77f0-meta.json +1 -0
  84. package/.turbo/cache/b7bbe2e7d44b77f0.tar.zst +0 -0
  85. package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
  86. package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
  87. package/.turbo/cache/c2b51643f886a493-meta.json +1 -0
  88. package/.turbo/cache/c2b51643f886a493.tar.zst +0 -0
  89. package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
  90. package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
  91. package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
  92. package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
  93. package/.turbo/cache/c74d369a0475b124-meta.json +1 -0
  94. package/.turbo/cache/c74d369a0475b124.tar.zst +0 -0
  95. package/.turbo/cache/c7f5a276ddb73cf7-meta.json +1 -0
  96. package/.turbo/cache/c7f5a276ddb73cf7.tar.zst +0 -0
  97. package/.turbo/cache/c96933d40404e4c8-meta.json +1 -0
  98. package/.turbo/cache/c96933d40404e4c8.tar.zst +0 -0
  99. package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
  100. package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
  101. package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
  102. package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
  103. package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
  104. package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
  105. package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
  106. package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
  107. package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
  108. package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
  109. package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
  110. package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
  111. package/.turbo/cache/eb1dbe885532c1dc-meta.json +1 -0
  112. package/.turbo/cache/eb1dbe885532c1dc.tar.zst +0 -0
  113. package/.turbo/cache/f1f6744948f1b18f-meta.json +1 -0
  114. package/.turbo/cache/f1f6744948f1b18f.tar.zst +0 -0
  115. package/.turbo/cache/feefbc25d550c1cd-meta.json +1 -0
  116. package/.turbo/cache/feefbc25d550c1cd.tar.zst +0 -0
  117. package/.turbo/cache/ff4dbfffc29255ab-meta.json +1 -0
  118. package/.turbo/cache/ff4dbfffc29255ab.tar.zst +0 -0
  119. package/.vscode/settings.json +3 -0
  120. package/CHANGELOG.md +175 -0
  121. package/README.md +59 -59
  122. package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
  123. package/components/checkbox/.turbo/turbo-build.log +23 -21
  124. package/components/checkbox/.turbo/turbo-bundler.log +4 -4
  125. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
  126. package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
  127. package/components/checkbox/.turbo/turbo-types.log +1 -1
  128. package/components/checkbox/README.md +26 -34
  129. package/components/checkbox/demo/api.html +6 -1
  130. package/components/checkbox/demo/api.js +16 -0
  131. package/components/checkbox/demo/api.md +120 -61
  132. package/components/checkbox/demo/api.min.js +261 -90
  133. package/components/checkbox/demo/index.md +62 -62
  134. package/components/checkbox/demo/index.min.js +236 -90
  135. package/components/checkbox/dist/auro-checkbox-group.d.ts +41 -17
  136. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
  137. package/components/checkbox/dist/auro-checkbox.d.ts +25 -11
  138. package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
  139. package/components/checkbox/dist/index.js +236 -90
  140. package/components/checkbox/package.json +1 -1
  141. package/components/checkbox/src/auro-checkbox-group.js +64 -23
  142. package/components/checkbox/src/auro-checkbox.js +38 -12
  143. package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
  144. package/components/combobox/.turbo/turbo-build.log +25 -23
  145. package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
  146. package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
  147. package/components/combobox/README.md +21 -26
  148. package/components/combobox/demo/api.js +4 -2
  149. package/components/combobox/demo/api.md +77 -16
  150. package/components/combobox/demo/api.min.js +890 -447
  151. package/components/combobox/demo/index.md +1 -1
  152. package/components/combobox/demo/index.min.js +881 -447
  153. package/components/combobox/dist/auro-combobox.d.ts +16 -5
  154. package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
  155. package/components/combobox/dist/dropdownVersion.d.ts +3 -0
  156. package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
  157. package/components/combobox/dist/index.js +874 -408
  158. package/components/combobox/dist/inputVersion.d.ts +3 -0
  159. package/components/combobox/dist/inputVersion.d.ts.map +1 -0
  160. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
  161. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
  162. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
  163. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
  164. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
  165. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
  166. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
  167. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
  168. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
  169. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
  170. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
  171. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
  172. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
  173. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
  174. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
  175. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
  176. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
  177. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
  178. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
  179. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
  180. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
  181. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
  182. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
  183. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
  184. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
  185. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
  186. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
  187. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
  188. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
  189. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
  190. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
  191. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
  192. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
  193. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
  194. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
  195. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
  196. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
  197. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
  198. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
  199. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
  200. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
  201. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
  202. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
  203. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
  204. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
  205. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
  206. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
  207. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
  208. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
  209. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
  210. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
  211. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
  212. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
  213. package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
  214. package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
  215. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
  216. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
  217. package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
  218. package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
  219. package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
  220. package/components/combobox/node_modules/chalk/package.json +3 -3
  221. package/components/combobox/node_modules/chalk/readme.md +25 -53
  222. package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
  223. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
  224. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
  225. package/components/combobox/package.json +8 -8
  226. package/components/combobox/src/auro-combobox.js +85 -75
  227. package/components/combobox/src/dropdownVersion.js +1 -0
  228. package/components/combobox/src/inputVersion.js +1 -0
  229. package/components/counter/.turbo/turbo-build$colon$sass.log +179 -7
  230. package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
  231. package/components/counter/.turbo/turbo-build.log +288 -14
  232. package/components/counter/.turbo/turbo-bundler.log +4 -4
  233. package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
  234. package/components/counter/.turbo/turbo-sass$colon$render.log +39 -3
  235. package/components/counter/.turbo/turbo-types.log +1 -1
  236. package/components/counter/README.md +188 -0
  237. package/components/counter/demo/api.md +98 -1016
  238. package/components/counter/demo/api.min.js +1670 -32
  239. package/components/counter/demo/index.js +2 -1
  240. package/components/counter/demo/index.md +194 -0
  241. package/components/counter/demo/index.min.js +1702 -19
  242. package/components/counter/dist/auro-counter-button.d.ts +13 -0
  243. package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
  244. package/components/counter/dist/auro-counter-group.d.ts +77 -6
  245. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  246. package/components/counter/dist/auro-counter.d.ts +78 -0
  247. package/components/counter/dist/auro-counter.d.ts.map +1 -1
  248. package/components/counter/dist/dropdownVersion.d.ts +3 -0
  249. package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
  250. package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +3 -0
  251. package/components/counter/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
  252. package/components/counter/dist/iconVersion.d.ts +3 -0
  253. package/components/counter/dist/iconVersion.d.ts.map +1 -0
  254. package/components/counter/dist/index.js +1670 -32
  255. package/components/counter/dist/styles/color-css.d.ts +3 -0
  256. package/components/counter/dist/styles/color-css.d.ts.map +1 -0
  257. package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
  258. package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
  259. package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
  260. package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
  261. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
  262. package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
  263. package/components/counter/dist/styles/counter-group-color-css.d.ts +3 -0
  264. package/components/counter/dist/styles/counter-group-color-css.d.ts.map +1 -0
  265. package/components/counter/dist/styles/tokens-css.d.ts +3 -0
  266. package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
  267. package/components/counter/package.json +9 -3
  268. package/components/counter/src/auro-counter-button.js +42 -0
  269. package/components/counter/src/auro-counter-group.js +150 -21
  270. package/components/counter/src/auro-counter.js +272 -12
  271. package/components/counter/src/dropdownVersion.js +1 -0
  272. package/components/counter/src/formkit/auro-dropdownVersion.js +1 -0
  273. package/components/counter/src/iconVersion.js +1 -0
  274. package/components/counter/src/index.js +1 -1
  275. package/components/counter/src/styles/color-css.js +2 -0
  276. package/components/counter/src/styles/color.css +25 -0
  277. package/components/counter/src/styles/color.scss +44 -0
  278. package/components/counter/src/styles/counter-button-color-css.js +2 -0
  279. package/components/counter/src/styles/counter-button-color.css +14 -0
  280. package/components/counter/src/styles/counter-button-color.scss +29 -0
  281. package/components/counter/src/styles/counter-button-css.js +2 -0
  282. package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
  283. package/components/counter/src/styles/counter-button-tokens.css +7 -0
  284. package/components/counter/src/styles/counter-button-tokens.scss +9 -0
  285. package/components/counter/src/styles/counter-button.css +187 -0
  286. package/components/counter/src/styles/counter-button.scss +83 -0
  287. package/components/counter/src/styles/counter-group-color-css.js +2 -0
  288. package/components/counter/src/styles/counter-group-color.css +4 -0
  289. package/components/counter/src/styles/counter-group-color.scss +19 -0
  290. package/components/counter/src/styles/counter-group-css.js +1 -1
  291. package/components/counter/src/styles/counter-group.css +13 -1
  292. package/components/counter/src/styles/counter-group.scss +14 -1
  293. package/components/counter/src/styles/style-css.js +1 -1
  294. package/components/counter/src/styles/style.css +43 -1
  295. package/components/counter/src/styles/style.scss +48 -2
  296. package/components/counter/src/styles/tokens-css.js +2 -0
  297. package/components/counter/src/styles/tokens.css +11 -0
  298. package/components/counter/src/styles/tokens.scss +24 -0
  299. package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
  300. package/components/datepicker/.turbo/turbo-build.log +62 -59
  301. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
  302. package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
  303. package/components/datepicker/README.md +21 -26
  304. package/components/datepicker/demo/api.js +2 -0
  305. package/components/datepicker/demo/api.md +216 -125
  306. package/components/datepicker/demo/api.min.js +1111 -598
  307. package/components/datepicker/demo/index.md +1 -1
  308. package/components/datepicker/demo/index.min.js +1102 -598
  309. package/components/datepicker/dist/auro-datepicker.d.ts +94 -80
  310. package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
  311. package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
  312. package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
  313. package/components/datepicker/dist/index.js +1102 -598
  314. package/components/datepicker/dist/inputVersion.d.ts +3 -0
  315. package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
  316. package/components/datepicker/dist/popoverVersion.d.ts +1 -1
  317. package/components/datepicker/package.json +4 -4
  318. package/components/datepicker/src/auro-datepicker.js +154 -106
  319. package/components/datepicker/src/dropdownVersion.js +1 -0
  320. package/components/datepicker/src/inputVersion.js +1 -0
  321. package/components/datepicker/src/popoverVersion.js +1 -1
  322. package/components/datepicker/src/styles/color-cell-css.js +1 -1
  323. package/components/datepicker/src/styles/color-cell.css +1 -1
  324. package/components/datepicker/src/styles/color-cell.scss +1 -1
  325. package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
  326. package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
  327. package/components/dropdown/.turbo/turbo-build.log +19 -20
  328. package/components/dropdown/.turbo/turbo-bundler.log +4 -4
  329. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
  330. package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
  331. package/components/dropdown/.turbo/turbo-types.log +1 -1
  332. package/components/dropdown/README.md +18 -26
  333. package/components/dropdown/demo/api.md +4 -4
  334. package/components/dropdown/demo/api.min.js +241 -105
  335. package/components/dropdown/demo/index.min.js +241 -105
  336. package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
  337. package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
  338. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
  339. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
  340. package/components/dropdown/dist/iconVersion.d.ts +1 -1
  341. package/components/dropdown/dist/index.js +241 -105
  342. package/components/dropdown/package.json +2 -2
  343. package/components/dropdown/src/auro-dropdown.js +156 -41
  344. package/components/dropdown/src/auro-dropdownBib.js +12 -3
  345. package/components/dropdown/src/iconVersion.js +1 -1
  346. package/components/dropdown/src/styles/bibStyles-css.js +1 -1
  347. package/components/dropdown/src/styles/bibStyles.css +0 -5
  348. package/components/dropdown/src/styles/bibStyles.scss +0 -7
  349. package/components/dropdown/src/styles/color-css.js +1 -1
  350. package/components/dropdown/src/styles/color.css +6 -7
  351. package/components/dropdown/src/styles/color.scss +7 -7
  352. package/components/dropdown/src/styles/style-css.js +1 -1
  353. package/components/dropdown/src/styles/style.css +5 -0
  354. package/components/dropdown/src/styles/style.scss +6 -0
  355. package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
  356. package/components/form/.turbo/turbo-build$colon$version.log +1 -1
  357. package/components/form/.turbo/turbo-build.log +17 -18
  358. package/components/form/.turbo/turbo-bundler.log +4 -4
  359. package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
  360. package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
  361. package/components/form/.turbo/turbo-types.log +1 -1
  362. package/components/form/README.md +18 -26
  363. package/components/form/demo/api.min.js +4 -4
  364. package/components/form/demo/index.min.js +4 -4
  365. package/components/form/dist/index.js +4 -4
  366. package/components/form/package.json +1 -1
  367. package/components/input/.turbo/turbo-build$colon$sass.log +68 -18
  368. package/components/input/.turbo/turbo-build$colon$version.log +1 -1
  369. package/components/input/.turbo/turbo-build.log +90 -40
  370. package/components/input/.turbo/turbo-bundler.log +4 -4
  371. package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
  372. package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
  373. package/components/input/.turbo/turbo-types.log +1 -1
  374. package/components/input/README.md +18 -28
  375. package/components/input/demo/api.js +2 -0
  376. package/components/input/demo/api.md +234 -351
  377. package/components/input/demo/api.min.js +428 -178
  378. package/components/input/demo/index.md +11 -61
  379. package/components/input/demo/index.min.js +416 -175
  380. package/components/input/dist/auro-input.d.ts.map +1 -1
  381. package/components/input/dist/base-input.d.ts +158 -97
  382. package/components/input/dist/base-input.d.ts.map +1 -1
  383. package/components/input/dist/buttonVersion.d.ts +1 -1
  384. package/components/input/dist/iconVersion.d.ts +1 -1
  385. package/components/input/dist/index.js +416 -175
  386. package/components/input/dist/styles/mixins-css.d.ts +3 -0
  387. package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
  388. package/components/input/package.json +3 -3
  389. package/components/input/src/auro-input.js +0 -1
  390. package/components/input/src/base-input.js +272 -111
  391. package/components/input/src/buttonVersion.js +1 -1
  392. package/components/input/src/iconVersion.js +1 -1
  393. package/components/input/src/styles/borders.scss +3 -19
  394. package/components/input/src/styles/color.css +1 -2
  395. package/components/input/src/styles/color.scss +3 -10
  396. package/components/input/src/styles/input-css.js +1 -1
  397. package/components/input/src/styles/input.css +14 -1
  398. package/components/input/src/styles/input.scss +25 -1
  399. package/components/input/src/styles/label-css.js +1 -1
  400. package/components/input/src/styles/label.css +4 -4
  401. package/components/input/src/styles/label.scss +4 -8
  402. package/components/input/src/styles/mixins-css.js +2 -0
  403. package/components/input/src/styles/mixins.css +1 -0
  404. package/components/input/src/styles/mixins.scss +45 -0
  405. package/components/input/src/styles/notificationIcons-css.js +1 -1
  406. package/components/input/src/styles/notificationIcons.css +13 -5
  407. package/components/input/src/styles/notificationIcons.scss +17 -11
  408. package/components/input/src/styles/style-css.js +1 -1
  409. package/components/input/src/styles/style.css +31 -13
  410. package/components/input/src/styles/style.scss +0 -4
  411. package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
  412. package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
  413. package/components/menu/.turbo/turbo-build.log +20 -21
  414. package/components/menu/.turbo/turbo-bundler.log +4 -4
  415. package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
  416. package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
  417. package/components/menu/.turbo/turbo-types.log +1 -1
  418. package/components/menu/README.md +18 -26
  419. package/components/menu/demo/api.md +1 -5
  420. package/components/menu/demo/api.min.js +12 -44
  421. package/components/menu/demo/index.min.js +12 -44
  422. package/components/menu/dist/auro-menu.d.ts +1 -5
  423. package/components/menu/dist/auro-menu.d.ts.map +1 -1
  424. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  425. package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
  426. package/components/menu/dist/iconVersion.d.ts +1 -1
  427. package/components/menu/dist/index.js +12 -44
  428. package/components/menu/package.json +2 -2
  429. package/components/menu/src/auro-menu.js +1 -33
  430. package/components/menu/src/auro-menuoption.js +1 -2
  431. package/components/menu/src/iconVersion.js +1 -1
  432. package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
  433. package/components/radio/.turbo/turbo-build.log +26 -24
  434. package/components/radio/.turbo/turbo-bundler.log +4 -4
  435. package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
  436. package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
  437. package/components/radio/.turbo/turbo-types.log +1 -1
  438. package/components/radio/README.md +18 -26
  439. package/components/radio/demo/api.html +1 -0
  440. package/components/radio/demo/api.js +2 -0
  441. package/components/radio/demo/api.md +60 -4
  442. package/components/radio/demo/api.min.js +159 -62
  443. package/components/radio/demo/index.min.js +150 -62
  444. package/components/radio/dist/auro-radio-group.d.ts +1 -1
  445. package/components/radio/dist/auro-radio.d.ts +5 -0
  446. package/components/radio/dist/auro-radio.d.ts.map +1 -1
  447. package/components/radio/dist/index.js +150 -62
  448. package/components/radio/package.json +1 -1
  449. package/components/radio/src/auro-radio-group.js +6 -6
  450. package/components/radio/src/auro-radio.js +9 -0
  451. package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
  452. package/components/select/.turbo/turbo-build.log +37 -37
  453. package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
  454. package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
  455. package/components/select/README.md +21 -42
  456. package/components/select/demo/api.js +6 -2
  457. package/components/select/demo/api.md +165 -163
  458. package/components/select/demo/api.min.js +524 -337
  459. package/components/select/demo/index.md +101 -59
  460. package/components/select/demo/index.min.js +504 -333
  461. package/components/select/dist/auro-select.d.ts +65 -48
  462. package/components/select/dist/auro-select.d.ts.map +1 -1
  463. package/components/select/dist/dropdownVersion.d.ts +3 -0
  464. package/components/select/dist/dropdownVersion.d.ts.map +1 -0
  465. package/components/select/dist/index.js +494 -278
  466. package/components/select/package.json +3 -3
  467. package/components/select/src/auro-select.js +105 -116
  468. package/components/select/src/dropdownVersion.js +1 -0
  469. package/components/select/src/styles/style-css.js +1 -1
  470. package/components/select/src/styles/style.css +7 -0
  471. package/components/select/src/styles/style.scss +11 -1
  472. package/package.json +21 -21
  473. package/packages/build-tools/src/docProcessor.mjs +37 -8
  474. package/packages/form-validation/src/validation.js +129 -50
  475. package/packages/utils/package.json +12 -0
  476. package/packages/utils/src/iconUtil.js +25 -0
  477. package/packages/utils/src/index.js +1 -0
  478. package/turbo.json +8 -8
  479. package/.turbo/cache/0008b92c8752bf75-meta.json +0 -1
  480. package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
  481. package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
  482. package/.turbo/cache/00cb38bef1105dac.tar.zst +0 -0
  483. package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
  484. package/.turbo/cache/0157ec8abdaf2a9c.tar.zst +0 -0
  485. package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
  486. package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
  487. package/.turbo/cache/06f476671015e973-meta.json +0 -1
  488. package/.turbo/cache/06f476671015e973.tar.zst +0 -0
  489. package/.turbo/cache/09df74d672102662-meta.json +0 -1
  490. package/.turbo/cache/09df74d672102662.tar.zst +0 -0
  491. package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
  492. package/.turbo/cache/0cd109fb3183c2e6.tar.zst +0 -0
  493. package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
  494. package/.turbo/cache/17c429ade621ffcb.tar.zst +0 -0
  495. package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
  496. package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
  497. package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
  498. package/.turbo/cache/1db02f756ce85784.tar.zst +0 -0
  499. package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
  500. package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
  501. package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
  502. package/.turbo/cache/249d9ba3ee6aa1cb.tar.zst +0 -0
  503. package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
  504. package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
  505. package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
  506. package/.turbo/cache/2778d5e895240cd1.tar.zst +0 -0
  507. package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
  508. package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
  509. package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
  510. package/.turbo/cache/31729e74fccaafb0.tar.zst +0 -0
  511. package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
  512. package/.turbo/cache/32702694d62a08ac.tar.zst +0 -0
  513. package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
  514. package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
  515. package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
  516. package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
  517. package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
  518. package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
  519. package/.turbo/cache/408ea1754276298c-meta.json +0 -1
  520. package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
  521. package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
  522. package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
  523. package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
  524. package/.turbo/cache/4bec46ffff6fd2e8.tar.zst +0 -0
  525. package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
  526. package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
  527. package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
  528. package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
  529. package/.turbo/cache/593ddf689673e305-meta.json +0 -1
  530. package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
  531. package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
  532. package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
  533. package/.turbo/cache/68843ecab6e09320-meta.json +0 -1
  534. package/.turbo/cache/68843ecab6e09320.tar.zst +0 -0
  535. package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
  536. package/.turbo/cache/7419ef01dc18b433.tar.zst +0 -0
  537. package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
  538. package/.turbo/cache/748faca09d14fea7.tar.zst +0 -0
  539. package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
  540. package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
  541. package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
  542. package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
  543. package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
  544. package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
  545. package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
  546. package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
  547. package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
  548. package/.turbo/cache/83bb78fec13808d0.tar.zst +0 -0
  549. package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
  550. package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
  551. package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
  552. package/.turbo/cache/892a90b62716ded5.tar.zst +0 -0
  553. package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
  554. package/.turbo/cache/8cac06ca809bd2b1.tar.zst +0 -0
  555. package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
  556. package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
  557. package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
  558. package/.turbo/cache/9ed3089ffd7d0c00.tar.zst +0 -0
  559. package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
  560. package/.turbo/cache/a3a879aea25debf8.tar.zst +0 -0
  561. package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
  562. package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
  563. package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
  564. package/.turbo/cache/a8f6418b830ef0ba.tar.zst +0 -0
  565. package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
  566. package/.turbo/cache/b37b0eb5597e160f.tar.zst +0 -0
  567. package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
  568. package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
  569. package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
  570. package/.turbo/cache/bc8eed3d7216f5b7.tar.zst +0 -0
  571. package/.turbo/cache/bde11c3029373459-meta.json +0 -1
  572. package/.turbo/cache/bde11c3029373459.tar.zst +0 -0
  573. package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
  574. package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
  575. package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
  576. package/.turbo/cache/d0e874a9a71c9468.tar.zst +0 -0
  577. package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
  578. package/.turbo/cache/d61b4e1bde4c0a12.tar.zst +0 -0
  579. package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
  580. package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
  581. package/.turbo/cache/de9737607345ec54-meta.json +0 -1
  582. package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
  583. package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
  584. package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
  585. package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
  586. package/.turbo/cache/e541225f46f7cf86.tar.zst +0 -0
  587. package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
  588. package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
  589. package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
  590. package/.turbo/cache/e7244fdd3397eba7.tar.zst +0 -0
  591. package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
  592. package/.turbo/cache/e7cf2cc625bd92b3.tar.zst +0 -0
  593. package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
  594. package/.turbo/cache/e89a401ebdda3fc2.tar.zst +0 -0
  595. package/components/dropdown/dist/floatingUI.d.mts +0 -68
  596. package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
  597. package/components/dropdown/src/floatingUI.mjs +0 -381
  598. package/components/select/demo/alertValue.js +0 -6
@@ -117,6 +117,14 @@ function inDialogExample() {
117
117
  });
118
118
  }
119
119
 
120
+ function resetStateExample() {
121
+ const elem = document.querySelector('#resetStateExample');
122
+
123
+ document.querySelector('#resetStateBtn').addEventListener('click', () => {
124
+ elem.reset();
125
+ });
126
+ }
127
+
120
128
  function auroMenuLoadingExample() {
121
129
  const combobox = document.querySelector("#loadingExample");
122
130
  const menu = document.querySelector("#loadingExampleComboboxMenu");
@@ -160,33 +168,33 @@ function auroMenuLoadingExample() {
160
168
  * Copyright 2019 Google LLC
161
169
  * SPDX-License-Identifier: BSD-3-Clause
162
170
  */
163
- const t$7=globalThis,e$9=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$a=new WeakMap;let n$8 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$9&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$a.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}};const r$9=t=>new n$8("string"==typeof t?t:t+"",void 0,s$7),i$c=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$8(o,t,s$7)},S$4=(s,o)=>{if(e$9)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$7.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$7=e$9?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$9(e)})(t):t;
171
+ const t$7=globalThis,e$9=t$7.ShadowRoot&&(undefined===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$a=new WeakMap;let n$8 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$9&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$a.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$a.set(s,t));}return t}toString(){return this.cssText}};const r$9=t=>new n$8("string"==typeof t?t:t+"",undefined,s$7),i$c=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$8(o,t,s$7)},S$4=(s,o)=>{if(e$9)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$7.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$7=e$9?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$9(e)})(t):t;
164
172
 
165
173
  /**
166
174
  * @license
167
175
  * Copyright 2017 Google LLC
168
176
  * SPDX-License-Identifier: BSD-3-Clause
169
- */const{is:i$b,defineProperty:e$8,getOwnPropertyDescriptor:r$8,getOwnPropertyNames:h$4,getOwnPropertySymbols:o$9,getPrototypeOf:n$7}=Object,a$6=globalThis,c$6=a$6.trustedTypes,l$6=c$6?c$6.emptyScript:"",p$5=a$6.reactiveElementPolyfillSupport,d$4=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$6:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$4=(t,s)=>!i$b(t,s),y$4={attribute:!0,type:String,converter:u$8,reflect:!1,hasChanged:f$4};Symbol.metadata??=Symbol("metadata"),a$6.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$4){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$8(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$8(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$4}static _$Ei(){if(this.hasOwnProperty(d$4("elementProperties")))return;const t=n$7(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$4("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$4("properties"))){const t=this.properties,s=[...h$4(t),...o$9(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$7(s));}else void 0!==s&&i.push(c$7(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$4(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$8).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$8;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$4)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$4("elementProperties")]=new Map,b$2[d$4("finalized")]=new Map,p$5?.({ReactiveElement:b$2}),(a$6.reactiveElementVersions??=[]).push("2.0.4");
177
+ */const{is:i$b,defineProperty:e$8,getOwnPropertyDescriptor:r$8,getOwnPropertyNames:h$4,getOwnPropertySymbols:o$9,getPrototypeOf:n$7}=Object,a$6=globalThis,c$6=a$6.trustedTypes,l$6=c$6?c$6.emptyScript:"",p$5=a$6.reactiveElementPolyfillSupport,d$4=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$6:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$4=(t,s)=>!i$b(t,s),y$4={attribute:true,type:String,converter:u$8,reflect:false,hasChanged:f$4};Symbol.metadata??=Symbol("metadata"),a$6.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$4){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$8(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$8(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$4}static _$Ei(){if(this.hasOwnProperty(d$4("elementProperties")))return;const t=n$7(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$4("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$4("properties"))){const t=this.properties,s=[...h$4(t),...o$9(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$7(s));}else undefined!==s&&i.push(c$7(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$4(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$8).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$8;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$4)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$4("elementProperties")]=new Map,b$2[d$4("finalized")]=new Map,p$5?.({ReactiveElement:b$2}),(a$6.reactiveElementVersions??=[]).push("2.0.4");
170
178
 
171
179
  /**
172
180
  * @license
173
181
  * Copyright 2017 Google LLC
174
182
  * SPDX-License-Identifier: BSD-3-Clause
175
183
  */
176
- const t$6=globalThis,i$a=t$6.trustedTypes,s$6=i$a?i$a.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$3,n$6=`<${o$8}>`,r$7=document,l$5=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$3(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):void 0!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$3,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$3:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$3:c===v$3||c===_$2?c=f$3:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$a?i$a.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,!0);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$5(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,void 0,s??{});}return h._$AI(t),h};
184
+ const t$6=globalThis,i$a=t$6.trustedTypes,s$6=i$a?i$a.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$3,n$6=`<${o$8}>`,r$7=document,l$5=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$7=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$2=/>/g,m$3=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$3(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$7.createTreeWalker(r$7,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$6?s$6.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$3:undefined!==u[1]?c=_$2:undefined!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):undefined!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$3:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$3:c===v$3||c===_$2?c=f$3:(c=m$3,r=undefined);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$a?i$a.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$5()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$5());}}}else if(8===r.nodeType)if(r.data===o$8)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$2)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$5(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$7(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return undefined===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a$5(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$5()),this.O(l$5()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?undefined:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$2=t$6.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l$5(),t),t,undefined,s??{});}return h._$AI(t),h};
177
185
 
178
186
  /**
179
187
  * @license
180
188
  * Copyright 2017 Google LLC
181
189
  * SPDX-License-Identifier: BSD-3-Clause
182
- */let r$6 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$2}};r$6._$litElement$=!0,r$6["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$6});const i$9=globalThis.litElementPolyfillSupport;i$9?.({LitElement:r$6});(globalThis.litElementVersions??=[]).push("4.1.1");
190
+ */let r$6 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$6._$litElement$=true,r$6["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$6});const i$9=globalThis.litElementPolyfillSupport;i$9?.({LitElement:r$6});(globalThis.litElementVersions??=[]).push("4.1.1");
183
191
 
184
192
  /**
185
193
  * @license
186
194
  * Copyright 2020 Google LLC
187
195
  * SPDX-License-Identifier: BSD-3-Clause
188
196
  */
189
- const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$4}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$4}),l$4=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$7(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$4.get(t))&&(n.raw=n,l$4.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$5(x$2);
197
+ const a$4=Symbol.for(""),o$7=t=>{if(t?.r===a$4)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$4}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$4}),l$4=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$7(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$4.get(t))&&(n.raw=n,l$4.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$5(x$2);
190
198
 
191
199
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
192
200
  // See LICENSE in the project root for license information.
@@ -308,25 +316,111 @@ let AuroFormValidation$1 = class AuroFormValidation {
308
316
  }
309
317
 
310
318
  /**
311
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
319
+ * Resets the element to its initial state.
312
320
  * @private
313
- * @param {object} elem - HTML element to validate.
321
+ * @param {object} elem - HTML element to reset.
314
322
  * @returns {void}
315
323
  */
316
- validateAttributes(elem) {
317
- if (elem.pattern) {
318
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
324
+ reset(elem) {
325
+ elem.validity = undefined;
326
+ elem.value = undefined;
327
+
328
+ // Resets the second value of the datepicker in range state
329
+ if (elem.valueEnd) {
330
+ elem.valueEnd = undefined;
331
+ }
332
+
333
+ // Resets selected option of element
334
+ if (elem.optionSelected) {
335
+ elem.optionSelected = undefined;
336
+ }
337
+
338
+ // Runs validation to handle error attribute
339
+ this.validate(elem);
340
+ }
319
341
 
320
- if (!pattern.test(elem.value)) {
321
- elem.validity = 'badInput';
322
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
342
+ /**
343
+ * Validates the attributes of a given element based on predefined validation rules.
344
+ *
345
+ * @param {HTMLElement} elem - The element to be validated.
346
+ * @returns {void}
347
+ *
348
+ * @example
349
+ * // Assuming `inputElement` is a reference to an input element in the DOM
350
+ * validateElementAttributes(inputElement);
351
+ *
352
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
353
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
354
+ *
355
+ * Validation rules:
356
+ * - input:
357
+ * - length:
358
+ * - tooShort: Checks if the value length is less than the minimum length.
359
+ * - tooLong: Checks if the value length exceeds the maximum length.
360
+ * - pattern:
361
+ * - patternMismatch: Checks if the value does not match the specified pattern.
362
+ * - counter:
363
+ * - range:
364
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
365
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
366
+ */
367
+ validateElementAttributes(elem) {
368
+ const validationRules = {
369
+ input: {
370
+ length: [
371
+ {
372
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
373
+ validity: 'tooShort',
374
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
375
+ },
376
+ {
377
+ check: (e) => e.value?.length > e.maxLength,
378
+ validity: 'tooLong',
379
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
380
+ }
381
+ ],
382
+ pattern: [
383
+ {
384
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
385
+ validity: 'patternMismatch',
386
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
387
+ }
388
+ ]
389
+ },
390
+ counter: {
391
+ range: [
392
+ {
393
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
394
+ validity: 'rangeOverflow',
395
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
396
+ },
397
+ {
398
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
399
+ validity: 'rangeUnderflow',
400
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
401
+ }
402
+ ]
403
+ }
404
+ };
405
+
406
+ let elementType;
407
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
408
+ elementType = 'input';
409
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
410
+ elementType = 'counter';
411
+ }
412
+
413
+ if (elementType) {
414
+ const rules = validationRules[elementType];
415
+
416
+ if (rules) {
417
+ Object.values(rules).flat().forEach(rule => {
418
+ if (rule.check(elem)) {
419
+ elem.validity = rule.validity;
420
+ elem.errorMessage = rule.message(elem);
421
+ }
422
+ });
323
423
  }
324
- } else if (elem.value && elem.value.length > 0 && elem.value.length < elem.minLength) {
325
- elem.validity = 'tooShort';
326
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
327
- } else if (elem.value && elem.value.length > elem.maxLength) {
328
- elem.validity = 'tooLong';
329
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
330
424
  }
331
425
  }
332
426
 
@@ -342,33 +436,32 @@ let AuroFormValidation$1 = class AuroFormValidation {
342
436
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
343
437
 
344
438
  if (!elem.value.match(emailRegex)) {
345
- elem.validity = 'badInput';
346
- elem.setCustomValidity = elem.setCustomValidityForType || '';
439
+ elem.validity = 'patternMismatch';
440
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
347
441
  }
348
442
  } else if (elem.type === 'credit-card') {
349
443
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
350
444
  elem.validity = 'tooShort';
351
- elem.setCustomValidity = elem.setCustomValidityForType || '';
445
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
352
446
  }
353
- } else if (elem.type === 'number' || elem.type === 'numeric') { // 'numeric` is a deprecated alias for number'
447
+ } else if (elem.type === 'number') {
354
448
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
355
449
  elem.validity = 'rangeOverflow';
356
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
450
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
357
451
  }
358
452
 
359
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
453
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
360
454
  elem.validity = 'rangeUnderflow';
361
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
455
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
362
456
  }
363
-
364
457
  } else if (elem.type === 'month-day-year' ||
365
458
  elem.type === 'month-year' ||
366
459
  elem.type === 'month-fullYear' ||
367
460
  elem.type === 'year-month-day'
368
461
  ) {
369
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
462
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
370
463
  elem.validity = 'tooShort';
371
- elem.setCustomValidity = elem.setCustomValidityForType || '';
464
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
372
465
  } else {
373
466
  const valueDate = new Date(elem.value);
374
467
 
@@ -378,7 +471,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
378
471
 
379
472
  if (valueDate > maxDate) {
380
473
  elem.validity = 'rangeOverflow';
381
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
474
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
382
475
  }
383
476
  }
384
477
 
@@ -388,7 +481,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
388
481
 
389
482
  if (valueDate < minDate) {
390
483
  elem.validity = 'rangeUnderflow';
391
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
484
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
392
485
  }
393
486
  }
394
487
  }
@@ -411,10 +504,10 @@ let AuroFormValidation$1 = class AuroFormValidation {
411
504
 
412
505
  if (elem.hasAttribute('error')) {
413
506
  elem.validity = 'customError';
414
- elem.setCustomValidity = elem.error;
507
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
415
508
  } else if (validationShouldRun) {
416
509
  elem.validity = 'valid';
417
- elem.setCustomValidity = '';
510
+ elem.errorMessage = '';
418
511
 
419
512
  /**
420
513
  * Only validate once we interact with the datepicker
@@ -426,7 +519,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
426
519
  let hasValue = elem.value && elem.value.length > 0;
427
520
 
428
521
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
429
- if (this.auroInputElements && this.auroInputElements.length === 2) {
522
+ if (this.auroInputElements?.length === 2) {
430
523
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
431
524
  hasValue = false;
432
525
  }
@@ -434,35 +527,29 @@ let AuroFormValidation$1 = class AuroFormValidation {
434
527
 
435
528
  if (!hasValue && elem.required) {
436
529
  elem.validity = 'valueMissing';
437
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
530
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
438
531
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
439
532
  this.validateType(elem);
440
- this.validateAttributes(elem);
533
+ this.validateElementAttributes(elem);
534
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
535
+ this.validateElementAttributes(elem);
441
536
  }
442
537
  }
443
538
 
444
- if (this.auroInputElements && this.auroInputElements.length > 0) {
539
+ if (this.auroInputElements?.length > 0) {
445
540
  elem.validity = this.auroInputElements[0].validity;
446
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
541
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
447
542
 
448
- if (elem.validity === 'valid') {
449
- if (this.auroInputElements.length > 1) {
450
- elem.validity = this.auroInputElements[1].validity;
451
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
452
- }
543
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
544
+ elem.validity = this.auroInputElements[1].validity;
545
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
453
546
  }
454
547
  }
455
548
 
456
549
  if (validationShouldRun || elem.hasAttribute('error')) {
457
- if (elem.validity && elem.validity !== 'valid') {
458
- elem.isValid = false;
459
-
460
- // Use the validity message override if it is declared
461
- if (elem.ValidityMessageOverride) {
462
- elem.setCustomValidity = elem.ValidityMessageOverride;
463
- }
464
- } else {
465
- elem.isValid = true;
550
+ // Use the validity message override if it is declared
551
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
552
+ elem.errorMessage = elem.ValidityMessageOverride;
466
553
  }
467
554
 
468
555
  this.getErrorMessage(elem);
@@ -508,18 +595,18 @@ let AuroFormValidation$1 = class AuroFormValidation {
508
595
  if (elem.validity !== 'valid') {
509
596
  if (elem.setCustomValidity) {
510
597
  elem.errorMessage = elem.setCustomValidity;
511
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
598
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
512
599
  const input = elem.renderRoot.querySelector('input');
513
600
 
514
601
  if (input.validationMessage.length > 0) {
515
602
  elem.errorMessage = input.validationMessage;
516
603
  }
517
- } else if (this.inputElements && this.inputElements.length > 0) {
604
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
518
605
  const firstInput = this.inputElements[0];
519
606
 
520
607
  if (firstInput.validationMessage.length > 0) {
521
608
  elem.errorMessage = firstInput.validationMessage;
522
- } else if (this.inputElements.length === 2) {
609
+ } else if (this.inputElements?.length === 2) {
523
610
  const secondInput = this.inputElements[1];
524
611
 
525
612
  if (secondInput.validationMessage.length > 0) {
@@ -538,33 +625,33 @@ let AuroFormValidation$1 = class AuroFormValidation {
538
625
  * Copyright 2017 Google LLC
539
626
  * SPDX-License-Identifier: BSD-3-Clause
540
627
  */
541
- const t$2$1=globalThis,i$5$1=t$2$1.trustedTypes,s$2$1=i$5$1?i$5$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$4$1="$lit$",h$1$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4$1="?"+h$1$1,n$3$1=`<${o$4$1}>`,r$3$1=document,l$2$1=()=>r$3$1.createComment(""),c$2$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2$1=Array.isArray,u$2$1=t=>a$2$1(t)||"function"==typeof t?.[Symbol.iterator],d$1$1="[ \t\n\f\r]",f$1$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$1$1}(?:([^\\s"'>=/]+)(${d$1$1}*=${d$1$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$1$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$1$1(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$3$1.createTreeWalker(r$3$1,129);function P$1(t,i){if(!a$2$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2$1?s$2$1.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1$1?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$1$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$1:p$1$1):c===g$1||c===p$1$1?c=m$2:c===v$2||c===_$1?c=f$1$1:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1$1?s+n$3$1:d>=0?(o.push(a),s.slice(0,d)+e$4$1+s.slice(d)+h$1$1+x):s+h$1$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4$1)){const i=v[a++],s=r.getAttribute(t).split(h$1$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1$1),s=t.length-1;if(s>0){r.textContent=i$5$1?i$5$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2$1());}}}else if(8===r.nodeType)if(r.data===o$4$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1$1,t+1));)d.push({type:7,index:c}),t+=h$1$1.length-1;}c++;}}static createElement(t,i){const s=r$3$1.createElement("template");return s.innerHTML=t,s}};function S$1$1(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$2$1(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$1$1(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$3$1).importNode(i,!0);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$3$1,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1$1(this,t,i),c$2$1(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$2$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$2$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2$1()),this.O(l$2$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$1$1(this,t,i,0),o=!c$2$1(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1$1(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2$1(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1$1(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1$1(this,t);}};const j$1=t$2$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$2$1.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$2$1(),t),t,void 0,s??{});}return h._$AI(t),h};
628
+ const t$2$1=globalThis,i$5$1=t$2$1.trustedTypes,s$2$1=i$5$1?i$5$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$4$1="$lit$",h$1$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4$1="?"+h$1$1,n$3$1=`<${o$4$1}>`,r$3$1=document,l$2$1=()=>r$3$1.createComment(""),c$2$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2$1=Array.isArray,u$2$1=t=>a$2$1(t)||"function"==typeof t?.[Symbol.iterator],d$1$1="[ \t\n\f\r]",f$1$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$1=/>/g,m$2=RegExp(`>|${d$1$1}(?:([^\\s"'>=/]+)(${d$1$1}*=${d$1$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$1$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$1$1(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$3$1.createTreeWalker(r$3$1,129);function P$1(t,i){if(!a$2$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$2$1?s$2$1.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1$1?"!--"===u[1]?c=v$2:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):undefined!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$1$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$2:'"'===u[3]?g$1:p$1$1):c===g$1||c===p$1$1?c=m$2:c===v$2||c===_$1?c=f$1$1:(c=m$2,r=undefined);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1$1?s+n$3$1:d>=0?(o.push(a),s.slice(0,d)+e$4$1+s.slice(d)+h$1$1+x):s+h$1$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4$1)){const i=v[a++],s=r.getAttribute(t).split(h$1$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1$1),s=t.length-1;if(s>0){r.textContent=i$5$1?i$5$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2$1());}}}else if(8===r.nodeType)if(r.data===o$4$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1$1,t+1));)d.push({type:7,index:c}),t+=h$1$1.length-1;}c++;}}static createElement(t,i){const s=r$3$1.createElement("template");return s.innerHTML=t,s}};function S$1$1(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$2$1(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$1$1(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$3$1).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$3$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1$1(this,t,i),c$2$1(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$2$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$2$1(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$2$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2$1()),this.O(l$2$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$1$1(this,t,i,0),o=!c$2$1(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1$1(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$2$1(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1$1(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1$1(this,t);}};const j$1=t$2$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$2$1.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$2$1(),t),t,undefined,s??{});}return h._$AI(t),h};
542
629
 
543
630
  /**
544
631
  * @license
545
632
  * Copyright 2020 Google LLC
546
633
  * SPDX-License-Identifier: BSD-3-Clause
547
634
  */
548
- const a$1$1=Symbol.for(""),o$3$1=t=>{if(t?.r===a$1$1)return t?._$litStatic$},s$1$1=t=>({_$litStatic$:t,r:a$1$1}),i$4$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1$1}),l$1$1=new Map,n$2$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$3$1(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$1$1.get(t))&&(n.raw=n,l$1$1.set(t,r=n)),e=u;}return t(r,...e)},u$1$1=n$2$1(x$1);
635
+ const a$1$1=Symbol.for(""),o$3$1=t=>{if(t?.r===a$1$1)return t?._$litStatic$},s$1$1=t=>({_$litStatic$:t,r:a$1$1}),i$4$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1$1}),l$1$1=new Map,n$2$1=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$3$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$1$1.get(t))&&(n.raw=n,l$1$1.set(t,r=n)),e=u;}return t(r,...e)},u$1$1=n$2$1(x$1);
549
636
 
550
637
  /**
551
638
  * @license
552
639
  * Copyright 2019 Google LLC
553
640
  * SPDX-License-Identifier: BSD-3-Clause
554
641
  */
555
- const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$4=Symbol(),o$2$1=new WeakMap;let n$1$1 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$3$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$2$1=t=>new n$1$1("string"==typeof t?t:t+"",void 0,s$4),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1$1(o,t,s$4)},S$2=(s,o)=>{if(e$3$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1$1=e$3$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2$1(e)})(t):t;
642
+ const t$1$1=globalThis,e$3$1=t$1$1.ShadowRoot&&(undefined===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$4=Symbol(),o$2$1=new WeakMap;let n$1$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$4)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$3$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$2$1=t=>new n$1$1("string"==typeof t?t:t+"",undefined,s$4),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1$1(o,t,s$4)},S$2=(s,o)=>{if(e$3$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1$1=e$3$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2$1(e)})(t):t;
556
643
 
557
644
  /**
558
645
  * @license
559
646
  * Copyright 2017 Google LLC
560
647
  * SPDX-License-Identifier: BSD-3-Clause
561
- */const{is:i$2$1,defineProperty:e$2$1,getOwnPropertyDescriptor:r$1$1,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$4}=Object,a$3=globalThis,c$4=a$3.trustedTypes,l$3=c$4?c$4.emptyScript:"",p$3=a$3.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$3:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$2$1(t,s),y$2={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$2$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$4(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$1$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1$1(s));}else void 0!==s&&i.push(c$1$1(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$5).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$5;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
648
+ */const{is:i$2$1,defineProperty:e$2$1,getOwnPropertyDescriptor:r$1$1,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$4}=Object,a$3=globalThis,c$4=a$3.trustedTypes,l$3=c$4?c$4.emptyScript:"",p$3=a$3.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$3:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$2$1(t,s),y$2={attribute:true,type:String,converter:u$5,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$3.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$2$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$4(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$1$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1$1(s));}else undefined!==s&&i.push(c$1$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$5).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$5;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$3.reactiveElementVersions??=[]).push("2.0.4");
562
649
 
563
650
  /**
564
651
  * @license
565
652
  * Copyright 2017 Google LLC
566
653
  * SPDX-License-Identifier: BSD-3-Clause
567
- */let r$5 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T$1}};r$5._$litElement$=!0,r$5["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$5});const i$1$1=globalThis.litElementPolyfillSupport;i$1$1?.({LitElement:r$5});(globalThis.litElementVersions??=[]).push("4.1.1");
654
+ */let r$5 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$5._$litElement$=true,r$5["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$5});const i$1$1=globalThis.litElementPolyfillSupport;i$1$1?.({LitElement:r$5});(globalThis.litElementVersions??=[]).push("4.1.1");
568
655
 
569
656
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
570
657
  // See LICENSE in the project root for license information.
@@ -684,7 +771,7 @@ function getAlignmentAxis(placement) {
684
771
  return getOppositeAxis(getSideAxis(placement));
685
772
  }
686
773
  function getAlignmentSides(placement, rects, rtl) {
687
- if (rtl === void 0) {
774
+ if (rtl === undefined) {
688
775
  rtl = false;
689
776
  }
690
777
  const alignment = getAlignment(placement);
@@ -841,7 +928,7 @@ const computePosition$1 = async (reference, floating, config) => {
841
928
  platform
842
929
  } = config;
843
930
  const validMiddleware = middleware.filter(Boolean);
844
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
931
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
845
932
  let rects = await platform.getElementRects({
846
933
  reference,
847
934
  floating,
@@ -927,7 +1014,7 @@ const computePosition$1 = async (reference, floating, config) => {
927
1014
  */
928
1015
  async function detectOverflow(state, options) {
929
1016
  var _await$platform$isEle;
930
- if (options === void 0) {
1017
+ if (options === undefined) {
931
1018
  options = {};
932
1019
  }
933
1020
  const {
@@ -949,7 +1036,7 @@ async function detectOverflow(state, options) {
949
1036
  const altContext = elementContext === 'floating' ? 'reference' : 'floating';
950
1037
  const element = elements[altBoundary ? altContext : elementContext];
951
1038
  const clippingClientRect = rectToClientRect(await platform.getClippingRect({
952
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
1039
+ element: ((_await$platform$isEle = await (platform.isElement == null ? undefined : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? undefined : platform.getDocumentElement(elements.floating))),
953
1040
  boundary,
954
1041
  rootBoundary,
955
1042
  strategy
@@ -960,8 +1047,8 @@ async function detectOverflow(state, options) {
960
1047
  width: rects.floating.width,
961
1048
  height: rects.floating.height
962
1049
  } : rects.reference;
963
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
964
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
1050
+ const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
1051
+ const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
965
1052
  x: 1,
966
1053
  y: 1
967
1054
  } : {
@@ -998,7 +1085,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
998
1085
  * @see https://floating-ui.com/docs/autoPlacement
999
1086
  */
1000
1087
  const autoPlacement$1 = function (options) {
1001
- if (options === void 0) {
1088
+ if (options === undefined) {
1002
1089
  options = {};
1003
1090
  }
1004
1091
  return {
@@ -1022,12 +1109,12 @@ const autoPlacement$1 = function (options) {
1022
1109
  } = evaluate(options, state);
1023
1110
  const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
1024
1111
  const overflow = await detectOverflow(state, detectOverflowOptions);
1025
- const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
1112
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
1026
1113
  const currentPlacement = placements$1[currentIndex];
1027
1114
  if (currentPlacement == null) {
1028
1115
  return {};
1029
1116
  }
1030
- const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
1117
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
1031
1118
 
1032
1119
  // Make `computeCoords` start from the right place.
1033
1120
  if (placement !== currentPlacement) {
@@ -1038,7 +1125,7 @@ const autoPlacement$1 = function (options) {
1038
1125
  };
1039
1126
  }
1040
1127
  const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
1041
- const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
1128
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
1042
1129
  placement: currentPlacement,
1043
1130
  overflows: currentOverflows
1044
1131
  }];
@@ -1068,7 +1155,7 @@ const autoPlacement$1 = function (options) {
1068
1155
  // Aligned placements should not check their opposite crossAxis
1069
1156
  // side.
1070
1157
  getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
1071
- const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
1158
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
1072
1159
  if (resetPlacement !== placement) {
1073
1160
  return {
1074
1161
  data: {
@@ -1092,7 +1179,7 @@ const autoPlacement$1 = function (options) {
1092
1179
  * @see https://floating-ui.com/docs/flip
1093
1180
  */
1094
1181
  const flip$1 = function (options) {
1095
- if (options === void 0) {
1182
+ if (options === undefined) {
1096
1183
  options = {};
1097
1184
  }
1098
1185
  return {
@@ -1128,7 +1215,7 @@ const flip$1 = function (options) {
1128
1215
  const side = getSide(placement);
1129
1216
  const initialSideAxis = getSideAxis(initialPlacement);
1130
1217
  const isBasePlacement = getSide(initialPlacement) === initialPlacement;
1131
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
1218
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
1132
1219
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
1133
1220
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
1134
1221
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
@@ -1137,7 +1224,7 @@ const flip$1 = function (options) {
1137
1224
  const placements = [initialPlacement, ...fallbackPlacements];
1138
1225
  const overflow = await detectOverflow(state, detectOverflowOptions);
1139
1226
  const overflows = [];
1140
- let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
1227
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
1141
1228
  if (checkMainAxis) {
1142
1229
  overflows.push(overflow[side]);
1143
1230
  }
@@ -1153,7 +1240,7 @@ const flip$1 = function (options) {
1153
1240
  // One or more sides is overflowing.
1154
1241
  if (!overflows.every(side => side <= 0)) {
1155
1242
  var _middlewareData$flip2, _overflowsData$filter;
1156
- const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
1243
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
1157
1244
  const nextPlacement = placements[nextIndex];
1158
1245
  if (nextPlacement) {
1159
1246
  // Try next placement and re-run the lifecycle.
@@ -1170,7 +1257,7 @@ const flip$1 = function (options) {
1170
1257
 
1171
1258
  // First, find the candidates that fit on the mainAxis side of overflow,
1172
1259
  // then find the placement that fits the best on the main crossAxis side.
1173
- let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
1260
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
1174
1261
 
1175
1262
  // Otherwise fallback.
1176
1263
  if (!resetPlacement) {
@@ -1187,7 +1274,7 @@ const flip$1 = function (options) {
1187
1274
  currentSideAxis === 'y';
1188
1275
  }
1189
1276
  return true;
1190
- }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
1277
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? undefined : _overflowsData$filter2[0];
1191
1278
  if (placement) {
1192
1279
  resetPlacement = placement;
1193
1280
  }
@@ -1220,7 +1307,7 @@ async function convertValueToCoords(state, options) {
1220
1307
  platform,
1221
1308
  elements
1222
1309
  } = state;
1223
- const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
1310
+ const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
1224
1311
  const side = getSide(placement);
1225
1312
  const alignment = getAlignment(placement);
1226
1313
  const isVertical = getSideAxis(placement) === 'y';
@@ -1262,7 +1349,7 @@ async function convertValueToCoords(state, options) {
1262
1349
  * @see https://floating-ui.com/docs/offset
1263
1350
  */
1264
1351
  const offset$1 = function (options) {
1265
- if (options === void 0) {
1352
+ if (options === undefined) {
1266
1353
  options = 0;
1267
1354
  }
1268
1355
  return {
@@ -1280,7 +1367,7 @@ const offset$1 = function (options) {
1280
1367
 
1281
1368
  // If the placement is the same and the arrow caused an alignment offset
1282
1369
  // then we don't need to change the positioning coordinates.
1283
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1370
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1284
1371
  return {};
1285
1372
  }
1286
1373
  return {
@@ -1309,11 +1396,11 @@ function getNodeName(node) {
1309
1396
  }
1310
1397
  function getWindow(node) {
1311
1398
  var _node$ownerDocument;
1312
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1399
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
1313
1400
  }
1314
1401
  function getDocumentElement(node) {
1315
1402
  var _ref;
1316
- return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
1403
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
1317
1404
  }
1318
1405
  function isNode(value) {
1319
1406
  if (!hasWindow()) {
@@ -1428,14 +1515,14 @@ function getNearestOverflowAncestor(node) {
1428
1515
  }
1429
1516
  function getOverflowAncestors(node, list, traverseIframes) {
1430
1517
  var _node$ownerDocument2;
1431
- if (list === void 0) {
1518
+ if (list === undefined) {
1432
1519
  list = [];
1433
1520
  }
1434
- if (traverseIframes === void 0) {
1521
+ if (traverseIframes === undefined) {
1435
1522
  traverseIframes = true;
1436
1523
  }
1437
1524
  const scrollableAncestor = getNearestOverflowAncestor(node);
1438
- const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1525
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
1439
1526
  const win = getWindow(scrollableAncestor);
1440
1527
  if (isBody) {
1441
1528
  const frameElement = getFrameElement(win);
@@ -1512,7 +1599,7 @@ function getVisualOffsets(element) {
1512
1599
  };
1513
1600
  }
1514
1601
  function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1515
- if (isFixed === void 0) {
1602
+ if (isFixed === undefined) {
1516
1603
  isFixed = false;
1517
1604
  }
1518
1605
  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
@@ -1522,10 +1609,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1522
1609
  }
1523
1610
 
1524
1611
  function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1525
- if (includeScale === void 0) {
1612
+ if (includeScale === undefined) {
1526
1613
  includeScale = false;
1527
1614
  }
1528
- if (isFixedStrategy === void 0) {
1615
+ if (isFixedStrategy === undefined) {
1529
1616
  isFixedStrategy = false;
1530
1617
  }
1531
1618
  const clientRect = element.getBoundingClientRect();
@@ -1585,7 +1672,7 @@ function getWindowScrollBarX(element, rect) {
1585
1672
  }
1586
1673
 
1587
1674
  function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
1588
- if (ignoreScrollbarX === void 0) {
1675
+ if (ignoreScrollbarX === undefined) {
1589
1676
  ignoreScrollbarX = false;
1590
1677
  }
1591
1678
  const htmlRect = documentElement.getBoundingClientRect();
@@ -1935,10 +2022,10 @@ function observeMove(element, onMove) {
1935
2022
  io = null;
1936
2023
  }
1937
2024
  function refresh(skip, threshold) {
1938
- if (skip === void 0) {
2025
+ if (skip === undefined) {
1939
2026
  skip = false;
1940
2027
  }
1941
- if (threshold === void 0) {
2028
+ if (threshold === undefined) {
1942
2029
  threshold = 1;
1943
2030
  }
1944
2031
  cleanup();
@@ -2009,7 +2096,7 @@ function observeMove(element, onMove) {
2009
2096
  * @see https://floating-ui.com/docs/autoUpdate
2010
2097
  */
2011
2098
  function autoUpdate(reference, floating, update, options) {
2012
- if (options === void 0) {
2099
+ if (options === undefined) {
2013
2100
  options = {};
2014
2101
  }
2015
2102
  const {
@@ -2136,6 +2223,11 @@ class AuroFloatingUI {
2136
2223
  this.focusHandler = null;
2137
2224
  this.clickHandler = null;
2138
2225
  this.keyDownHandler = null;
2226
+
2227
+ /**
2228
+ * @private
2229
+ */
2230
+ this.eventPrefix = undefined;
2139
2231
  }
2140
2232
 
2141
2233
  /**
@@ -2152,22 +2244,24 @@ class AuroFloatingUI {
2152
2244
  */
2153
2245
  mirrorSize(fullscreen) {
2154
2246
  // mirror the boxsize from bibSizer
2155
- const sizerStyle = window.getComputedStyle(this.element.bibSizer);
2156
- const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2157
- if (fullscreen) {
2158
- bibContent.style.width = '';
2159
- bibContent.style.height = '';
2160
- bibContent.style.maxWidth = '';
2161
- bibContent.style.maxHeight = '';
2162
- } else {
2163
- if (sizerStyle.width !== '0px') {
2164
- bibContent.style.width = sizerStyle.width;
2165
- }
2166
- if (sizerStyle.height !== '0px') {
2167
- bibContent.style.height = sizerStyle.height;
2247
+ if (this.element.bibSizer) {
2248
+ const sizerStyle = window.getComputedStyle(this.element.bibSizer);
2249
+ const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2250
+ if (fullscreen) {
2251
+ bibContent.style.width = '';
2252
+ bibContent.style.height = '';
2253
+ bibContent.style.maxWidth = '';
2254
+ bibContent.style.maxHeight = '';
2255
+ } else {
2256
+ if (sizerStyle.width !== '0px') {
2257
+ bibContent.style.width = sizerStyle.width;
2258
+ }
2259
+ if (sizerStyle.height !== '0px') {
2260
+ bibContent.style.height = sizerStyle.height;
2261
+ }
2262
+ bibContent.style.maxWidth = sizerStyle.maxWidth;
2263
+ bibContent.style.maxHeight = sizerStyle.maxHeight;
2168
2264
  }
2169
- bibContent.style.maxWidth = sizerStyle.maxWidth;
2170
- bibContent.style.maxHeight = sizerStyle.maxHeight;
2171
2265
  }
2172
2266
  }
2173
2267
 
@@ -2218,7 +2312,7 @@ class AuroFloatingUI {
2218
2312
  // Compute the position of the bib
2219
2313
  computePosition(this.element.trigger, this.element.bib, {
2220
2314
  placement: this.element.floaterConfig.placement || 'bottom',
2221
- middleware: middleware || []
2315
+ middleware: middleware
2222
2316
  }).then(({x, y}) => { // eslint-disable-line id-length
2223
2317
  Object.assign(this.element.bib.style, {
2224
2318
  left: `${x}px`,
@@ -2374,7 +2468,7 @@ class AuroFloatingUI {
2374
2468
  * @returns {void} Dispatches event with an object showing the state of the dropdown.
2375
2469
  */
2376
2470
  dispatchEventDropdownToggle() {
2377
- const event = new CustomEvent('auroDropdown-toggled', {
2471
+ const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
2378
2472
  detail: {
2379
2473
  expanded: this.isPopoverVisible,
2380
2474
  },
@@ -2391,7 +2485,7 @@ class AuroFloatingUI {
2391
2485
  this.showBib();
2392
2486
  }
2393
2487
 
2394
- const event = new CustomEvent('auroDropdown-triggerClick', {
2488
+ const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
2395
2489
  composed: true,
2396
2490
  details: {
2397
2491
  expanded: this.element.isPopoverVisible
@@ -2435,6 +2529,9 @@ class AuroFloatingUI {
2435
2529
  this.handleFocusLoss();
2436
2530
  break;
2437
2531
  case 'click':
2532
+ if (document.activeElement === document.body) {
2533
+ event.currentTarget.focus();
2534
+ }
2438
2535
  this.handleClick();
2439
2536
  break;
2440
2537
  // Do nothing
@@ -2472,7 +2569,8 @@ class AuroFloatingUI {
2472
2569
  });
2473
2570
  }
2474
2571
 
2475
- configure(elem) {
2572
+ configure(elem, eventPrefix) {
2573
+ this.eventPrefix = eventPrefix;
2476
2574
  this.element = elem;
2477
2575
  this.element.trigger = this.element.shadowRoot.querySelector('#trigger');
2478
2576
  this.element.bib = this.element.shadowRoot.querySelector('#bib');
@@ -2558,7 +2656,7 @@ const t$5={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
2558
2656
  * @license
2559
2657
  * Copyright 2018 Google LLC
2560
2658
  * SPDX-License-Identifier: BSD-3-Clause
2561
- */const e$6=e$1$2(class extends i$7{constructor(t$1){if(super(t$1),t$1.type!==t$5.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
2659
+ */const e$6=e$1$2(class extends i$7{constructor(t$1){if(super(t$1),t$1.type!==t$5.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
2562
2660
 
2563
2661
  /**
2564
2662
  * @license
@@ -2632,7 +2730,7 @@ const cacheFetch$2 = (uri, options = {}) => {
2632
2730
  return _fetchMap$2.get(uri);
2633
2731
  };
2634
2732
 
2635
- var styleCss$2$2 = i$3$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
2733
+ var styleCss$2$2 = i$3$1`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
2636
2734
 
2637
2735
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2638
2736
  // See LICENSE in the project root for license information.
@@ -2899,7 +2997,8 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
2899
2997
  };
2900
2998
 
2901
2999
  const classes = {
2902
- 'label': this.label
3000
+ 'label': this.label,
3001
+ 'wrapper': true,
2903
3002
  };
2904
3003
 
2905
3004
  return x$1`
@@ -2923,15 +3022,15 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
2923
3022
  }
2924
3023
  };
2925
3024
 
2926
- var iconVersion$2 = '6.1.1';
3025
+ var iconVersion$2 = '6.1.2';
2927
3026
 
2928
- var styleCss$1$2 = i$3$1`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
3027
+ var styleCss$1$2 = i$3$1`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
2929
3028
 
2930
- var colorCss$1$2 = i$3$1`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:none}:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
3029
+ var colorCss$1$2 = i$3$1`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
2931
3030
 
2932
3031
  var tokensCss$5 = i$3$1`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
2933
3032
 
2934
- var styleCss$5 = i$3$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common]) .container,:host([inset]) .container{padding:var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
3033
+ var styleCss$5 = i$3$1`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
2935
3034
 
2936
3035
  var colorCss$5 = i$3$1`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
2937
3036
 
@@ -2949,9 +3048,6 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2949
3048
  ];
2950
3049
 
2951
3050
  /**
2952
- * @attr { Boolean } common - If declared, will apply all styles for the common theme.
2953
- * @attr { Boolean } rounded - If declared, will apply border-radius to the bib.
2954
- * @attr { Boolean } inset - If declared, will apply extra padding to bib content.
2955
3051
  * @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
2956
3052
  * @csspart bibContainer - Apply css to the bib container.
2957
3053
  */
@@ -2977,14 +3073,26 @@ class AuroDropdownBib extends r$5 {
2977
3073
 
2978
3074
  static get properties() {
2979
3075
  return {
3076
+
3077
+ /**
3078
+ * If declared, will apply all styles for the common theme.
3079
+ */
2980
3080
  common: {
2981
3081
  type: Boolean,
2982
3082
  reflect: true
2983
3083
  },
3084
+
3085
+ /**
3086
+ * If declared, will apply extra padding to bib content.
3087
+ */
2984
3088
  inset: {
2985
3089
  type: Boolean,
2986
3090
  reflect: true
2987
3091
  },
3092
+
3093
+ /**
3094
+ * If declared, will apply border-radius to the bib.
3095
+ */
2988
3096
  rounded: {
2989
3097
  type: Boolean,
2990
3098
  reflect: true
@@ -3028,22 +3136,7 @@ if (!customElements.get("auro-dropdownbib")) {
3028
3136
 
3029
3137
 
3030
3138
  /**
3031
- * @attr { Boolean } bordered - If declared, applies a border around the trigger slot.
3032
- * @attr { Boolean } common - If declared, the dropdown will be styled with the common theme.
3033
- * @attr { Boolean } chevron - If declared, the dropdown displays an display state chevron on the right.
3034
- * @attr { Boolean } disabled - If declared, the dropdown is not interactive.
3035
3139
  * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3036
- * @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
3037
- * @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
3038
- * @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
3039
- * @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
3040
- * @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
3041
- * @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
3042
- * @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
3043
- * @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
3044
- * @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
3045
- * @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3046
- * @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
3047
3140
  * @slot - Default slot for the popover content.
3048
3141
  * @slot label - Defines the content of the label.
3049
3142
  * @slot helpText - Defines the content of the helpText.
@@ -3081,6 +3174,16 @@ class AuroDropdown extends r$5 {
3081
3174
  this.tabIndex = 0;
3082
3175
  this.noToggle = false;
3083
3176
 
3177
+ /**
3178
+ * @private
3179
+ */
3180
+ this.hasTriggerContent = false;
3181
+
3182
+ /**
3183
+ * @private
3184
+ */
3185
+ this.triggerContentSlot = undefined;
3186
+
3084
3187
  /**
3085
3188
  * @private
3086
3189
  */
@@ -3127,89 +3230,166 @@ class AuroDropdown extends r$5 {
3127
3230
  // function to define props used within the scope of this component
3128
3231
  static get properties() {
3129
3232
  return {
3233
+
3234
+ /**
3235
+ * If declared, applies a border around the trigger slot.
3236
+ */
3130
3237
  bordered: {
3131
3238
  type: Boolean,
3132
3239
  reflect: true
3133
3240
  },
3241
+
3242
+ /**
3243
+ * If declared, the dropdown displays a chevron on the right.
3244
+ * @attr {Boolean} chevron
3245
+ */
3134
3246
  chevron: {
3135
3247
  type: Boolean,
3136
3248
  reflect: true
3137
3249
  },
3138
- disabled: {
3250
+
3251
+ /**
3252
+ * If declared, the dropdown will be styled with the common theme.
3253
+ */
3254
+ common: {
3139
3255
  type: Boolean,
3140
3256
  reflect: true
3141
3257
  },
3142
- error: {
3258
+
3259
+ /**
3260
+ * If declared, the dropdown is not interactive.
3261
+ */
3262
+ disabled: {
3143
3263
  type: Boolean,
3144
3264
  reflect: true
3145
3265
  },
3146
- fluid: {
3266
+
3267
+ /**
3268
+ * @private
3269
+ */
3270
+ dropdownWidth: {
3271
+ type: Number
3272
+ },
3273
+
3274
+ /**
3275
+ * If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
3276
+ */
3277
+ error: {
3147
3278
  type: Boolean,
3148
- reflect: true,
3279
+ reflect: true
3149
3280
  },
3281
+
3282
+ /**
3283
+ * If declared, the bib will display when focus is applied to the trigger.
3284
+ */
3150
3285
  focusShow: {
3151
3286
  type: Boolean,
3152
3287
  reflect: true
3153
3288
  },
3154
- hoverToggle: {
3289
+
3290
+ /**
3291
+ * Makes the trigger to be full width of its parent container.
3292
+ */
3293
+ fluid: {
3155
3294
  type: Boolean,
3156
3295
  reflect: true
3157
3296
  },
3297
+
3298
+ /**
3299
+ * If declared, will apply padding around trigger slot content.
3300
+ */
3158
3301
  inset: {
3159
3302
  type: Boolean,
3160
3303
  reflect: true
3161
3304
  },
3162
- matchWidth: {
3305
+
3306
+ /**
3307
+ * If true, the dropdown bib is displayed.
3308
+ */
3309
+ isPopoverVisible: {
3310
+ type: Boolean
3311
+ },
3312
+
3313
+ /**
3314
+ * If declared, the trigger will toggle the dropdown on mouseover/mouseout.
3315
+ */
3316
+ hoverToggle: {
3163
3317
  type: Boolean,
3164
3318
  reflect: true
3165
3319
  },
3166
- rounded: {
3167
- type: Boolean,
3320
+
3321
+ /**
3322
+ * @private
3323
+ */
3324
+ hasTriggerContent: {
3325
+ type: Boolean
3326
+ },
3327
+
3328
+ /**
3329
+ * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
3330
+ */
3331
+ mobileFullscreenBreakpoint: {
3332
+ type: String,
3168
3333
  reflect: true
3169
3334
  },
3170
- common: {
3335
+
3336
+ /**
3337
+ * If declared, the popover and trigger will be set to the same width.
3338
+ */
3339
+ matchWidth: {
3171
3340
  type: Boolean,
3172
3341
  reflect: true
3173
3342
  },
3174
- noToggle: {
3343
+
3344
+ /**
3345
+ * If declared, the dropdown will not hide when moving focus outside the element.
3346
+ */
3347
+ noHideOnThisFocusLoss: {
3175
3348
  type: Boolean,
3176
3349
  reflect: true
3177
3350
  },
3178
- noHideOnThisFocusLoss: {
3351
+
3352
+ /**
3353
+ * If declared, the trigger will only show the dropdown bib.
3354
+ */
3355
+ noToggle: {
3179
3356
  type: Boolean,
3180
3357
  reflect: true
3181
3358
  },
3182
- isPopoverVisible: { type: Boolean },
3359
+
3183
3360
  onSlotChange: {
3184
3361
  type: Function,
3185
3362
  reflect: false
3186
3363
  },
3187
- mobileFullscreenBreakpoint: {
3188
- type: String,
3189
- reflect: true,
3190
- },
3191
3364
 
3192
3365
  /**
3193
3366
  * @private
3194
3367
  */
3195
- dropdownWidth: { type: Number },
3368
+ placement: {
3369
+ type: String
3370
+ },
3196
3371
 
3197
3372
  /**
3198
- * @private
3373
+ * If declared, will apply border-radius to trigger and default slots.
3199
3374
  */
3200
- placement: { type: String },
3375
+ rounded: {
3376
+ type: Boolean,
3377
+ reflect: true
3378
+ },
3201
3379
 
3202
3380
  /**
3203
3381
  * @private
3204
3382
  */
3205
- tabIndex: { type: Number }
3383
+ tabIndex: {
3384
+ type: Number
3385
+ }
3206
3386
  };
3207
3387
  }
3208
3388
 
3209
3389
  static get styles() {
3210
3390
  return [
3211
- styleCss$1$2,
3212
3391
  colorCss$1$2,
3392
+ styleCss$1$2,
3213
3393
  tokensCss$5
3214
3394
  ];
3215
3395
  }
@@ -3240,10 +3420,16 @@ class AuroDropdown extends r$5 {
3240
3420
  if (changedProperties.has('mobileFullscreenBreakpoint')) {
3241
3421
  this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
3242
3422
  }
3423
+
3424
+ // when trigger's content is changed without any attribute or node change,
3425
+ // `requestUpdate` needs to be called to update hasTriggerContnet
3426
+ if (changedProperties.size === 0 || changedProperties.has('isPopoverVisible')) {
3427
+ this.handleTriggerContentSlotChange();
3428
+ }
3243
3429
  }
3244
3430
 
3245
3431
  firstUpdated() {
3246
- this.floater.configure(this);
3432
+ this.floater.configure(this, 'auroDropdown');
3247
3433
  this.bibContent = this.floater.element.bib;
3248
3434
 
3249
3435
  // Add the tag name as an attribute if it is different than the component name
@@ -3282,6 +3468,43 @@ class AuroDropdown extends r$5 {
3282
3468
  return inCustomSlot;
3283
3469
  }
3284
3470
 
3471
+ /**
3472
+ * Handles changes to the trigger content slot and updates related properties.
3473
+ *
3474
+ * It first updates the floater settings
3475
+ * Then, it retrieves the assigned nodes from the event target and checks if any of
3476
+ * the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
3477
+ *
3478
+ * @private
3479
+ * @method handleTriggerContentSlotChange
3480
+ * @param {Event} event - native slotchange event
3481
+ * @returns {void}
3482
+ */
3483
+ handleTriggerContentSlotChange(event) {
3484
+ this.floater.handleTriggerTabIndex();
3485
+
3486
+ if (event) {
3487
+ this.triggerNode = event.target;
3488
+ this.triggerContentSlot = event.target.assignedNodes();
3489
+ }
3490
+
3491
+ if (this.triggerContentSlot) {
3492
+ this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
3493
+ if (slot.textContent.trim()) {
3494
+ return true;
3495
+ }
3496
+ const slotInSlot = slot.querySelector('slot');
3497
+ if (!slotInSlot) {
3498
+ return false;
3499
+ }
3500
+ const slotsInSlotNodes = slotInSlot.assignedNodes();
3501
+ return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
3502
+ });
3503
+ } else {
3504
+ this.hasTriggerContent = false;
3505
+ }
3506
+ }
3507
+
3285
3508
  /**
3286
3509
  * Handles the default slot change event and updates the content.
3287
3510
  *
@@ -3316,13 +3539,13 @@ class AuroDropdown extends r$5 {
3316
3539
  tabindex="${this.tabIndex}"
3317
3540
  >
3318
3541
  <div class="triggerContentWrapper">
3319
- <label class="label" id="triggerLabel">
3542
+ <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
3320
3543
  <slot name="label"></slot>
3321
3544
  </label>
3322
3545
  <div class="triggerContent">
3323
3546
  <slot
3324
3547
  name="trigger"
3325
- @slotchange="${() => {this.floater.handleTriggerTabIndex(); }}"></slot>
3548
+ @slotchange="${(event) => this.handleTriggerContentSlotChange(event)}"></slot>
3326
3549
  </div>
3327
3550
  </div>
3328
3551
  ${this.chevron || this.common ? u$1$1`
@@ -3369,14 +3592,14 @@ var dropdownVersion = '3.0.0';
3369
3592
  * Copyright 2017 Google LLC
3370
3593
  * SPDX-License-Identifier: BSD-3-Clause
3371
3594
  */
3372
- const t$3=globalThis,i$5=t$3.trustedTypes,s$3=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$4="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$1,n$3=`<${o$4}>`,r$4=document,l$2=()=>r$4.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$4=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$4.createTreeWalker(r$4,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$3?s$3.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$1,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g:p$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$1:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$3:d>=0?(o.push(a),s.slice(0,d)+e$4+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$4.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$1(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$4).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$4,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1(this,t,i),c$3(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2()),this.O(l$2()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S$1(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t);}}const Z={M:e$4,P:h$1,A:o$4,C:1,L:V,R:M$1,D:u$4,V:S$1,I:R,H:k,N:I,U:L,B:H,F:z},j=t$3.litHtmlPolyfillSupport;j?.(N,R),(t$3.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$2(),t),t,void 0,s??{});}return h._$AI(t),h};
3595
+ const t$3=globalThis,i$5=t$3.trustedTypes,s$3=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$4="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$1,n$3=`<${o$4}>`,r$4=document,l$2=()=>r$4.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$4=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$4.createTreeWalker(r$4,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$3?s$3.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v$1:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):undefined!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1:'"'===u[3]?g:p$2):c===g||c===p$2?c=m$1:c===v$1||c===_?c=f$1:(c=m$1,r=undefined);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$3:d>=0?(o.push(a),s.slice(0,d)+e$4+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$4.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$3(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$1(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$4).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$4,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1(this,t,i),c$3(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$4.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2()),this.O(l$2()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$1(this,t,i,0),o=!c$3(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$3(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t);}}const Z={M:e$4,P:h$1,A:o$4,C:1,L:V,R:M$1,D:u$4,V:S$1,I:R,H:k,N:I,U:L,B:H,F:z},j=t$3.litHtmlPolyfillSupport;j?.(N,R),(t$3.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$2(),t),t,undefined,s??{});}return h._$AI(t),h};
3373
3596
 
3374
3597
  /**
3375
3598
  * @license
3376
3599
  * Copyright 2020 Google LLC
3377
3600
  * SPDX-License-Identifier: BSD-3-Clause
3378
3601
  */
3379
- const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$2=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1}),l$1=new Map,n$2=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$2(x);
3602
+ const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$2=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1}),l$1=new Map,n$2=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$2(x);
3380
3603
 
3381
3604
  /**
3382
3605
  * @license
@@ -3389,20 +3612,20 @@ const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6}
3389
3612
  * @license
3390
3613
  * Copyright 2020 Google LLC
3391
3614
  * SPDX-License-Identifier: BSD-3-Clause
3392
- */const {I:t$1}=Z,s$1=()=>document.createComment(""),r$3=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s$1(),l),c=e.insertBefore(s$1(),l);n=new t$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$2={},m=(o,t=u$2)=>o._$AH=t,p$1=o=>o._$AH,M=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
3615
+ */const {I:t$1}=Z,s$1=()=>document.createComment(""),r$3=(o,i,n)=>{const e=o._$AA.parentNode,l=undefined===i?o._$AB:i._$AA;if(undefined===n){const i=e.insertBefore(s$1(),l),c=e.insertBefore(s$1(),l);n=new t$1(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,undefined!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$2={},m=(o,t=u$2)=>o._$AH=t,p$1=o=>o._$AH,M=o=>{o._$AP?.(false,true);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
3393
3616
 
3394
3617
  /**
3395
3618
  * @license
3396
3619
  * Copyright 2017 Google LLC
3397
3620
  * SPDX-License-Identifier: BSD-3-Clause
3398
3621
  */
3399
- const u$1=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$2=e$3(class extends i$3{constructor(e){if(super(e),e.type!==t$2.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$1(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p[w]),r$3(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p[k]),r$3(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u$1(a,k,w),y=u$1(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r$3(s,d[x]);v(e,p[k]),v$1[k]=e;}else v$1[k]=v(t,p[k]),r$3(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r$3(s,v$1[w+1]);v(e,p[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
3622
+ const u$1=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c$2=e$3(class extends i$3{constructor(e){if(super(e),e.type!==t$2.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;undefined===t?t=s:undefined!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r,c]){const d=p$1(s),{values:p,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p[w]),r$3(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p[k]),r$3(s,d[x],d[j]),j--,k++;else if(undefined===m$1&&(m$1=u$1(a,k,w),y=u$1(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=undefined!==e?d[e]:null;if(null===t){const e=r$3(s,d[x]);v(e,p[k]),v$1[k]=e;}else v$1[k]=v(t,p[k]),r$3(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r$3(s,v$1[w+1]);v(e,p[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
3400
3623
 
3401
3624
  /**
3402
3625
  * @license
3403
3626
  * Copyright 2018 Google LLC
3404
3627
  * SPDX-License-Identifier: BSD-3-Clause
3405
- */const e$2=e$3(class extends i$3{constructor(t){if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
3628
+ */const e$2=e$3(class extends i$3{constructor(t){if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
3406
3629
 
3407
3630
  /**
3408
3631
  * @license
@@ -3518,21 +3741,21 @@ function stopNotifyingOnLangChange(element) {
3518
3741
  * Copyright 2019 Google LLC
3519
3742
  * SPDX-License-Identifier: BSD-3-Clause
3520
3743
  */
3521
- const t$4=globalThis,e$1$1=t$4.ShadowRoot&&(void 0===t$4.ShadyCSS||t$4.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$1=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$1$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$1.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",void 0,s),i$2=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1(o,t,s)},S=(s,o)=>{if(e$1$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$4.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
3744
+ const t$4=globalThis,e$1$1=t$4.ShadowRoot&&(undefined===t$4.ShadyCSS||t$4.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$1=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$1$1&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$1.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$1.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",undefined,s),i$2=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1(o,t,s)},S=(s,o)=>{if(e$1$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$4.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
3522
3745
 
3523
3746
  /**
3524
3747
  * @license
3525
3748
  * Copyright 2017 Google LLC
3526
3749
  * SPDX-License-Identifier: BSD-3-Clause
3527
- */const{is:i$1,defineProperty:e$5,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$5,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$1(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o$5(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else void 0!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.4");
3750
+ */const{is:i$1,defineProperty:e$5,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$5,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$1(t,s),y={attribute:true,type:String,converter:u,reflect:false,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o$5(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else undefined!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.4");
3528
3751
 
3529
3752
  /**
3530
3753
  * @license
3531
3754
  * Copyright 2017 Google LLC
3532
3755
  * SPDX-License-Identifier: BSD-3-Clause
3533
- */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i$6=globalThis.litElementPolyfillSupport;i$6?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
3756
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$6=globalThis.litElementPolyfillSupport;i$6?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
3534
3757
 
3535
- var styleCss$3$1 = i$2`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-25, 0.125rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input:disabled{background:none;pointer-events:none}`;
3758
+ var styleCss$3$1 = i$2`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}.clearBtn{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);overflow:hidden;width:0;opacity:0}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:1}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
3536
3759
 
3537
3760
  var colorCss$3 = i$2`.wrapper{border-color:transparent}.inputElement-helpText{color:var(--ds-auro-input-help-text-color)}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-input-help-text-color: var(--ds-color-text-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
3538
3761
 
@@ -5175,25 +5398,111 @@ class AuroFormValidation {
5175
5398
  }
5176
5399
 
5177
5400
  /**
5178
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
5401
+ * Resets the element to its initial state.
5179
5402
  * @private
5180
- * @param {object} elem - HTML element to validate.
5403
+ * @param {object} elem - HTML element to reset.
5181
5404
  * @returns {void}
5182
5405
  */
5183
- validateAttributes(elem) {
5184
- if (elem.pattern) {
5185
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
5406
+ reset(elem) {
5407
+ elem.validity = undefined;
5408
+ elem.value = undefined;
5409
+
5410
+ // Resets the second value of the datepicker in range state
5411
+ if (elem.valueEnd) {
5412
+ elem.valueEnd = undefined;
5413
+ }
5414
+
5415
+ // Resets selected option of element
5416
+ if (elem.optionSelected) {
5417
+ elem.optionSelected = undefined;
5418
+ }
5419
+
5420
+ // Runs validation to handle error attribute
5421
+ this.validate(elem);
5422
+ }
5186
5423
 
5187
- if (!pattern.test(elem.value)) {
5188
- elem.validity = 'badInput';
5189
- elem.setCustomValidity = elem.setCustomValidityBadInput || '';
5424
+ /**
5425
+ * Validates the attributes of a given element based on predefined validation rules.
5426
+ *
5427
+ * @param {HTMLElement} elem - The element to be validated.
5428
+ * @returns {void}
5429
+ *
5430
+ * @example
5431
+ * // Assuming `inputElement` is a reference to an input element in the DOM
5432
+ * validateElementAttributes(inputElement);
5433
+ *
5434
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
5435
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
5436
+ *
5437
+ * Validation rules:
5438
+ * - input:
5439
+ * - length:
5440
+ * - tooShort: Checks if the value length is less than the minimum length.
5441
+ * - tooLong: Checks if the value length exceeds the maximum length.
5442
+ * - pattern:
5443
+ * - patternMismatch: Checks if the value does not match the specified pattern.
5444
+ * - counter:
5445
+ * - range:
5446
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
5447
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
5448
+ */
5449
+ validateElementAttributes(elem) {
5450
+ const validationRules = {
5451
+ input: {
5452
+ length: [
5453
+ {
5454
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
5455
+ validity: 'tooShort',
5456
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
5457
+ },
5458
+ {
5459
+ check: (e) => e.value?.length > e.maxLength,
5460
+ validity: 'tooLong',
5461
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
5462
+ }
5463
+ ],
5464
+ pattern: [
5465
+ {
5466
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
5467
+ validity: 'patternMismatch',
5468
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
5469
+ }
5470
+ ]
5471
+ },
5472
+ counter: {
5473
+ range: [
5474
+ {
5475
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
5476
+ validity: 'rangeOverflow',
5477
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
5478
+ },
5479
+ {
5480
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
5481
+ validity: 'rangeUnderflow',
5482
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
5483
+ }
5484
+ ]
5485
+ }
5486
+ };
5487
+
5488
+ let elementType;
5489
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
5490
+ elementType = 'input';
5491
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
5492
+ elementType = 'counter';
5493
+ }
5494
+
5495
+ if (elementType) {
5496
+ const rules = validationRules[elementType];
5497
+
5498
+ if (rules) {
5499
+ Object.values(rules).flat().forEach(rule => {
5500
+ if (rule.check(elem)) {
5501
+ elem.validity = rule.validity;
5502
+ elem.errorMessage = rule.message(elem);
5503
+ }
5504
+ });
5190
5505
  }
5191
- } else if (elem.value && elem.value.length > 0 && elem.value.length < elem.minLength) {
5192
- elem.validity = 'tooShort';
5193
- elem.setCustomValidity = elem.setCustomValidityTooShort || '';
5194
- } else if (elem.value && elem.value.length > elem.maxLength) {
5195
- elem.validity = 'tooLong';
5196
- elem.setCustomValidity = elem.setCustomValidityTooLong || '';
5197
5506
  }
5198
5507
  }
5199
5508
 
@@ -5209,33 +5518,32 @@ class AuroFormValidation {
5209
5518
  const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
5210
5519
 
5211
5520
  if (!elem.value.match(emailRegex)) {
5212
- elem.validity = 'badInput';
5213
- elem.setCustomValidity = elem.setCustomValidityForType || '';
5521
+ elem.validity = 'patternMismatch';
5522
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
5214
5523
  }
5215
5524
  } else if (elem.type === 'credit-card') {
5216
5525
  if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
5217
5526
  elem.validity = 'tooShort';
5218
- elem.setCustomValidity = elem.setCustomValidityForType || '';
5527
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
5219
5528
  }
5220
- } else if (elem.type === 'number' || elem.type === 'numeric') { // 'numeric` is a deprecated alias for number'
5529
+ } else if (elem.type === 'number') {
5221
5530
  if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
5222
5531
  elem.validity = 'rangeOverflow';
5223
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
5532
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
5224
5533
  }
5225
5534
 
5226
- if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
5535
+ if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
5227
5536
  elem.validity = 'rangeUnderflow';
5228
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
5537
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
5229
5538
  }
5230
-
5231
5539
  } else if (elem.type === 'month-day-year' ||
5232
5540
  elem.type === 'month-year' ||
5233
5541
  elem.type === 'month-fullYear' ||
5234
5542
  elem.type === 'year-month-day'
5235
5543
  ) {
5236
- if (elem.value && elem.value.length > 0 && elem.value.length < elem.dateStrLength) {
5544
+ if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
5237
5545
  elem.validity = 'tooShort';
5238
- elem.setCustomValidity = elem.setCustomValidityForType || '';
5546
+ elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
5239
5547
  } else {
5240
5548
  const valueDate = new Date(elem.value);
5241
5549
 
@@ -5245,7 +5553,7 @@ class AuroFormValidation {
5245
5553
 
5246
5554
  if (valueDate > maxDate) {
5247
5555
  elem.validity = 'rangeOverflow';
5248
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
5556
+ elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
5249
5557
  }
5250
5558
  }
5251
5559
 
@@ -5255,7 +5563,7 @@ class AuroFormValidation {
5255
5563
 
5256
5564
  if (valueDate < minDate) {
5257
5565
  elem.validity = 'rangeUnderflow';
5258
- elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeUnderflow') || '';
5566
+ elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
5259
5567
  }
5260
5568
  }
5261
5569
  }
@@ -5278,10 +5586,10 @@ class AuroFormValidation {
5278
5586
 
5279
5587
  if (elem.hasAttribute('error')) {
5280
5588
  elem.validity = 'customError';
5281
- elem.setCustomValidity = elem.error;
5589
+ elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
5282
5590
  } else if (validationShouldRun) {
5283
5591
  elem.validity = 'valid';
5284
- elem.setCustomValidity = '';
5592
+ elem.errorMessage = '';
5285
5593
 
5286
5594
  /**
5287
5595
  * Only validate once we interact with the datepicker
@@ -5293,7 +5601,7 @@ class AuroFormValidation {
5293
5601
  let hasValue = elem.value && elem.value.length > 0;
5294
5602
 
5295
5603
  // If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
5296
- if (this.auroInputElements && this.auroInputElements.length === 2) {
5604
+ if (this.auroInputElements?.length === 2) {
5297
5605
  if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
5298
5606
  hasValue = false;
5299
5607
  }
@@ -5301,35 +5609,29 @@ class AuroFormValidation {
5301
5609
 
5302
5610
  if (!hasValue && elem.required) {
5303
5611
  elem.validity = 'valueMissing';
5304
- elem.setCustomValidity = elem.setCustomValidityValueMissing || '';
5612
+ elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
5305
5613
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
5306
5614
  this.validateType(elem);
5307
- this.validateAttributes(elem);
5615
+ this.validateElementAttributes(elem);
5616
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
5617
+ this.validateElementAttributes(elem);
5308
5618
  }
5309
5619
  }
5310
5620
 
5311
- if (this.auroInputElements && this.auroInputElements.length > 0) {
5621
+ if (this.auroInputElements?.length > 0) {
5312
5622
  elem.validity = this.auroInputElements[0].validity;
5313
- elem.setCustomValidity = this.auroInputElements[0].setCustomValidity;
5623
+ elem.errorMessage = this.auroInputElements[0].errorMessage;
5314
5624
 
5315
- if (elem.validity === 'valid') {
5316
- if (this.auroInputElements.length > 1) {
5317
- elem.validity = this.auroInputElements[1].validity;
5318
- elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
5319
- }
5625
+ if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
5626
+ elem.validity = this.auroInputElements[1].validity;
5627
+ elem.errorMessage = this.auroInputElements[1].errorMessage;
5320
5628
  }
5321
5629
  }
5322
5630
 
5323
5631
  if (validationShouldRun || elem.hasAttribute('error')) {
5324
- if (elem.validity && elem.validity !== 'valid') {
5325
- elem.isValid = false;
5326
-
5327
- // Use the validity message override if it is declared
5328
- if (elem.ValidityMessageOverride) {
5329
- elem.setCustomValidity = elem.ValidityMessageOverride;
5330
- }
5331
- } else {
5332
- elem.isValid = true;
5632
+ // Use the validity message override if it is declared
5633
+ if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
5634
+ elem.errorMessage = elem.ValidityMessageOverride;
5333
5635
  }
5334
5636
 
5335
5637
  this.getErrorMessage(elem);
@@ -5375,18 +5677,18 @@ class AuroFormValidation {
5375
5677
  if (elem.validity !== 'valid') {
5376
5678
  if (elem.setCustomValidity) {
5377
5679
  elem.errorMessage = elem.setCustomValidity;
5378
- } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
5680
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
5379
5681
  const input = elem.renderRoot.querySelector('input');
5380
5682
 
5381
5683
  if (input.validationMessage.length > 0) {
5382
5684
  elem.errorMessage = input.validationMessage;
5383
5685
  }
5384
- } else if (this.inputElements && this.inputElements.length > 0) {
5686
+ } else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
5385
5687
  const firstInput = this.inputElements[0];
5386
5688
 
5387
5689
  if (firstInput.validationMessage.length > 0) {
5388
5690
  elem.errorMessage = firstInput.validationMessage;
5389
- } else if (this.inputElements.length === 2) {
5691
+ } else if (this.inputElements?.length === 2) {
5390
5692
  const secondInput = this.inputElements[1];
5391
5693
 
5392
5694
  if (secondInput.validationMessage.length > 0) {
@@ -5407,45 +5709,8 @@ class AuroFormValidation {
5407
5709
  /**
5408
5710
  * Auro-input provides users a way to enter data into a text field.
5409
5711
  *
5410
- * @attr {Boolean} activeLabel - If set, the label will remain fixed in the active position.
5411
- * @attr {String} autocapitalize - An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
5412
- * @attr {String} autocomplete - An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
5413
- * @attr {String} autocorrect - When set to `off`, stops iOS from auto correcting words when typed into a text box.
5414
5712
  * @attr {Boolean} bordered - Applies bordered UI variant.
5415
5713
  * @attr {Boolean} borderless - Applies borderless UI variant.
5416
- * @attr {Boolean} disabled - If set, disables the input.
5417
- * @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
5418
- * @prop {String} errorMessage - Contains the help text message for the current validity error.
5419
- * @attr {String} helpText - Deprecated, see `slot`.
5420
- * @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
5421
- * @attr {String} id - Sets the unique ID of the element.
5422
- * @attr {String} isValid - (DEPRECATED - Please use validity) Can be accessed to determine if the input validity. Returns true when validity has not yet been checked or validity = 'valid', all other cases return false. Not intended to be set by the consumer.
5423
- * @attr {String} label - Deprecated, see `slot`.
5424
- * @attr {String} lang - defines the language of an element.
5425
- * @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
5426
- * @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
5427
- * @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `numeric` and all date formats.
5428
- * @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
5429
- * @attr {String} name - Populates the `name` attribute on the input.
5430
- * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
5431
- * @attr {Boolean} readonly - Makes the input read-only, but can be set programmatically.
5432
- * @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
5433
- * @attr {String} pattern - Specifies a regular expression the form control's value should match.
5434
- * @attr {String} placeholder - Define custom placeholder text, only supported by date input formats.
5435
- * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
5436
- * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
5437
- * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
5438
- * @attr {String} setCustomValidityBadInput - Custom help text message to display when validity = `badInput`.
5439
- * @attr {String} setCustomValidityTooShort - Custom help text message to display when validity = `tooShort`.
5440
- * @attr {String} setCustomValidityTooLong - Custom help text message to display when validity = `tooLong`.
5441
- * @attr {String} setCustomValidityForType - Custom help text message to display for the declared element `type` and type validity fails.
5442
- * @attr {String} setCustomValidityRangeOverflow - Custom help text message to display when validity = `rangeOverflow`.
5443
- * @attr {String} setCustomValidityRangeUnderflow - Custom help text message to display when validity = `rangeUnderflow`.
5444
- * @attr {String} spellcheck - An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
5445
- * @attr {String} type - Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
5446
- * @attr {Boolean} validateOnInput - Sets validation mode to re-eval with each input.
5447
- * @attr {String} validity - Specifies the `validityState` this element is in.
5448
- * @attr {String} value - Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
5449
5714
  *
5450
5715
  * @slot helptext - Sets the help text displayed below the input.
5451
5716
  * @slot label - Sets the label text for the input.
@@ -5464,8 +5729,6 @@ class BaseInput extends r {
5464
5729
  constructor() {
5465
5730
  super();
5466
5731
 
5467
- this.isValid = false;
5468
-
5469
5732
  this.icon = false;
5470
5733
  this.disabled = false;
5471
5734
  this.required = false;
@@ -5474,9 +5737,7 @@ class BaseInput extends r {
5474
5737
  this.min = undefined;
5475
5738
  this.maxLength = undefined;
5476
5739
  this.minLength = undefined;
5477
- this.label = 'Input label is undefined';
5478
5740
  this.activeLabel = false;
5479
-
5480
5741
  this.setCustomValidityForType = undefined;
5481
5742
  }
5482
5743
 
@@ -5491,9 +5752,11 @@ class BaseInput extends r {
5491
5752
  this.showPassword = false;
5492
5753
  this.validationCCLength = undefined;
5493
5754
  this.hasValue = false;
5755
+ this.label = 'Input label is undefined';
5494
5756
 
5495
5757
  this.allowedInputTypes = [
5496
5758
  "text",
5759
+ "number",
5497
5760
  "email",
5498
5761
  "password",
5499
5762
  "credit-card",
@@ -5539,77 +5802,272 @@ class BaseInput extends r {
5539
5802
  .substring(idSubstrStart, idSubstrEnd);
5540
5803
  }
5541
5804
 
5542
- // function to define props used within the scope of this component
5805
+ // function to define props used within the scope of this componentstatic
5543
5806
  static get properties() {
5544
5807
  return {
5545
- id: { type: String },
5546
- label: { type: String },
5547
- name: { type: String },
5548
- type: { type: String,
5549
- reflect: true },
5550
- value: { type: String },
5551
- lang: { type: String },
5552
- pattern: {
5553
- type: String,
5808
+
5809
+ /**
5810
+ * If set, the label will remain fixed in the active position.
5811
+ */
5812
+ activeLabel: {
5813
+ type: Boolean,
5554
5814
  reflect: true
5555
5815
  },
5556
- icon: { type: Boolean },
5557
- disabled: { type: Boolean },
5558
- required: { type: Boolean },
5559
- noValidate: { type: Boolean },
5560
- helpText: { type: String },
5561
- spellcheck: { type: String },
5562
- autocorrect: { type: String },
5563
- autocapitalize: { type: String },
5564
- autocomplete: {
5816
+
5817
+ /**
5818
+ * An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
5819
+ */
5820
+ autocapitalize: {
5821
+ type: String
5822
+ },
5823
+
5824
+ /**
5825
+ * An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
5826
+ */
5827
+ autocomplete: {
5565
5828
  type: String,
5566
5829
  reflect: true
5567
5830
  },
5568
- placeholder: { type: String },
5569
- activeLabel: {
5570
- type: Boolean,
5571
- reflect: true
5831
+
5832
+ /**
5833
+ * When set to `off`, stops iOS from auto-correcting words when typed into a text box.
5834
+ */
5835
+ autocorrect: {
5836
+ type: String
5572
5837
  },
5573
- max: { type: String },
5574
- min: { type: String },
5575
- maxLength: { type: Number },
5576
- minLength: { type: Number },
5577
5838
 
5578
5839
  /**
5579
- * @ignore
5840
+ * If set, disables the input.
5580
5841
  */
5581
- showPassword: { state: true },
5582
- validateOnInput: { type: Boolean },
5583
- readonly: { type: Boolean },
5584
- error: {
5842
+ disabled: {
5843
+ type: Boolean
5844
+ },
5845
+
5846
+ error: {
5585
5847
  type: String,
5586
5848
  reflect: true
5587
5849
  },
5588
- errorMessage: { type: String },
5589
- isValid: {
5850
+
5851
+ /**
5852
+ * Contains the help text message for the current validity error.
5853
+ */
5854
+ errorMessage: {
5855
+ type: String
5856
+ },
5857
+
5858
+ /**
5859
+ * If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
5860
+ */
5861
+ icon: {
5862
+ type: Boolean
5863
+ },
5864
+
5865
+ /**
5866
+ * Sets the unique ID of the element.
5867
+ */
5868
+ id: {
5869
+ type: String
5870
+ },
5871
+
5872
+ /**
5873
+ * Defines the language of an element.
5874
+ */
5875
+ lang: {
5876
+ type: String
5877
+ },
5878
+
5879
+ /**
5880
+ * The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
5881
+ */
5882
+ max: {
5883
+ type: String
5884
+ },
5885
+
5886
+ /**
5887
+ * The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
5888
+ */
5889
+ maxLength: {
5890
+ type: Number
5891
+ },
5892
+
5893
+ /**
5894
+ * The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
5895
+ */
5896
+ min: {
5897
+ type: String
5898
+ },
5899
+
5900
+ /**
5901
+ * The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
5902
+ */
5903
+ minLength: {
5904
+ type: Number
5905
+ },
5906
+
5907
+ /**
5908
+ * Populates the `name` attribute on the input.
5909
+ */
5910
+ name: {
5911
+ type: String
5912
+ },
5913
+
5914
+ /**
5915
+ * If set, disables auto-validation on blur.
5916
+ */
5917
+ noValidate: {
5918
+ type: Boolean
5919
+ },
5920
+
5921
+ /**
5922
+ * Specifies a regular expression the form control's value should match.
5923
+ */
5924
+ pattern: {
5590
5925
  type: String,
5591
5926
  reflect: true
5592
5927
  },
5593
- validity: {
5928
+
5929
+ /**
5930
+ * Define custom placeholder text, only supported by date input formats.
5931
+ */
5932
+ placeholder: {
5933
+ type: String
5934
+ },
5935
+
5936
+ /**
5937
+ * Makes the input read-only, but can be set programmatically.
5938
+ */
5939
+ readonly: {
5940
+ type: Boolean
5941
+ },
5942
+
5943
+ /**
5944
+ * Populates the `required` attribute on the input. Used for client-side validation.
5945
+ */
5946
+ required: {
5947
+ type: Boolean
5948
+ },
5949
+
5950
+ /**
5951
+ * @ignore
5952
+ */
5953
+ showPassword: {
5954
+ state: true
5955
+ },
5956
+
5957
+ /**
5958
+ * Sets a custom help text message to display for all validityStates.
5959
+ */
5960
+ setCustomValidity: {
5961
+ type: String
5962
+ },
5963
+
5964
+ /**
5965
+ * Custom help text message to display when validity = `badInput`.
5966
+ */
5967
+ setCustomValidityBadInput: {
5968
+ type: String
5969
+ },
5970
+
5971
+ /**
5972
+ * Custom help text message to display when validity = `customError`.
5973
+ */
5974
+ setCustomValidityCustomError: {
5975
+ type: String
5976
+ },
5977
+
5978
+ /**
5979
+ * Custom help text message to display for the declared element `type` and type validity fails.
5980
+ */
5981
+ setCustomValidityForType: {
5982
+ type: String
5983
+ },
5984
+
5985
+ /**
5986
+ * Custom help text message to display when validity = `rangeOverflow`.
5987
+ */
5988
+ setCustomValidityRangeOverflow: {
5989
+ type: String
5990
+ },
5991
+
5992
+ /**
5993
+ * Custom help text message to display when validity = `rangeUnderflow`.
5994
+ */
5995
+ setCustomValidityRangeUnderflow: {
5996
+ type: String
5997
+ },
5998
+
5999
+ /**
6000
+ * Custom help text message to display when validity = `tooLong`.
6001
+ */
6002
+ setCustomValidityTooLong: {
6003
+ type: String
6004
+ },
6005
+
6006
+ /**
6007
+ * Custom help text message to display when validity = `tooShort`.
6008
+ */
6009
+ setCustomValidityTooShort: {
6010
+ type: String
6011
+ },
6012
+
6013
+ /**
6014
+ * Custom help text message to display when validity = `valueMissing`.
6015
+ */
6016
+ setCustomValidityValueMissing: {
6017
+ type: String
6018
+ },
6019
+
6020
+ /**
6021
+ * Custom help text message for email type validity.
6022
+ */
6023
+ customValidityTypeEmail: {
6024
+ type: String
6025
+ },
6026
+
6027
+ /**
6028
+ * An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
6029
+ */
6030
+ spellcheck: {
6031
+ type: String
6032
+ },
6033
+
6034
+ /**
6035
+ * Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
6036
+ */
6037
+ type: {
5594
6038
  type: String,
5595
6039
  reflect: true
5596
6040
  },
5597
- setCustomValidity: { type: String },
5598
- setCustomValidityCustomError: { type: String },
5599
- setCustomValidityValueMissing: { type: String },
5600
- setCustomValidityBadInput: { type: String },
5601
- setCustomValidityTooShort: { type: String },
5602
- setCustomValidityTooLong: { type: String },
5603
- setCustomValidityRangeOverflow: { type: String},
5604
- setCustomValidityRangeUnderflow: { type: String},
5605
- customValidityTypeEmail: { type: String }
6041
+
6042
+ /**
6043
+ * Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
6044
+ */
6045
+ value: {
6046
+ type: String
6047
+ },
6048
+
6049
+ /**
6050
+ * Sets validation mode to re-eval with each input.
6051
+ */
6052
+ validateOnInput: {
6053
+ type: Boolean
6054
+ },
6055
+
6056
+ /**
6057
+ * Specifies the `validityState` this element is in.
6058
+ */
6059
+ validity: {
6060
+ type: String,
6061
+ reflect: true
6062
+ }
5606
6063
  };
5607
6064
  }
5608
6065
 
6066
+
5609
6067
  static get styles() {
5610
6068
  return [
5611
- i$2`${styleCss$3$1}`,
5612
6069
  i$2`${colorCss$3}`,
6070
+ i$2`${styleCss$3$1}`,
5613
6071
  i$2`${tokensCss$3}`
5614
6072
  ];
5615
6073
  }
@@ -5992,7 +6450,7 @@ class BaseInput extends r {
5992
6450
  * @return {void}
5993
6451
  */
5994
6452
  handleInput() {
5995
- // Prevent non-numeric characters from being entered on credit card fields.
6453
+ // Prevent non-number characters from being entered on credit card fields.
5996
6454
  if (this.type === 'credit-card') {
5997
6455
  this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
5998
6456
  }
@@ -6078,6 +6536,13 @@ class BaseInput extends r {
6078
6536
  this.validation.validate(this);
6079
6537
  }
6080
6538
 
6539
+ /**
6540
+ * Resets component to initial state.
6541
+ * @returns {void}
6542
+ */
6543
+ reset() {
6544
+ this.validation.reset(this);
6545
+ }
6081
6546
 
6082
6547
  /**
6083
6548
  * Sets configuration data used elsewhere based on the `type` attribute.
@@ -6120,30 +6585,28 @@ class BaseInput extends r {
6120
6585
  */
6121
6586
  getHelpText(type) {
6122
6587
  if (type === 'password') {
6123
- this.helpText = i18n(this.lang, 'password');
6588
+ return i18n(this.lang, 'password');
6124
6589
  } else if (type === 'email') {
6125
- this.helpText = i18n(this.lang, 'email');
6590
+ return i18n(this.lang, 'email');
6126
6591
  } else if (type === 'credit-card') {
6127
- this.helpText = i18n(this.lang, 'creditcard');
6592
+ return i18n(this.lang, 'creditcard');
6128
6593
  } else if (type === 'month-day-year') {
6129
- this.helpText = i18n(this.lang, 'dateMMDDYYYY');
6594
+ return i18n(this.lang, 'dateMMDDYYYY');
6130
6595
  } else if (type === 'month-year') {
6131
- this.helpText = i18n(this.lang, 'dateMMYY');
6596
+ return i18n(this.lang, 'dateMMYY');
6132
6597
  } else if (type === 'month-fullyear') {
6133
- this.helpText = i18n(this.lang, 'dateMMYYYY');
6598
+ return i18n(this.lang, 'dateMMYYYY');
6134
6599
  } else if (type === 'year-month-day') {
6135
- this.helpText = i18n(this.lang, 'dateYYYYMMDD');
6600
+ return i18n(this.lang, 'dateYYYYMMDD');
6136
6601
  } else if (type === 'month') {
6137
- this.helpText = i18n(this.lang, 'dateMM');
6602
+ return i18n(this.lang, 'dateMM');
6138
6603
  } else if (type === 'year') {
6139
- this.helpText = i18n(this.lang, 'dateYY');
6604
+ return i18n(this.lang, 'dateYY');
6140
6605
  } else if (type === 'fullYear') {
6141
- this.helpText = i18n(this.lang, 'dateYYYY');
6142
- } else {
6143
- this.helpText = '';
6606
+ return i18n(this.lang, 'dateYYYY');
6144
6607
  }
6145
6608
 
6146
- return this.helpText;
6609
+ return '';
6147
6610
  }
6148
6611
 
6149
6612
  /**
@@ -6225,7 +6688,7 @@ class BaseInput extends r {
6225
6688
  this.maxLength = card.formatLength;
6226
6689
  this.minLength = card.formatMinLength;
6227
6690
 
6228
- this.setCustomValidity = card.setCustomValidity;
6691
+ this.errorMessage = card.errorMessage;
6229
6692
 
6230
6693
  if (this.icon) {
6231
6694
  this.inputIconName = card.cardIcon;
@@ -6245,63 +6708,63 @@ class BaseInput extends r {
6245
6708
  name: 'Airlines',
6246
6709
  regex: /^(?<num>1|2)\d{0}/u,
6247
6710
  formatMinLength: 17,
6248
- setCustomValidity: CreditCardValidationMessage,
6711
+ errorMessage: CreditCardValidationMessage,
6249
6712
  cardIcon: 'credit-card'
6250
6713
  },
6251
6714
  {
6252
6715
  name: 'Commercial',
6253
6716
  regex: /^(?<num>2)\d{0}/u,
6254
6717
  formatMinLength: 8,
6255
- setCustomValidity: CreditCardValidationMessage,
6718
+ errorMessage: CreditCardValidationMessage,
6256
6719
  cardIcon: 'credit-card'
6257
6720
  },
6258
6721
  {
6259
6722
  name: 'Alaska Commercial',
6260
6723
  regex: /^(?<num>27)\d{0}/u,
6261
6724
  formatMinLength: 8,
6262
- setCustomValidity: CreditCardValidationMessage,
6725
+ errorMessage: CreditCardValidationMessage,
6263
6726
  cardIcon: 'cc-alaska'
6264
6727
  },
6265
6728
  {
6266
6729
  name: 'American Express',
6267
6730
  regex: /^(?<num>34|37)\d{0}/u,
6268
6731
  formatLength: 17,
6269
- setCustomValidity: CreditCardValidationMessage,
6732
+ errorMessage: CreditCardValidationMessage,
6270
6733
  cardIcon: 'cc-amex'
6271
6734
  },
6272
6735
  {
6273
6736
  name: 'Diners club',
6274
6737
  regex: /^(?<num>36|38)\d{0}/u,
6275
6738
  formatLength: 16,
6276
- setCustomValidity: CreditCardValidationMessage,
6739
+ errorMessage: CreditCardValidationMessage,
6277
6740
  cardIcon: 'credit-card'
6278
6741
  },
6279
6742
  {
6280
6743
  name: 'Visa',
6281
6744
  regex: /^(?<num>4)\d{0}/u,
6282
6745
  formatLength: 19,
6283
- setCustomValidity: CreditCardValidationMessage,
6746
+ errorMessage: CreditCardValidationMessage,
6284
6747
  cardIcon: 'cc-visa'
6285
6748
  },
6286
6749
  {
6287
6750
  name: 'Alaska Airlines Visa',
6288
6751
  regex: /^(?<num>4147\s34|4888\s93|4800\s11|4313\s51|4313\s07)\d{0}/u,
6289
6752
  formatLength: 19,
6290
- setCustomValidity: CreditCardValidationMessage,
6753
+ errorMessage: CreditCardValidationMessage,
6291
6754
  cardIcon: 'cc-alaska'
6292
6755
  },
6293
6756
  {
6294
6757
  name: 'Master Card',
6295
6758
  regex: /^(?<num>5)\d{0}/u,
6296
6759
  formatLength: 19,
6297
- setCustomValidity: CreditCardValidationMessage,
6760
+ errorMessage: CreditCardValidationMessage,
6298
6761
  cardIcon: 'cc-mastercard'
6299
6762
  },
6300
6763
  {
6301
6764
  name: 'Discover Card',
6302
6765
  regex: /^(?<num>6)\d{0}/u,
6303
6766
  formatLength: 19,
6304
- setCustomValidity: CreditCardValidationMessage,
6767
+ errorMessage: CreditCardValidationMessage,
6305
6768
  cardIcon: 'cc-discover'
6306
6769
  }
6307
6770
  ];
@@ -6309,7 +6772,7 @@ class BaseInput extends r {
6309
6772
  let type = {
6310
6773
  name: 'Default Card',
6311
6774
  formatLength: 19,
6312
- setCustomValidity: CreditCardValidationMessage,
6775
+ errorMessage: CreditCardValidationMessage,
6313
6776
  cardIcon: 'credit-card'
6314
6777
  };
6315
6778
 
@@ -6431,7 +6894,7 @@ const cacheFetch$1 = (uri, options = {}) => {
6431
6894
  return _fetchMap$1.get(uri);
6432
6895
  };
6433
6896
 
6434
- var styleCss$2$1 = i$2`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
6897
+ var styleCss$2$1 = i$2`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
6435
6898
 
6436
6899
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
6437
6900
  // See LICENSE in the project root for license information.
@@ -6698,7 +7161,8 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
6698
7161
  };
6699
7162
 
6700
7163
  const classes = {
6701
- 'label': this.label
7164
+ 'label': this.label,
7165
+ 'wrapper': true,
6702
7166
  };
6703
7167
 
6704
7168
  return x`
@@ -6722,7 +7186,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
6722
7186
  }
6723
7187
  };
6724
7188
 
6725
- var iconVersion$1 = '6.1.1';
7189
+ var iconVersion$1 = '6.1.2';
6726
7190
 
6727
7191
  var styleCss$1$1 = i$2`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
6728
7192
 
@@ -7074,6 +7538,7 @@ class AuroButton extends r {
7074
7538
  const classes = {
7075
7539
  'util_insetLg--squish': true,
7076
7540
  'auro-button': true,
7541
+ 'auroButton': true,
7077
7542
  'auro-button--rounded': this.rounded,
7078
7543
  'auro-button--slim': this.slim,
7079
7544
  'auro-button--iconOnly': this.iconOnly,
@@ -7113,7 +7578,7 @@ class AuroButton extends r {
7113
7578
  }
7114
7579
  }
7115
7580
 
7116
- var buttonVersion = '8.2.0';
7581
+ var buttonVersion = '8.2.2';
7117
7582
 
7118
7583
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
7119
7584
  // See LICENSE in the project root for license information.
@@ -7332,7 +7797,6 @@ class AuroInput extends BaseInput {
7332
7797
  <p class="inputElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
7333
7798
  ${this.errorMessage}
7334
7799
  </p>`
7335
-
7336
7800
  }
7337
7801
  `;
7338
7802
  }
@@ -7353,9 +7817,11 @@ var styleCss$3 = i$c`.util_displayInline{display:inline}.util_displayInlineBlock
7353
7817
  * @prop {Object} optionSelected - Specifies the current selected option.
7354
7818
  * @prop {String} value - Value selected for the dropdown menu.
7355
7819
  * @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
7356
- * @attr {Boolean} error - Sets a persistent error state (e.g. an error state returned from the server).
7820
+ * @attr {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
7357
7821
  * @attr {String} validity - Specifies the `validityState` this element is in.
7358
7822
  * @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
7823
+ * @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
7824
+ * @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
7359
7825
  * @attr {Boolean} disabled - If set, disables the combobox.
7360
7826
  * @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
7361
7827
  * @attr {Boolean} noValidate - If set, disables auto-validation on blur.
@@ -7421,12 +7887,17 @@ class AuroCombobox extends r$6 {
7421
7887
  return {
7422
7888
  // ...super.properties,
7423
7889
  error: {
7424
- type: Boolean,
7890
+ type: String,
7425
7891
  reflect: true
7426
7892
  },
7427
7893
  setCustomValidity: {
7428
- type: String,
7429
- reflect: true
7894
+ type: String
7895
+ },
7896
+ setCustomValidityCustomError: {
7897
+ type: String
7898
+ },
7899
+ setCustomValidityValueMissing: {
7900
+ type: String
7430
7901
  },
7431
7902
  validity: {
7432
7903
  type: String,
@@ -7455,8 +7926,7 @@ class AuroCombobox extends r$6 {
7455
7926
  reflect: true
7456
7927
  },
7457
7928
  value: {
7458
- type: String,
7459
- reflect: true
7929
+ type: String
7460
7930
  },
7461
7931
  checkmark: {
7462
7932
  type: Boolean,
@@ -7665,9 +8135,6 @@ class AuroCombobox extends r$6 {
7665
8135
 
7666
8136
  // handle the menu event for an option selection
7667
8137
  this.menu.addEventListener('auroMenu-selectedOption', () => {
7668
- // dropdown bib should hide when making a selection
7669
- this.hideBib();
7670
-
7671
8138
  if (this.menu.optionSelected) {
7672
8139
  if (this.optionSelected !== this.menu.optionSelected) {
7673
8140
  this.optionSelected = this.menu.optionSelected;
@@ -7696,6 +8163,9 @@ class AuroCombobox extends r$6 {
7696
8163
  composed: true,
7697
8164
  }));
7698
8165
  }
8166
+
8167
+ // dropdown bib should hide when making a selection
8168
+ this.hideBib();
7699
8169
  });
7700
8170
 
7701
8171
  this.menu.addEventListener('auroMenu-customEventFired', () => {
@@ -7711,9 +8181,7 @@ class AuroCombobox extends r$6 {
7711
8181
  });
7712
8182
 
7713
8183
  this.menu.addEventListener('auroMenu-selectValueReset', () => {
7714
- this.optionSelected = undefined;
7715
- this.value = undefined;
7716
- this.validation.validate(this);
8184
+ this.reset();
7717
8185
  });
7718
8186
  }
7719
8187
 
@@ -7742,56 +8210,8 @@ class AuroCombobox extends r$6 {
7742
8210
  }
7743
8211
  });
7744
8212
 
7745
- this.input.addEventListener('input', () => {
7746
- this.menu.matchWord = this.input.value;
7747
- this.optionActive = null;
7748
-
7749
- if (this.value !== this.input.value) {
7750
- this.value = this.input.value;
7751
- }
7752
-
7753
- if (this.value !== this.menu.value) {
7754
- this.menu.value = this.value;
7755
- }
7756
-
7757
- if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
7758
- this.optionSelected = undefined;
7759
- }
7760
-
7761
- this.menu.resetOptionsStates();
7762
-
7763
- this.handleMenuOptions();
7764
-
7765
- this.handleInputValueChange();
7766
- // validate only if the value was set programmatically
7767
- if (document.activeElement !== this) {
7768
- this.validation.validate(this);
7769
- }
7770
-
7771
- // hide the menu if the value is empty otherwise show if there are available suggestions
7772
- if (this.input.value.length === 0) {
7773
- this.hideBib();
7774
- this.classList.remove('combobox-filled');
7775
- } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
7776
- const hasFocus = this.contains(document.activeElement);
7777
-
7778
- // if the focus is within the combobox, then show the bib
7779
- // this will prevent the bib from being shown while loading & presetting the value
7780
- if (hasFocus) {
7781
- this.showBib();
7782
- }
7783
-
7784
- this.classList.add('combobox-filled');
7785
- }
7786
-
7787
- // force the dropdown bib to hide if the input value has no matching suggestions
7788
- if (!this.availableOptions || this.availableOptions.length === 0) {
7789
- this.hideBib();
7790
- }
7791
- });
7792
-
7793
8213
  this.input.addEventListener('auroFormElement-validated', (evt) => {
7794
- this.auroInputHelpText = evt.detail.message;
8214
+ this.errorMessage = evt.detail.message;
7795
8215
  });
7796
8216
  }
7797
8217
 
@@ -7824,8 +8244,14 @@ class AuroCombobox extends r$6 {
7824
8244
  * @returns {void}
7825
8245
  */
7826
8246
  handleInputValueChange() {
8247
+ this.menu.matchWord = this.input.value;
8248
+ this.optionActive = null;
8249
+
8250
+ let hasChange = false;
8251
+
7827
8252
  if (this.value !== this.input.value) {
7828
8253
  this.value = this.input.value;
8254
+ hasChange = true;
7829
8255
 
7830
8256
  this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
7831
8257
  bubbles: true,
@@ -7834,10 +8260,48 @@ class AuroCombobox extends r$6 {
7834
8260
  }));
7835
8261
  }
7836
8262
 
7837
- // This check prevents the component showing an error when a required datepicker is first rendered
7838
- if (this.input.value) {
8263
+ if (this.value !== this.menu.value) {
8264
+ this.menu.value = this.value;
8265
+ hasChange = true;
8266
+ }
8267
+
8268
+ if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
8269
+ this.optionSelected = undefined;
8270
+ hasChange = true;
8271
+ }
8272
+
8273
+ if (!hasChange) {
8274
+ return;
8275
+ }
8276
+
8277
+ this.menu.resetOptionsStates();
8278
+ this.handleMenuOptions();
8279
+
8280
+ // validate if the value was set programmatically
8281
+ if (document.activeElement !== this) {
7839
8282
  this.validation.validate(this);
7840
8283
  }
8284
+
8285
+ // hide the menu if the value is empty otherwise show if there are available suggestions
8286
+ if (this.input.value && this.input.value.length === 0) {
8287
+ this.hideBib();
8288
+ this.classList.remove('combobox-filled');
8289
+ } else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
8290
+ const hasFocus = this.contains(document.activeElement);
8291
+
8292
+ // if the focus is within the combobox, then show the bib
8293
+ // this will prevent the bib from being shown while loading & presetting the value
8294
+ if (hasFocus) {
8295
+ this.showBib();
8296
+ }
8297
+
8298
+ this.classList.add('combobox-filled');
8299
+ }
8300
+
8301
+ // force the dropdown bib to hide if the input value has no matching suggestions
8302
+ if (!this.availableOptions || this.availableOptions.length === 0) {
8303
+ this.hideBib();
8304
+ }
7841
8305
  }
7842
8306
 
7843
8307
  /**
@@ -7930,6 +8394,15 @@ class AuroCombobox extends r$6 {
7930
8394
  this.input.focus();
7931
8395
  }
7932
8396
 
8397
+ /**
8398
+ * Resets component to initial state.
8399
+ * @returns {void}
8400
+ */
8401
+ reset() {
8402
+ this.input.reset();
8403
+ this.validation.reset(this);
8404
+ }
8405
+
7933
8406
  updated(changedProperties) {
7934
8407
  // After the component is ready, send direct value changes to auro-menu.
7935
8408
  if (changedProperties.has('value')) {
@@ -7958,10 +8431,6 @@ class AuroCombobox extends r$6 {
7958
8431
  this.input.setAttribute('error', this.getAttribute('error'));
7959
8432
  this.validation.validate(this);
7960
8433
  }
7961
-
7962
- if (changedProperties.has('setCustomValidity')) {
7963
- this.input.setAttribute('setCustomValidity', this.setCustomValidity);
7964
- }
7965
8434
  }
7966
8435
 
7967
8436
  /**
@@ -8015,19 +8484,24 @@ class AuroCombobox extends r$6 {
8015
8484
  ?noValidate="${this.noValidate}"
8016
8485
  ?disabled="${this.disabled}"
8017
8486
  ?icon="${this.triggerIcon}"
8018
- .type="${this.type}">
8487
+ setCustomValidity="${this.setCustomValidity}"
8488
+ setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
8489
+ setCustomValidityCustomError="${this.setCustomValidityCustomError}"
8490
+ .type="${this.type}"
8491
+ @input="${this.handleInputValueChange}">
8019
8492
  <slot name="label" slot="label"></slot>
8020
8493
  </${this.inputTag}>
8021
8494
  <div class="menuWrapper">
8022
8495
  </div>
8023
8496
  <span slot="helpText">
8024
- ${this.auroInputHelpText
8497
+ <!-- Help text and error message template -->
8498
+ ${!this.validity || this.validity === undefined || this.validity === 'valid'
8025
8499
  ? u$6`
8026
- ${this.auroInputHelpText}
8027
- `
8028
- : u$6`
8029
8500
  <slot name="helpText"></slot>
8030
- `
8501
+ ` : u$6`
8502
+ <p role="alert" aria-live="assertive" part="helpText">
8503
+ ${this.errorMessage}
8504
+ </p>`
8031
8505
  }
8032
8506
  </span>
8033
8507
  </${this.dropdownTag}>
@@ -8057,14 +8531,10 @@ var tokensCss$1 = i$c`:host{--ds-auro-menu-divider-color: var(--ds-color-border-
8057
8531
  * @attr {String} value - Value selected for the menu.
8058
8532
  * @prop {Boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
8059
8533
  * @event auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
8060
- * @event selectedOption - (DEPRECATED) Notifies that a new menuoption selection has been made.
8061
8534
  * @event auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
8062
- * @event auroMenuActivatedOption - (DEPRECATED) Notifies that a menuoption has been made `active`.
8063
8535
  * @event auroMenu-selectValueFailure - Notifies that a an attempt to select a menuoption by matching a value has failed.
8064
- * @event auroMenuSelectValueFailure - (DEPRECATED) Notifies that a an attempt to select a menuoption by matching a value has failed.
8065
- * @event auroMenu-customEventFired - Notifies that a custom event has been fired.
8066
- * @event auroMenuCustomEventFired - (DEPRECATED) Notifies that a custom event has been fired.
8067
8536
  * @event auroMenu-selectValueReset - Notifies that the component value has been reset.
8537
+ * @event auroMenu-customEventFired - Notifies that a custom event has been fired.
8068
8538
  * @event auroMenu-loadingChange - Notifies when the loading attribute is changed.
8069
8539
  * @slot loadingText - Text to show while loading attribute is set
8070
8540
  * @slot loadingIcon - Icon to show while loading attribute is set
@@ -8272,13 +8742,6 @@ class AuroMenu extends r$6 {
8272
8742
  * @return {void}
8273
8743
  */
8274
8744
  notifySelectionChange() {
8275
- // this event needs to be removed after select and combobox are updated to use the new standard name
8276
- this.dispatchEvent(new CustomEvent('selectedOption', {
8277
- bubbles: true,
8278
- cancelable: false,
8279
- composed: true,
8280
- }));
8281
-
8282
8745
  this.dispatchEvent(new CustomEvent('auroMenu-selectedOption', {
8283
8746
  bubbles: true,
8284
8747
  cancelable: false,
@@ -8310,13 +8773,6 @@ class AuroMenu extends r$6 {
8310
8773
  composed: true,
8311
8774
  }));
8312
8775
 
8313
- // this event needs to be removed after select and combobox are updated to use the new standard name
8314
- this.dispatchEvent(new CustomEvent('auroMenuCustomEventFired', {
8315
- bubbles: true,
8316
- cancelable: false,
8317
- composed: true,
8318
- }));
8319
-
8320
8776
  this.dispatchEvent(new CustomEvent('auroMenu-customEventFired', {
8321
8777
  bubbles: true,
8322
8778
  cancelable: false,
@@ -8477,13 +8933,6 @@ class AuroMenu extends r$6 {
8477
8933
  // reset the menu to no selection
8478
8934
  this.index = undefined;
8479
8935
 
8480
- // this event needs to be removed after select and combobox are updated to use the new standard name
8481
- this.dispatchEvent(new CustomEvent('auroMenuSelectValueFailure', {
8482
- bubbles: true,
8483
- cancelable: false,
8484
- composed: true,
8485
- }));
8486
-
8487
8936
  this.dispatchEvent(new CustomEvent('auroMenu-selectValueFailure', {
8488
8937
  bubbles: true,
8489
8938
  cancelable: false,
@@ -8515,13 +8964,6 @@ class AuroMenu extends r$6 {
8515
8964
  this.items[index].classList.add('active');
8516
8965
  this.optionActive = this.items[index];
8517
8966
 
8518
- this.dispatchEvent(new CustomEvent('auroMenuActivatedOption', {
8519
- bubbles: true,
8520
- cancelable: false,
8521
- composed: true,
8522
- detail: this.items[index]
8523
- }));
8524
-
8525
8967
  this.dispatchEvent(new CustomEvent('auroMenu-activatedOption', {
8526
8968
  bubbles: true,
8527
8969
  cancelable: false,
@@ -8618,7 +9060,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
8618
9060
  * @license
8619
9061
  * Copyright 2018 Google LLC
8620
9062
  * SPDX-License-Identifier: BSD-3-Clause
8621
- */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$2}});
9063
+ */const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$2}});
8622
9064
 
8623
9065
  /**
8624
9066
  * @license
@@ -8692,7 +9134,7 @@ const cacheFetch = (uri, options = {}) => {
8692
9134
  return _fetchMap.get(uri);
8693
9135
  };
8694
9136
 
8695
- var styleCss = i$c`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
9137
+ var styleCss = i$c`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
8696
9138
 
8697
9139
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
8698
9140
  // See LICENSE in the project root for license information.
@@ -8959,7 +9401,8 @@ class AuroIcon extends BaseIcon {
8959
9401
  };
8960
9402
 
8961
9403
  const classes = {
8962
- 'label': this.label
9404
+ 'label': this.label,
9405
+ 'wrapper': true,
8963
9406
  };
8964
9407
 
8965
9408
  return x$2`
@@ -8983,7 +9426,7 @@ class AuroIcon extends BaseIcon {
8983
9426
  }
8984
9427
  }
8985
9428
 
8986
- var iconVersion = '6.1.1';
9429
+ var iconVersion = '6.1.2';
8987
9430
 
8988
9431
  var checkmarkIcon = {"role":"img","color":"currentColor","title":"","desc":"a small check mark.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"checkmark-sm","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
8989
9432
 
@@ -9041,8 +9484,7 @@ class AuroMenuOption extends r$6 {
9041
9484
  reflect: true
9042
9485
  },
9043
9486
  value: {
9044
- type: String,
9045
- reflect: true
9487
+ type: String
9046
9488
  },
9047
9489
  tabIndex: {
9048
9490
  type: Number,
@@ -9136,6 +9578,7 @@ function initExamples(initCount) {
9136
9578
  valueExample();
9137
9579
  focusExample();
9138
9580
  inDialogExample();
9581
+ resetStateExample();
9139
9582
  auroMenuLoadingExample();
9140
9583
  } catch (err) {
9141
9584
  if (initCount <= 20) {