@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.51

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 (857) hide show
  1. package/CHANGELOG.md +522 -0
  2. package/NOTICE +2 -0
  3. package/README.md +83 -15
  4. package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
  5. package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
  6. package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
  7. package/components/bibtemplate/dist/index.d.ts +2 -0
  8. package/components/bibtemplate/dist/index.js +790 -0
  9. package/components/bibtemplate/dist/registered.js +790 -0
  10. package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
  11. package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
  12. package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
  13. package/components/checkbox/README.md +27 -35
  14. package/components/checkbox/demo/api.md +67 -68
  15. package/components/checkbox/demo/api.min.js +498 -102
  16. package/components/checkbox/demo/index.html +49 -0
  17. package/components/checkbox/demo/index.md +62 -62
  18. package/components/checkbox/demo/index.min.js +498 -102
  19. package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
  20. package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
  21. package/components/checkbox/dist/helptextVersion.d.ts +2 -0
  22. package/components/checkbox/dist/index.d.ts +0 -1
  23. package/components/checkbox/dist/index.js +498 -105
  24. package/components/checkbox/dist/registered.js +1279 -0
  25. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
  26. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
  27. package/components/checkbox/dist/styles/color-css.d.ts +0 -1
  28. package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
  29. package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
  30. package/components/combobox/README.md +25 -28
  31. package/components/combobox/demo/api.js +1 -1
  32. package/components/combobox/demo/api.md +116 -32
  33. package/components/combobox/demo/api.min.js +8211 -3863
  34. package/components/combobox/demo/index.html +57 -0
  35. package/components/combobox/demo/index.js +1 -1
  36. package/components/combobox/demo/index.md +19 -3
  37. package/components/combobox/demo/index.min.js +8208 -3860
  38. package/components/combobox/dist/auro-combobox.d.ts +123 -76
  39. package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
  40. package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
  41. package/components/combobox/dist/index.d.ts +0 -1
  42. package/components/combobox/dist/index.js +7848 -3816
  43. package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  44. package/components/combobox/dist/registered.js +12269 -0
  45. package/components/combobox/dist/styles/style-css.d.ts +0 -1
  46. package/components/counter/README.md +188 -0
  47. package/components/counter/demo/api.js +3 -2
  48. package/components/counter/demo/api.md +185 -1018
  49. package/components/counter/demo/api.min.js +6190 -40
  50. package/components/counter/demo/index.html +53 -0
  51. package/components/counter/demo/index.js +2 -1
  52. package/components/counter/demo/index.md +298 -0
  53. package/components/counter/demo/index.min.js +6187 -19
  54. package/components/counter/dist/auro-counter-button.d.ts +12 -0
  55. package/components/counter/dist/auro-counter-group.d.ts +168 -5
  56. package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
  57. package/components/counter/dist/auro-counter.d.ts +91 -1
  58. package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
  59. package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
  60. package/components/counter/dist/iconVersion.d.ts +2 -0
  61. package/components/counter/dist/index.d.ts +0 -1
  62. package/components/counter/dist/index.js +6158 -38
  63. package/components/counter/dist/registered.js +6231 -0
  64. package/components/counter/dist/styles/color-css.d.ts +2 -0
  65. package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
  66. package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
  67. package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
  68. package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
  69. package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
  70. package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
  71. package/components/counter/dist/styles/style-css.d.ts +0 -1
  72. package/components/counter/dist/styles/tokens-css.d.ts +2 -0
  73. package/components/datepicker/README.md +25 -28
  74. package/components/datepicker/demo/api.js +3 -3
  75. package/components/datepicker/demo/api.md +219 -105
  76. package/components/datepicker/demo/api.min.js +6367 -2448
  77. package/components/datepicker/demo/index.html +57 -0
  78. package/components/datepicker/demo/index.md +7 -1
  79. package/components/datepicker/demo/index.min.js +6355 -2435
  80. package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
  81. package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
  82. package/components/datepicker/dist/auro-calendar.d.ts +25 -2
  83. package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
  84. package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
  85. package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
  86. package/components/datepicker/dist/index.d.ts +0 -1
  87. package/components/datepicker/dist/index.js +6353 -2435
  88. package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
  89. package/components/datepicker/dist/popoverVersion.d.ts +0 -1
  90. package/components/datepicker/dist/registered.js +22466 -0
  91. package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
  92. package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
  93. package/components/datepicker/dist/styles/color-css.d.ts +0 -1
  94. package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
  95. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
  96. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
  97. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
  98. package/components/datepicker/dist/styles/style-css.d.ts +0 -1
  99. package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
  100. package/components/datepicker/dist/utilities.d.ts +25 -1
  101. package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
  102. package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
  103. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
  104. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
  105. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
  106. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
  107. package/components/dropdown/README.md +19 -27
  108. package/components/dropdown/demo/api.js +1 -1
  109. package/components/dropdown/demo/api.md +43 -29
  110. package/components/dropdown/demo/api.min.js +525 -124
  111. package/components/dropdown/demo/index.html +53 -0
  112. package/components/dropdown/demo/index.js +0 -3
  113. package/components/dropdown/demo/index.min.js +525 -127
  114. package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
  115. package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
  116. package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
  117. package/components/dropdown/dist/helptextVersion.d.ts +2 -0
  118. package/components/dropdown/dist/iconVersion.d.ts +0 -1
  119. package/components/dropdown/dist/index.d.ts +0 -1
  120. package/components/dropdown/dist/index.js +525 -126
  121. package/components/dropdown/dist/registered.js +3365 -0
  122. package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
  123. package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
  124. package/components/dropdown/dist/styles/color-css.d.ts +0 -1
  125. package/components/dropdown/dist/styles/style-css.d.ts +0 -1
  126. package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
  127. package/components/form/README.md +29 -35
  128. package/components/form/demo/api.js +1 -1
  129. package/components/form/demo/api.min.js +497 -25
  130. package/components/form/demo/index.html +48 -0
  131. package/components/form/demo/index.min.js +497 -25
  132. package/components/form/demo/registerDemoDeps.js +22 -0
  133. package/components/form/demo/working.html +117 -0
  134. package/components/form/dist/auro-form.d.ts +194 -3
  135. package/components/form/dist/index.d.ts +0 -1
  136. package/components/form/dist/index.js +497 -27
  137. package/components/form/dist/registered.d.ts +1 -0
  138. package/components/form/dist/registered.js +632 -0
  139. package/components/form/dist/styles/style-css.d.ts +0 -1
  140. package/components/helptext/dist/auro-helptext.d.ts +53 -0
  141. package/components/helptext/dist/index.d.ts +2 -0
  142. package/components/helptext/dist/index.js +224 -0
  143. package/components/helptext/dist/registered.js +224 -0
  144. package/components/helptext/dist/styles/color-css.d.ts +2 -0
  145. package/components/helptext/dist/styles/style-css.d.ts +2 -0
  146. package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
  147. package/components/input/README.md +19 -29
  148. package/components/input/demo/api.md +152 -318
  149. package/components/input/demo/api.min.js +4214 -1780
  150. package/components/input/demo/index.html +41 -0
  151. package/components/input/demo/index.md +11 -61
  152. package/components/input/demo/index.min.js +4214 -1780
  153. package/components/input/dist/auro-input.d.ts +4 -2
  154. package/components/input/dist/base-input.d.ts +49 -16
  155. package/components/input/dist/buttonVersion.d.ts +0 -1
  156. package/components/input/dist/helptextVersion.d.ts +2 -0
  157. package/components/input/dist/i18n.d.ts +0 -1
  158. package/components/input/dist/iconVersion.d.ts +0 -1
  159. package/components/input/dist/index.d.ts +0 -1
  160. package/components/input/dist/index.js +4214 -1782
  161. package/components/input/dist/registered.js +6591 -0
  162. package/components/input/dist/styles/borders-css.d.ts +0 -1
  163. package/components/input/dist/styles/color-css.d.ts +0 -1
  164. package/components/input/dist/styles/input-css.d.ts +0 -1
  165. package/components/input/dist/styles/label-css.d.ts +0 -1
  166. package/components/input/dist/styles/mixins-css.d.ts +0 -1
  167. package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
  168. package/components/input/dist/styles/style-css.d.ts +0 -1
  169. package/components/input/dist/styles/tokens-css.d.ts +0 -1
  170. package/components/input/dist/utilities.d.ts +25 -0
  171. package/components/menu/README.md +19 -27
  172. package/components/menu/demo/api.js +1 -1
  173. package/components/menu/demo/api.md +57 -20
  174. package/components/menu/demo/api.min.js +628 -314
  175. package/components/menu/demo/index.html +50 -0
  176. package/components/menu/demo/index.min.js +626 -312
  177. package/components/menu/dist/auro-menu-utils.d.ts +42 -0
  178. package/components/menu/dist/auro-menu.d.ts +97 -82
  179. package/components/menu/dist/auro-menuoption.d.ts +0 -1
  180. package/components/menu/dist/dropdownVersion.d.ts +2 -0
  181. package/components/menu/dist/iconVersion.d.ts +0 -1
  182. package/components/menu/dist/index.d.ts +1 -1
  183. package/components/menu/dist/index.js +627 -316
  184. package/components/menu/dist/registered.js +1510 -0
  185. package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
  186. package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
  187. package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
  188. package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
  189. package/components/menu/dist/styles/tokens-css.d.ts +0 -1
  190. package/components/radio/README.md +19 -27
  191. package/components/radio/demo/api.md +9 -8
  192. package/components/radio/demo/api.min.js +429 -75
  193. package/components/radio/demo/index.html +48 -0
  194. package/components/radio/demo/index.min.js +429 -75
  195. package/components/radio/dist/auro-radio-group.d.ts +12 -3
  196. package/components/radio/dist/auro-radio.d.ts +0 -1
  197. package/components/radio/dist/helptextVersion.d.ts +2 -0
  198. package/components/radio/dist/index.d.ts +0 -1
  199. package/components/radio/dist/index.js +429 -78
  200. package/components/radio/dist/registered.js +1396 -0
  201. package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
  202. package/components/radio/dist/styles/color-css.d.ts +0 -1
  203. package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
  204. package/components/radio/dist/styles/style-css.d.ts +0 -1
  205. package/components/radio/dist/styles/tokens-css.d.ts +0 -1
  206. package/components/select/README.md +24 -43
  207. package/components/select/demo/api.js +1 -1
  208. package/components/select/demo/api.md +149 -32
  209. package/components/select/demo/api.min.js +2563 -749
  210. package/components/select/demo/index.html +49 -0
  211. package/components/select/demo/index.js +1 -1
  212. package/components/select/demo/index.md +21 -16
  213. package/components/select/demo/index.min.js +2570 -756
  214. package/components/select/dist/auro-select.d.ts +60 -8
  215. package/components/select/dist/bibtemplateVersion.d.ts +2 -0
  216. package/components/select/dist/dropdownVersion.d.ts +2 -0
  217. package/components/select/dist/index.d.ts +0 -1
  218. package/components/select/dist/index.js +1932 -434
  219. package/components/select/dist/registered.js +5425 -0
  220. package/components/select/dist/styles/color-css.d.ts +0 -1
  221. package/components/select/dist/styles/style-css.d.ts +0 -1
  222. package/components/select/dist/styles/tokens-css.d.ts +0 -1
  223. package/package.json +138 -66
  224. package/packages/build-tools/src/postinstall.mjs +8 -0
  225. package/.husky/commit-msg +0 -4
  226. package/.husky/pre-commit +0 -3
  227. package/.turbo/cache/013a48308b893dac-meta.json +0 -1
  228. package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
  229. package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
  230. package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
  231. package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
  232. package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
  233. package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
  234. package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
  235. package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
  236. package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
  237. package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
  238. package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
  239. package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
  240. package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
  241. package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
  242. package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
  243. package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
  244. package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
  245. package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
  246. package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
  247. package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
  248. package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
  249. package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
  250. package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
  251. package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
  252. package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
  253. package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
  254. package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
  255. package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
  256. package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
  257. package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
  258. package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
  259. package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
  260. package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
  261. package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
  262. package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
  263. package/.turbo/cache/3e12285c614db539-meta.json +0 -1
  264. package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
  265. package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
  266. package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
  267. package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
  268. package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
  269. package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
  270. package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
  271. package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
  272. package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
  273. package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
  274. package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
  275. package/.turbo/cache/691a74627ec57993-meta.json +0 -1
  276. package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
  277. package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
  278. package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
  279. package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
  280. package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
  281. package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
  282. package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
  283. package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
  284. package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
  285. package/.turbo/cache/786a822763403879-meta.json +0 -1
  286. package/.turbo/cache/786a822763403879.tar.zst +0 -0
  287. package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
  288. package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
  289. package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
  290. package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
  291. package/.turbo/cache/80a13352066a9801-meta.json +0 -1
  292. package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
  293. package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
  294. package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
  295. package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
  296. package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
  297. package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
  298. package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
  299. package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
  300. package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
  301. package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
  302. package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
  303. package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
  304. package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
  305. package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
  306. package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
  307. package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
  308. package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
  309. package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
  310. package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
  311. package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
  312. package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
  313. package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
  314. package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
  315. package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
  316. package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
  317. package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
  318. package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
  319. package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
  320. package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
  321. package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
  322. package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
  323. package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
  324. package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
  325. package/.turbo/cache/d61543843c932504-meta.json +0 -1
  326. package/.turbo/cache/d61543843c932504.tar.zst +0 -0
  327. package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
  328. package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
  329. package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
  330. package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
  331. package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
  332. package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
  333. package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
  334. package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
  335. package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
  336. package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
  337. package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
  338. package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
  339. package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
  340. package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
  341. package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
  342. package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
  343. package/components/checkbox/.stylelintrc.json +0 -3
  344. package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
  345. package/components/checkbox/.turbo/turbo-build.log +0 -185
  346. package/components/checkbox/.turbo/turbo-bundler.log +0 -13
  347. package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
  348. package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
  349. package/components/checkbox/.turbo/turbo-types.log +0 -4
  350. package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
  351. package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
  352. package/components/checkbox/dist/index.d.ts.map +0 -1
  353. package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
  354. package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
  355. package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
  356. package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
  357. package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
  358. package/components/checkbox/node_modules/chalk/package.json +0 -83
  359. package/components/checkbox/node_modules/chalk/readme.md +0 -325
  360. package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
  361. package/components/checkbox/node_modules/chalk/source/index.js +0 -225
  362. package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
  363. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  364. package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  365. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  366. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  367. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  368. package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  369. package/components/checkbox/package.json +0 -68
  370. package/components/checkbox/src/auro-checkbox-group.js +0 -331
  371. package/components/checkbox/src/auro-checkbox.js +0 -193
  372. package/components/checkbox/src/index.js +0 -8
  373. package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
  374. package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
  375. package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
  376. package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
  377. package/components/checkbox/src/styles/auro-checkbox.css +0 -123
  378. package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
  379. package/components/checkbox/src/styles/color-css.js +0 -2
  380. package/components/checkbox/src/styles/color.css +0 -84
  381. package/components/checkbox/src/styles/color.scss +0 -118
  382. package/components/checkbox/src/styles/colorGroup-css.js +0 -2
  383. package/components/checkbox/src/styles/colorGroup.css +0 -16
  384. package/components/checkbox/src/styles/colorGroup.scss +0 -24
  385. package/components/checkbox/src/styles/tokens-css.js +0 -2
  386. package/components/checkbox/src/styles/tokens.css +0 -9
  387. package/components/checkbox/src/styles/tokens.scss +0 -11
  388. package/components/combobox/.stylelintrc.json +0 -3
  389. package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
  390. package/components/combobox/.turbo/turbo-build.log +0 -163
  391. package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
  392. package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
  393. package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
  394. package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  395. package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  396. package/components/combobox/dist/index.d.ts.map +0 -1
  397. package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
  398. package/components/combobox/node_modules/chalk/package.json +0 -83
  399. package/components/combobox/node_modules/chalk/readme.md +0 -325
  400. package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
  401. package/components/combobox/node_modules/chalk/source/index.js +0 -225
  402. package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
  403. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  404. package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  405. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  406. package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  407. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  408. package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  409. package/components/combobox/package.json +0 -67
  410. package/components/combobox/src/auro-combobox.js +0 -724
  411. package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
  412. package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
  413. package/components/combobox/src/index.js +0 -6
  414. package/components/combobox/src/styles/style-css.js +0 -2
  415. package/components/combobox/src/styles/style.css +0 -60
  416. package/components/combobox/src/styles/style.scss +0 -46
  417. package/components/counter/.stylelintrc.json +0 -3
  418. package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
  419. package/components/counter/.turbo/turbo-build.log +0 -87
  420. package/components/counter/.turbo/turbo-bundler.log +0 -13
  421. package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
  422. package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
  423. package/components/counter/.turbo/turbo-types.log +0 -4
  424. package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
  425. package/components/counter/dist/auro-counter.d.ts.map +0 -1
  426. package/components/counter/dist/index.d.ts.map +0 -1
  427. package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
  428. package/components/counter/dist/styles/style-css.d.ts.map +0 -1
  429. package/components/counter/node_modules/chalk/package.json +0 -83
  430. package/components/counter/node_modules/chalk/readme.md +0 -325
  431. package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
  432. package/components/counter/node_modules/chalk/source/index.js +0 -225
  433. package/components/counter/node_modules/chalk/source/utilities.js +0 -33
  434. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  435. package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  436. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  437. package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  438. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  439. package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  440. package/components/counter/package.json +0 -50
  441. package/components/counter/src/auro-counter-group.js +0 -48
  442. package/components/counter/src/auro-counter.js +0 -29
  443. package/components/counter/src/index.js +0 -8
  444. package/components/counter/src/styles/counter-group-css.js +0 -2
  445. package/components/counter/src/styles/counter-group.css +0 -4
  446. package/components/counter/src/styles/counter-group.scss +0 -17
  447. package/components/counter/src/styles/style-css.js +0 -2
  448. package/components/counter/src/styles/style.css +0 -4
  449. package/components/counter/src/styles/style.scss +0 -17
  450. package/components/datepicker/.stylelintrc.json +0 -3
  451. package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
  452. package/components/datepicker/.turbo/turbo-build.log +0 -493
  453. package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
  454. package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
  455. package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
  456. package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
  457. package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
  458. package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
  459. package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
  460. package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  461. package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
  462. package/components/datepicker/dist/index.d.ts.map +0 -1
  463. package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
  464. package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
  465. package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
  466. package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
  467. package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
  468. package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
  469. package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
  470. package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
  471. package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
  472. package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
  473. package/components/datepicker/dist/utilities.d.ts.map +0 -1
  474. package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
  475. package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
  476. package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
  477. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
  478. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
  479. package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
  480. package/components/datepicker/node_modules/chalk/package.json +0 -83
  481. package/components/datepicker/node_modules/chalk/readme.md +0 -325
  482. package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
  483. package/components/datepicker/node_modules/chalk/source/index.js +0 -225
  484. package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
  485. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  486. package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  487. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  488. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  489. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  490. package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  491. package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  492. package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
  493. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  494. package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  495. package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
  496. package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
  497. package/components/datepicker/package.json +0 -79
  498. package/components/datepicker/src/auro-calendar-cell.js +0 -381
  499. package/components/datepicker/src/auro-calendar-month.js +0 -128
  500. package/components/datepicker/src/auro-calendar.js +0 -329
  501. package/components/datepicker/src/auro-datepicker.js +0 -1002
  502. package/components/datepicker/src/dropdownVersion.js +0 -0
  503. package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
  504. package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
  505. package/components/datepicker/src/index.js +0 -6
  506. package/components/datepicker/src/popoverVersion.js +0 -1
  507. package/components/datepicker/src/styles/color-calendar-css.js +0 -2
  508. package/components/datepicker/src/styles/color-calendar.css +0 -35
  509. package/components/datepicker/src/styles/color-calendar.scss +0 -51
  510. package/components/datepicker/src/styles/color-cell-css.js +0 -2
  511. package/components/datepicker/src/styles/color-cell.css +0 -45
  512. package/components/datepicker/src/styles/color-cell.scss +0 -73
  513. package/components/datepicker/src/styles/color-css.js +0 -2
  514. package/components/datepicker/src/styles/color-month-css.js +0 -2
  515. package/components/datepicker/src/styles/color-month.css +0 -34
  516. package/components/datepicker/src/styles/color-month.scss +0 -27
  517. package/components/datepicker/src/styles/color.css +0 -43
  518. package/components/datepicker/src/styles/color.scss +0 -30
  519. package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
  520. package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
  521. package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
  522. package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
  523. package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
  524. package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
  525. package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
  526. package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
  527. package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
  528. package/components/datepicker/src/styles/style-css.js +0 -2
  529. package/components/datepicker/src/styles/style.css +0 -111
  530. package/components/datepicker/src/styles/style.scss +0 -107
  531. package/components/datepicker/src/styles/tokens-css.js +0 -2
  532. package/components/datepicker/src/styles/tokens.css +0 -22
  533. package/components/datepicker/src/styles/tokens.scss +0 -25
  534. package/components/datepicker/src/utilities.js +0 -87
  535. package/components/datepicker/src/utilitiesCalendar.js +0 -138
  536. package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
  537. package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
  538. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
  539. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
  540. package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
  541. package/components/dropdown/.stylelintrc.json +0 -3
  542. package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
  543. package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
  544. package/components/dropdown/.turbo/turbo-build.log +0 -206
  545. package/components/dropdown/.turbo/turbo-bundler.log +0 -13
  546. package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
  547. package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
  548. package/components/dropdown/.turbo/turbo-types.log +0 -4
  549. package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
  550. package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
  551. package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
  552. package/components/dropdown/dist/index.d.ts.map +0 -1
  553. package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
  554. package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
  555. package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
  556. package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
  557. package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
  558. package/components/dropdown/node_modules/chalk/package.json +0 -83
  559. package/components/dropdown/node_modules/chalk/readme.md +0 -325
  560. package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
  561. package/components/dropdown/node_modules/chalk/source/index.js +0 -225
  562. package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
  563. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  564. package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  565. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  566. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  567. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  568. package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  569. package/components/dropdown/package.json +0 -57
  570. package/components/dropdown/src/auro-dropdown.js +0 -474
  571. package/components/dropdown/src/auro-dropdownBib.js +0 -106
  572. package/components/dropdown/src/iconVersion.js +0 -1
  573. package/components/dropdown/src/index.js +0 -6
  574. package/components/dropdown/src/styles/bibColors-css.js +0 -2
  575. package/components/dropdown/src/styles/bibColors.css +0 -6
  576. package/components/dropdown/src/styles/bibColors.scss +0 -18
  577. package/components/dropdown/src/styles/bibStyles-css.js +0 -2
  578. package/components/dropdown/src/styles/bibStyles.css +0 -43
  579. package/components/dropdown/src/styles/bibStyles.scss +0 -60
  580. package/components/dropdown/src/styles/color-css.js +0 -2
  581. package/components/dropdown/src/styles/color.css +0 -59
  582. package/components/dropdown/src/styles/color.scss +0 -79
  583. package/components/dropdown/src/styles/style-css.js +0 -2
  584. package/components/dropdown/src/styles/style.css +0 -92
  585. package/components/dropdown/src/styles/style.scss +0 -122
  586. package/components/dropdown/src/styles/tokens-css.js +0 -2
  587. package/components/dropdown/src/styles/tokens.css +0 -13
  588. package/components/dropdown/src/styles/tokens.scss +0 -15
  589. package/components/form/.stylelintrc.json +0 -3
  590. package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
  591. package/components/form/.turbo/turbo-build$colon$version.log +0 -4
  592. package/components/form/.turbo/turbo-build.log +0 -113
  593. package/components/form/.turbo/turbo-bundler.log +0 -13
  594. package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
  595. package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
  596. package/components/form/.turbo/turbo-types.log +0 -4
  597. package/components/form/dist/auro-form.d.ts.map +0 -1
  598. package/components/form/dist/index.d.ts.map +0 -1
  599. package/components/form/dist/styles/style-css.d.ts.map +0 -1
  600. package/components/form/node_modules/chalk/package.json +0 -83
  601. package/components/form/node_modules/chalk/readme.md +0 -325
  602. package/components/form/node_modules/chalk/source/index.d.ts +0 -320
  603. package/components/form/node_modules/chalk/source/index.js +0 -225
  604. package/components/form/node_modules/chalk/source/utilities.js +0 -33
  605. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  606. package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  607. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  608. package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  609. package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  610. package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  611. package/components/form/package.json +0 -72
  612. package/components/form/src/auro-form.js +0 -74
  613. package/components/form/src/index.js +0 -6
  614. package/components/form/src/styles/style-css.js +0 -2
  615. package/components/form/src/styles/style.css +0 -36
  616. package/components/form/src/styles/style.scss +0 -37
  617. package/components/input/.stylelintrc.json +0 -3
  618. package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
  619. package/components/input/.turbo/turbo-build$colon$version.log +0 -10
  620. package/components/input/.turbo/turbo-build.log +0 -353
  621. package/components/input/.turbo/turbo-bundler.log +0 -13
  622. package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
  623. package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
  624. package/components/input/.turbo/turbo-types.log +0 -4
  625. package/components/input/dist/auro-input.d.ts.map +0 -1
  626. package/components/input/dist/base-input.d.ts.map +0 -1
  627. package/components/input/dist/buttonVersion.d.ts.map +0 -1
  628. package/components/input/dist/i18n.d.ts.map +0 -1
  629. package/components/input/dist/iconVersion.d.ts.map +0 -1
  630. package/components/input/dist/index.d.ts.map +0 -1
  631. package/components/input/dist/styles/borders-css.d.ts.map +0 -1
  632. package/components/input/dist/styles/color-css.d.ts.map +0 -1
  633. package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
  634. package/components/input/dist/styles/input-css.d.ts.map +0 -1
  635. package/components/input/dist/styles/label-css.d.ts.map +0 -1
  636. package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
  637. package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
  638. package/components/input/dist/styles/style-css.d.ts.map +0 -1
  639. package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
  640. package/components/input/node_modules/chalk/package.json +0 -83
  641. package/components/input/node_modules/chalk/readme.md +0 -325
  642. package/components/input/node_modules/chalk/source/index.d.ts +0 -320
  643. package/components/input/node_modules/chalk/source/index.js +0 -225
  644. package/components/input/node_modules/chalk/source/utilities.js +0 -33
  645. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  646. package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  647. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  648. package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  649. package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  650. package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  651. package/components/input/package.json +0 -75
  652. package/components/input/src/auro-input.js +0 -241
  653. package/components/input/src/base-input.js +0 -1103
  654. package/components/input/src/buttonVersion.js +0 -1
  655. package/components/input/src/i18n.js +0 -102
  656. package/components/input/src/iconVersion.js +0 -1
  657. package/components/input/src/index.js +0 -6
  658. package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
  659. package/components/input/src/styles/borders-css.js +0 -2
  660. package/components/input/src/styles/borders.css +0 -35
  661. package/components/input/src/styles/borders.scss +0 -49
  662. package/components/input/src/styles/color-css.js +0 -2
  663. package/components/input/src/styles/color.css +0 -62
  664. package/components/input/src/styles/color.scss +0 -89
  665. package/components/input/src/styles/helpText-css.js +0 -2
  666. package/components/input/src/styles/helpText.css +0 -6
  667. package/components/input/src/styles/helpText.scss +0 -9
  668. package/components/input/src/styles/input-css.js +0 -2
  669. package/components/input/src/styles/input.css +0 -35
  670. package/components/input/src/styles/input.scss +0 -53
  671. package/components/input/src/styles/label-css.js +0 -2
  672. package/components/input/src/styles/label.css +0 -45
  673. package/components/input/src/styles/label.scss +0 -71
  674. package/components/input/src/styles/mixins-css.js +0 -2
  675. package/components/input/src/styles/mixins.css +0 -1
  676. package/components/input/src/styles/mixins.scss +0 -45
  677. package/components/input/src/styles/notificationIcons-css.js +0 -2
  678. package/components/input/src/styles/notificationIcons.css +0 -84
  679. package/components/input/src/styles/notificationIcons.scss +0 -109
  680. package/components/input/src/styles/style-css.js +0 -2
  681. package/components/input/src/styles/style.css +0 -290
  682. package/components/input/src/styles/style.scss +0 -53
  683. package/components/input/src/styles/tokens-css.js +0 -2
  684. package/components/input/src/styles/tokens.css +0 -9
  685. package/components/input/src/styles/tokens.scss +0 -11
  686. package/components/menu/.stylelintrc.json +0 -3
  687. package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
  688. package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
  689. package/components/menu/.turbo/turbo-build.log +0 -184
  690. package/components/menu/.turbo/turbo-bundler.log +0 -13
  691. package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
  692. package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
  693. package/components/menu/.turbo/turbo-types.log +0 -4
  694. package/components/menu/dist/auro-menu.d.ts.map +0 -1
  695. package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
  696. package/components/menu/dist/iconVersion.d.ts.map +0 -1
  697. package/components/menu/dist/index.d.ts.map +0 -1
  698. package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
  699. package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
  700. package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
  701. package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
  702. package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
  703. package/components/menu/node_modules/chalk/package.json +0 -83
  704. package/components/menu/node_modules/chalk/readme.md +0 -325
  705. package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
  706. package/components/menu/node_modules/chalk/source/index.js +0 -225
  707. package/components/menu/node_modules/chalk/source/utilities.js +0 -33
  708. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  709. package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  710. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  711. package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  712. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  713. package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  714. package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
  715. package/components/menu/node_modules/mime/Mime.js +0 -97
  716. package/components/menu/node_modules/mime/README.md +0 -187
  717. package/components/menu/node_modules/mime/cli.js +0 -46
  718. package/components/menu/node_modules/mime/index.js +0 -4
  719. package/components/menu/node_modules/mime/lite.js +0 -4
  720. package/components/menu/node_modules/mime/package.json +0 -52
  721. package/components/menu/node_modules/mime/types/other.js +0 -1
  722. package/components/menu/node_modules/mime/types/standard.js +0 -1
  723. package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  724. package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
  725. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  726. package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  727. package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  728. package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  729. package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
  730. package/components/menu/package.json +0 -70
  731. package/components/menu/src/auro-menu.js +0 -539
  732. package/components/menu/src/auro-menuoption.js +0 -147
  733. package/components/menu/src/iconVersion.js +0 -1
  734. package/components/menu/src/index.js +0 -8
  735. package/components/menu/src/styles/color-menu-css.js +0 -2
  736. package/components/menu/src/styles/color-menu.css +0 -4
  737. package/components/menu/src/styles/color-menu.scss +0 -12
  738. package/components/menu/src/styles/color-menuoption-css.js +0 -2
  739. package/components/menu/src/styles/color-menuoption.css +0 -23
  740. package/components/menu/src/styles/color-menuoption.scss +0 -33
  741. package/components/menu/src/styles/style-menu-css.js +0 -2
  742. package/components/menu/src/styles/style-menu.css +0 -2061
  743. package/components/menu/src/styles/style-menu.scss +0 -80
  744. package/components/menu/src/styles/style-menuoption-css.js +0 -2
  745. package/components/menu/src/styles/style-menuoption.css +0 -45
  746. package/components/menu/src/styles/style-menuoption.scss +0 -66
  747. package/components/menu/src/styles/tokens-css.js +0 -2
  748. package/components/menu/src/styles/tokens.css +0 -6
  749. package/components/menu/src/styles/tokens.scss +0 -6
  750. package/components/radio/.stylelintrc.json +0 -3
  751. package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
  752. package/components/radio/.turbo/turbo-build.log +0 -216
  753. package/components/radio/.turbo/turbo-bundler.log +0 -13
  754. package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
  755. package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
  756. package/components/radio/.turbo/turbo-types.log +0 -4
  757. package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
  758. package/components/radio/dist/auro-radio.d.ts.map +0 -1
  759. package/components/radio/dist/index.d.ts.map +0 -1
  760. package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
  761. package/components/radio/dist/styles/color-css.d.ts.map +0 -1
  762. package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
  763. package/components/radio/dist/styles/style-css.d.ts.map +0 -1
  764. package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
  765. package/components/radio/node_modules/chalk/package.json +0 -83
  766. package/components/radio/node_modules/chalk/readme.md +0 -325
  767. package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
  768. package/components/radio/node_modules/chalk/source/index.js +0 -225
  769. package/components/radio/node_modules/chalk/source/utilities.js +0 -33
  770. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  771. package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  772. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  773. package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  774. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  775. package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  776. package/components/radio/package.json +0 -69
  777. package/components/radio/src/auro-radio-group.js +0 -433
  778. package/components/radio/src/auro-radio.js +0 -256
  779. package/components/radio/src/index.js +0 -8
  780. package/components/radio/src/styles/auro-radio-group-css.js +0 -2
  781. package/components/radio/src/styles/auro-radio-group.css +0 -23
  782. package/components/radio/src/styles/auro-radio-group.scss +0 -36
  783. package/components/radio/src/styles/color-css.js +0 -2
  784. package/components/radio/src/styles/color.css +0 -45
  785. package/components/radio/src/styles/color.scss +0 -56
  786. package/components/radio/src/styles/groupColor-css.js +0 -2
  787. package/components/radio/src/styles/groupColor.css +0 -21
  788. package/components/radio/src/styles/groupColor.scss +0 -33
  789. package/components/radio/src/styles/style-css.js +0 -2
  790. package/components/radio/src/styles/style.css +0 -113
  791. package/components/radio/src/styles/style.scss +0 -99
  792. package/components/radio/src/styles/tokens-css.js +0 -2
  793. package/components/radio/src/styles/tokens.css +0 -9
  794. package/components/radio/src/styles/tokens.scss +0 -12
  795. package/components/select/.stylelintrc.json +0 -3
  796. package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
  797. package/components/select/.turbo/turbo-build.log +0 -241
  798. package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
  799. package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
  800. package/components/select/dist/auro-select.d.ts.map +0 -1
  801. package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
  802. package/components/select/dist/index.d.ts.map +0 -1
  803. package/components/select/dist/styles/color-css.d.ts.map +0 -1
  804. package/components/select/dist/styles/style-css.d.ts.map +0 -1
  805. package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
  806. package/components/select/node_modules/chalk/package.json +0 -83
  807. package/components/select/node_modules/chalk/readme.md +0 -325
  808. package/components/select/node_modules/chalk/source/index.d.ts +0 -320
  809. package/components/select/node_modules/chalk/source/index.js +0 -225
  810. package/components/select/node_modules/chalk/source/utilities.js +0 -33
  811. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  812. package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  813. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  814. package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
  815. package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  816. package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  817. package/components/select/node_modules/mime/CHANGELOG.md +0 -296
  818. package/components/select/node_modules/mime/Mime.js +0 -97
  819. package/components/select/node_modules/mime/README.md +0 -187
  820. package/components/select/node_modules/mime/cli.js +0 -46
  821. package/components/select/node_modules/mime/index.js +0 -4
  822. package/components/select/node_modules/mime/lite.js +0 -4
  823. package/components/select/node_modules/mime/package.json +0 -52
  824. package/components/select/node_modules/mime/types/other.js +0 -1
  825. package/components/select/node_modules/mime/types/standard.js +0 -1
  826. package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
  827. package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
  828. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
  829. package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
  830. package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
  831. package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
  832. package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
  833. package/components/select/package.json +0 -70
  834. package/components/select/packageScripts/postinstall.mjs +0 -28
  835. package/components/select/src/auro-select.js +0 -559
  836. package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
  837. package/components/select/src/index.js +0 -6
  838. package/components/select/src/styles/color-css.js +0 -2
  839. package/components/select/src/styles/color.css +0 -63
  840. package/components/select/src/styles/color.scss +0 -33
  841. package/components/select/src/styles/style-css.js +0 -2
  842. package/components/select/src/styles/style.css +0 -104
  843. package/components/select/src/styles/style.scss +0 -76
  844. package/components/select/src/styles/tokens-css.js +0 -2
  845. package/components/select/src/styles/tokens.css +0 -3
  846. package/components/select/src/styles/tokens.scss +0 -5
  847. package/packages/build-tools/package.json +0 -15
  848. package/packages/build-tools/src/docProcessor.mjs +0 -104
  849. package/packages/build-tools/src/formVersionWriter.mjs +0 -75
  850. package/packages/build-tools/src/index.js +0 -1
  851. package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
  852. package/packages/form-validation/package.json +0 -12
  853. package/packages/form-validation/src/index.js +0 -1
  854. package/packages/form-validation/src/validation.js +0 -259
  855. package/packages/typescript/base.json +0 -19
  856. package/packages/typescript/package.json +0 -20
  857. package/turbo.json +0 -100
@@ -3,46 +3,46 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$5=globalThis,e$9=t$5.ShadowRoot&&(void 0===t$5.ShadyCSS||t$5.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$5=Symbol(),o$8=new WeakMap;let n$7 = class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$5)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$8.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$8.set(s,t));}return t}toString(){return this.cssText}};const r$7=t=>new n$7("string"==typeof t?t:t+"",void 0,s$5),i$b=(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$7(o,t,s$5)},S$3=(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$5.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$5=e$9?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$7(e)})(t):t;
6
+ const t$8=globalThis,e$d=t$8.ShadowRoot&&(void 0===t$8.ShadyCSS||t$8.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$8=Symbol(),o$c=new WeakMap;let n$b = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$8)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$d&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$c.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$c.set(s,t));}return t}toString(){return this.cssText}};const r$c=t=>new n$b("string"==typeof t?t:t+"",void 0,s$8),i$g=(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$b(o,t,s$8)},S$6=(s,o)=>{if(e$d)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$8.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$9=e$d?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
7
7
 
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
- */const{is:i$a,defineProperty:e$8,getOwnPropertyDescriptor:r$6,getOwnPropertyNames:h$3,getOwnPropertySymbols:o$7,getPrototypeOf:n$6}=Object,a$5=globalThis,c$4=a$5.trustedTypes,l$5=c$4?c$4.emptyScript:"",p$3=a$5.reactiveElementPolyfillSupport,d$3=(t,s)=>t,u$5={toAttribute(t,s){switch(s){case Boolean:t=t?l$5: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$3=(t,s)=>!i$a(t,s),y$3={attribute:!0,type:String,converter:u$5,reflect:!1,hasChanged:f$3};Symbol.metadata??=Symbol("metadata"),a$5.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$3){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$6(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$3}static _$Ei(){if(this.hasOwnProperty(d$3("elementProperties")))return;const t=n$6(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$3("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$3("properties"))){const t=this.properties,s=[...h$3(t),...o$7(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$5(s));}else void 0!==s&&i.push(c$5(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$3(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$3)(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$3("elementProperties")]=new Map,b$1[d$3("finalized")]=new Map,p$3?.({ReactiveElement:b$1}),(a$5.reactiveElementVersions??=[]).push("2.0.4");
12
+ */const{is:i$f,defineProperty:e$c,getOwnPropertyDescriptor:r$b,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$b,getPrototypeOf:n$a}=Object,a$8=globalThis,c$8=a$8.trustedTypes,l$8=c$8?c$8.emptyScript:"",p$6=a$8.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$8={toAttribute(t,s){switch(s){case Boolean:t=t?l$8: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$6=(t,s)=>!i$f(t,s),y$6={attribute:true,type:String,converter:u$8,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$8.litPropertyMetadata??=new WeakMap;let b$3 = 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$6){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$c(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$b(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$6}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$a(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$b(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$9(s));}else void 0!==s&&i.push(c$9(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),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$6(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(void 0!==e&&true===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$6)(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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$6?.({ReactiveElement:b$3}),(a$8.reactiveElementVersions??=[]).push("2.0.4");
13
13
 
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
17
17
  * SPDX-License-Identifier: BSD-3-Clause
18
18
  */
19
- const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$6="?"+h$2,n$5=`<${o$6}>`,r$5=document,l$4=()=>r$5.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$5.createTreeWalker(r$5,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.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$2;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$2?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.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$2,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$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$5:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$2+x):s+h$2+(-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$7)){const i=v[a++],s=r.getAttribute(t).split(h$2),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$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$6)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$5.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)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$2(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$5).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$5,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$2(this,t,i),c$3(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$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$1&&c$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$5.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$1(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$4(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$4()),this.O(l$4()),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$2(this,t,i,0),o=!c$3(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$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(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$2(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$2(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.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$4(),t),t,void 0,s??{});}return h._$AI(t),h};
19
+ const t$7=globalThis,i$e=t$7.trustedTypes,s$7=i$e?i$e.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$b="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$a="?"+h$5,n$9=`<${o$a}>`,r$a=document,l$7=()=>r$a.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$7=Array.isArray,u$7=t=>a$7(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$3=/>/g,m$3=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$5=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$3=y$5(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129);function P$3(t,i){if(!a$7(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$7?s$7.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;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$5?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.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$5,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$3:p$5):c===g$3||c===p$5?c=m$3:c===v$3||c===_$3?c=f$5:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$9:d>=0?(o.push(a),s.slice(0,d)+e$b+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = 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$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$b)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$e?i$e.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$7()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$7());}}}else if(8===r.nodeType)if(r.data===o$a)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$a.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),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$5(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$a).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$3(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$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$a,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$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=void 0,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 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$5(this,t,i),c$7(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&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$3&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$a.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$3.createElement(P$3(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$3.get(t.strings);return void 0===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$7(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$7()),this.O(l$7()),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){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = 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$3,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$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$5(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?void 0:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||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$3 = 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$5(this,t);}};const j$3=t$7.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$7.litHtmlVersions??=[]).push("3.2.1");const B$3=(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$3(i.insertBefore(l$7(),t),t,void 0,s??{});}return h._$AI(t),h};
20
20
 
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */let r$4 = 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$4._$litElement$=!0,r$4["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$8=globalThis.litElementPolyfillSupport;i$8?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
25
+ */let r$9 = class r extends b$3{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$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$d=globalThis.litElementPolyfillSupport;i$d?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
26
26
 
27
27
  /**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
31
  */
32
- const t$3={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$6=t=>(...e)=>({_$litDirective$:t,values:e});let i$7 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
32
+ const t$6={ATTRIBUTE:1},e$a=t=>(...e)=>({_$litDirective$:t,values:e});let i$c = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
33
33
 
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2018 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */const e$5=e$6(class extends i$7{constructor(t){if(super(t),t.type!==t$3.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$1}});
38
+ */const e$9=e$a(class extends i$c{constructor(t){if(super(t),t.type!==t$6.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$3}});
39
39
 
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2020 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
44
  */
45
- const a$3=Symbol.for(""),o$5=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$6=(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$3}),l$3=new Map,n$4=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$5(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$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$4(x$1);
45
+ const a$6=Symbol.for(""),o$9=t=>{if(t?.r===a$6)return t?._$litStatic$},s$6=t=>({_$litStatic$:t,r:a$6}),i$b=(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$6}),l$6=new Map,n$8=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$9(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$$");void 0===(r=l$6.get(t))&&(n.raw=n,l$6.set(t,r=n)),e=u;}return t(r,...e)},u$6=n$8(x$3);
46
46
 
47
47
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
48
48
  // See LICENSE in the project root for license information.
@@ -51,7 +51,7 @@ const a$3=Symbol.for(""),o$5=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({
51
51
 
52
52
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
53
53
 
54
- let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
54
+ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
55
55
 
56
56
  /* eslint-disable jsdoc/require-param */
57
57
 
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
120
120
 
121
121
  class AuroFormValidation {
122
122
  constructor() {
123
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
123
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
124
124
  }
125
125
 
126
126
  /**
@@ -148,30 +148,87 @@ class AuroFormValidation {
148
148
  }
149
149
 
150
150
  /**
151
- * Determines the validity state of the element based on the common attribute restrictions (pattern).
152
- * @private
153
- * @param {object} elem - HTML element to validate.
151
+ * Validates the attributes of a given element based on predefined validation rules.
152
+ *
153
+ * @param {HTMLElement} elem - The element to be validated.
154
154
  * @returns {void}
155
+ *
156
+ * @example
157
+ * // Assuming `inputElement` is a reference to an input element in the DOM
158
+ * validateElementAttributes(inputElement);
159
+ *
160
+ * The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
161
+ * If a validation rule is violated, it sets the element's validity state and error message accordingly.
162
+ *
163
+ * Validation rules:
164
+ * - input:
165
+ * - length:
166
+ * - tooShort: Checks if the value length is less than the minimum length.
167
+ * - tooLong: Checks if the value length exceeds the maximum length.
168
+ * - pattern:
169
+ * - patternMismatch: Checks if the value does not match the specified pattern.
170
+ * - counter:
171
+ * - range:
172
+ * - rangeOverflow: Checks if the value exceeds the maximum value.
173
+ * - rangeUnderflow: Checks if the value is less than the minimum value.
155
174
  */
156
- validateAttributes(elem) {
157
- if (elem.pattern) {
158
- const pattern = new RegExp(`^${elem.pattern}$`, 'u');
159
-
160
- if (!pattern.test(elem.value)) {
161
- elem.validity = 'patternMismatch';
162
- elem.errorMessage = elem.setCustomValidityPatternMismatch || elem.setCustomValidity || '';
175
+ validateElementAttributes(elem) {
176
+ const validationRules = {
177
+ input: {
178
+ length: [
179
+ {
180
+ check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
181
+ validity: 'tooShort',
182
+ message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
183
+ },
184
+ {
185
+ check: (e) => e.value?.length > e.maxLength,
186
+ validity: 'tooLong',
187
+ message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
188
+ }
189
+ ],
190
+ pattern: [
191
+ {
192
+ check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
193
+ validity: 'patternMismatch',
194
+ message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
195
+ }
196
+ ]
197
+ },
198
+ counter: {
199
+ range: [
200
+ {
201
+ check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
202
+ validity: 'rangeOverflow',
203
+ message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
204
+ },
205
+ {
206
+ check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
207
+ validity: 'rangeUnderflow',
208
+ message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
209
+ }
210
+ ]
163
211
  }
212
+ };
213
+
214
+ let elementType;
215
+ if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
216
+ elementType = 'input';
217
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
218
+ elementType = 'counter';
164
219
  }
165
-
166
- // Length > 0 is required to prevent the error message from showing when the input is empty
167
- if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
168
- elem.validity = 'tooShort';
169
- elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
170
- }
171
220
 
172
- if (elem.value?.length > elem.maxLength) {
173
- elem.validity = 'tooLong';
174
- elem.errorMessage = elem.setCustomValidityTooLong || elem.setCustomValidity || '';
221
+ if (elementType) {
222
+ const rules = validationRules[elementType];
223
+
224
+ if (rules) {
225
+ Object.values(rules).flat().forEach(rule => {
226
+ if (rule.check(elem)) {
227
+ elem.validity = rule.validity;
228
+ elem.errorMessage = rule.message(elem);
229
+ }
230
+ });
231
+ }
175
232
  }
176
233
  }
177
234
 
@@ -205,20 +262,17 @@ class AuroFormValidation {
205
262
  elem.validity = 'rangeUnderflow';
206
263
  elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
207
264
  }
208
- } else if (elem.type === 'month-day-year' ||
209
- elem.type === 'month-year' ||
210
- elem.type === 'month-fullYear' ||
211
- elem.type === 'year-month-day'
212
- ) {
213
- if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
265
+ } else if (elem.type === 'date') {
266
+ if (elem.value?.length > 0 && elem.value?.length < elem.lengthForType) {
214
267
  elem.validity = 'tooShort';
215
268
  elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
216
- } else {
217
- const valueDate = new Date(elem.value);
269
+ } else if (elem.value?.length === elem.lengthForType && elem.util.toNorthAmericanFormat(elem.value, elem.format)) {
270
+ const formattedValue = elem.util.toNorthAmericanFormat(elem.value, elem.format);
271
+ const valueDate = new Date(formattedValue.dateForComparison);
218
272
 
219
273
  // validate max
220
- if (elem.max !== undefined) {
221
- const maxDate = new Date(elem.max);
274
+ if (elem.max?.length === elem.lengthForType) {
275
+ const maxDate = new Date(elem.util.toNorthAmericanFormat(elem.max, elem.format).dateForComparison);
222
276
 
223
277
  if (valueDate > maxDate) {
224
278
  elem.validity = 'rangeOverflow';
@@ -227,8 +281,8 @@ class AuroFormValidation {
227
281
  }
228
282
 
229
283
  // validate min
230
- if (elem.min) {
231
- const minDate = new Date(elem.min);
284
+ if (elem.min?.length === elem.lengthForType) {
285
+ const minDate = new Date(elem.util.toNorthAmericanFormat(elem.min, elem.format).dateForComparison);
232
286
 
233
287
  if (valueDate < minDate) {
234
288
  elem.validity = 'rangeUnderflow';
@@ -281,7 +335,9 @@ class AuroFormValidation {
281
335
  elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
282
336
  } else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
283
337
  this.validateType(elem);
284
- this.validateAttributes(elem);
338
+ this.validateElementAttributes(elem);
339
+ } else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
340
+ this.validateElementAttributes(elem);
285
341
  }
286
342
  }
287
343
 
@@ -373,7 +429,7 @@ class AuroFormValidation {
373
429
  // See LICENSE in the project root for license information.
374
430
 
375
431
 
376
- let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
432
+ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
377
433
 
378
434
  /**
379
435
  * Generates a unique string to be used for child auro element naming.
@@ -399,7 +455,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
399
455
  */
400
456
  generateTag(baseName, version, tagClass) {
401
457
  const elementName = this.generateElementName(baseName, version);
402
- const tag = i$6`${s$3(elementName)}`;
458
+ const tag = i$b`${s$6(elementName)}`;
403
459
 
404
460
  if (!customElements.get(elementName)) {
405
461
  customElements.define(elementName, class extends tagClass {});
@@ -414,33 +470,33 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
414
470
  * Copyright 2017 Google LLC
415
471
  * SPDX-License-Identifier: BSD-3-Clause
416
472
  */
417
- const t$2=globalThis,i$5=t$2.trustedTypes,s$2=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$3=document,l$2=()=>r$3.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=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=/-->/g,_=/>/g,m=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/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$3.createTreeWalker(r$3,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$2?s$2.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:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===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:'"'===u[3]?g:p$1):c===g||c===p$1?c=m:c===v||c===_?c=f$1:(c=m,r=void 0);const x=c===m&&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$3.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$2(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}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).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$3,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$2(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$2(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$2(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3.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(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$2(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$2(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 j=t$2.litHtmlPolyfillSupport;j?.(N,R),(t$2.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};
473
+ const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1$1=/-->/g,_$1$1=/>/g,m$1$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1$1=/"/g,$$1$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1$1=Symbol.for("lit-noChange"),E$1$1=Symbol.for("lit-nothing"),A$1$1=new WeakMap,C$1$1=r$7.createTreeWalker(r$7,129);function P$1$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1$1=(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$1$1:void 0!==u[1]?c=_$1$1:void 0!==u[2]?($$1$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1$1):void 0!==u[3]&&(c=m$1$1):c===m$1$1?">"===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$1$1:'"'===u[3]?g$1$1:p$3):c===g$1$1||c===p$3?c=m$1$1:c===v$1$1||c===_$1$1?c=f$3:(c=m$1$1,r=void 0);const x=c===m$1$1&&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$1$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1$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$1(t,s);if(this.el=N.createElement(f,n),C$1$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1$1.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$1$1:"?"===e[1]?I$1$1:"@"===e[1]?L$1$1:k$1$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)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$1$1)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?.(false),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$1$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$7).importNode(i,true);C$1$1.currentNode=e;let h=C$1$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$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$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1$1.nextNode(),o++);}return C$1$1.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$1$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1$1,this._$AN=void 0,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 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$1$1||null==t||""===t?(this._$AH!==E$1$1&&this._$AR(),this._$AH=E$1$1):t!==this._$AH&&t!==T$1$1&&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$1$1&&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$1$1.createElement(P$1$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1$1.get(t.strings);return void 0===i&&A$1$1.set(t.strings,i=new N$1$1(t)),i}k(t){a$4(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$4()),this.O(l$4()),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){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1$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$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$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$1$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$3(this,e[s+n],i,n),r===T$1$1&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$1$1?t=E$1$1:t!==E$1$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1$1 = class H extends k$1$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1$1?void 0:t;}};let I$1$1 = class I extends k$1$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1$1);}};let L$1$1 = class L extends k$1$1{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$1$1)===T$1$1)return;const s=this._$AH,e=t===E$1$1&&s!==E$1$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1$1&&(s===E$1$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$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$3(this,t);}};const j$1$1=t$4.litHtmlPolyfillSupport;j$1$1?.(N$1$1,R$1$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1$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$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
418
474
 
419
475
  /**
420
476
  * @license
421
477
  * Copyright 2020 Google LLC
422
478
  * SPDX-License-Identifier: BSD-3-Clause
423
479
  */
424
- const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$1=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$1=n$2(x);
480
+ const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),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$3}),l$3=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&&void 0!==(i=e[$],s=o$6(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$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x$1);
425
481
 
426
482
  /**
427
483
  * @license
428
484
  * Copyright 2019 Google LLC
429
485
  * SPDX-License-Identifier: BSD-3-Clause
430
486
  */
431
- const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$2=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$3&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.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$3=(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$3)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.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
487
+ const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$2=Symbol(),o$5=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$2)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$6&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",void 0,s$2$2),i$7=(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$4(o,t,s$2$2)},S$2$1=(s,o)=>{if(e$6)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
432
488
 
433
489
  /**
434
490
  * @license
435
491
  * Copyright 2017 Google LLC
436
492
  * SPDX-License-Identifier: BSD-3-Clause
437
- */const{is:i$2,defineProperty:e$2,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$1,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$2(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$2(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$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(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");
493
+ */const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2$1,getOwnPropertySymbols:o$4$2,getPrototypeOf:n$3$2}=Object,a$2$2=globalThis,c$3$1=a$2$2.trustedTypes,l$2$2=c$3$1?c$3$1.emptyScript:"",p$2$1=a$2$2.reactiveElementPolyfillSupport,d$2$1=(t,s)=>t,u$2$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$2: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$1=(t,s)=>!i$6(t,s),y$2={attribute:true,type:String,converter:u$2$2,reflect:false,hasChanged:f$2$1};Symbol.metadata??=Symbol("metadata"),a$2$2.litPropertyMetadata??=new WeakMap;let b$1$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);void 0!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(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$1("elementProperties")))return;const t=n$3$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2$1("properties"))){const t=this.properties,s=[...h$2$1(t),...o$4$2(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$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),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$1(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(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$2).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$2$2;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$1)(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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$1.elementStyles=[],b$1$1.shadowRootOptions={mode:"open"},b$1$1[d$2$1("elementProperties")]=new Map,b$1$1[d$2$1("finalized")]=new Map,p$2$1?.({ReactiveElement:b$1$1}),(a$2$2.reactiveElementVersions??=[]).push("2.0.4");
438
494
 
439
495
  /**
440
496
  * @license
441
497
  * Copyright 2017 Google LLC
442
498
  * SPDX-License-Identifier: BSD-3-Clause
443
- */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$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
499
+ */let r$4$1 = class r extends b$1$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$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1$1}};r$4$1._$litElement$=true,r$4$1["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4$1});const i$5$2=globalThis.litElementPolyfillSupport;i$5$2?.({LitElement:r$4$1});(globalThis.litElementVersions??=[]).push("4.1.1");
444
500
 
445
501
  // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
446
502
  // See LICENSE in the project root for license information.
@@ -449,7 +505,7 @@ const t$1=globalThis,e$3=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
449
505
 
450
506
  /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
451
507
 
452
- class AuroLibraryRuntimeUtils {
508
+ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
453
509
 
454
510
  /* eslint-disable jsdoc/require-param */
455
511
 
@@ -510,7 +566,7 @@ class AuroLibraryRuntimeUtils {
510
566
 
511
567
  return elemTag === tag || elem.hasAttribute(tag);
512
568
  }
513
- }
569
+ };
514
570
 
515
571
  /**
516
572
  * Custom positioning reference element.
@@ -2020,37 +2076,23 @@ class AuroFloatingUI {
2020
2076
  }
2021
2077
 
2022
2078
  /**
2023
- * @private
2024
- * Adjusts the size of the bib content based on the bibSizer dimensions.
2025
- *
2026
- * This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
2027
- * If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
2028
- * mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
2029
- *
2030
- * @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
2031
- * If true, the bib content dimensions are cleared; if false, they are set
2032
- * based on the bibSizer's computed styles.
2079
+ * Mirrors the size of the bibSizer element to the bib content.
2080
+ * Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
2081
+ * This ensures that the bib content has the same dimensions as the sizer element.
2033
2082
  */
2034
- mirrorSize(fullscreen) {
2083
+ mirrorSize() {
2035
2084
  // mirror the boxsize from bibSizer
2036
2085
  if (this.element.bibSizer) {
2037
2086
  const sizerStyle = window.getComputedStyle(this.element.bibSizer);
2038
2087
  const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2039
- if (fullscreen) {
2040
- bibContent.style.width = '';
2041
- bibContent.style.height = '';
2042
- bibContent.style.maxWidth = '';
2043
- bibContent.style.maxHeight = '';
2044
- } else {
2045
- if (sizerStyle.width !== '0px') {
2046
- bibContent.style.width = sizerStyle.width;
2047
- }
2048
- if (sizerStyle.height !== '0px') {
2049
- bibContent.style.height = sizerStyle.height;
2050
- }
2051
- bibContent.style.maxWidth = sizerStyle.maxWidth;
2052
- bibContent.style.maxHeight = sizerStyle.maxHeight;
2088
+ if (sizerStyle.width !== '0px') {
2089
+ bibContent.style.width = sizerStyle.width;
2090
+ }
2091
+ if (sizerStyle.height !== '0px') {
2092
+ bibContent.style.height = sizerStyle.height;
2053
2093
  }
2094
+ bibContent.style.maxWidth = sizerStyle.maxWidth;
2095
+ bibContent.style.maxHeight = sizerStyle.maxHeight;
2054
2096
  }
2055
2097
  }
2056
2098
 
@@ -2066,11 +2108,12 @@ class AuroFloatingUI {
2066
2108
  getPositioningStrategy() {
2067
2109
  let strategy = 'floating';
2068
2110
  if (this.element.bib.mobileFullscreenBreakpoint) {
2069
- const isMobile = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
2070
- if (isMobile) {
2111
+ const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
2112
+ if (smallerThanBreakpoint) {
2071
2113
  strategy = 'fullscreen';
2072
2114
  }
2073
2115
  }
2116
+
2074
2117
  return strategy;
2075
2118
  }
2076
2119
 
@@ -2084,13 +2127,10 @@ class AuroFloatingUI {
2084
2127
  */
2085
2128
  position() {
2086
2129
  const strategy = this.getPositioningStrategy();
2087
- if (strategy === 'fullscreen') {
2088
- this.configureBibFullscreen(true);
2089
- this.mirrorSize(true);
2090
- } else {
2091
- this.configureBibFullscreen(false);
2092
- this.mirrorSize(false);
2130
+ this.configureBibStrategy(strategy);
2093
2131
 
2132
+ if (strategy === 'floating') {
2133
+ this.mirrorSize();
2094
2134
  // Define the middlware for the floater configuration
2095
2135
  const middleware = [
2096
2136
  offset(this.element.floaterConfig.offset || 0),
@@ -2113,28 +2153,72 @@ class AuroFloatingUI {
2113
2153
 
2114
2154
  /**
2115
2155
  * @private
2116
- * Configures the bib element for fullscreen mode based on the mobile status.
2156
+ * Controls whether to lock the scrolling for the document's body.
2157
+ * @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
2158
+ */
2159
+ lockScroll(lock = true) {
2160
+ if (lock) {
2161
+ document.body.style.overflow = 'hidden'; // hide body's scrollbar
2162
+
2163
+ // Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
2164
+ this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
2165
+ } else {
2166
+ document.body.style.overflow = '';
2167
+ }
2168
+ }
2169
+
2170
+ /**
2171
+ * @private
2172
+ * Configures the bib element's display strategy.
2117
2173
  *
2118
- * This method sets the 'isFullscreen' attribute on the bib element to "true" if the `isMobile` parameter is true,
2119
- * and resets its position to the top-left corner of the viewport. If `isMobile` is false, it removes the
2120
- * 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
2174
+ * Sets the bib to fullscreen or floating mode based on the provided strategy.
2175
+ * Dispatches a 'strategy-change' event if the strategy changes.
2121
2176
  *
2122
- * @param {boolean} isMobile - A flag indicating whether the current device is mobile.
2177
+ * @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
2123
2178
  */
2124
- configureBibFullscreen(isMobile) {
2125
- if (isMobile) {
2126
- this.element.bib.setAttribute('isFullscreen', "true");
2179
+ configureBibStrategy(strategy) {
2180
+ const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
2181
+ if (strategy === 'fullscreen') {
2182
+ this.element.isBibFullscreen = true;
2127
2183
  // reset the prev position
2128
2184
  this.element.bib.style.top = "0px";
2129
2185
  this.element.bib.style.left = "0px";
2186
+
2187
+ // reset the size that was mirroring `size` css-part
2188
+ const bibContent = this.element.bib.shadowRoot.querySelector(".container");
2189
+ bibContent.style.width = '';
2190
+ bibContent.style.height = '';
2191
+ bibContent.style.maxWidth = '';
2192
+ bibContent.style.maxHeight = `${window.visualViewport.height}px`;
2193
+
2194
+ if (this.element.isPopoverVisible) {
2195
+ this.lockScroll(true);
2196
+ }
2130
2197
  } else {
2131
- this.element.bib.removeAttribute('isFullscreen');
2198
+ this.element.isBibFullscreen = false;
2199
+
2200
+ this.lockScroll(false);
2201
+ }
2202
+
2203
+ if (prevStrategy !== strategy) {
2204
+ const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
2205
+ detail: {
2206
+ strategy,
2207
+ },
2208
+ composed: true
2209
+ });
2210
+
2211
+ this.element.dispatchEvent(event);
2132
2212
  }
2133
2213
  }
2134
2214
 
2135
2215
  updateState() {
2136
2216
  const isVisible = this.element.isPopoverVisible;
2137
- this.element.trigger.setAttribute('aria-expanded', isVisible);
2217
+
2218
+ // Refactor this to apply attribute to correct focusable element
2219
+ // Reference Issue: https://github.com/AlaskaAirlines/auro-library/issues/105
2220
+ //
2221
+ // this.element.trigger.setAttribute('aria-expanded', isVisible);
2138
2222
 
2139
2223
  if (isVisible) {
2140
2224
  this.element.bib.setAttribute('data-show', true);
@@ -2230,6 +2314,7 @@ class AuroFloatingUI {
2230
2314
  this.updateCurrentExpandedDropdown();
2231
2315
  this.element.isPopoverVisible = true;
2232
2316
  this.element.triggerChevron?.setAttribute('data-expanded', true);
2317
+
2233
2318
  this.dispatchEventDropdownToggle();
2234
2319
  this.position();
2235
2320
 
@@ -2247,6 +2332,7 @@ class AuroFloatingUI {
2247
2332
  hideBib() {
2248
2333
  if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
2249
2334
  this.element.isPopoverVisible = false;
2335
+ this.lockScroll(false);
2250
2336
  this.element.triggerChevron?.removeAttribute('data-expanded');
2251
2337
  this.dispatchEventDropdownToggle();
2252
2338
  }
@@ -2259,7 +2345,7 @@ class AuroFloatingUI {
2259
2345
  dispatchEventDropdownToggle() {
2260
2346
  const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
2261
2347
  detail: {
2262
- expanded: this.isPopoverVisible,
2348
+ expanded: this.element.isPopoverVisible,
2263
2349
  },
2264
2350
  composed: true
2265
2351
  });
@@ -2276,7 +2362,7 @@ class AuroFloatingUI {
2276
2362
 
2277
2363
  const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
2278
2364
  composed: true,
2279
- details: {
2365
+ detail: {
2280
2366
  expanded: this.element.isPopoverVisible
2281
2367
  }
2282
2368
  });
@@ -2328,6 +2414,12 @@ class AuroFloatingUI {
2328
2414
  }
2329
2415
  }
2330
2416
 
2417
+ /**
2418
+ * Manages the tabIndex of the trigger element based on its focusability.
2419
+ *
2420
+ * If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
2421
+ * This prevents the component itself from being focusable when the trigger element already handles focus.
2422
+ */
2331
2423
  handleTriggerTabIndex() {
2332
2424
  const focusableElementSelectors = [
2333
2425
  'a',
@@ -2342,6 +2434,9 @@ class AuroFloatingUI {
2342
2434
  ];
2343
2435
 
2344
2436
  const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
2437
+ if (!triggerNode) {
2438
+ return;
2439
+ }
2345
2440
  const triggerNodeTagName = triggerNode.tagName.toLowerCase();
2346
2441
 
2347
2442
  focusableElementSelectors.forEach((selector) => {
@@ -2370,12 +2465,13 @@ class AuroFloatingUI {
2370
2465
 
2371
2466
  this.handleTriggerTabIndex();
2372
2467
 
2373
- this.element.trigger.addEventListener('keydown', (event) => this.handleEvent(event));
2374
- this.element.trigger.addEventListener('click', (event) => this.handleEvent(event));
2375
- this.element.trigger.addEventListener('mouseenter', (event) => this.handleEvent(event));
2376
- this.element.trigger.addEventListener('mouseleave', (event) => this.handleEvent(event));
2377
- this.element.trigger.addEventListener('focus', (event) => this.handleEvent(event));
2378
- this.element.trigger.addEventListener('blur', (event) => this.handleEvent(event));
2468
+ this.handleEvent = this.handleEvent.bind(this);
2469
+ this.element.trigger.addEventListener('keydown', this.handleEvent);
2470
+ this.element.trigger.addEventListener('click', this.handleEvent);
2471
+ this.element.trigger.addEventListener('mouseenter', this.handleEvent);
2472
+ this.element.trigger.addEventListener('mouseleave', this.handleEvent);
2473
+ this.element.trigger.addEventListener('focus', this.handleEvent);
2474
+ this.element.trigger.addEventListener('blur', this.handleEvent);
2379
2475
  }
2380
2476
 
2381
2477
  disconnect() {
@@ -2384,12 +2480,12 @@ class AuroFloatingUI {
2384
2480
 
2385
2481
  // Remove event & keyboard listeners
2386
2482
  if (this.element?.trigger) {
2387
- this.element.trigger.removeEventListener('keydown', (event) => this.handleEvent(event));
2388
- this.element.trigger.removeEventListener('click', (event) => this.handleEvent(event));
2389
- this.element.trigger.removeEventListener('mouseenter', (event) => this.handleEvent(event));
2390
- this.element.trigger.removeEventListener('mouseleave', (event) => this.handleEvent(event));
2391
- this.element.trigger.removeEventListener('focus', (event) => this.handleEvent(event));
2392
- this.element.trigger.removeEventListener('blur', (event) => this.handleEvent(event));
2483
+ this.element.trigger.removeEventListener('keydown', this.handleEvent);
2484
+ this.element.trigger.removeEventListener('click', this.handleEvent);
2485
+ this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
2486
+ this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
2487
+ this.element.trigger.removeEventListener('focus', this.handleEvent);
2488
+ this.element.trigger.removeEventListener('blur', this.handleEvent);
2393
2489
  }
2394
2490
  }
2395
2491
  }
@@ -2398,7 +2494,7 @@ class AuroFloatingUI {
2398
2494
  // See LICENSE in the project root for license information.
2399
2495
 
2400
2496
 
2401
- class AuroDependencyVersioning {
2497
+ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
2402
2498
 
2403
2499
  /**
2404
2500
  * Generates a unique string to be used for child auro element naming.
@@ -2424,7 +2520,7 @@ class AuroDependencyVersioning {
2424
2520
  */
2425
2521
  generateTag(baseName, version, tagClass) {
2426
2522
  const elementName = this.generateElementName(baseName, version);
2427
- const tag = i$4`${s$1(elementName)}`;
2523
+ const tag = i$8`${s$3(elementName)}`;
2428
2524
 
2429
2525
  if (!customElements.get(elementName)) {
2430
2526
  customElements.define(elementName, class extends tagClass {});
@@ -2432,26 +2528,26 @@ class AuroDependencyVersioning {
2432
2528
 
2433
2529
  return tag;
2434
2530
  }
2435
- }
2531
+ };
2436
2532
 
2437
2533
  /**
2438
2534
  * @license
2439
2535
  * Copyright 2017 Google LLC
2440
2536
  * SPDX-License-Identifier: BSD-3-Clause
2441
2537
  */
2442
- const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
2538
+ const t$2$2={ATTRIBUTE:1},e$4$2=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$2 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
2443
2539
 
2444
2540
  /**
2445
2541
  * @license
2446
2542
  * Copyright 2018 Google LLC
2447
2543
  * SPDX-License-Identifier: BSD-3-Clause
2448
- */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}});
2544
+ */const e$3$2=e$4$2(class extends i$4$2{constructor(t){if(super(t),t.type!==t$2$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$1$1}});
2449
2545
 
2450
2546
  /**
2451
2547
  * @license
2452
2548
  * Copyright 2018 Google LLC
2453
2549
  * SPDX-License-Identifier: BSD-3-Clause
2454
- */const o=o=>o??E;
2550
+ */const o$3$2=o=>o??E$1$1;
2455
2551
 
2456
2552
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2457
2553
  // See LICENSE in the project root for license information.
@@ -2463,7 +2559,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
2463
2559
  * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
2464
2560
  */
2465
2561
 
2466
- class AuroElement extends r {
2562
+ let AuroElement$1 = class AuroElement extends r$4$1 {
2467
2563
 
2468
2564
  // function to define props used within the scope of this component
2469
2565
  static get properties() {
@@ -2487,13 +2583,13 @@ class AuroElement extends r {
2487
2583
 
2488
2584
  return 'false'
2489
2585
  }
2490
- }
2586
+ };
2491
2587
 
2492
- var error = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","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":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
2588
+ var error$1 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
2493
2589
 
2494
2590
  /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
2495
2591
 
2496
- const _fetchMap = new Map();
2592
+ const _fetchMap$1 = new Map();
2497
2593
 
2498
2594
  /**
2499
2595
  * A callback to parse Response body.
@@ -2511,15 +2607,15 @@ const _fetchMap = new Map();
2511
2607
  * @param {ResponseParser} [options.responseParser=(response) => response.text()]
2512
2608
  * @returns {Promise}
2513
2609
  */
2514
- const cacheFetch = (uri, options = {}) => {
2610
+ const cacheFetch$1 = (uri, options = {}) => {
2515
2611
  const responseParser = options.responseParser || ((response) => response.text());
2516
- if (!_fetchMap.has(uri)) {
2517
- _fetchMap.set(uri, fetch(uri).then(responseParser));
2612
+ if (!_fetchMap$1.has(uri)) {
2613
+ _fetchMap$1.set(uri, fetch(uri).then(responseParser));
2518
2614
  }
2519
- return _fetchMap.get(uri);
2615
+ return _fetchMap$1.get(uri);
2520
2616
  };
2521
2617
 
2522
- var styleCss$2 = i$3`*,*: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}`;
2618
+ var styleCss$3$1 = i$7`*,*: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}`;
2523
2619
 
2524
2620
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2525
2621
  // See LICENSE in the project root for license information.
@@ -2532,7 +2628,7 @@ var styleCss$2 = i$3`*,*:before,*:after{box-sizing:border-box}@media(prefers-red
2532
2628
  */
2533
2629
 
2534
2630
  // build the component class
2535
- class BaseIcon extends AuroElement {
2631
+ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
2536
2632
  constructor() {
2537
2633
  super();
2538
2634
  this.onDark = false;
@@ -2558,8 +2654,8 @@ class BaseIcon extends AuroElement {
2558
2654
  }
2559
2655
 
2560
2656
  static get styles() {
2561
- return i$3`
2562
- ${styleCss$2}
2657
+ return i$7`
2658
+ ${styleCss$3$1}
2563
2659
  `;
2564
2660
  }
2565
2661
 
@@ -2574,9 +2670,9 @@ class BaseIcon extends AuroElement {
2574
2670
  let iconHTML = '';
2575
2671
 
2576
2672
  if (category === 'logos') {
2577
- iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
2673
+ iconHTML = await cacheFetch$1(`${this.uri}/${category}/${name}.svg`);
2578
2674
  } else {
2579
- iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
2675
+ iconHTML = await cacheFetch$1(`${this.uri}/icons/${category}/${name}.svg`);
2580
2676
  }
2581
2677
 
2582
2678
  const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
@@ -2592,17 +2688,17 @@ class BaseIcon extends AuroElement {
2592
2688
  if (svg) {
2593
2689
  this.svg = svg;
2594
2690
  } else if (!svg) {
2595
- const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
2691
+ const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
2596
2692
 
2597
2693
  this.svg = penDOM.body.firstChild;
2598
2694
  }
2599
2695
  }
2600
2696
  }
2601
- }
2697
+ };
2602
2698
 
2603
- var tokensCss$1 = i$3`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
2699
+ var tokensCss$2 = i$7`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
2604
2700
 
2605
- var colorCss$2 = i$3`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
2701
+ var colorCss$3 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
2606
2702
 
2607
2703
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2608
2704
  // See LICENSE in the project root for license information.
@@ -2635,7 +2731,7 @@ var colorCss$2 = i$3`:host{color:var(--ds-auro-icon-color)}:host([customColor]){
2635
2731
  */
2636
2732
 
2637
2733
  // build the component class
2638
- class AuroIcon extends BaseIcon {
2734
+ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
2639
2735
  constructor() {
2640
2736
  super();
2641
2737
 
@@ -2664,7 +2760,7 @@ class AuroIcon extends BaseIcon {
2664
2760
  this.success = false;
2665
2761
  this.tertiary = false;
2666
2762
  this.warning = false;
2667
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
2763
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
2668
2764
  }
2669
2765
 
2670
2766
  // function to define props used within the scope of this component
@@ -2746,9 +2842,9 @@ class AuroIcon extends BaseIcon {
2746
2842
  static get styles() {
2747
2843
  return [
2748
2844
  super.styles,
2749
- i$3`${tokensCss$1}`,
2750
- i$3`${styleCss$2}`,
2751
- i$3`${colorCss$2}`
2845
+ i$7`${tokensCss$2}`,
2846
+ i$7`${styleCss$3$1}`,
2847
+ i$7`${colorCss$3}`
2752
2848
  ];
2753
2849
  }
2754
2850
 
@@ -2761,7 +2857,7 @@ class AuroIcon extends BaseIcon {
2761
2857
  *
2762
2858
  */
2763
2859
  static register(name = "auro-icon") {
2764
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
2860
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
2765
2861
  }
2766
2862
 
2767
2863
  connectedCallback() {
@@ -2790,38 +2886,34 @@ class AuroIcon extends BaseIcon {
2790
2886
  'wrapper': true,
2791
2887
  };
2792
2888
 
2793
- return x`
2889
+ return x$1`
2794
2890
  <div
2795
- class="${e(classes)}"
2796
- title="${o(this.title || undefined)}">
2797
- <span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
2798
- ${this.customSvg ? x`
2891
+ class="${e$3$2(classes)}"
2892
+ title="${o$3$2(this.title || undefined)}">
2893
+ <span aria-hidden="${o$3$2(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
2894
+ ${this.customSvg ? x$1`
2799
2895
  <slot name="svg"></slot>
2800
- ` : x`
2896
+ ` : x$1`
2801
2897
  ${this.svg}
2802
2898
  `
2803
2899
  }
2804
2900
  </span>
2805
2901
 
2806
- <div class="${e(a11y)}">
2902
+ <div class="${e$3$2(a11y)}">
2807
2903
  <slot></slot>
2808
2904
  </div>
2809
2905
  </div>
2810
2906
  `;
2811
2907
  }
2812
- }
2813
-
2814
- var iconVersion = '6.1.2';
2815
-
2816
- var styleCss$1 = i$3`: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)}`;
2908
+ };
2817
2909
 
2818
- var colorCss$1 = i$3`.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)}`;
2910
+ var iconVersion$1 = '6.1.2';
2819
2911
 
2820
- var tokensCss$2 = i$3`: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)}`;
2912
+ var styleCss$2$1 = i$7`: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;overscroll-behavior:contain}: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}`;
2821
2913
 
2822
- var styleCss$3 = i$3`: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}`;
2914
+ var colorCss$2$1 = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
2823
2915
 
2824
- var colorCss$3 = i$3`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
2916
+ var tokensCss$1$1 = i$7`:host{--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-outline-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)}`;
2825
2917
 
2826
2918
  // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2827
2919
  // See LICENSE in the project root for license information.
@@ -2837,11 +2929,11 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
2837
2929
  ];
2838
2930
 
2839
2931
  /**
2840
- * @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.
2932
+ * @prop { String } fullscreenBreakpoint - 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.
2841
2933
  * @csspart bibContainer - Apply css to the bib container.
2842
2934
  */
2843
2935
 
2844
- class AuroDropdownBib extends r {
2936
+ class AuroDropdownBib extends r$4$1 {
2845
2937
 
2846
2938
  constructor() {
2847
2939
  super();
@@ -2850,19 +2942,29 @@ class AuroDropdownBib extends r {
2850
2942
  * @private
2851
2943
  */
2852
2944
  this._mobileBreakpointValue = undefined;
2945
+
2946
+ AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
2853
2947
  }
2854
2948
 
2855
2949
  static get styles() {
2856
2950
  return [
2857
- styleCss$3,
2858
- colorCss$3,
2859
- tokensCss$2
2951
+ styleCss$2$1,
2952
+ colorCss$2$1,
2953
+ tokensCss$1$1
2860
2954
  ];
2861
2955
  }
2862
2956
 
2863
2957
  static get properties() {
2864
2958
  return {
2865
2959
 
2960
+ /**
2961
+ * If declared, will take the fullscreen when the bib is displayed.
2962
+ */
2963
+ isFullscreen: {
2964
+ type: Boolean,
2965
+ reflect: true
2966
+ },
2967
+
2866
2968
  /**
2867
2969
  * If declared, will apply all styles for the common theme.
2868
2970
  */
@@ -2905,9 +3007,24 @@ class AuroDropdownBib extends r {
2905
3007
  return this._mobileBreakpointValue;
2906
3008
  }
2907
3009
 
3010
+ updated(changedProperties) {
3011
+ if (changedProperties.has('isFullscreen')) {
3012
+ this.childNodes.forEach((child) => {
3013
+ // skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
3014
+ if (child.nodeName !== '#text') {
3015
+ if (this.isFullscreen) {
3016
+ child.setAttribute('isFullscreen', 'true');
3017
+ } else {
3018
+ child.removeAttribute('isFullscreen');
3019
+ }
3020
+ }
3021
+ });
3022
+ }
3023
+ }
3024
+
2908
3025
  // function that renders the HTML and CSS into the scope of the component
2909
3026
  render() {
2910
- return u$1`
3027
+ return u$3`
2911
3028
  <div class="container" part="bibContainer">
2912
3029
  <slot></slot>
2913
3030
  </div>
@@ -2915,124 +3032,383 @@ class AuroDropdownBib extends r {
2915
3032
  }
2916
3033
  }
2917
3034
 
2918
- // default internal definition
2919
- if (!customElements.get("auro-dropdownbib")) {
2920
- customElements.define("auro-dropdownbib", AuroDropdownBib);
2921
- }
3035
+ var dropdownVersion$1 = '3.0.0';
2922
3036
 
2923
- // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
2924
- // See LICENSE in the project root for license information.
3037
+ var styleCss$1$1 = i$7`: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}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@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)}: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)}`;
2925
3038
 
3039
+ var colorCss$1$1 = i$7`.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);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-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);--ds-auro-dropdown-trigger-outline-color: 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))}: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-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)}`;
2926
3040
 
2927
3041
  /**
2928
- * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
2929
- * @slot - Default slot for the popover content.
2930
- * @slot label - Defines the content of the label.
2931
- * @slot helpText - Defines the content of the helpText.
2932
- * @slot trigger - Defines the content of the trigger.
2933
- * @csspart trigger - The trigger content container.
2934
- * @csspart chevron - The collapsed/expanded state icon container.
2935
- * @csspart helpText - The helpText content container.
2936
- * @csspart popover - The bib content container.
2937
- * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
2938
- * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3042
+ * @license
3043
+ * Copyright 2019 Google LLC
3044
+ * SPDX-License-Identifier: BSD-3-Clause
2939
3045
  */
2940
- class AuroDropdown extends r {
2941
- constructor() {
2942
- super();
3046
+ const t$1$2=globalThis,e$2$2=t$1$2.ShadowRoot&&(void 0===t$1$2.ShadyCSS||t$1$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$2=Symbol(),o$2$2=new WeakMap;let n$2$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$2)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$2$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$2.set(s,t));}return t}toString(){return this.cssText}};const r$3$2=t=>new n$2$2("string"==typeof t?t:t+"",void 0,s$1$2),i$3$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$2$2(o,t,s$1$2)},S$1$2=(s,o)=>{if(e$2$2)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$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$2=e$2$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$2(e)})(t):t;
2943
3047
 
2944
- this.isPopoverVisible = false;
2945
- this.matchWidth = false;
2946
- this.noHideOnThisFocusLoss = false;
3048
+ /**
3049
+ * @license
3050
+ * Copyright 2017 Google LLC
3051
+ * SPDX-License-Identifier: BSD-3-Clause
3052
+ */const{is:i$2$2,defineProperty:e$1$1,getOwnPropertyDescriptor:r$2$2,getOwnPropertyNames:h$1$2,getOwnPropertySymbols:o$1$1,getPrototypeOf:n$1$2}=Object,a$1$2=globalThis,c$1$2=a$1$2.trustedTypes,l$1$2=c$1$2?c$1$2.emptyScript:"",p$1$2=a$1$2.reactiveElementPolyfillSupport,d$1$2=(t,s)=>t,u$1$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$2: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$1$2=(t,s)=>!i$2$2(t,s),y$1$2={attribute:true,type:String,converter:u$1$2,reflect:false,hasChanged:f$1$2};Symbol.metadata??=Symbol("metadata"),a$1$2.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$1$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);void 0!==r&&e$1$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$2(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$1$2}static _$Ei(){if(this.hasOwnProperty(d$1$2("elementProperties")))return;const t=n$1$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$2("properties"))){const t=this.properties,s=[...h$1$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$2$2(s));}else void 0!==s&&i.push(c$2$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),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$1$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(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1$2).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$1$2;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$1$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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$1$2("elementProperties")]=new Map,b$2[d$1$2("finalized")]=new Map,p$1$2?.({ReactiveElement:b$2}),(a$1$2.reactiveElementVersions??=[]).push("2.0.4");
2947
3053
 
2948
- this.privateDefaults();
2949
- }
3054
+ /**
3055
+ * @license
3056
+ * Copyright 2017 Google LLC
3057
+ * SPDX-License-Identifier: BSD-3-Clause
3058
+ */
3059
+ const t$5=globalThis,i$1$1=t$5.trustedTypes,s$5=i$1$1?i$1$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$8="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o$8="?"+h$4,n$7=`<${o$8}>`,r$1$2=document,l$5=()=>r$1$2.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$5=Array.isArray,u$5=t=>a$5(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,y$4=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$2=y$4(1),T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$2.createTreeWalker(r$1$2,129);function P$2(t,i){if(!a$5(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$5?s$5.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$4;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$4?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.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$4,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$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n$7:d>=0?(o.push(a),s.slice(0,d)+e$8+s.slice(d)+h$4+x):s+h$4+(-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$8)){const i=v[a++],s=r.getAttribute(t).split(h$4),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$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1$1?i$1$1.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$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$2.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),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$4(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$1$2).importNode(i,true);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$1$2,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??true;}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$4(this,t,i),c$6(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$5(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$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$2.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$2(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?.(false,true,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=false;if(void 0===h)t=S$4(this,t,i,0),o=!c$6(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$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$6(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$4(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$4(this,t);}};const j$2=t$5.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t$5.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};
2950
3060
 
2951
- /**
2952
- * @private
2953
- * @returns {void} Internal defaults.
2954
- */
2955
- privateDefaults() {
2956
- this.bordered = false;
2957
- this.chevron = false;
2958
- this.disabled = false;
2959
- this.error = false;
2960
- this.inset = false;
2961
- this.placement = 'bottom-start';
2962
- this.rounded = false;
2963
- this.tabIndex = 0;
2964
- this.noToggle = false;
3061
+ /**
3062
+ * @license
3063
+ * Copyright 2017 Google LLC
3064
+ * SPDX-License-Identifier: BSD-3-Clause
3065
+ */let r$8 = 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(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
2965
3066
 
2966
- /**
2967
- * @private
2968
- */
2969
- this.hasTriggerContent = false;
3067
+ var colorCss$4 = i$3$2`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
2970
3068
 
2971
- /**
2972
- * @private
2973
- */
2974
- this.triggerContentSlot = undefined;
3069
+ var styleCss$4 = i$3$2`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
2975
3070
 
2976
- /**
2977
- * @private
2978
- */
2979
- this.runtimeUtils = new AuroLibraryRuntimeUtils();
3071
+ var tokensCss$3 = i$3$2`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
2980
3072
 
2981
- /**
2982
- * @private
2983
- */
2984
- this.floater = new AuroFloatingUI();
3073
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3074
+ // See LICENSE in the project root for license information.
2985
3075
 
2986
- /**
2987
- * @private
2988
- */
2989
- this.floaterConfig = {
2990
- placement: 'bottom-start',
2991
- flip: true,
2992
- autoPlacement: false,
2993
- offset: 0,
2994
- };
3076
+ // ---------------------------------------------------------------------
2995
3077
 
2996
- /**
2997
- * Generate unique names for dependency components.
2998
- */
2999
- const versioning = new AuroDependencyVersioning();
3000
- this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
3001
- }
3078
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3079
+
3080
+ let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
3081
+
3082
+ /* eslint-disable jsdoc/require-param */
3002
3083
 
3003
3084
  /**
3004
- * Public method to hide the dropdown.
3085
+ * This will register a new custom element with the browser.
3086
+ * @param {String} name - The name of the custom element.
3087
+ * @param {Object} componentClass - The class to register as a custom element.
3005
3088
  * @returns {void}
3006
3089
  */
3007
- hide() {
3008
- this.floater.hideBib();
3090
+ registerComponent(name, componentClass) {
3091
+ if (!customElements.get(name)) {
3092
+ customElements.define(name, class extends componentClass {});
3093
+ }
3009
3094
  }
3010
3095
 
3011
3096
  /**
3012
- * Public method to show the dropdown.
3097
+ * Finds and returns the closest HTML Element based on a selector.
3013
3098
  * @returns {void}
3014
3099
  */
3015
- show() {
3016
- this.floater.showBib();
3100
+ closestElement(
3101
+ selector, // selector like in .closest()
3102
+ base = this, // extra functionality to skip a parent
3103
+ __Closest = (el, found = el && el.closest(selector)) =>
3104
+ !el || el === document || el === window
3105
+ ? null // standard .closest() returns null for non-found selectors also
3106
+ : found
3107
+ ? found // found a selector INside this element
3108
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
3109
+ ) {
3110
+ return __Closest(base);
3017
3111
  }
3112
+ /* eslint-enable jsdoc/require-param */
3018
3113
 
3019
- // function to define props used within the scope of this component
3020
- static get properties() {
3021
- return {
3114
+ /**
3115
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
3116
+ * @param {Object} elem - The element to check.
3117
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
3118
+ * @returns {void}
3119
+ */
3120
+ handleComponentTagRename(elem, tagName) {
3121
+ const tag = tagName.toLowerCase();
3122
+ const elemTag = elem.tagName.toLowerCase();
3022
3123
 
3023
- /**
3024
- * If declared, applies a border around the trigger slot.
3025
- */
3026
- bordered: {
3027
- type: Boolean,
3028
- reflect: true
3029
- },
3124
+ if (elemTag !== tag) {
3125
+ elem.setAttribute(tag, true);
3126
+ }
3127
+ }
3030
3128
 
3031
- /**
3032
- * If declared, the dropdown displays a chevron on the right.
3033
- * @attr {Boolean} chevron
3034
- */
3035
- chevron: {
3129
+ /**
3130
+ * Validates if an element is a specific Auro component.
3131
+ * @param {Object} elem - The element to validate.
3132
+ * @param {String} tagName - The name of the Auro component to check against.
3133
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
3134
+ */
3135
+ elementMatch(elem, tagName) {
3136
+ const tag = tagName.toLowerCase();
3137
+ const elemTag = elem.tagName.toLowerCase();
3138
+
3139
+ return elemTag === tag || elem.hasAttribute(tag);
3140
+ }
3141
+ };
3142
+
3143
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3144
+ // See LICENSE in the project root for license information.
3145
+
3146
+
3147
+ /**
3148
+ * Displays help text or error messages within form elements - Internal Use Only.
3149
+ *
3150
+ * @attr { Boolean } large - If declared, make font-size to 1rem(16px).
3151
+ */
3152
+ class AuroHelpText extends r$8 {
3153
+
3154
+ constructor() {
3155
+ super();
3156
+
3157
+ this.error = false;
3158
+ this.hasTextContent = false;
3159
+
3160
+ AuroLibraryRuntimeUtils$2.prototype.handleComponentTagRename(this, 'auro-helptext');
3161
+ }
3162
+
3163
+ static get styles() {
3164
+ return [
3165
+ colorCss$4,
3166
+ styleCss$4,
3167
+ tokensCss$3
3168
+ ];
3169
+ }
3170
+
3171
+ // function to define props used within the scope of this component
3172
+ static get properties() {
3173
+ return {
3174
+
3175
+ /**
3176
+ * @private
3177
+ */
3178
+ slotNodes: {
3179
+ type: Boolean,
3180
+ },
3181
+
3182
+ /**
3183
+ * @private
3184
+ */
3185
+ hasTextContent: {
3186
+ type: Boolean,
3187
+ },
3188
+
3189
+ /**
3190
+ * If declared, make font color red.
3191
+ */
3192
+ error: {
3193
+ type: Boolean,
3194
+ reflect: true,
3195
+ },
3196
+ };
3197
+ }
3198
+
3199
+ /**
3200
+ * This will register this element with the browser.
3201
+ * @param {string} [name="auro-helptext"] - The name of element that you want to register to.
3202
+ *
3203
+ * @example
3204
+ * AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
3205
+ *
3206
+ */
3207
+ static register(name = "auro-helptext") {
3208
+ AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
3209
+ }
3210
+
3211
+ updated() {
3212
+ this.handleSlotChange();
3213
+ }
3214
+
3215
+ handleSlotChange(event) {
3216
+ if (event) {
3217
+ this.slotNodes = event.target.assignedNodes();
3218
+ }
3219
+
3220
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
3221
+ }
3222
+
3223
+ /**
3224
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
3225
+ *
3226
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
3227
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
3228
+ * @private
3229
+ */
3230
+ checkSlotsForContent(nodes) {
3231
+ if (!nodes) {
3232
+ return false;
3233
+ }
3234
+
3235
+ return nodes.some((node) => {
3236
+ if (node.textContent.trim()) {
3237
+ return true;
3238
+ }
3239
+
3240
+ if (!node.querySelector) {
3241
+ return false;
3242
+ }
3243
+
3244
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
3245
+ if (!nestedSlot) {
3246
+ return false;
3247
+ }
3248
+
3249
+ const nestedSlotNodes = nestedSlot.assignedNodes();
3250
+ return this.checkSlotsForContent(nestedSlotNodes);
3251
+ });
3252
+ }
3253
+
3254
+ // function that renders the HTML and CSS into the scope of the component
3255
+ render() {
3256
+ return x$2`
3257
+ <div class="helptext-wrapper" ?visible="${this.hasTextContent}">
3258
+ <slot @slotchange=${this.handleSlotChange}></slot>
3259
+ </div>
3260
+ `;
3261
+ }
3262
+ }
3263
+
3264
+ var helpTextVersion = '1.0.0';
3265
+
3266
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3267
+ // See LICENSE in the project root for license information.
3268
+
3269
+
3270
+ /**
3271
+ * @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
3272
+ * @slot - Default slot for the popover content.
3273
+ * @slot label - Defines the content of the label.
3274
+ * @slot helpText - Defines the content of the helpText.
3275
+ * @slot trigger - Defines the content of the trigger.
3276
+ * @csspart trigger - The trigger content container.
3277
+ * @csspart chevron - The collapsed/expanded state icon container.
3278
+ * @csspart helpText - The helpText content container.
3279
+ * @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
3280
+ * @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
3281
+ */
3282
+ class AuroDropdown extends r$4$1 {
3283
+ constructor() {
3284
+ super();
3285
+
3286
+ this.isPopoverVisible = false;
3287
+ this.isBibFullscreen = false;
3288
+ this.matchWidth = false;
3289
+ this.noHideOnThisFocusLoss = false;
3290
+
3291
+ this.privateDefaults();
3292
+
3293
+ /**
3294
+ * @private
3295
+ * @property {boolean} delegatesFocus - Whether the shadow root delegates focus.
3296
+ */
3297
+ this.constructor.shadowRootOptions = {
3298
+ ...r$4$1.shadowRootOptions,
3299
+ delegatesFocus: true,
3300
+ };
3301
+
3302
+ /**
3303
+ * @private
3304
+ */
3305
+ this.triggerContentFocusable = false;
3306
+
3307
+ /**
3308
+ * @private
3309
+ */
3310
+ this.showTriggerBorders = true;
3311
+ }
3312
+
3313
+ /**
3314
+ * @private
3315
+ * @returns {void} Internal defaults.
3316
+ */
3317
+ privateDefaults() {
3318
+ this.bordered = false;
3319
+ this.chevron = false;
3320
+ this.disabled = false;
3321
+ this.error = false;
3322
+ this.inset = false;
3323
+ this.placement = 'bottom-start';
3324
+ this.rounded = false;
3325
+ this.tabIndex = 0;
3326
+ this.noToggle = false;
3327
+
3328
+ /**
3329
+ * @private
3330
+ */
3331
+ this.hasTriggerContent = false;
3332
+
3333
+ /**
3334
+ * @private
3335
+ */
3336
+ this.triggerContentSlot = undefined;
3337
+
3338
+ /**
3339
+ * @private
3340
+ */
3341
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
3342
+
3343
+ /**
3344
+ * @private
3345
+ */
3346
+ this.floater = new AuroFloatingUI();
3347
+
3348
+ /**
3349
+ * @private
3350
+ */
3351
+ this.floaterConfig = {
3352
+ placement: 'bottom-start',
3353
+ flip: true,
3354
+ autoPlacement: false,
3355
+ offset: 0,
3356
+ };
3357
+
3358
+ /**
3359
+ * Generate unique names for dependency components.
3360
+ */
3361
+ const versioning = new AuroDependencyVersioning$1();
3362
+
3363
+ /**
3364
+ * @private
3365
+ */
3366
+ this.iconTag = versioning.generateTag('auro-icon', iconVersion$1, AuroIcon$1);
3367
+
3368
+ /**
3369
+ * @private
3370
+ */
3371
+ this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
3372
+
3373
+ /**
3374
+ * @private
3375
+ */
3376
+ this.helpTextTag = versioning.generateTag('auro-helptext', helpTextVersion, AuroHelpText);
3377
+ }
3378
+
3379
+ /**
3380
+ * Public method to hide the dropdown.
3381
+ * @returns {void}
3382
+ */
3383
+ hide() {
3384
+ this.floater.hideBib();
3385
+ }
3386
+
3387
+ /**
3388
+ * Public method to show the dropdown.
3389
+ * @returns {void}
3390
+ */
3391
+ show() {
3392
+ this.floater.showBib();
3393
+ }
3394
+
3395
+ // function to define props used within the scope of this component
3396
+ static get properties() {
3397
+ return {
3398
+
3399
+ /**
3400
+ * If declared, applies a border around the trigger slot.
3401
+ */
3402
+ bordered: {
3403
+ type: Boolean,
3404
+ reflect: true
3405
+ },
3406
+
3407
+ /**
3408
+ * If declared, the dropdown displays a chevron on the right.
3409
+ * @attr {Boolean} chevron
3410
+ */
3411
+ chevron: {
3036
3412
  type: Boolean,
3037
3413
  reflect: true
3038
3414
  },
@@ -3099,6 +3475,14 @@ class AuroDropdown extends r {
3099
3475
  type: Boolean
3100
3476
  },
3101
3477
 
3478
+ /**
3479
+ * If true, the dropdown bib is taking the fullscreen when it's open
3480
+ */
3481
+ isBibFullscreen: {
3482
+ type: Boolean,
3483
+ reflect: true,
3484
+ },
3485
+
3102
3486
  /**
3103
3487
  * If declared, the trigger will toggle the dropdown on mouseover/mouseout.
3104
3488
  */
@@ -3117,7 +3501,7 @@ class AuroDropdown extends r {
3117
3501
  /**
3118
3502
  * 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.
3119
3503
  */
3120
- mobileFullscreenBreakpoint: {
3504
+ fullscreenBreakpoint: {
3121
3505
  type: String,
3122
3506
  reflect: true
3123
3507
  },
@@ -3177,9 +3561,9 @@ class AuroDropdown extends r {
3177
3561
 
3178
3562
  static get styles() {
3179
3563
  return [
3180
- colorCss$1,
3181
- styleCss$1,
3182
- tokensCss$2
3564
+ colorCss$1$1,
3565
+ styleCss$1$1,
3566
+ tokensCss$1$1
3183
3567
  ];
3184
3568
  }
3185
3569
 
@@ -3192,7 +3576,7 @@ class AuroDropdown extends r {
3192
3576
  *
3193
3577
  */
3194
3578
  static register(name = "auro-dropdown") {
3195
- AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
3579
+ AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
3196
3580
  }
3197
3581
 
3198
3582
  connectedCallback() {
@@ -3206,8 +3590,8 @@ class AuroDropdown extends r {
3206
3590
  updated(changedProperties) {
3207
3591
  this.floater.handleUpdate(changedProperties);
3208
3592
 
3209
- if (changedProperties.has('mobileFullscreenBreakpoint')) {
3210
- this.bibContent.mobileFullscreenBreakpoint = this.mobileFullscreenBreakpoint;
3593
+ if (changedProperties.has('fullscreenBreakpoint')) {
3594
+ this.bibContent.mobileFullscreenBreakpoint = this.fullscreenBreakpoint;
3211
3595
  }
3212
3596
 
3213
3597
  // when trigger's content is changed without any attribute or node change,
@@ -3217,170 +3601,1174 @@ class AuroDropdown extends r {
3217
3601
  }
3218
3602
  }
3219
3603
 
3220
- firstUpdated() {
3221
- this.floater.configure(this, 'auroDropdown');
3222
- this.bibContent = this.floater.element.bib;
3604
+ firstUpdated() {
3605
+ this.floater.configure(this, 'auroDropdown');
3606
+ this.bibContent = this.floater.element.bib;
3607
+
3608
+ // Add the tag name as an attribute if it is different than the component name
3609
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
3610
+ }
3611
+
3612
+ /**
3613
+ * Exposes CSS parts for styling from parent components.
3614
+ * @returns {void}
3615
+ */
3616
+ exposeCssParts() {
3617
+ this.setAttribute('exportparts', 'trigger:dropdownTrigger, chevron:dropdownChevron, helpText:dropdownHelpText, size:dropdownSize');
3618
+ }
3619
+
3620
+ /**
3621
+ * Determines if content is within a custom slot.
3622
+ * @private
3623
+ * @param {HTMLElement} element - The element to check.
3624
+ * @returns {Boolean}
3625
+ */
3626
+ isCustomSlotContent(element) {
3627
+ let currentElement = element;
3628
+
3629
+ let inCustomSlot = false;
3630
+
3631
+ while (currentElement) {
3632
+ currentElement = currentElement.parentElement;
3633
+
3634
+ if (currentElement && currentElement.hasAttribute('slot')) {
3635
+ inCustomSlot = true;
3636
+ break;
3637
+ }
3638
+ }
3639
+
3640
+ return inCustomSlot;
3641
+ }
3642
+
3643
+ /**
3644
+ * Determines if the element or any children are focusable.
3645
+ * @private
3646
+ * @param {HTMLElement} element - Element to check.
3647
+ * @returns {Boolean} - True if the element or any children are focusable.
3648
+ */
3649
+ containsFocusableElement(element) {
3650
+ this.showTriggerBorders = true;
3651
+
3652
+ const nodes = [
3653
+ element,
3654
+ ...element.children
3655
+ ];
3656
+
3657
+ const focusableElements = [
3658
+ 'a',
3659
+ 'auro-hyperlink',
3660
+ 'button',
3661
+ 'auro-button',
3662
+ 'input',
3663
+ 'auro-input',
3664
+ ];
3665
+
3666
+ const focusableElementsThatNeedBorders = ['auro-input'];
3667
+
3668
+ const result = nodes.some((node) => {
3669
+ const tagName = node.tagName.toLowerCase();
3670
+
3671
+ if (node.tabIndex > -1) {
3672
+ return true;
3673
+ }
3674
+
3675
+ if (focusableElements.includes(tagName)) {
3676
+ if ((tagName === 'a' || tagName === 'auro-hyperlink' || node.hasAttribute('auro-hyperlink')) && node.hasAttribute('href')) {
3677
+ return true;
3678
+ }
3679
+ if (!node.hasAttribute('disabled')) {
3680
+ return true;
3681
+ }
3682
+ }
3683
+
3684
+ if (focusableElements.some((focusableElement) => focusableElement.startsWith('auro-') && (focusableElement === tagName || node.hasAttribute(focusableElement)))) {
3685
+ return true;
3686
+ }
3687
+
3688
+ return false;
3689
+ });
3690
+
3691
+ if (result) {
3692
+ this.showTriggerBorders = !nodes.some((node) => {
3693
+ const tagName = node.tagName.toLowerCase();
3694
+ return focusableElements.includes(tagName) && !focusableElementsThatNeedBorders.includes(tagName);
3695
+ });
3696
+ }
3697
+
3698
+ return result;
3699
+ }
3700
+
3701
+ /**
3702
+ * Handles changes to the trigger content slot and updates related properties.
3703
+ *
3704
+ * It first updates the floater settings
3705
+ * Then, it retrieves the assigned nodes from the event target and checks if any of
3706
+ * the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
3707
+ *
3708
+ * @private
3709
+ * @method handleTriggerContentSlotChange
3710
+ * @param {Event} event - Native slotchange event.
3711
+ * @returns {void}
3712
+ */
3713
+ handleTriggerContentSlotChange(event) {
3714
+ this.floater.handleTriggerTabIndex();
3715
+
3716
+ const triggerContentNodes = this.shadowRoot.querySelector('.triggerContent slot').assignedNodes();
3717
+
3718
+ triggerContentNodes.forEach((node) => {
3719
+ if (!this.triggerContentFocusable) {
3720
+ this.triggerContentFocusable = this.containsFocusableElement(node);
3721
+ }
3722
+ });
3723
+
3724
+ const trigger = this.shadowRoot.querySelector('#trigger');
3725
+
3726
+ if (!this.triggerContentFocusable) {
3727
+ trigger.setAttribute('tabindex', '0');
3728
+ trigger.setAttribute('role', 'button');
3729
+ } else {
3730
+ trigger.removeAttribute('tabindex');
3731
+ trigger.removeAttribute('role');
3732
+ }
3733
+
3734
+ if (event) {
3735
+ this.triggerNode = event.target;
3736
+ this.triggerContentSlot = event.target.assignedNodes();
3737
+ }
3738
+
3739
+ if (this.triggerContentSlot) {
3740
+ this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
3741
+ if (slot.textContent.trim()) {
3742
+ return true;
3743
+ }
3744
+ const slotInSlot = slot.querySelector('slot');
3745
+ if (!slotInSlot) {
3746
+ return false;
3747
+ }
3748
+ const slotsInSlotNodes = slotInSlot.assignedNodes();
3749
+ return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
3750
+ });
3751
+ } else {
3752
+ this.hasTriggerContent = false;
3753
+ }
3754
+ }
3755
+
3756
+ /**
3757
+ * Handles the default slot change event and updates the content.
3758
+ *
3759
+ * This method retrieves all nodes assigned to the default slot of the event target and appends them
3760
+ * to the `bibContent` element. If a callback function `onSlotChange` is defined, it is invoked to
3761
+ * notify about the slot change.
3762
+ *
3763
+ * @private
3764
+ * @method handleDefaultSlot
3765
+ * @param {Event} event - The event object representing the slot change.
3766
+ * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
3767
+ */
3768
+ handleDefaultSlot(event) {
3769
+ [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
3770
+
3771
+ if (this.onSlotChange) {
3772
+ this.onSlotChange();
3773
+ }
3774
+ }
3775
+
3776
+ // function that renders the HTML and CSS into the scope of the component
3777
+ render() {
3778
+ return u$3`
3779
+ <div>
3780
+ <div
3781
+ id="trigger"
3782
+ class="trigger"
3783
+ part="trigger"
3784
+ aria-labelledby="triggerLabel"
3785
+ tabindex="${this.tabIndex}"
3786
+ ?showBorder="${this.showTriggerBorders}"
3787
+ >
3788
+ <div class="triggerContentWrapper">
3789
+ <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
3790
+ <slot name="label"></slot>
3791
+ </label>
3792
+ <div class="triggerContent">
3793
+ <slot
3794
+ name="trigger"
3795
+ @slotchange="${this.handleTriggerContentSlotChange}"></slot>
3796
+ </div>
3797
+ </div>
3798
+ ${this.chevron || this.common ? u$3`
3799
+ <div
3800
+ id="showStateIcon"
3801
+ part="chevron">
3802
+ <${this.iconTag}
3803
+ category="interface"
3804
+ name="chevron-down"
3805
+ customColor
3806
+ ?disabled=${this.disabled}
3807
+ >
3808
+ </${this.iconTag}>
3809
+ </div>
3810
+ ` : undefined }
3811
+ </div>
3812
+ <${this.helpTextTag} part="helpText" ?error="${this.error}">
3813
+ <slot name="helpText"></slot>
3814
+ </${this.helpTextTag}>
3815
+ <div class="slotContent">
3816
+ <slot @slotchange="${this.handleDefaultSlot}"></slot>
3817
+ </div>
3818
+ <div id="bibSizer" part="size"></div>
3819
+ <${this.dropdownBibTag}
3820
+ id="bib"
3821
+ role="tooltip"
3822
+ ?isfullscreen="${this.isBibFullscreen}"
3823
+ ?common="${this.common}"
3824
+ ?rounded="${this.common || this.rounded}"
3825
+ ?inset="${this.common || this.inset}">
3826
+ </${this.dropdownBibTag}>
3827
+ </div>
3828
+ `;
3829
+ }
3830
+ }
3831
+
3832
+ var dropdownVersion = '3.0.0';
3833
+
3834
+ /**
3835
+ * @license
3836
+ * Copyright 2019 Google LLC
3837
+ * SPDX-License-Identifier: BSD-3-Clause
3838
+ */
3839
+ const t$2$1=globalThis,e$4$1=t$2$1.ShadowRoot&&(void 0===t$2$1.ShadyCSS||t$2$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$4$1=new WeakMap;let n$3$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)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$4$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$3$1("string"==typeof t?t:t+"",void 0,s$2$1),i$5$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$3$1(o,t,s$2$1)},S$1$1=(s,o)=>{if(e$4$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$2$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$4$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
3840
+
3841
+ /**
3842
+ * @license
3843
+ * Copyright 2017 Google LLC
3844
+ * SPDX-License-Identifier: BSD-3-Clause
3845
+ */const{is:i$4$1,defineProperty:e$3$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$3$1,getPrototypeOf:n$2$1}=Object,a$2$1=globalThis,c$1$1=a$2$1.trustedTypes,l$2$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$2$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1: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$1$1=(t,s)=>!i$4$1(t,s),y$1$1={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$2$1.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$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$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$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$2$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$3$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$2$1(s));}else void 0!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),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$1$1(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(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$1).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$2$1;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$1$1)(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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$1$1("elementProperties")]=new Map,b$1[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
3846
+
3847
+ /**
3848
+ * @license
3849
+ * Copyright 2017 Google LLC
3850
+ * SPDX-License-Identifier: BSD-3-Clause
3851
+ */
3852
+ const t$1$1=globalThis,i$3$1=t$1$1.trustedTypes,s$1$1=i$3$1?i$3$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2$1="$lit$",h$2=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2$1="?"+h$2,n$1$1=`<${o$2$1}>`,r$1$1=document,l$1$1=()=>r$1$1.createComment(""),c$3=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1$1=Array.isArray,u$1$1=t=>a$1$1(t)||"function"==typeof t?.[Symbol.iterator],d$2="[ \t\n\f\r]",f$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$2}(?:([^\\s"'>=/]+)(${d$2}*=${d$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$2=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$1$1.createTreeWalker(r$1$1,129);function P$1(t,i){if(!a$1$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1$1?s$1$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$2;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$2?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.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$2,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$1:p$2):c===g$1||c===p$2?c=m$1:c===v$1||c===_$1?c=f$2:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$2?s+n$1$1:d>=0?(o.push(a),s.slice(0,d)+e$2$1+s.slice(d)+h$2+x):s+h$2+(-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$2$1)){const i=v[a++],s=r.getAttribute(t).split(h$2),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$2)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$2),s=t.length-1;if(s>0){r.textContent=i$3$1?i$3$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1$1()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1$1());}}}else if(8===r.nodeType)if(r.data===o$2$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$2,t+1));)d.push({type:7,index:c}),t+=h$2.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$2(t,i,s=t,e){if(i===T$1)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?.(false),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$2(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$1$1).importNode(i,true);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$1$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??true;}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$2(this,t,i),c$3(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$1$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$3(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$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$1(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$1$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$1$1()),this.O(l$1$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){ 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=false;if(void 0===h)t=S$2(this,t,i,0),o=!c$3(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$2(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$3(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$2(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$2(this,t);}};const j$1=t$1$1.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$1$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$1$1(),t),t,void 0,s??{});}return h._$AI(t),h};
3853
+
3854
+ /**
3855
+ * @license
3856
+ * Copyright 2017 Google LLC
3857
+ * SPDX-License-Identifier: BSD-3-Clause
3858
+ */let r$4 = 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(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$2$1=globalThis.litElementPolyfillSupport;i$2$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
3859
+
3860
+ /**
3861
+ * @license
3862
+ * Copyright 2020 Google LLC
3863
+ * SPDX-License-Identifier: BSD-3-Clause
3864
+ */
3865
+ const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i$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}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$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$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
3866
+
3867
+ var colorCss$1 = i$5$1`#headerContainer{box-shadow:var(--ds-auro-dropdownbib-header-boxshadow-color)}#footerContainer{background-color:var(--ds-auro-dropdownbib-footer-container-color)}`;
3868
+
3869
+ var styleCss$2 = i$5$1`#bibTemplate{display:flex;overflow:hidden;height:100%;max-height:100%;flex-direction:column}#headerContainer{display:flex;flex-direction:column}#header{display:flex;width:100%;min-height:var(--ds-size-1000, 5rem);box-sizing:border-box;align-items:end;padding-top:var(--ds-size-400, 2rem);padding-right:var(--ds-size-700, 3.5rem);padding-left:var(--ds-size-200, 1rem);pointer-events:none}#subheader{width:100%}#subheader ::slotted([auro-input]){padding:0 var(--ds-size-200, 1rem)}#closeButton{position:absolute;top:var(--ds-size-400, 2rem);right:var(--ds-size-200, 1rem);border:none;background-color:transparent;cursor:pointer}#closeButton [auro-icon]{--ds-auro-icon-size: var(--ds-size-500, $ds-size-500)}#bodyContainer{position:relative;overflow:auto;flex:1 1 100%}:host([isfullscreen]) #bibTemplate{max-height:100dvh}:host([isfullscreen]) #bodyContainer{margin-top:var(--ds-size-100, 0.5rem)}#footerContainer{position:absolute;right:0;bottom:0;left:0;padding:var(--ds-size-200, 1rem)}`;
3870
+
3871
+ var tokenCss = i$5$1`:host{--ds-auro-dropdownbib-header-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-footer-container-color: var(--ds-color-container-primary-default, #ffffff)}`;
3872
+
3873
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3874
+ // See LICENSE in the project root for license information.
3875
+
3876
+ // ---------------------------------------------------------------------
3877
+
3878
+ /* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
3879
+
3880
+ class AuroLibraryRuntimeUtils {
3881
+
3882
+ /* eslint-disable jsdoc/require-param */
3883
+
3884
+ /**
3885
+ * This will register a new custom element with the browser.
3886
+ * @param {String} name - The name of the custom element.
3887
+ * @param {Object} componentClass - The class to register as a custom element.
3888
+ * @returns {void}
3889
+ */
3890
+ registerComponent(name, componentClass) {
3891
+ if (!customElements.get(name)) {
3892
+ customElements.define(name, class extends componentClass {});
3893
+ }
3894
+ }
3895
+
3896
+ /**
3897
+ * Finds and returns the closest HTML Element based on a selector.
3898
+ * @returns {void}
3899
+ */
3900
+ closestElement(
3901
+ selector, // selector like in .closest()
3902
+ base = this, // extra functionality to skip a parent
3903
+ __Closest = (el, found = el && el.closest(selector)) =>
3904
+ !el || el === document || el === window
3905
+ ? null // standard .closest() returns null for non-found selectors also
3906
+ : found
3907
+ ? found // found a selector INside this element
3908
+ : __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
3909
+ ) {
3910
+ return __Closest(base);
3911
+ }
3912
+ /* eslint-enable jsdoc/require-param */
3913
+
3914
+ /**
3915
+ * If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
3916
+ * @param {Object} elem - The element to check.
3917
+ * @param {String} tagName - The name of the Auro component to check for or add as an attribute.
3918
+ * @returns {void}
3919
+ */
3920
+ handleComponentTagRename(elem, tagName) {
3921
+ const tag = tagName.toLowerCase();
3922
+ const elemTag = elem.tagName.toLowerCase();
3923
+
3924
+ if (elemTag !== tag) {
3925
+ elem.setAttribute(tag, true);
3926
+ }
3927
+ }
3928
+
3929
+ /**
3930
+ * Validates if an element is a specific Auro component.
3931
+ * @param {Object} elem - The element to validate.
3932
+ * @param {String} tagName - The name of the Auro component to check against.
3933
+ * @returns {Boolean} - Returns true if the element is the specified Auro component.
3934
+ */
3935
+ elementMatch(elem, tagName) {
3936
+ const tag = tagName.toLowerCase();
3937
+ const elemTag = elem.tagName.toLowerCase();
3938
+
3939
+ return elemTag === tag || elem.hasAttribute(tag);
3940
+ }
3941
+ }
3942
+
3943
+ // Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3944
+ // See LICENSE in the project root for license information.
3945
+
3946
+
3947
+ class AuroDependencyVersioning {
3948
+
3949
+ /**
3950
+ * Generates a unique string to be used for child auro element naming.
3951
+ * @private
3952
+ * @param {string} baseName - Defines the first part of the unique element name.
3953
+ * @param {string} version - Version of the component that will be appended to the baseName.
3954
+ * @returns {string} - Unique string to be used for naming.
3955
+ */
3956
+ generateElementName(baseName, version) {
3957
+ let result = baseName;
3958
+
3959
+ result += '-';
3960
+ result += version.replace(/[.]/g, '_');
3961
+
3962
+ return result;
3963
+ }
3964
+
3965
+ /**
3966
+ * Generates a unique string to be used for child auro element naming.
3967
+ * @param {string} baseName - Defines the first part of the unique element name.
3968
+ * @param {string} version - Version of the component that will be appended to the baseName.
3969
+ * @returns {string} - Unique string to be used for naming.
3970
+ */
3971
+ generateTag(baseName, version, tagClass) {
3972
+ const elementName = this.generateElementName(baseName, version);
3973
+ const tag = i$1`${s(elementName)}`;
3974
+
3975
+ if (!customElements.get(elementName)) {
3976
+ customElements.define(elementName, class extends tagClass {});
3977
+ }
3978
+
3979
+ return tag;
3980
+ }
3981
+ }
3982
+
3983
+ /**
3984
+ * @license
3985
+ * Copyright 2017 Google LLC
3986
+ * SPDX-License-Identifier: BSD-3-Clause
3987
+ */
3988
+ const t={ATTRIBUTE:1},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
3989
+
3990
+ /**
3991
+ * @license
3992
+ * Copyright 2018 Google LLC
3993
+ * SPDX-License-Identifier: BSD-3-Clause
3994
+ */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$1}});
3995
+
3996
+ /**
3997
+ * @license
3998
+ * Copyright 2018 Google LLC
3999
+ * SPDX-License-Identifier: BSD-3-Clause
4000
+ */const o=o=>o??E$1;
4001
+
4002
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4003
+ // See LICENSE in the project root for license information.
4004
+
4005
+
4006
+ /**
4007
+ * @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers
4008
+ * @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers
4009
+ * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
4010
+ */
4011
+
4012
+ class AuroElement extends r$4 {
4013
+
4014
+ // function to define props used within the scope of this component
4015
+ static get properties() {
4016
+ return {
4017
+ hidden: { type: Boolean,
4018
+ reflect: true },
4019
+ hiddenVisually: { type: Boolean,
4020
+ reflect: true },
4021
+ hiddenAudible: { type: Boolean,
4022
+ reflect: true },
4023
+ };
4024
+ }
4025
+
4026
+ /**
4027
+ * @private Function that determines state of aria-hidden
4028
+ */
4029
+ hideAudible(value) {
4030
+ if (value) {
4031
+ return 'true'
4032
+ }
4033
+
4034
+ return 'false'
4035
+ }
4036
+ }
4037
+
4038
+ var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
4039
+
4040
+ /* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
4041
+
4042
+ const _fetchMap = new Map();
4043
+
4044
+ /**
4045
+ * A callback to parse Response body.
4046
+ *
4047
+ * @callback ResponseParser
4048
+ * @param {Fetch.Response} response
4049
+ * @returns {Promise}
4050
+ */
4051
+
4052
+ /**
4053
+ * A minimal in-memory map to de-duplicate Fetch API media requests.
4054
+ *
4055
+ * @param {String} uri
4056
+ * @param {Object} [options={}]
4057
+ * @param {ResponseParser} [options.responseParser=(response) => response.text()]
4058
+ * @returns {Promise}
4059
+ */
4060
+ const cacheFetch = (uri, options = {}) => {
4061
+ const responseParser = options.responseParser || ((response) => response.text());
4062
+ if (!_fetchMap.has(uri)) {
4063
+ _fetchMap.set(uri, fetch(uri).then(responseParser));
4064
+ }
4065
+ return _fetchMap.get(uri);
4066
+ };
4067
+
4068
+ var styleCss$1 = i$5$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}`;
4069
+
4070
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4071
+ // See LICENSE in the project root for license information.
4072
+
4073
+
4074
+ // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
4075
+ /**
4076
+ * @attr {Boolean} onDark - Set value for on-dark version of auro-icon
4077
+ * @slot - Hidden from visibility, used for a11y if icon description is needed
4078
+ */
4079
+
4080
+ // build the component class
4081
+ class BaseIcon extends AuroElement {
4082
+ constructor() {
4083
+ super();
4084
+ this.onDark = false;
4085
+ }
4086
+
4087
+ // function to define props used within the scope of this component
4088
+ static get properties() {
4089
+ return {
4090
+ ...super.properties,
4091
+ onDark: {
4092
+ type: Boolean,
4093
+ reflect: true
4094
+ },
4095
+
4096
+ /**
4097
+ * @private
4098
+ */
4099
+ svg: {
4100
+ attribute: false,
4101
+ reflect: true
4102
+ }
4103
+ };
4104
+ }
4105
+
4106
+ static get styles() {
4107
+ return i$5$1`
4108
+ ${styleCss$1}
4109
+ `;
4110
+ }
4111
+
4112
+ /**
4113
+ * Async function to fetch requested icon from npm CDN.
4114
+ * @private
4115
+ * @param {string} category - Icon category.
4116
+ * @param {string} name - Icon name.
4117
+ * @returns {SVGElement} DOM - Ready HTML to be appended.
4118
+ */
4119
+ async fetchIcon(category, name) {
4120
+ let iconHTML = '';
4121
+
4122
+ if (category === 'logos') {
4123
+ iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
4124
+ } else {
4125
+ iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
4126
+ }
4127
+
4128
+ const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
4129
+
4130
+ return dom.body.querySelector('svg');
4131
+ }
4132
+
4133
+ // lifecycle function
4134
+ async firstUpdated() {
4135
+ if (!this.customSvg) {
4136
+ const svg = await this.fetchIcon(this.category, this.name);
4137
+
4138
+ if (svg) {
4139
+ this.svg = svg;
4140
+ } else if (!svg) {
4141
+ const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
4142
+
4143
+ this.svg = penDOM.body.firstChild;
4144
+ }
4145
+ }
4146
+ }
4147
+ }
4148
+
4149
+ var tokensCss$1 = i$5$1`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
4150
+
4151
+ var colorCss$2 = i$5$1`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
4152
+
4153
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4154
+ // See LICENSE in the project root for license information.
4155
+
4156
+
4157
+ // See https://git.io/JJ6SJ for "How to document your components using JSDoc"
4158
+ /**
4159
+ * auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
4160
+ *
4161
+ * @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
4162
+ * @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
4163
+ * @attr {Boolean} customColor - Removes primary selector.
4164
+ * @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
4165
+ * @attr {Boolean} label - Exposes content in slot as icon label.
4166
+ * @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
4167
+ * @attr {Boolean} accent - Sets the icon to use the accent style.
4168
+ * @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
4169
+ * @attr {Boolean} disabled - Sets the icon to use the disabled style.
4170
+ * @attr {Boolean} error - Sets the icon to use the error style.
4171
+ * @attr {Boolean} info - Sets the icon to use the info style.
4172
+ * @attr {Boolean} secondary - Sets the icon to use the secondary style.
4173
+ * @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
4174
+ * @attr {Boolean} subtle - Sets the icon to use the subtle style.
4175
+ * @attr {Boolean} success - Sets the icon to use the success style.
4176
+ * @attr {Boolean} warning - Sets the icon to use the warning style.
4177
+ * @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
4178
+ * @attr {String} uri - Set the uri for CDN used when fetching icons
4179
+ * @slot - Hidden from visibility, used for a11y if icon description is needed.
4180
+ * @slot svg - Used for custom SVG content.
4181
+ */
4182
+
4183
+ // build the component class
4184
+ class AuroIcon extends BaseIcon {
4185
+ constructor() {
4186
+ super();
4187
+
4188
+ this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
4189
+
4190
+ this.privateDefaults();
4191
+ }
4192
+
4193
+ /**
4194
+ * Internal Defaults.
4195
+ * @private
4196
+ * @returns {void}
4197
+ */
4198
+ privateDefaults() {
4199
+ this.accent = false;
4200
+ this.customColor = false;
4201
+ this.customSvg = false;
4202
+ this.disabled = false;
4203
+ this.emphasis = false;
4204
+ this.error = false;
4205
+ this.info = false;
4206
+ this.label = false;
4207
+ this.primary = false;
4208
+ this.secondary = false;
4209
+ this.subtle = false;
4210
+ this.success = false;
4211
+ this.tertiary = false;
4212
+ this.warning = false;
4213
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
4214
+ }
4215
+
4216
+ // function to define props used within the scope of this component
4217
+ static get properties() {
4218
+ return {
4219
+ ...super.properties,
4220
+ accent: {
4221
+ type: Boolean,
4222
+ reflect: true
4223
+ },
4224
+ ariaHidden: {
4225
+ type: String,
4226
+ reflect: true
4227
+ },
4228
+ category: {
4229
+ type: String,
4230
+ reflect: true
4231
+ },
4232
+ customColor: {
4233
+ type: Boolean
4234
+ },
4235
+ customSvg: {
4236
+ type: Boolean
4237
+ },
4238
+ disabled: {
4239
+ type: Boolean,
4240
+ reflect: true
4241
+ },
4242
+ emphasis: {
4243
+ type: Boolean,
4244
+ reflect: true
4245
+ },
4246
+ error: {
4247
+ type: Boolean,
4248
+ reflect: true
4249
+ },
4250
+ info: {
4251
+ type: Boolean,
4252
+ reflect: true
4253
+ },
4254
+ label: {
4255
+ type: Boolean,
4256
+ reflect: true
4257
+ },
4258
+ name: {
4259
+ type: String,
4260
+ reflect: true
4261
+ },
4262
+ primary: {
4263
+ type: Boolean,
4264
+ reflect: true
4265
+ },
4266
+ secondary: {
4267
+ type: Boolean,
4268
+ reflect: true
4269
+ },
4270
+ subtle: {
4271
+ type: Boolean,
4272
+ reflect: true
4273
+ },
4274
+ success: {
4275
+ type: Boolean,
4276
+ reflect: true
4277
+ },
4278
+ tertiary: {
4279
+ type: Boolean,
4280
+ reflect: true
4281
+ },
4282
+ uri: {
4283
+ type: String
4284
+ },
4285
+ warning: {
4286
+ type: Boolean,
4287
+ reflect: true
4288
+ }
4289
+ };
4290
+ }
4291
+
4292
+ static get styles() {
4293
+ return [
4294
+ super.styles,
4295
+ i$5$1`${tokensCss$1}`,
4296
+ i$5$1`${styleCss$1}`,
4297
+ i$5$1`${colorCss$2}`
4298
+ ];
4299
+ }
4300
+
4301
+ /**
4302
+ * This will register this element with the browser.
4303
+ * @param {string} [name="auro-icon"] - The name of element that you want to register to.
4304
+ *
4305
+ * @example
4306
+ * AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
4307
+ *
4308
+ */
4309
+ static register(name = "auro-icon") {
4310
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
4311
+ }
4312
+
4313
+ connectedCallback() {
4314
+ super.connectedCallback();
4315
+
4316
+ // Add the tag name as an attribute if it is different than the component name
4317
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
4318
+ }
4319
+
4320
+ /**
4321
+ * @returns {void} Exposes CSS parts for styling from parent components.
4322
+ */
4323
+ exposeCssParts() {
4324
+ this.setAttribute('exportparts', 'svg:iconSvg');
4325
+ }
4326
+
4327
+ // function that renders the HTML and CSS into the scope of the component
4328
+ render() {
4329
+ const a11y = {
4330
+ 'labelContainer': true,
4331
+ 'util_displayHiddenVisually': !this.label
4332
+ };
4333
+
4334
+ const classes = {
4335
+ 'label': this.label,
4336
+ 'wrapper': true,
4337
+ };
4338
+
4339
+ return x`
4340
+ <div
4341
+ class="${e(classes)}"
4342
+ title="${o(this.title || undefined)}">
4343
+ <span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
4344
+ ${this.customSvg ? x`
4345
+ <slot name="svg"></slot>
4346
+ ` : x`
4347
+ ${this.svg}
4348
+ `
4349
+ }
4350
+ </span>
4351
+
4352
+ <div class="${e(a11y)}">
4353
+ <slot></slot>
4354
+ </div>
4355
+ </div>
4356
+ `;
4357
+ }
4358
+ }
4359
+
4360
+ var iconVersion = '6.1.2';
4361
+
4362
+ var styleCss$3 = i$5$1`.heading{margin:1.75rem 0;letter-spacing:var(--ds-text-heading-default-spacing, -0.2px);font-weight:var(--ds-text-heading-default-weight, 500)}.heading--display{margin-top:0;font-size:var(--ds-text-heading-display-size-breakpoint-sm, 2.75rem);font-weight:var(--ds-text-heading-display-weight, 100);line-height:var(--ds-text-heading-display-height-breakpoint-sm, 3.375rem)}@media screen and (min-width: 768px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-md, 3rem);line-height:var(--ds-text-heading-display-height-breakpoint-md, 3.75rem)}}@media screen and (min-width: 1024px){.heading--display{font-size:var(--ds-text-heading-display-size-breakpoint-lg, 3.5rem);line-height:var(--ds-text-heading-display-height-breakpoint-lg, 4.25rem)}}.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-sm, 2rem);font-weight:var(--ds-text-heading-800-weight, 500);line-height:var(--ds-text-heading-800-height-breakpoint-sm, 2.375rem)}@media screen and (min-width: 768px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-md, 2.25rem);line-height:var(--ds-text-heading-800-height-breakpoint-md, 2.625rem)}}@media screen and (min-width: 1024px){.heading--800{font-size:var(--ds-text-heading-800-size-breakpoint-lg, 2.5rem);line-height:var(--ds-text-heading-800-height-breakpoint-lg, 3rem)}}.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-sm, 1.75rem);font-weight:var(--ds-text-heading-700-weight, 500);line-height:var(--ds-text-heading-700-height-breakpoint-sm, 2.125rem)}@media screen and (min-width: 768px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-md, 2rem);line-height:var(--ds-text-heading-700-height-breakpoint-md, 2.375rem)}}@media screen and (min-width: 1024px){.heading--700{font-size:var(--ds-text-heading-700-size-breakpoint-lg, 2.25rem);line-height:var(--ds-text-heading-700-height-breakpoint-lg, 2.75rem)}}.heading--600{margin:1rem 0;font-size:var(--ds-text-heading-600-size-breakpoint-sm, 1.625rem);font-weight:var(--ds-text-heading-600-weight, 300);line-height:var(--ds-text-heading-600-height-breakpoint-sm, 1.875rem)}@media screen and (min-width: 768px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-md, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-md, 2.125rem)}}@media screen and (min-width: 1024px){.heading--600{font-size:var(--ds-text-heading-600-size-breakpoint-lg, 1.75rem);line-height:var(--ds-text-heading-600-height-breakpoint-lg, 2.25rem)}}.heading--500{margin:1rem 0;font-size:var(--ds-text-heading-500-size-breakpoint-sm, 1.375rem);font-weight:var(--ds-text-heading-500-weight, 300);line-height:var(--ds-text-heading-500-height-breakpoint-sm, 1.625rem)}@media screen and (min-width: 768px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-md, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-md, 1.875rem)}}@media screen and (min-width: 1024px){.heading--500{font-size:var(--ds-text-heading-500-size-breakpoint-lg, 1.5rem);line-height:var(--ds-text-heading-500-height-breakpoint-lg, 2rem)}}.heading--400{margin:.75rem 0;font-size:var(--ds-text-heading-400-size, 1.25rem);font-weight:var(--ds-text-heading-400-weight, 300);line-height:var(--ds-text-heading-400-height, 1.625rem)}.heading--300{margin:.75rem 0;font-size:var(--ds-text-heading-300-size, 1.125rem);font-weight:var(--ds-text-heading-300-weight, 300);line-height:var(--ds-text-heading-300-height, 1.625rem)}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
4363
+
4364
+ // Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4365
+ // See LICENSE in the project root for license information.
4366
+
4367
+
4368
+ /**
4369
+ * The auro-header component is a custom element to make using headers with the Auro Design System seamless and easy.
4370
+ *
4371
+ * @attr {String} level - Determines heading level for HTML element. Options are `1` - `6`
4372
+ * @attr {String} display - Determines presentation of header. Options are `display`, `800`, `700`, `600`, `500`, `400`, `300`.
4373
+ * @attr {String} color - Allows user to pass in CSS custom property or direct hex value to change the color of the header
4374
+ * @attr {String} margin - Specify the margin(s) to be altered. Options are `top`, `bottom`, or `both`.
4375
+ * @attr {String} size - Specify size of margin adjustment, either `none`, `25`, `50`, `100`, `150`, `200`, `300`, `400`, `600` or `800`.
4376
+ */
4377
+
4378
+ /* eslint complexity: ["error", 21] */
4379
+
4380
+ // build the component class
4381
+ class AuroHeader extends r$4 {
4382
+ constructor() {
4383
+ super();
4384
+
4385
+ this.display = 'display';
4386
+
4387
+ /**
4388
+ * @private
4389
+ */
4390
+ this.runtimeUtils = new AuroLibraryRuntimeUtils();
4391
+ }
4392
+
4393
+ // function to define props used within the scope of this component
4394
+ static get properties() {
4395
+ return {
4396
+ level: { type: String },
4397
+ display: {
4398
+ type: String,
4399
+ reflect: true
4400
+ },
4401
+ color: { type: String },
4402
+ margin: { type: String },
4403
+ size: { type: String }
4404
+ };
4405
+ }
4406
+
4407
+ static get styles() {
4408
+ return [styleCss$3];
4409
+ }
4410
+
4411
+ /**
4412
+ * This will register this element with the browser.
4413
+ * @param {string} [name="auro-header"] - The name of element that you want to register to.
4414
+ *
4415
+ * @example
4416
+ * AuroHeader.register("custom-header") // this will register this element to <custom-header/>
4417
+ *
4418
+ */
4419
+ static register(name = "auro-header") {
4420
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHeader);
4421
+ }
4422
+
4423
+ firstUpdated() {
4424
+ // Add the tag name as an attribute if it is different than the component name
4425
+ this.runtimeUtils.handleComponentTagRename(this, 'auro-header');
4426
+ }
4427
+
4428
+ /**
4429
+ * Determines if the spacing is to be applied uniform or individual.
4430
+ * @private
4431
+ * @param {string} size - Accepts string for size definition.
4432
+ * @returns {string} - Returns either selectors or function.
4433
+ */
4434
+ spacingDecision(size) {
4435
+ if (this.margin === 'both') {
4436
+ switch (size) {
4437
+ case 'none': return `util_stackMarginnone--top util_stackMarginnone--bottom`;
4438
+ case '25': return `util_stackMargin25--top util_stackMargin25--bottom`;
4439
+ case '50': return `util_stackMargin50--top util_stackMargin50--bottom`;
4440
+ case '100': return `util_stackMargin100--top util_stackMargin100--bottom`;
4441
+ case '150': return `util_stackMargin150--top util_stackMargin150--bottom`;
4442
+ case '200': return `util_stackMargin200--top util_stackMargin200--bottom`;
4443
+ case '300': return `util_stackMargin300--top util_stackMargin300--bottom`;
4444
+ case '400': return `util_stackMargin400--top util_stackMargin400--bottom`;
4445
+ case '600': return `util_stackMargin600--top util_stackMargin600--bottom`;
4446
+ case '800': return `util_stackMargin800--top util_stackMargin800--bottom`;
4447
+ default: return '';
4448
+ }
4449
+ } else {
4450
+ return this.spacingApplied(size);
4451
+ }
4452
+ }
4453
+
4454
+ /**
4455
+ * If spacing is individual, return will be single selector based on input.
4456
+ * @private
4457
+ * @param {string} size - Accepts string for size definition.
4458
+ * @returns {string} - Returns selector.
4459
+ */
4460
+ spacingApplied(size) {
4461
+ switch (size) {
4462
+ case 'none': return `util_stackMarginnone--${this.margin}`;
4463
+ case '25': return `util_stackMargin25--${this.margin}`;
4464
+ case '50': return `util_stackMargin50--${this.margin}`;
4465
+ case '100': return `util_stackMargin100--${this.margin}`;
4466
+ case '150': return `util_stackMargin150--${this.margin}`;
4467
+ case '200': return `util_stackMargin200--${this.margin}`;
4468
+ case '300': return `util_stackMargin300--${this.margin}`;
4469
+ case '400': return `util_stackMargin400--${this.margin}`;
4470
+ case '600': return `util_stackMarginX600--${this.margin}`;
4471
+ case '800': return `util_stackMargin800--${this.margin}`;
4472
+ default: return '';
4473
+ }
4474
+ }
4475
+
4476
+ /**
4477
+ * Creates HTML template for use in render function.
4478
+ * @private
4479
+ * @param {string} level - Accepts string value.
4480
+ * @returns {string} - Returns HTML template.
4481
+ */
4482
+ template(level) {
4483
+ if (this.display === '' || this.display === null) {
4484
+ this.display = 'display';
4485
+ }
4486
+
4487
+ switch (level) {
4488
+ case '2': return x`<h2 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h2>`;
4489
+ case '3': return x`<h3 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h3>`;
4490
+ case '4': return x`<h4 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h4>`;
4491
+ case '5': return x`<h5 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h5>`;
4492
+ case '6': return x`<h6 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h6>`;
4493
+ default: return x`<h1 class="heading heading--${this.display} ${this.spacingDecision(this.size)}" style="color: ${o(this.color ? this.color : undefined)}"><slot></slot></h1>`;
4494
+ }
4495
+ }
4496
+ // function that renders the HTML and CSS into the scope of the component
4497
+
4498
+ render() {
4499
+ return this.template(this.level);
4500
+ }
4501
+ }
4502
+
4503
+ var headerVersion = '3.0.0';
4504
+
4505
+ // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4506
+ // See LICENSE in the project root for license information.
4507
+
4508
+
4509
+ class AuroBibtemplate extends r$4 {
4510
+
4511
+ constructor() {
4512
+ super();
4513
+
4514
+ AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-bibtemplate');
4515
+
4516
+ const versioning = new AuroDependencyVersioning();
4517
+ this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
4518
+ this.headerTag = versioning.generateTag('auro-header', headerVersion, AuroHeader);
4519
+ }
4520
+
4521
+ static get styles() {
4522
+ return [
4523
+ colorCss$1,
4524
+ styleCss$2,
4525
+ tokenCss
4526
+ ];
4527
+ }
4528
+
4529
+ // function to define props used within the scope of this component
4530
+ static get properties() {
4531
+ return {
4532
+ isFullscreen: {
4533
+ type: Boolean,
4534
+ reflect: true,
4535
+ },
4536
+ large: {
4537
+ type: Boolean,
4538
+ reflect: true,
4539
+ }
4540
+ };
4541
+ }
4542
+
4543
+ // function to define props used within the scope of this component
4544
+ /**
4545
+ * This will register this element with the browser.
4546
+ * @param {string} [name="auro-bibtemplate"] - The name of element that you want to register to.
4547
+ *
4548
+ * @example
4549
+ * AuroCheckbox.register("custom-bibtemplate") // this will register this element to <custom-bibtemplate/>
4550
+ *
4551
+ */
4552
+ static register(name = "auro-bibtemplate") {
4553
+ AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroBibtemplate);
4554
+ }
4555
+
4556
+ /**
4557
+ * Prevents scrolling of the body when touching empty areas of the component.
4558
+ * @param {Event} event - The touchmove event.
4559
+ * @returns {void}
4560
+ */
4561
+ preventBodyScroll(event) {
4562
+ if (event.target === this) {
4563
+ event.preventDefault();
4564
+ }
4565
+ }
4566
+
4567
+ connectedCallback() {
4568
+ super.connectedCallback();
4569
+
4570
+ this.preventBodyScroll = this.preventBodyScroll.bind(this);
4571
+ this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
4572
+ }
4573
+
4574
+ disconnectedCallback() {
4575
+ super.disconnectedCallback();
3223
4576
 
3224
- // Add the tag name as an attribute if it is different than the component name
3225
- this.runtimeUtils.handleComponentTagRename(this, 'auro-dropdown');
4577
+ this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
4578
+ }
4579
+
4580
+ onCloseButtonClick() {
4581
+ this.dispatchEvent(new Event("close-click", { bubbles: true,
4582
+ composed: true }));
3226
4583
  }
3227
4584
 
3228
4585
  /**
3229
4586
  * Exposes CSS parts for styling from parent components.
3230
- * @private
3231
4587
  * @returns {void}
3232
4588
  */
3233
4589
  exposeCssParts() {
3234
- this.setAttribute('exportparts', 'trigger:dropdownTrigger, chevron:dropdownChevron, helpText:dropdownHelpText, size:dropdownSize');
4590
+ this.setAttribute('exportparts', 'bibtemplate:dropdownBibTemplate');
3235
4591
  }
3236
4592
 
3237
- /**
3238
- * Determines if content is within a custom slot.
3239
- * @private
3240
- * @param {HTMLElement} element - The element to check.
3241
- * @returns {Boolean}
3242
- */
3243
- isCustomSlotContent(element) {
3244
- let currentElement = element;
4593
+ // function that renders the HTML and CSS into the scope of the component
4594
+ render() {
4595
+ return u`
4596
+ <div id="bibTemplate" part="bibtemplate">
4597
+ ${this.isFullscreen ? u`
4598
+ <div id="headerContainer">
4599
+ <button id="closeButton" @click="${this.onCloseButtonClick}">
4600
+ <${this.iconTag} category="interface" name="x-lg"></${this.iconTag}>
4601
+ </button>
4602
+ <${this.headerTag} display="${this.large ? 'display' : '600'}" level="3" size="none" id="header">
4603
+ <slot name="header"></slot>
4604
+ </${this.headerTag}>
4605
+ <span id="subheader">
4606
+ <slot name="subheader"></slot>
4607
+ </span>
4608
+ </div>` : null}
3245
4609
 
3246
- let inCustomSlot = false;
4610
+ <div id="bodyContainer">
4611
+ <slot></slot>
4612
+ </div>
3247
4613
 
3248
- while (currentElement) {
3249
- currentElement = currentElement.parentElement;
4614
+ ${this.isFullscreen ? u`
4615
+ <div id="footerContainer">
4616
+ <slot name="footer"></slot>
4617
+ </div>` : null}
4618
+ </div>
4619
+ `;
4620
+ }
4621
+ }
3250
4622
 
3251
- if (currentElement && currentElement.hasAttribute('slot')) {
3252
- inCustomSlot = true;
3253
- break;
3254
- }
3255
- }
4623
+ var bibTemplateVersion = '1.0.0';
3256
4624
 
3257
- return inCustomSlot;
4625
+ /**
4626
+ * @license
4627
+ * Copyright 2019 Google LLC
4628
+ * SPDX-License-Identifier: BSD-3-Clause
4629
+ */
4630
+ const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)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$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$5=(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$3(o,t,s$2)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
4631
+
4632
+ /**
4633
+ * @license
4634
+ * Copyright 2017 Google LLC
4635
+ * SPDX-License-Identifier: BSD-3-Clause
4636
+ */const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2: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$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.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$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(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$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(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$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,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),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$1(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(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2).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$2;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$1)(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=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===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$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
4637
+
4638
+ /**
4639
+ * @license
4640
+ * Copyright 2017 Google LLC
4641
+ * SPDX-License-Identifier: BSD-3-Clause
4642
+ */
4643
+ const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$1=document,l$1=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$1=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;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?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-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$2)){const i=v[a++],s=r.getAttribute(t).split(h),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)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),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(t,h._$AS(t,i.values),h,e)),i}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$1).importNode(i,true);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$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++;}}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??true;}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(this,t,i),c(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$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&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$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.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(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$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$1()),this.O(l$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){ 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=false;if(void 0===h)t=S(this,t,i,0),o=!c(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(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(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(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(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.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$1(),t),t,void 0,s??{});}return h._$AI(t),h};
4644
+
4645
+ /**
4646
+ * @license
4647
+ * Copyright 2017 Google LLC
4648
+ * SPDX-License-Identifier: BSD-3-Clause
4649
+ */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(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
4650
+
4651
+ i$5`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*: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}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
4652
+
4653
+ i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
4654
+
4655
+ i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
4656
+
4657
+ // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
4658
+ // See LICENSE in the project root for license information.
4659
+
4660
+ // ---------------------------------------------------------------------
4661
+
4662
+ /**
4663
+ * Converts value to an array.
4664
+ * If the value is a JSON string representing an array, it will be parsed.
4665
+ * If the value is already an array, it is returned.
4666
+ * If the value is undefined, it returns undefined.
4667
+ * @private
4668
+ * @param {any} value - The value to be converted. Can be a string, array, or undefined.
4669
+ * @returns {Array|undefined} - The converted array or undefined.
4670
+ * @throws {Error} - Throws an error if the value is not an array, undefined,
4671
+ * or if the value cannot be parsed into an array from a JSON string.
4672
+ */
4673
+ function arrayConverter(value) {
4674
+ // Allow undefined
4675
+ if (value === undefined) {
4676
+ return undefined;
3258
4677
  }
3259
4678
 
3260
- /**
3261
- * Handles changes to the trigger content slot and updates related properties.
3262
- *
3263
- * It first updates the floater settings
3264
- * Then, it retrieves the assigned nodes from the event target and checks if any of
3265
- * the nodes contain non-empty text content, updating the `hasTriggerContent` property accordingly.
3266
- *
3267
- * @private
3268
- * @method handleTriggerContentSlotChange
3269
- * @param {Event} event - native slotchange event
3270
- * @returns {void}
3271
- */
3272
- handleTriggerContentSlotChange(event) {
3273
- this.floater.handleTriggerTabIndex();
4679
+ // Return the value if it is already an array
4680
+ if (Array.isArray(value)) {
4681
+ return value;
4682
+ }
3274
4683
 
3275
- if (event) {
3276
- this.triggerNode = event.target;
3277
- this.triggerContentSlot = event.target.assignedNodes();
3278
- }
4684
+ try {
4685
+ // If value is a JSON string, parse it
4686
+ const parsed = typeof value === 'string' ? JSON.parse(value) : value;
3279
4687
 
3280
- if (this.triggerContentSlot) {
3281
- this.hasTriggerContent = this.triggerContentSlot.some((slot) => {
3282
- if (slot.textContent.trim()) {
3283
- return true;
3284
- }
3285
- const slotInSlot = slot.querySelector('slot');
3286
- if (!slotInSlot) {
3287
- return false;
3288
- }
3289
- const slotsInSlotNodes = slotInSlot.assignedNodes();
3290
- return slotsInSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
3291
- });
3292
- } else {
3293
- this.hasTriggerContent = false;
4688
+ // Check if the parsed value is an array
4689
+ if (Array.isArray(parsed)) {
4690
+ return parsed;
3294
4691
  }
4692
+ } catch (error) {
4693
+ // If JSON parsing fails, continue to throw an error below
4694
+ /* eslint-disable no-console */
4695
+ console.error('JSON parsing failed:', error);
3295
4696
  }
3296
4697
 
3297
- /**
3298
- * Handles the default slot change event and updates the content.
3299
- *
3300
- * This method retrieves all nodes assigned to the default slot of the event target and appends them
3301
- * to the `bibContent` element. If a callback function `onSlotChange` is defined, it is invoked to
3302
- * notify about the slot change.
3303
- *
3304
- * @private
3305
- * @method handleDefaultSlot
3306
- * @param {Event} event - The event object representing the slot change.
3307
- * @fires Function#onSlotChange - Optional callback invoked when the slot content changes.
3308
- */
3309
- handleDefaultSlot(event) {
3310
- [...event.target.assignedNodes()].forEach((node) => this.bibContent.append(node));
4698
+ // Throw error if the input is not an array or undefined
4699
+ throw new Error('Invalid value: Input must be an array or undefined');
4700
+ }
3311
4701
 
3312
- if (this.onSlotChange) {
3313
- this.onSlotChange();
4702
+ /**
4703
+ * Compare two arrays for equality.
4704
+ * @private
4705
+ * @param {Array} arr1 - First array to compare.
4706
+ * @param {Array} arr2 - Second array to compare.
4707
+ * @returns {boolean} True if arrays are equal.
4708
+ */
4709
+ function arraysAreEqual(arr1, arr2) {
4710
+ // If both arrays undefined, they are equal (true)
4711
+ if (arr1 === undefined || arr2 === undefined) {
4712
+ return arr1 === arr2;
4713
+ }
4714
+
4715
+ // If arrays have different lengths, they are not equal
4716
+ if (arr1.length !== arr2.length) {
4717
+ return false;
4718
+ }
4719
+
4720
+ // If every item at each index is the same, return true
4721
+ for (let index = 0; index < arr1.length; index += 1) {
4722
+ if (arr1[index] !== arr2[index]) {
4723
+ return false;
3314
4724
  }
3315
4725
  }
4726
+ return true;
4727
+ }
3316
4728
 
3317
- // function that renders the HTML and CSS into the scope of the component
3318
- render() {
3319
- return u$1`
3320
- <div>
3321
- <div
3322
- id="trigger"
3323
- class="trigger"
3324
- part="trigger"
3325
- role="button"
3326
- aria-labelledby="triggerLabel"
3327
- aria-controls="popover"
3328
- tabindex="${this.tabIndex}"
3329
- >
3330
- <div class="triggerContentWrapper">
3331
- <label class="label" id="triggerLabel" hasTrigger=${this.hasTriggerContent}>
3332
- <slot name="label"></slot>
3333
- </label>
3334
- <div class="triggerContent">
3335
- <slot
3336
- name="trigger"
3337
- @slotchange="${(event) => this.handleTriggerContentSlotChange(event)}"></slot>
3338
- </div>
3339
- </div>
3340
- ${this.chevron || this.common ? u$1`
3341
- <div
3342
- id="showStateIcon"
3343
- part="chevron">
3344
- <${this.iconTag}
3345
- category="interface"
3346
- name="chevron-down"
3347
- customColor
3348
- ?disabled=${this.disabled}
3349
- >
3350
- </${this.iconTag}>
3351
- </div>
3352
- ` : undefined }
3353
- </div>
3354
- <div
3355
- class="helpText"
3356
- part="helpText">
3357
- <slot name="helpText"></slot>
3358
- </div>
3359
- <div class="slotContent">
3360
- <slot @slotchange="${this.handleDefaultSlot}"></slot>
3361
- </div>
3362
- <div id="bibSizer" part="size"></div>
3363
- <auro-dropdownbib
3364
- id="bib"
3365
- role="tooltip"
3366
- ?common="${this.common}"
3367
- ?rounded="${this.common || this.rounded}"
3368
- ?inset="${this.common || this.inset}">
3369
- </auro-dropdownbib>
3370
- </div>
3371
- `;
4729
+ /**
4730
+ * Compares array for changes.
4731
+ * @private
4732
+ * @param {Array|any} newVal - New value to compare.
4733
+ * @param {Array|any} oldVal - Old value to compare.
4734
+ * @returns {boolean} True if arrays have changed.
4735
+ */
4736
+ function arrayOrUndefinedHasChanged(newVal, oldVal) {
4737
+ try {
4738
+ // Check if values are undefined or arrays
4739
+ const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
4740
+
4741
+ // If non-array or non-undefined, throw error
4742
+ if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
4743
+ const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
4744
+ throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
4745
+ }
4746
+
4747
+ // Return true if arrays have changed, false if they are the same
4748
+ return !arraysAreEqual(newVal, oldVal);
4749
+ } catch (error) {
4750
+ /* eslint-disable no-console */
4751
+ console.error(error);
4752
+ // If validation fails, it has changed
4753
+ return true;
3372
4754
  }
3373
4755
  }
3374
4756
 
3375
- AuroDropdown.register();
4757
+ i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
3376
4758
 
3377
- var dropdownVersion = '3.0.0';
4759
+ i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
4760
+
4761
+ i$5`*,*: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}`;
4762
+
4763
+ i$5`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
3378
4764
 
3379
- var styleCss = i$b`*,*: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{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}.selectElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:1rem}`;
4765
+ i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
3380
4766
 
3381
- var colorCss = i$b`*,*: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{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
4767
+ var styleCss = i$g`*,*: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{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}#slotHolder{display:none}`;
3382
4768
 
3383
- var tokensCss = i$b`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
4769
+ var colorCss = i$g`*,*: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{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
4770
+
4771
+ var tokensCss = i$g`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
3384
4772
 
3385
4773
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
3386
4774
  // See LICENSE in the project root for license information.
@@ -3391,21 +4779,22 @@ var tokensCss = i$b`:host{--ds-auro-select-placeholder-text-color: var(--ds-colo
3391
4779
  * The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
3392
4780
  *
3393
4781
  * @slot - Default slot for the menu content.
4782
+ * @slot bib.fullscreen.headline - Defines the headline to display above menu-options
3394
4783
  * @slot label - Defines the content of the label.
3395
4784
  * @slot helpText - Defines the content of the helpText.
3396
4785
  * @slot placeholder - Defines the content of the placeholder to be shown when there is no value
3397
4786
  * @event auroSelect-valueSet - Notifies that the component has a new value set.
4787
+ * @event input - Notifies every time the value prop of the element is changed.
3398
4788
  * @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
3399
4789
  * @csspart helpText - Apply CSS to the help text.
3400
4790
  */
3401
4791
 
3402
4792
  // build the component class
3403
- class AuroSelect extends r$4 {
4793
+ class AuroSelect extends r$9 {
3404
4794
  constructor() {
3405
4795
  super();
3406
4796
 
3407
- this.optionSelected = undefined;
3408
- this.validity = undefined;
4797
+ this.privateDefaults();
3409
4798
 
3410
4799
  const idLength = 36;
3411
4800
  const idSubstrEnd = 8;
@@ -3426,18 +4815,23 @@ class AuroSelect extends r$4 {
3426
4815
  /**
3427
4816
  * @private
3428
4817
  */
3429
- this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
4818
+ this.runtimeUtils = new AuroLibraryRuntimeUtils$3();
3430
4819
 
3431
4820
  /**
3432
4821
  * Generate unique names for dependency components.
3433
4822
  */
3434
- const versioning = new AuroDependencyVersioning$1();
4823
+ const versioning = new AuroDependencyVersioning$2();
3435
4824
 
3436
4825
  /**
3437
4826
  * @private
3438
4827
  */
3439
4828
  this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
3440
4829
 
4830
+ /**
4831
+ * @private
4832
+ */
4833
+ this.bibtemplateTag = versioning.generateTag('auro-bibtemplate', bibTemplateVersion, AuroBibtemplate);
4834
+
3441
4835
  /**
3442
4836
  * @private
3443
4837
  */
@@ -3451,6 +4845,9 @@ class AuroSelect extends r$4 {
3451
4845
  privateDefaults() {
3452
4846
  this.options = [];
3453
4847
  this.optionActive = null;
4848
+ this.optionSelected = undefined;
4849
+ this.value = undefined;
4850
+ this.fullscreenBreakpoint = 'sm';
3454
4851
  }
3455
4852
 
3456
4853
  // This function is to define props used within the scope of this component
@@ -3475,6 +4872,25 @@ class AuroSelect extends r$4 {
3475
4872
  reflect: true
3476
4873
  },
3477
4874
 
4875
+ /**
4876
+ * Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile.
4877
+ * When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
4878
+ * @default sm
4879
+ */
4880
+ fullscreenBreakpoint: {
4881
+ type: String,
4882
+ reflect: true
4883
+ },
4884
+
4885
+ /**
4886
+ * If declared, make mobileHeadline in HeadingDisplay.
4887
+ * Otherwise, Heading 600
4888
+ */
4889
+ largeFullscreenHeadline: {
4890
+ type: Boolean,
4891
+ reflect: true
4892
+ },
4893
+
3478
4894
  /**
3479
4895
  * When true, checkmark on selected option will no longer be present.
3480
4896
  */
@@ -3502,7 +4918,9 @@ class AuroSelect extends r$4 {
3502
4918
  * Specifies the current selected menuOption.
3503
4919
  */
3504
4920
  optionSelected: {
3505
- type: Object
4921
+ // Allow HTMLElement[] arrays and undefined
4922
+ converter: arrayConverter,
4923
+ hasChanged: arrayOrUndefinedHasChanged
3506
4924
  },
3507
4925
 
3508
4926
  /**
@@ -3561,8 +4979,19 @@ class AuroSelect extends r$4 {
3561
4979
  * Value selected for the component.
3562
4980
  */
3563
4981
  value: {
3564
- type: String
3565
- }
4982
+ // Allow string[] arrays and undefined
4983
+ converter: arrayConverter,
4984
+ hasChanged: arrayOrUndefinedHasChanged
4985
+ },
4986
+
4987
+ /**
4988
+ * Sets multi-select mode, allowing multiple options to be selected at once.
4989
+ */
4990
+ multiSelect: {
4991
+ type: Boolean,
4992
+ reflect: true,
4993
+ attribute: 'multiselect'
4994
+ },
3566
4995
  };
3567
4996
  }
3568
4997
 
@@ -3583,6 +5012,10 @@ class AuroSelect extends r$4 {
3583
5012
  this.dropdown = this.shadowRoot.querySelector(this.dropdownTag._$litStatic$);
3584
5013
  this.menuWrapper = this.dropdown.querySelector('.menuWrapper');
3585
5014
 
5015
+ // setting up bibtemplate
5016
+ this.bibtemplate = this.dropdown.querySelector(this.bibtemplateTag._$litStatic$); // eslint-disable-line no-underscore-dangle
5017
+ this.bibtemplate.append(this.menuWrapper);
5018
+
3586
5019
  if (this.customBibWidth) {
3587
5020
  this.dropdown.dropdownWidth = this.customBibWidth;
3588
5021
  }
@@ -3600,33 +5033,34 @@ class AuroSelect extends r$4 {
3600
5033
  *
3601
5034
  */
3602
5035
  static register(name = "auro-select") {
3603
- AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroSelect);
5036
+ AuroLibraryRuntimeUtils$3.prototype.registerComponent(name, AuroSelect);
3604
5037
  }
3605
5038
 
3606
5039
  /**
3607
- * Updates the displayed value in an Auro dropdown component based on optionSelected
5040
+ * Updates the displayed value in an Auro dropdown component based on optionSelected.
3608
5041
  * @private
3609
5042
  * @returns {void}
3610
5043
  */
3611
5044
  updateDisplayedValue() {
3612
5045
  const triggerContentEl = this.dropdown.querySelector('#triggerFocus');
3613
5046
 
3614
- // remove all existing rendered value(s)
3615
- triggerContentEl.querySelectorAll('auro-menuoption, [auro-menuoption]').forEach((elm) => {
3616
- elm.remove();
3617
- });
5047
+ // Clear everything except placeholder
5048
+ const placeholder = triggerContentEl.querySelector('#placeholder');
5049
+ triggerContentEl.innerHTML = '';
5050
+ if (placeholder) {
5051
+ triggerContentEl.appendChild(placeholder);
5052
+ }
3618
5053
 
3619
- if (this.optionSelected) {
3620
- // clone the selected option and remove attributes that style it
3621
- const clone = this.optionSelected.cloneNode(true);
3622
- clone.removeAttribute('selected');
3623
- clone.removeAttribute('class');
5054
+ // Handle selected options
5055
+ if (this.optionSelected && this.optionSelected.length) {
5056
+ // Create display text from selected options
5057
+ const displayText = this.optionSelected.map((option) => option.textContent).join(', ');
3624
5058
 
3625
- // insert the non-styled clone into the trigger
3626
- triggerContentEl.appendChild(clone);
5059
+ const span = document.createElement('span');
5060
+ span.textContent = displayText;
5061
+ triggerContentEl.appendChild(span);
3627
5062
  }
3628
5063
 
3629
- // notify dropdown as trigger content is changed
3630
5064
  this.dropdown.requestUpdate();
3631
5065
  }
3632
5066
 
@@ -3646,6 +5080,10 @@ class AuroSelect extends r$4 {
3646
5080
  return;
3647
5081
  }
3648
5082
 
5083
+ if (this.multiSelect) {
5084
+ this.menu.multiSelect = this.multiSelect;
5085
+ }
5086
+
3649
5087
  this.menu.addEventListener("auroMenu-loadingChange", (event) => this.handleMenuLoadingChange(event));
3650
5088
  this.menu.setAttribute('aria-hidden', 'true');
3651
5089
 
@@ -3656,8 +5094,10 @@ class AuroSelect extends r$4 {
3656
5094
  });
3657
5095
 
3658
5096
  this.menu.addEventListener('auroMenu-selectedOption', () => {
5097
+ // Get array of selected options from menu
3659
5098
  this.optionSelected = this.menu.optionSelected;
3660
- this.value = this.optionSelected.value;
5099
+ // For single select, we still use arrays but only take first value
5100
+ this.value = this.menu.value;
3661
5101
 
3662
5102
  if (this.dropdown.isPopoverVisible) {
3663
5103
  this.dropdown.hide();
@@ -3672,7 +5112,7 @@ class AuroSelect extends r$4 {
3672
5112
  * with `auro-select.value`.
3673
5113
  */
3674
5114
  this.menu.addEventListener('auroMenu-selectValueFailure', () => {
3675
- this.reset();
5115
+ this.menu.clearSelection();
3676
5116
  });
3677
5117
 
3678
5118
  this.menu.addEventListener('auroMenu-selectValueReset', () => {
@@ -3697,7 +5137,7 @@ class AuroSelect extends r$4 {
3697
5137
  this.dropdown.show();
3698
5138
 
3699
5139
  if (this.dropdown.isPopoverVisible) {
3700
- this.menu.selectNextItem('up');
5140
+ this.menu.navigateOptions('up');
3701
5141
  }
3702
5142
  }
3703
5143
 
@@ -3707,7 +5147,7 @@ class AuroSelect extends r$4 {
3707
5147
  this.dropdown.show();
3708
5148
 
3709
5149
  if (this.dropdown.isPopoverVisible) {
3710
- this.menu.selectNextItem('down');
5150
+ this.menu.navigateOptions('down');
3711
5151
  }
3712
5152
  }
3713
5153
 
@@ -3719,7 +5159,11 @@ class AuroSelect extends r$4 {
3719
5159
  }
3720
5160
 
3721
5161
  if (evt.key === 'Tab') {
3722
- this.dropdown.hide();
5162
+ if (this.dropdown.isBibFullscreen) {
5163
+ evt.preventDefault();
5164
+ } else {
5165
+ this.dropdown.hide();
5166
+ }
3723
5167
  }
3724
5168
  });
3725
5169
 
@@ -3770,11 +5214,30 @@ class AuroSelect extends r$4 {
3770
5214
  * input as no longer in the initial state.
3771
5215
  */
3772
5216
  if (this.value === undefined) {
3773
- this.value = '';
5217
+ this.value = undefined;
3774
5218
  this.removeEventListener('focusin', this.handleFocusin);
3775
5219
  }
3776
5220
  }
3777
5221
 
5222
+ /**
5223
+ * Watch for slot changes and recalculate the menuoptions.
5224
+ * @private
5225
+ * @param {Event} event - `slotchange` event.
5226
+ * @returns {void}
5227
+ */
5228
+ handleSlotChange(event) {
5229
+ // Remove previous slot nodes if necessary.
5230
+ const oldSlots = this.bibtemplate.querySelectorAll(`[slot="header"]`);
5231
+ oldSlots.forEach((old) => old.remove());
5232
+
5233
+ const newSlots = event.target.assignedNodes();
5234
+ newSlots.forEach((node) => {
5235
+ const clone = node.cloneNode(true);
5236
+ clone.setAttribute('slot', "header");
5237
+ this.bibtemplate.append(clone);
5238
+ });
5239
+ }
5240
+
3778
5241
  /**
3779
5242
  * Determines the element error state based on the `required` attribute and input value.
3780
5243
  * @private
@@ -3828,22 +5291,33 @@ class AuroSelect extends r$4 {
3828
5291
  }
3829
5292
  }
3830
5293
 
3831
- updated(changedProperties) {
3832
- // After the component is ready, send direct value changes to auro-menu.
5294
+ async updated(changedProperties) {
3833
5295
  if (changedProperties.has('value')) {
3834
5296
  if (this.value) {
3835
5297
  this.menu.value = this.value;
5298
+
5299
+ // Wait for menu to finish updating its value
5300
+ await this.menu.updateComplete;
5301
+
5302
+ this.optionSelected = this.menu.optionSelected;
3836
5303
  } else {
3837
5304
  this.menu.value = undefined;
3838
5305
  }
3839
5306
 
3840
5307
  this.validation.validate(this);
3841
5308
 
5309
+ // LEGACY EVENT
3842
5310
  this.dispatchEvent(new CustomEvent('auroSelect-valueSet', {
3843
5311
  bubbles: true,
3844
5312
  cancelable: false,
3845
5313
  composed: true,
3846
5314
  }));
5315
+
5316
+ this.dispatchEvent(new CustomEvent('input', {
5317
+ bubbles: true,
5318
+ cancelable: true,
5319
+ composed: true,
5320
+ }));
3847
5321
  }
3848
5322
 
3849
5323
  if (changedProperties.has('optionSelected')) {
@@ -3851,7 +5325,7 @@ class AuroSelect extends r$4 {
3851
5325
  }
3852
5326
 
3853
5327
  if (changedProperties.has('error')) {
3854
- this.validation.validate(this, true);
5328
+ this.validate(true);
3855
5329
  }
3856
5330
  }
3857
5331
 
@@ -3863,6 +5337,24 @@ class AuroSelect extends r$4 {
3863
5337
  this.validation.reset(this);
3864
5338
  }
3865
5339
 
5340
+ /**
5341
+ * Hide dropdownbib.
5342
+ * @private
5343
+ */
5344
+ hideBib() {
5345
+ if (this.dropdown) {
5346
+ this.dropdown.hide();
5347
+ }
5348
+ }
5349
+
5350
+ /**
5351
+ * Validates value.
5352
+ * @param {boolean} [force=false] - Whether to force validation.
5353
+ */
5354
+ validate(force = false) {
5355
+ this.validation.validate(this, force);
5356
+ }
5357
+
3866
5358
  // When using auroElement, use the following attribute and function when hiding content from screen readers.
3867
5359
  // aria-hidden="${this.hideAudible(this.hiddenAudible)}"
3868
5360
 
@@ -3872,49 +5364,57 @@ class AuroSelect extends r$4 {
3872
5364
  hidden: this.value,
3873
5365
  };
3874
5366
 
3875
- return u$3`
5367
+ return u$6`
3876
5368
  <div class="outerWrapper">
3877
5369
  <div aria-live="polite" class="util_displayHiddenVisually">
3878
5370
  ${this.optionActive && this.options.length > 0
3879
- ? u$3`
5371
+ ? u$6`
3880
5372
  ${`${this.optionActive.innerText}, option ${this.options.indexOf(this.optionActive) + 1} of ${this.options.length}`}
3881
5373
  `
3882
5374
  : undefined
3883
5375
  };
3884
5376
 
3885
5377
  ${this.optionSelected && this.options.length > 0
3886
- ? u$3`
5378
+ ? u$6`
3887
5379
  ${`${this.optionSelected.innerText} selected`}
3888
5380
  `
3889
5381
  : undefined
3890
5382
  };
3891
5383
  </div>
5384
+ <div id="slotHolder" aria-hidden="true">
5385
+ <slot name="bib.fullscreen.headline" @slotchange="${this.handleSlotChange}"></slot>
5386
+ </div>
3892
5387
  <${this.dropdownTag}
3893
5388
  for="selectmenu"
3894
5389
  ?error="${this.validity !== undefined && this.validity !== 'valid'}"
3895
5390
  common
3896
5391
  fluid
5392
+ .fullscreenBreakpoint="${this.fullscreenBreakpoint}"
3897
5393
  ?matchWidth="${!this.flexMenuWidth}"
3898
5394
  chevron
3899
5395
  part="dropdown">
3900
5396
  <span slot="trigger" aria-haspopup="true" id="triggerFocus">
3901
- <span id="placeholder" class="${e$5(placeholderClass)}"><slot name="placeholder"></slot></span>
5397
+ <span id="placeholder" class="${e$9(placeholderClass)}"><slot name="placeholder"></slot></span>
3902
5398
  </span>
5399
+
3903
5400
  <div class="menuWrapper">
3904
5401
  </div>
5402
+
5403
+ <${this.bibtemplateTag} ?large="${this.largeFullscreenHeadline}" @close-click="${this.hideBib}">
5404
+ </${this.bibtemplateTag}>
3905
5405
  <slot name="label" slot="label"></slot>
3906
- <span slot="helpText">
5406
+ <p slot="helpText">
3907
5407
  ${!this.validity || this.validity === undefined || this.validity === 'valid'
3908
- ? u$3`
3909
- <p class="selectElement-helpText" id="${this.uniqueId}" part="helpText">
5408
+ ? u$6`
5409
+ <span id="${this.uniqueId}" part="helpText">
3910
5410
  <slot name="helpText"></slot>
3911
- </p>`
3912
- : u$3`
3913
- <p class="selectElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
5411
+ </span>`
5412
+ : u$6`
5413
+ <span id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
3914
5414
  ${this.errorMessage}
3915
- </p>`
5415
+ </span>`
3916
5416
  }
3917
- </span>
5417
+ </p>
3918
5418
  </${this.dropdownTag}>
3919
5419
  <!-- Help text and error message template -->
3920
5420
  </div>
@@ -3922,6 +5422,4 @@ class AuroSelect extends r$4 {
3922
5422
  }
3923
5423
  }
3924
5424
 
3925
- AuroSelect.register();
3926
-
3927
5425
  export { AuroSelect };