@govbr-ds/webcomponents 2.1.3 → 2.3.0

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 (977) hide show
  1. package/README.md +146 -54
  2. package/cem/custom-elements.json +6496 -1141
  3. package/cem/webcomponents.html-custom-data.json +400 -287
  4. package/dist/cjs/br-avatar.cjs.entry.js +21 -14
  5. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +2 -2
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +49 -22
  7. package/dist/cjs/br-button_2.cjs.entry.js +77 -35
  8. package/dist/cjs/br-card.cjs.entry.js +6 -5
  9. package/dist/cjs/br-carousel-page.cjs.entry.js +3 -3
  10. package/dist/cjs/br-carousel.cjs.entry.js +77 -21
  11. package/dist/cjs/br-checkbox-group.cjs.entry.js +157 -27
  12. package/dist/cjs/br-checkbox.cjs.entry.js +86 -16
  13. package/dist/cjs/br-checkgroup.cjs.entry.js +5 -2
  14. package/dist/cjs/br-collapse_2.cjs.entry.js +90 -27
  15. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +4 -4
  16. package/dist/cjs/br-cookiebar-group.cjs.entry.js +4 -4
  17. package/dist/cjs/br-cookiebar-header.cjs.entry.js +4 -4
  18. package/dist/cjs/br-cookiebar-link.cjs.entry.js +14 -6
  19. package/dist/cjs/br-cookiebar-note-group.cjs.entry.js +3 -5
  20. package/dist/cjs/br-cookiebar-note.cjs.entry.js +4 -4
  21. package/dist/cjs/br-cookiebar.cjs.entry.js +38 -25
  22. package/dist/cjs/br-crumb.cjs.entry.js +2 -2
  23. package/dist/cjs/br-date-picker_3.cjs.entry.js +246 -88
  24. package/dist/cjs/br-datetime-picker.cjs.entry.js +116 -528
  25. package/dist/cjs/br-divider.cjs.entry.js +70 -17
  26. package/dist/cjs/br-dropdown_2.cjs.entry.js +334 -163
  27. package/dist/cjs/br-footer-category.cjs.entry.js +10 -6
  28. package/dist/cjs/br-footer-item.cjs.entry.js +9 -4
  29. package/dist/cjs/br-footer-legal.cjs.entry.js +4 -4
  30. package/dist/cjs/br-footer-logo.cjs.entry.js +22 -10
  31. package/dist/cjs/br-footer-social.cjs.entry.js +14 -6
  32. package/dist/cjs/br-footer.cjs.entry.js +16 -7
  33. package/dist/cjs/br-header-function.cjs.entry.js +28 -7
  34. package/dist/cjs/br-header-link.cjs.entry.js +25 -4
  35. package/dist/cjs/br-header-list.cjs.entry.js +6 -17
  36. package/dist/cjs/br-header-logo.cjs.entry.js +18 -7
  37. package/dist/cjs/br-header.cjs.entry.js +96 -37
  38. package/dist/cjs/br-icon.cjs.entry.js +161 -53
  39. package/dist/cjs/br-input.cjs.entry.js +150 -40
  40. package/dist/cjs/br-item.cjs.entry.js +97 -48
  41. package/dist/cjs/br-link.cjs.entry.js +20 -7
  42. package/dist/cjs/br-loading.cjs.entry.js +100 -38
  43. package/dist/cjs/br-magic-button.cjs.entry.js +39 -9
  44. package/dist/cjs/br-menu-group.cjs.entry.js +14 -3
  45. package/dist/cjs/br-menu-header.cjs.entry.js +4 -4
  46. package/dist/cjs/br-menu-info.cjs.entry.js +4 -4
  47. package/dist/cjs/br-menu-item.cjs.entry.js +27 -5
  48. package/dist/cjs/br-menu-link.cjs.entry.js +14 -6
  49. package/dist/cjs/br-menu-list.cjs.entry.js +23 -27
  50. package/dist/cjs/br-menu-logo.cjs.entry.js +4 -4
  51. package/dist/cjs/br-menu-social.cjs.entry.js +16 -6
  52. package/dist/cjs/br-menu.cjs.entry.js +38 -57
  53. package/dist/cjs/br-modal.cjs.entry.js +44 -42
  54. package/dist/cjs/br-notification-body.cjs.entry.js +4 -4
  55. package/dist/cjs/br-notification-header.cjs.entry.js +4 -4
  56. package/dist/cjs/br-notification-item.cjs.entry.js +14 -8
  57. package/dist/cjs/br-notification.cjs.entry.js +23 -8
  58. package/dist/cjs/br-pagination.cjs.entry.js +120 -88
  59. package/dist/cjs/br-radio-group.cjs.entry.js +107 -58
  60. package/dist/cjs/br-radio.cjs.entry.js +62 -12
  61. package/dist/cjs/br-scrim.cjs.entry.js +161 -67
  62. package/dist/cjs/br-select-input_3.cjs.entry.js +286 -91
  63. package/dist/cjs/br-sign-in.cjs.entry.js +38 -15
  64. package/dist/cjs/br-skip-link-item.cjs.entry.js +39 -2
  65. package/dist/cjs/br-skip-link.cjs.entry.js +50 -33
  66. package/dist/cjs/br-skiplink-item.cjs.entry.js +22 -6
  67. package/dist/cjs/br-slider.cjs.entry.js +522 -100
  68. package/dist/cjs/br-step_2.cjs.entry.js +98 -44
  69. package/dist/cjs/br-switch.cjs.entry.js +21 -12
  70. package/dist/cjs/br-tab-item.cjs.entry.js +38 -14
  71. package/dist/cjs/br-tab.cjs.entry.js +89 -51
  72. package/dist/cjs/br-table-body.cjs.entry.js +3 -3
  73. package/dist/cjs/br-table-cell.cjs.entry.js +30 -13
  74. package/dist/cjs/br-table-header-cell.cjs.entry.js +23 -7
  75. package/dist/cjs/br-table-header.cjs.entry.js +3 -3
  76. package/dist/cjs/br-table-row.cjs.entry.js +17 -3
  77. package/dist/cjs/br-table.cjs.entry.js +67 -21
  78. package/dist/cjs/br-tag.cjs.entry.js +49 -31
  79. package/dist/cjs/br-textarea.cjs.entry.js +118 -13
  80. package/dist/cjs/br-tooltip.cjs.entry.js +87 -41
  81. package/dist/cjs/br-upload.cjs.entry.js +84 -25
  82. package/dist/cjs/br-wizard-panel.cjs.entry.js +16 -3
  83. package/dist/cjs/br-wizard.cjs.entry.js +52 -28
  84. package/dist/cjs/{isValid-Fu3kaWNn.js → datetime-picker-props-validation-DmNKSXsy.js} +481 -4
  85. package/dist/cjs/{floating-ui-MBI1osio.js → floating-ui-B6nsdYUU.js} +24 -1
  86. package/dist/cjs/{floating-ui.dom-BUSTaaxR.js → floating-ui.dom-wzdGZjyG.js} +201 -113
  87. package/dist/cjs/{focus-DuywwJPR.js → focus-BhfJnFgJ.js} +21 -0
  88. package/dist/cjs/header-context-CdawuLsH.js +17 -0
  89. package/dist/cjs/icon.utils-DF6kMskA.js +46 -0
  90. package/dist/cjs/id-DE4jSi-L.js +36 -0
  91. package/dist/cjs/{index-CRdcutym.js → index-Bc30P_6z.js} +88 -766
  92. package/dist/cjs/loader.cjs.js +2 -2
  93. package/dist/cjs/motion-CgIooxWS.js +29 -0
  94. package/dist/cjs/ownership-UnpufyCx.js +116 -0
  95. package/dist/cjs/prop-warning-xvEHQz8H.js +60 -0
  96. package/dist/cjs/props-D8dybmr0.js +124 -0
  97. package/dist/cjs/{swipe-BU8_XE9f.js → swipe-BGF-h9WY.js} +11 -1
  98. package/dist/cjs/{validator-CTCajtT9.js → validator-GkkueMOx.js} +18 -0
  99. package/dist/cjs/webcomponents.cjs.js +3 -3
  100. package/dist/collection/collection-manifest.json +1 -1
  101. package/dist/collection/components/avatar/avatar.css +1 -1
  102. package/dist/collection/components/avatar/avatar.js +48 -16
  103. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +15 -3
  104. package/dist/collection/components/breadcrumb/breadcrumb.css +1 -1
  105. package/dist/collection/components/breadcrumb/breadcrumb.js +107 -22
  106. package/dist/collection/components/breadcrumb/crumb/crumb.js +14 -2
  107. package/dist/collection/components/button/button.css +1 -1
  108. package/dist/collection/components/button/button.js +93 -24
  109. package/dist/collection/components/card/card.css +1 -1
  110. package/dist/collection/components/card/card.js +33 -5
  111. package/dist/collection/components/carousel/carousel-page/carousel-page.css +1 -1
  112. package/dist/collection/components/carousel/carousel-page/carousel-page.js +11 -4
  113. package/dist/collection/components/carousel/carousel.css +1 -1
  114. package/dist/collection/components/carousel/carousel.js +107 -21
  115. package/dist/collection/components/checkbox/checkbox.css +1 -1
  116. package/dist/collection/components/checkbox/checkbox.js +134 -20
  117. package/dist/collection/components/checkbox-group/checkbox-group.css +1 -1
  118. package/dist/collection/components/checkbox-group/checkbox-group.js +210 -30
  119. package/dist/collection/components/checkgroup/checkgroup.js +42 -4
  120. package/dist/collection/components/collapse/collapse.css +1 -1
  121. package/dist/collection/components/collapse/collapse.js +55 -9
  122. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.css +1 -1
  123. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +17 -4
  124. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.css +1 -1
  125. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +16 -7
  126. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.css +1 -1
  127. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +15 -9
  128. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.css +1 -1
  129. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +24 -8
  130. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.css +1 -1
  131. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +14 -4
  132. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.css +1 -1
  133. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +13 -5
  134. package/dist/collection/components/cookiebar/cookiebar.css +1 -1
  135. package/dist/collection/components/cookiebar/cookiebar.js +67 -32
  136. package/dist/collection/components/datetime-picker/date-picker/date-picker.css +1 -1
  137. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +134 -35
  138. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.css +1 -1
  139. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +112 -22
  140. package/dist/collection/components/datetime-picker/datetime-picker-props-validation.js +13 -5
  141. package/dist/collection/components/datetime-picker/datetime-picker.css +1 -1
  142. package/dist/collection/components/datetime-picker/datetime-picker.js +158 -42
  143. package/dist/collection/components/datetime-picker/time-picker/time-picker.css +1 -1
  144. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +78 -9
  145. package/dist/collection/components/divider/divider.css +1 -1
  146. package/dist/collection/components/divider/divider.js +101 -26
  147. package/dist/collection/components/dropdown/dropdown.css +1 -1
  148. package/dist/collection/components/dropdown/dropdown.js +195 -51
  149. package/dist/collection/components/footer/footer-category/footer-category.css +1 -1
  150. package/dist/collection/components/footer/footer-category/footer-category.js +23 -4
  151. package/dist/collection/components/footer/footer-item/footer-item.css +1 -1
  152. package/dist/collection/components/footer/footer-item/footer-item.js +21 -2
  153. package/dist/collection/components/footer/footer-legal/footer-legal.css +1 -1
  154. package/dist/collection/components/footer/footer-legal/footer-legal.js +16 -2
  155. package/dist/collection/components/footer/footer-logo/footer-logo.css +1 -1
  156. package/dist/collection/components/footer/footer-logo/footer-logo.js +35 -9
  157. package/dist/collection/components/footer/footer-social/footer-social.css +1 -1
  158. package/dist/collection/components/footer/footer-social/footer-social.js +26 -6
  159. package/dist/collection/components/footer/footer.css +1 -1
  160. package/dist/collection/components/footer/footer.js +48 -7
  161. package/dist/collection/components/header/header-context.js +13 -0
  162. package/dist/collection/components/header/header-function/header-function.css +1 -1
  163. package/dist/collection/components/header/header-function/header-function.js +51 -8
  164. package/dist/collection/components/header/header-link/header-link.css +1 -1
  165. package/dist/collection/components/header/header-link/header-link.js +52 -2
  166. package/dist/collection/components/header/header-list/header-list.css +1 -1
  167. package/dist/collection/components/header/header-list/header-list.js +20 -23
  168. package/dist/collection/components/header/header-logo/header-logo.css +1 -1
  169. package/dist/collection/components/header/header-logo/header-logo.js +33 -8
  170. package/dist/collection/components/header/header.css +1 -1
  171. package/dist/collection/components/header/header.js +134 -44
  172. package/dist/collection/components/icon/default-icons-cache.js +111 -3
  173. package/dist/collection/components/icon/icon.css +1 -1
  174. package/dist/collection/components/icon/icon.js +80 -33
  175. package/dist/collection/components/icon/icon.utils.js +8 -0
  176. package/dist/collection/components/input/input.css +1 -1
  177. package/dist/collection/components/input/input.js +189 -55
  178. package/dist/collection/components/item/item.css +1 -1
  179. package/dist/collection/components/item/item.js +136 -52
  180. package/dist/collection/components/link/link.css +1 -1
  181. package/dist/collection/components/link/link.js +48 -15
  182. package/dist/collection/components/list/list.css +1 -1
  183. package/dist/collection/components/list/list.js +106 -25
  184. package/dist/collection/components/loading/loading.css +1 -1
  185. package/dist/collection/components/loading/loading.js +131 -43
  186. package/dist/collection/components/magic-button/magic-button.css +1 -1
  187. package/dist/collection/components/magic-button/magic-button.js +65 -9
  188. package/dist/collection/components/menu/menu-group/menu-group.css +1 -1
  189. package/dist/collection/components/menu/menu-group/menu-group.js +60 -2
  190. package/dist/collection/components/menu/menu-header/menu-header.css +1 -1
  191. package/dist/collection/components/menu/menu-header/menu-header.js +17 -2
  192. package/dist/collection/components/menu/menu-info/menu-info.css +1 -1
  193. package/dist/collection/components/menu/menu-info/menu-info.js +15 -2
  194. package/dist/collection/components/menu/menu-item/menu-item.css +1 -1
  195. package/dist/collection/components/menu/menu-item/menu-item.js +72 -8
  196. package/dist/collection/components/menu/menu-link/menu-link.css +1 -1
  197. package/dist/collection/components/menu/menu-link/menu-link.js +25 -4
  198. package/dist/collection/components/menu/menu-list/menu-list.css +1 -1
  199. package/dist/collection/components/menu/menu-list/menu-list.js +64 -29
  200. package/dist/collection/components/menu/menu-logo/menu-logo.css +1 -1
  201. package/dist/collection/components/menu/menu-logo/menu-logo.js +15 -2
  202. package/dist/collection/components/menu/menu-social/menu-social.css +1 -1
  203. package/dist/collection/components/menu/menu-social/menu-social.js +29 -7
  204. package/dist/collection/components/menu/menu.css +1 -1
  205. package/dist/collection/components/menu/menu.js +71 -60
  206. package/dist/collection/components/menu/menu.utils.js +8 -18
  207. package/dist/collection/components/message/message.css +1 -1
  208. package/dist/collection/components/message/message.js +50 -24
  209. package/dist/collection/components/modal/modal.css +1 -1
  210. package/dist/collection/components/modal/modal.js +72 -43
  211. package/dist/collection/components/notification/notification-body/notification-body.css +1 -1
  212. package/dist/collection/components/notification/notification-body/notification-body.js +13 -4
  213. package/dist/collection/components/notification/notification-header/notification-header.css +1 -1
  214. package/dist/collection/components/notification/notification-header/notification-header.js +13 -4
  215. package/dist/collection/components/notification/notification-item/notification-item.css +1 -1
  216. package/dist/collection/components/notification/notification-item/notification-item.js +23 -9
  217. package/dist/collection/components/notification/notification.css +1 -1
  218. package/dist/collection/components/notification/notification.js +54 -10
  219. package/dist/collection/components/pagination/pagination.css +1 -1
  220. package/dist/collection/components/pagination/pagination.js +164 -75
  221. package/dist/collection/components/radio/radio.css +1 -1
  222. package/dist/collection/components/radio/radio.js +109 -14
  223. package/dist/collection/components/radio-group/radio-group.css +1 -1
  224. package/dist/collection/components/radio-group/radio-group.js +153 -63
  225. package/dist/collection/components/scrim/scrim.css +1 -1
  226. package/dist/collection/components/scrim/scrim.js +215 -74
  227. package/dist/collection/components/scrim/scrim.utils.js +5 -51
  228. package/dist/collection/components/select/select-input/select-input.css +1 -1
  229. package/dist/collection/components/select/select-input/select-input.js +61 -6
  230. package/dist/collection/components/select/select-list/select-list.css +1 -1
  231. package/dist/collection/components/select/select-list/select-list.js +247 -52
  232. package/dist/collection/components/select/select-option/select-option.css +1 -1
  233. package/dist/collection/components/select/select-option/select-option.js +108 -46
  234. package/dist/collection/components/select/select.css +1 -1
  235. package/dist/collection/components/select/select.js +320 -124
  236. package/dist/collection/components/select/select.utils.js +3 -1
  237. package/dist/collection/components/sign-in/sign-in.css +1 -1
  238. package/dist/collection/components/sign-in/sign-in.js +60 -17
  239. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +112 -3
  240. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.css +1 -1
  241. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +58 -5
  242. package/dist/collection/components/skip-link/skip-link.css +1 -1
  243. package/dist/collection/components/skip-link/skip-link.js +78 -39
  244. package/dist/collection/components/slider/slider.css +1 -1
  245. package/dist/collection/components/slider/slider.js +530 -132
  246. package/dist/collection/components/slider/slider.utils.js +178 -0
  247. package/dist/collection/components/step/step-item/step-item.css +1 -1
  248. package/dist/collection/components/step/step-item/step-item.js +29 -12
  249. package/dist/collection/components/step/step.css +1 -1
  250. package/dist/collection/components/step/step.js +119 -44
  251. package/dist/collection/components/switch/switch.css +1 -1
  252. package/dist/collection/components/switch/switch.js +48 -15
  253. package/dist/collection/components/tab/tab-item/tab-item.css +1 -1
  254. package/dist/collection/components/tab/tab-item/tab-item.js +49 -14
  255. package/dist/collection/components/tab/tab.css +1 -1
  256. package/dist/collection/components/tab/tab.js +123 -53
  257. package/dist/collection/components/table/table-body/table-body.css +1 -1
  258. package/dist/collection/components/table/table-body/table-body.js +11 -7
  259. package/dist/collection/components/table/table-cell/table-cell.css +1 -1
  260. package/dist/collection/components/table/table-cell/table-cell.js +36 -17
  261. package/dist/collection/components/table/table-header/table-header.css +1 -1
  262. package/dist/collection/components/table/table-header/table-header.js +11 -7
  263. package/dist/collection/components/table/table-header-cell/table-header-cell.css +1 -1
  264. package/dist/collection/components/table/table-header-cell/table-header-cell.js +35 -13
  265. package/dist/collection/components/table/table-row/table-row.css +1 -1
  266. package/dist/collection/components/table/table-row/table-row.js +24 -7
  267. package/dist/collection/components/table/table.css +1 -1
  268. package/dist/collection/components/table/table.js +107 -31
  269. package/dist/collection/components/tag/tag.css +1 -1
  270. package/dist/collection/components/tag/tag.js +86 -36
  271. package/dist/collection/components/textarea/textarea.css +1 -1
  272. package/dist/collection/components/textarea/textarea.js +222 -19
  273. package/dist/collection/components/tooltip/tooltip.css +1 -1
  274. package/dist/collection/components/tooltip/tooltip.js +134 -45
  275. package/dist/collection/components/upload/upload.css +1 -1
  276. package/dist/collection/components/upload/upload.js +135 -33
  277. package/dist/collection/components/wizard/wizard-panel/wizard-panel.css +1 -1
  278. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +54 -3
  279. package/dist/collection/components/wizard/wizard.css +1 -1
  280. package/dist/collection/components/wizard/wizard.js +82 -28
  281. package/dist/collection/pages/components/select/remote.js +33 -0
  282. package/dist/collection/pages/components/select/virtualized.js +13 -0
  283. package/dist/collection/pages/components/upload/handler.js +25 -0
  284. package/dist/collection/pages/scripts/component-controls-core.js +95 -0
  285. package/dist/collection/pages/scripts/component-controls.js +221 -158
  286. package/dist/collection/pages/scripts/dev-event-console.js +5 -1
  287. package/dist/collection/pages/scripts/menu.js +90 -6
  288. package/dist/collection/pages/scripts/pageLoader.js +1570 -607
  289. package/dist/collection/pages/scripts/pageloader-preview.js +796 -0
  290. package/dist/collection/pages/scripts/playground-core.js +173 -0
  291. package/dist/collection/shared/utils/cssVariables.js +2 -0
  292. package/dist/collection/shared/utils/date.js +8 -4
  293. package/dist/collection/shared/utils/floating-ui.js +24 -1
  294. package/dist/collection/shared/utils/focus.js +31 -0
  295. package/dist/collection/shared/utils/form.js +17 -0
  296. package/dist/collection/shared/utils/getRandom.js +16 -1
  297. package/dist/collection/shared/utils/helpers.js +4 -11
  298. package/dist/collection/shared/utils/id.js +23 -7
  299. package/dist/collection/shared/utils/index.js +6 -1
  300. package/dist/collection/shared/utils/isEmpty.js +5 -3
  301. package/dist/collection/shared/utils/motion.js +25 -0
  302. package/dist/collection/shared/utils/ownership.js +113 -0
  303. package/dist/collection/shared/utils/prop-warning.js +47 -0
  304. package/dist/collection/shared/utils/props.js +79 -0
  305. package/dist/collection/shared/utils/swipe.js +11 -1
  306. package/dist/collection/shared/utils/transition.js +3 -0
  307. package/dist/collection/shared/utils/virtual-scroll.js +24 -0
  308. package/dist/components/br-avatar.d.ts +1 -1
  309. package/dist/components/br-avatar.js +1 -1
  310. package/dist/components/br-breadcrumb-item.d.ts +1 -1
  311. package/dist/components/br-breadcrumb-item.js +1 -1
  312. package/dist/components/br-breadcrumb.d.ts +1 -1
  313. package/dist/components/br-breadcrumb.js +1 -1
  314. package/dist/components/br-button.d.ts +1 -1
  315. package/dist/components/br-button.js +1 -1
  316. package/dist/components/br-card.d.ts +1 -1
  317. package/dist/components/br-card.js +1 -1
  318. package/dist/components/br-carousel-page.d.ts +1 -1
  319. package/dist/components/br-carousel-page.js +1 -1
  320. package/dist/components/br-carousel.d.ts +1 -1
  321. package/dist/components/br-carousel.js +1 -1
  322. package/dist/components/br-checkbox-group.d.ts +1 -1
  323. package/dist/components/br-checkbox-group.js +1 -1
  324. package/dist/components/br-checkbox.d.ts +1 -1
  325. package/dist/components/br-checkbox.js +1 -1
  326. package/dist/components/br-checkgroup.d.ts +1 -1
  327. package/dist/components/br-checkgroup.js +1 -1
  328. package/dist/components/br-collapse.d.ts +1 -1
  329. package/dist/components/br-collapse.js +1 -1
  330. package/dist/components/br-cookiebar-cookie.d.ts +1 -1
  331. package/dist/components/br-cookiebar-cookie.js +1 -1
  332. package/dist/components/br-cookiebar-group.d.ts +1 -1
  333. package/dist/components/br-cookiebar-group.js +1 -1
  334. package/dist/components/br-cookiebar-header.d.ts +1 -1
  335. package/dist/components/br-cookiebar-header.js +1 -1
  336. package/dist/components/br-cookiebar-link.d.ts +1 -1
  337. package/dist/components/br-cookiebar-link.js +1 -1
  338. package/dist/components/br-cookiebar-note-group.d.ts +1 -1
  339. package/dist/components/br-cookiebar-note-group.js +1 -1
  340. package/dist/components/br-cookiebar-note.d.ts +1 -1
  341. package/dist/components/br-cookiebar-note.js +1 -1
  342. package/dist/components/br-cookiebar.d.ts +1 -1
  343. package/dist/components/br-cookiebar.js +1 -1
  344. package/dist/components/br-crumb.d.ts +1 -1
  345. package/dist/components/br-crumb.js +1 -1
  346. package/dist/components/br-date-picker.d.ts +1 -1
  347. package/dist/components/br-date-picker.js +1 -1
  348. package/dist/components/br-datetime-input.d.ts +1 -1
  349. package/dist/components/br-datetime-input.js +1 -1
  350. package/dist/components/br-datetime-picker.d.ts +1 -1
  351. package/dist/components/br-datetime-picker.js +1 -1
  352. package/dist/components/br-divider.d.ts +1 -1
  353. package/dist/components/br-divider.js +1 -1
  354. package/dist/components/br-dropdown.d.ts +1 -1
  355. package/dist/components/br-dropdown.js +1 -1
  356. package/dist/components/br-footer-category.d.ts +1 -1
  357. package/dist/components/br-footer-category.js +1 -1
  358. package/dist/components/br-footer-item.d.ts +1 -1
  359. package/dist/components/br-footer-item.js +1 -1
  360. package/dist/components/br-footer-legal.d.ts +1 -1
  361. package/dist/components/br-footer-legal.js +1 -1
  362. package/dist/components/br-footer-logo.d.ts +1 -1
  363. package/dist/components/br-footer-logo.js +1 -1
  364. package/dist/components/br-footer-social.d.ts +1 -1
  365. package/dist/components/br-footer-social.js +1 -1
  366. package/dist/components/br-footer.d.ts +1 -1
  367. package/dist/components/br-footer.js +1 -1
  368. package/dist/components/br-header-function.d.ts +1 -1
  369. package/dist/components/br-header-function.js +1 -1
  370. package/dist/components/br-header-link.d.ts +1 -1
  371. package/dist/components/br-header-link.js +1 -1
  372. package/dist/components/br-header-list.d.ts +1 -1
  373. package/dist/components/br-header-list.js +1 -1
  374. package/dist/components/br-header-logo.d.ts +1 -1
  375. package/dist/components/br-header-logo.js +1 -1
  376. package/dist/components/br-header.d.ts +1 -1
  377. package/dist/components/br-header.js +1 -1
  378. package/dist/components/br-icon.d.ts +1 -1
  379. package/dist/components/br-icon.js +1 -1
  380. package/dist/components/br-input.d.ts +1 -1
  381. package/dist/components/br-input.js +1 -1
  382. package/dist/components/br-item.d.ts +1 -1
  383. package/dist/components/br-item.js +1 -1
  384. package/dist/components/br-link.d.ts +1 -1
  385. package/dist/components/br-link.js +1 -1
  386. package/dist/components/br-list.d.ts +1 -1
  387. package/dist/components/br-list.js +1 -1
  388. package/dist/components/br-loading.d.ts +1 -1
  389. package/dist/components/br-loading.js +1 -1
  390. package/dist/components/br-magic-button.d.ts +1 -1
  391. package/dist/components/br-magic-button.js +1 -1
  392. package/dist/components/br-menu-group.d.ts +1 -1
  393. package/dist/components/br-menu-group.js +1 -1
  394. package/dist/components/br-menu-header.d.ts +1 -1
  395. package/dist/components/br-menu-header.js +1 -1
  396. package/dist/components/br-menu-info.d.ts +1 -1
  397. package/dist/components/br-menu-info.js +1 -1
  398. package/dist/components/br-menu-item.d.ts +1 -1
  399. package/dist/components/br-menu-item.js +1 -1
  400. package/dist/components/br-menu-link.d.ts +1 -1
  401. package/dist/components/br-menu-link.js +1 -1
  402. package/dist/components/br-menu-list.d.ts +1 -1
  403. package/dist/components/br-menu-list.js +1 -1
  404. package/dist/components/br-menu-logo.d.ts +1 -1
  405. package/dist/components/br-menu-logo.js +1 -1
  406. package/dist/components/br-menu-social.d.ts +1 -1
  407. package/dist/components/br-menu-social.js +1 -1
  408. package/dist/components/br-menu.d.ts +1 -1
  409. package/dist/components/br-menu.js +1 -1
  410. package/dist/components/br-message.d.ts +1 -1
  411. package/dist/components/br-message.js +1 -1
  412. package/dist/components/br-modal.d.ts +1 -1
  413. package/dist/components/br-modal.js +1 -1
  414. package/dist/components/br-notification-body.d.ts +1 -1
  415. package/dist/components/br-notification-body.js +1 -1
  416. package/dist/components/br-notification-header.d.ts +1 -1
  417. package/dist/components/br-notification-header.js +1 -1
  418. package/dist/components/br-notification-item.d.ts +1 -1
  419. package/dist/components/br-notification-item.js +1 -1
  420. package/dist/components/br-notification.d.ts +1 -1
  421. package/dist/components/br-notification.js +1 -1
  422. package/dist/components/br-pagination.d.ts +1 -1
  423. package/dist/components/br-pagination.js +1 -1
  424. package/dist/components/br-radio-group.d.ts +1 -1
  425. package/dist/components/br-radio-group.js +1 -1
  426. package/dist/components/br-radio.d.ts +1 -1
  427. package/dist/components/br-radio.js +1 -1
  428. package/dist/components/br-scrim.d.ts +1 -1
  429. package/dist/components/br-scrim.js +1 -1
  430. package/dist/components/br-select-input.d.ts +1 -1
  431. package/dist/components/br-select-input.js +1 -1
  432. package/dist/components/br-select-list.d.ts +1 -1
  433. package/dist/components/br-select-list.js +1 -1
  434. package/dist/components/br-select-option.d.ts +1 -1
  435. package/dist/components/br-select-option.js +1 -1
  436. package/dist/components/br-select.d.ts +1 -1
  437. package/dist/components/br-select.js +1 -1
  438. package/dist/components/br-sign-in.d.ts +1 -1
  439. package/dist/components/br-sign-in.js +1 -1
  440. package/dist/components/br-skip-link-item.d.ts +1 -1
  441. package/dist/components/br-skip-link-item.js +1 -1
  442. package/dist/components/br-skip-link.d.ts +1 -1
  443. package/dist/components/br-skip-link.js +1 -1
  444. package/dist/components/br-skiplink-item.d.ts +1 -1
  445. package/dist/components/br-skiplink-item.js +1 -1
  446. package/dist/components/br-slider.d.ts +1 -1
  447. package/dist/components/br-slider.js +1 -1
  448. package/dist/components/br-step-item.d.ts +1 -1
  449. package/dist/components/br-step-item.js +1 -1
  450. package/dist/components/br-step.d.ts +1 -1
  451. package/dist/components/br-step.js +1 -1
  452. package/dist/components/br-switch.d.ts +1 -1
  453. package/dist/components/br-switch.js +1 -1
  454. package/dist/components/br-tab-item.d.ts +1 -1
  455. package/dist/components/br-tab-item.js +1 -1
  456. package/dist/components/br-tab.d.ts +1 -1
  457. package/dist/components/br-tab.js +1 -1
  458. package/dist/components/br-table-body.d.ts +1 -1
  459. package/dist/components/br-table-body.js +1 -1
  460. package/dist/components/br-table-cell.d.ts +1 -1
  461. package/dist/components/br-table-cell.js +1 -1
  462. package/dist/components/br-table-header-cell.d.ts +1 -1
  463. package/dist/components/br-table-header-cell.js +1 -1
  464. package/dist/components/br-table-header.d.ts +1 -1
  465. package/dist/components/br-table-header.js +1 -1
  466. package/dist/components/br-table-row.d.ts +1 -1
  467. package/dist/components/br-table-row.js +1 -1
  468. package/dist/components/br-table.d.ts +1 -1
  469. package/dist/components/br-table.js +1 -1
  470. package/dist/components/br-tag.d.ts +1 -1
  471. package/dist/components/br-tag.js +1 -1
  472. package/dist/components/br-textarea.d.ts +1 -1
  473. package/dist/components/br-textarea.js +1 -1
  474. package/dist/components/br-time-picker.d.ts +1 -1
  475. package/dist/components/br-time-picker.js +1 -1
  476. package/dist/components/br-tooltip.d.ts +1 -1
  477. package/dist/components/br-tooltip.js +1 -1
  478. package/dist/components/br-upload.d.ts +1 -1
  479. package/dist/components/br-upload.js +1 -1
  480. package/dist/components/br-wizard-panel.d.ts +1 -1
  481. package/dist/components/br-wizard-panel.js +1 -1
  482. package/dist/components/br-wizard.d.ts +1 -1
  483. package/dist/components/br-wizard.js +1 -1
  484. package/dist/components/index.d.ts +89 -89
  485. package/dist/components/index.js +1 -1
  486. package/dist/components/p-0qmYp77w.js +5 -0
  487. package/dist/components/p-5c3rNBXh.js +5 -0
  488. package/dist/components/p-B8oIvH3q.js +5 -0
  489. package/dist/components/p-BECz8XWJ.js +5 -0
  490. package/dist/components/p-BEJGB0Nd.js +5 -0
  491. package/dist/{webcomponents/p-Dmfk7eEe.js → components/p-BJZC_NuV.js} +1 -1
  492. package/dist/components/p-BJtdabsr.js +5 -0
  493. package/dist/components/p-BM4Ys6hX.js +5 -0
  494. package/dist/components/p-BXWh9s7p.js +5 -0
  495. package/dist/components/{p-DA5GS53D.js → p-BblZlUp2.js} +1 -1
  496. package/dist/components/{p-C1yRmdso.js → p-BcqVlof7.js} +1 -1
  497. package/dist/components/p-BeJxz5TQ.js +5 -0
  498. package/dist/components/p-Bezou5CQ.js +5 -0
  499. package/dist/components/p-BjeUETWJ.js +5 -0
  500. package/dist/components/p-CDTENPaP.js +5 -0
  501. package/dist/components/p-CDtFCbKp.js +5 -0
  502. package/dist/components/p-CNwZRgyL.js +5 -0
  503. package/dist/components/p-CZZVc2gK.js +5 -0
  504. package/dist/components/p-Cd6udSDt.js +5 -0
  505. package/dist/components/p-Ci0_RqAE.js +5 -0
  506. package/dist/components/p-CuBgClZm.js +5 -0
  507. package/dist/components/p-D0QYZSoP.js +5 -0
  508. package/dist/components/p-D4SWpW6-.js +5 -0
  509. package/dist/components/p-D579DS7x.js +5 -0
  510. package/dist/components/p-D8K7rhHd.js +5 -0
  511. package/dist/components/p-D9Zo6FlV.js +5 -0
  512. package/dist/components/p-D9nXlCuS.js +5 -0
  513. package/dist/components/p-DKFO6Q_g.js +5 -0
  514. package/dist/components/p-DNJSSCNi.js +5 -0
  515. package/dist/components/p-DOJ1vYOl.js +5 -0
  516. package/dist/components/p-DWhzxlCx.js +5 -0
  517. package/dist/components/p-DYI30IZL.js +5 -0
  518. package/dist/components/p-DcVldfL0.js +5 -0
  519. package/dist/components/p-DhvmHPp4.js +5 -0
  520. package/dist/components/p-DiLI514I.js +5 -0
  521. package/dist/components/p-DwgiHL0b.js +5 -0
  522. package/dist/components/p-Jk_KQE5V.js +5 -0
  523. package/dist/components/p-Nze3Utvd.js +5 -0
  524. package/dist/components/p-WxDB6Dk4.js +5 -0
  525. package/dist/components/p-ZLoeVagg.js +5 -0
  526. package/dist/components/p-gbYJ9sfc.js +5 -0
  527. package/dist/components/p-uc8ABlC_.js +5 -0
  528. package/dist/components/p-v60ypfxD.js +5 -0
  529. package/dist/esm/br-avatar.entry.js +21 -14
  530. package/dist/esm/br-breadcrumb-item.entry.js +2 -2
  531. package/dist/esm/br-breadcrumb.entry.js +49 -22
  532. package/dist/esm/br-button_2.entry.js +77 -35
  533. package/dist/esm/br-card.entry.js +6 -5
  534. package/dist/esm/br-carousel-page.entry.js +3 -3
  535. package/dist/esm/br-carousel.entry.js +78 -22
  536. package/dist/esm/br-checkbox-group.entry.js +157 -27
  537. package/dist/esm/br-checkbox.entry.js +87 -17
  538. package/dist/esm/br-checkgroup.entry.js +5 -2
  539. package/dist/esm/br-collapse_2.entry.js +91 -28
  540. package/dist/esm/br-cookiebar-cookie.entry.js +4 -4
  541. package/dist/esm/br-cookiebar-group.entry.js +4 -4
  542. package/dist/esm/br-cookiebar-header.entry.js +4 -4
  543. package/dist/esm/br-cookiebar-link.entry.js +14 -6
  544. package/dist/esm/br-cookiebar-note-group.entry.js +3 -5
  545. package/dist/esm/br-cookiebar-note.entry.js +4 -4
  546. package/dist/esm/br-cookiebar.entry.js +39 -26
  547. package/dist/esm/br-crumb.entry.js +2 -2
  548. package/dist/esm/br-date-picker_3.entry.js +207 -49
  549. package/dist/esm/br-datetime-picker.entry.js +83 -495
  550. package/dist/esm/br-divider.entry.js +70 -17
  551. package/dist/esm/br-dropdown_2.entry.js +335 -164
  552. package/dist/esm/br-footer-category.entry.js +10 -6
  553. package/dist/esm/br-footer-item.entry.js +9 -4
  554. package/dist/esm/br-footer-legal.entry.js +4 -4
  555. package/dist/esm/br-footer-logo.entry.js +22 -10
  556. package/dist/esm/br-footer-social.entry.js +14 -6
  557. package/dist/esm/br-footer.entry.js +16 -7
  558. package/dist/esm/br-header-function.entry.js +28 -7
  559. package/dist/esm/br-header-link.entry.js +25 -4
  560. package/dist/esm/br-header-list.entry.js +7 -18
  561. package/dist/esm/br-header-logo.entry.js +18 -7
  562. package/dist/esm/br-header.entry.js +96 -37
  563. package/dist/esm/br-icon.entry.js +160 -52
  564. package/dist/esm/br-input.entry.js +152 -42
  565. package/dist/esm/br-item.entry.js +97 -48
  566. package/dist/esm/br-link.entry.js +20 -7
  567. package/dist/esm/br-loading.entry.js +100 -38
  568. package/dist/esm/br-magic-button.entry.js +39 -9
  569. package/dist/esm/br-menu-group.entry.js +14 -3
  570. package/dist/esm/br-menu-header.entry.js +4 -4
  571. package/dist/esm/br-menu-info.entry.js +4 -4
  572. package/dist/esm/br-menu-item.entry.js +27 -5
  573. package/dist/esm/br-menu-link.entry.js +14 -6
  574. package/dist/esm/br-menu-list.entry.js +23 -27
  575. package/dist/esm/br-menu-logo.entry.js +4 -4
  576. package/dist/esm/br-menu-social.entry.js +16 -6
  577. package/dist/esm/br-menu.entry.js +39 -58
  578. package/dist/esm/br-modal.entry.js +44 -42
  579. package/dist/esm/br-notification-body.entry.js +4 -4
  580. package/dist/esm/br-notification-header.entry.js +4 -4
  581. package/dist/esm/br-notification-item.entry.js +14 -8
  582. package/dist/esm/br-notification.entry.js +24 -9
  583. package/dist/esm/br-pagination.entry.js +120 -88
  584. package/dist/esm/br-radio-group.entry.js +108 -59
  585. package/dist/esm/br-radio.entry.js +63 -13
  586. package/dist/esm/br-scrim.entry.js +161 -67
  587. package/dist/esm/br-select-input_3.entry.js +286 -91
  588. package/dist/esm/br-sign-in.entry.js +38 -15
  589. package/dist/esm/br-skip-link-item.entry.js +39 -2
  590. package/dist/esm/br-skip-link.entry.js +50 -33
  591. package/dist/esm/br-skiplink-item.entry.js +22 -6
  592. package/dist/esm/br-slider.entry.js +520 -98
  593. package/dist/esm/br-step_2.entry.js +98 -44
  594. package/dist/esm/br-switch.entry.js +22 -13
  595. package/dist/esm/br-tab-item.entry.js +38 -14
  596. package/dist/esm/br-tab.entry.js +89 -51
  597. package/dist/esm/br-table-body.entry.js +3 -3
  598. package/dist/esm/br-table-cell.entry.js +30 -13
  599. package/dist/esm/br-table-header-cell.entry.js +23 -7
  600. package/dist/esm/br-table-header.entry.js +3 -3
  601. package/dist/esm/br-table-row.entry.js +17 -3
  602. package/dist/esm/br-table.entry.js +68 -22
  603. package/dist/esm/br-tag.entry.js +50 -32
  604. package/dist/esm/br-textarea.entry.js +119 -14
  605. package/dist/esm/br-tooltip.entry.js +88 -42
  606. package/dist/esm/br-upload.entry.js +85 -26
  607. package/dist/esm/br-wizard-panel.entry.js +16 -3
  608. package/dist/esm/br-wizard.entry.js +52 -28
  609. package/dist/esm/{datetime-picker-constants-Bfm58jO6.js → datetime-picker-constants-BtRPYRvA.js} +1 -1
  610. package/dist/esm/{isValid-DIUZX1qS.js → datetime-picker-props-validation-BeTcUTnE.js} +476 -5
  611. package/dist/esm/{event-DFN_so7I.js → event-CfuJQ1DY.js} +1 -1
  612. package/dist/esm/{floating-ui-BavFwMnx.js → floating-ui-CskvaxD5.js} +24 -1
  613. package/dist/esm/{floating-ui.dom-DIK54tTj.js → floating-ui.dom-D9Zo6FlV.js} +201 -114
  614. package/dist/esm/{focus-DxZJrIyL.js → focus-CNwZRgyL.js} +20 -1
  615. package/dist/esm/header-context-BEJGB0Nd.js +15 -0
  616. package/dist/esm/icon.utils-zlORkiHQ.js +43 -0
  617. package/dist/esm/id-BeJxz5TQ.js +34 -0
  618. package/dist/esm/{index-Bo-2igoO.js → index-BQPOWxe5.js} +1 -1
  619. package/dist/esm/{index-C2RBydfd.js → index-ConyRdJe.js} +88 -766
  620. package/dist/esm/index.js +2 -2
  621. package/dist/esm/loader.js +3 -3
  622. package/dist/esm/motion-DWhzxlCx.js +27 -0
  623. package/dist/esm/ownership-CDtFCbKp.js +111 -0
  624. package/dist/esm/prop-warning-BlGV-x0w.js +56 -0
  625. package/dist/esm/props-D07GjR4_.js +116 -0
  626. package/dist/esm/{swipe-Dmfk7eEe.js → swipe-BJZC_NuV.js} +11 -1
  627. package/dist/esm/{validator-D3tVP32U.js → validator-BkWWrDEr.js} +18 -1
  628. package/dist/esm/webcomponents.js +4 -4
  629. package/dist/hydrate/index.js +7541 -2577
  630. package/dist/hydrate/index.mjs +7541 -2577
  631. package/dist/loader/index.d.ts +1 -1
  632. package/dist/types/components/avatar/avatar.d.ts +34 -4
  633. package/dist/types/components/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +14 -2
  634. package/dist/types/components/breadcrumb/breadcrumb.d.ts +66 -5
  635. package/dist/types/components/breadcrumb/crumb/crumb.d.ts +13 -1
  636. package/dist/types/components/button/button.d.ts +45 -8
  637. package/dist/types/components/card/card.d.ts +31 -3
  638. package/dist/types/components/carousel/carousel-page/carousel-page.d.ts +10 -3
  639. package/dist/types/components/carousel/carousel.d.ts +46 -3
  640. package/dist/types/components/checkbox/checkbox.d.ts +59 -6
  641. package/dist/types/components/checkbox-group/checkbox-group.d.ts +47 -5
  642. package/dist/types/components/checkgroup/checkgroup.d.ts +27 -5
  643. package/dist/types/components/collapse/collapse.d.ts +37 -4
  644. package/dist/types/components/cookiebar/cookiebar-cookie/cookiebar-cookie.d.ts +16 -3
  645. package/dist/types/components/cookiebar/cookiebar-group/cookiebar-group.d.ts +15 -6
  646. package/dist/types/components/cookiebar/cookiebar-header/cookiebar-header.d.ts +14 -8
  647. package/dist/types/components/cookiebar/cookiebar-link/cookiebar-link.d.ts +16 -5
  648. package/dist/types/components/cookiebar/cookiebar-note/cookiebar-note.d.ts +13 -3
  649. package/dist/types/components/cookiebar/cookiebar-note-group/cookiebar-note-group.d.ts +13 -3
  650. package/dist/types/components/cookiebar/cookiebar.d.ts +35 -10
  651. package/dist/types/components/datetime-picker/date-picker/date-picker.d.ts +63 -7
  652. package/dist/types/components/datetime-picker/datetime-input/datetime-input.d.ts +51 -9
  653. package/dist/types/components/datetime-picker/datetime-picker-props-validation.d.ts +4 -2
  654. package/dist/types/components/datetime-picker/datetime-picker.d.ts +118 -12
  655. package/dist/types/components/datetime-picker/time-picker/time-picker.d.ts +38 -4
  656. package/dist/types/components/divider/divider.d.ts +45 -8
  657. package/dist/types/components/dropdown/dropdown.d.ts +53 -7
  658. package/dist/types/components/footer/footer-category/footer-category.d.ts +16 -1
  659. package/dist/types/components/footer/footer-item/footer-item.d.ts +17 -1
  660. package/dist/types/components/footer/footer-legal/footer-legal.d.ts +15 -1
  661. package/dist/types/components/footer/footer-logo/footer-logo.d.ts +21 -2
  662. package/dist/types/components/footer/footer-social/footer-social.d.ts +20 -3
  663. package/dist/types/components/footer/footer.d.ts +39 -3
  664. package/dist/types/components/header/header-context.d.ts +1 -0
  665. package/dist/types/components/header/header-function/header-function.d.ts +24 -2
  666. package/dist/types/components/header/header-link/header-link.d.ts +22 -1
  667. package/dist/types/components/header/header-list/header-list.d.ts +16 -8
  668. package/dist/types/components/header/header-logo/header-logo.d.ts +20 -1
  669. package/dist/types/components/header/header.d.ts +47 -7
  670. package/dist/types/components/icon/icon.d.ts +44 -13
  671. package/dist/types/components/icon/icon.utils.d.ts +6 -0
  672. package/dist/types/components/input/input.d.ts +74 -15
  673. package/dist/types/components/item/item.d.ts +44 -6
  674. package/dist/types/components/link/link.d.ts +41 -9
  675. package/dist/types/components/list/list.d.ts +58 -8
  676. package/dist/types/components/loading/loading.d.ts +48 -8
  677. package/dist/types/components/magic-button/magic-button.d.ts +41 -3
  678. package/dist/types/components/menu/menu-group/menu-group.d.ts +19 -1
  679. package/dist/types/components/menu/menu-header/menu-header.d.ts +16 -1
  680. package/dist/types/components/menu/menu-info/menu-info.d.ts +14 -1
  681. package/dist/types/components/menu/menu-item/menu-item.d.ts +27 -3
  682. package/dist/types/components/menu/menu-link/menu-link.d.ts +17 -1
  683. package/dist/types/components/menu/menu-list/menu-list.d.ts +22 -4
  684. package/dist/types/components/menu/menu-logo/menu-logo.d.ts +14 -1
  685. package/dist/types/components/menu/menu-social/menu-social.d.ts +21 -2
  686. package/dist/types/components/menu/menu.d.ts +39 -6
  687. package/dist/types/components/menu/menu.utils.d.ts +2 -6
  688. package/dist/types/components/message/message.d.ts +38 -9
  689. package/dist/types/components/modal/modal.d.ts +40 -4
  690. package/dist/types/components/notification/notification-body/notification-body.d.ts +12 -3
  691. package/dist/types/components/notification/notification-header/notification-header.d.ts +12 -3
  692. package/dist/types/components/notification/notification-item/notification-item.d.ts +15 -3
  693. package/dist/types/components/notification/notification.d.ts +36 -5
  694. package/dist/types/components/pagination/pagination.d.ts +58 -20
  695. package/dist/types/components/radio/radio.d.ts +49 -4
  696. package/dist/types/components/radio-group/radio-group.d.ts +52 -10
  697. package/dist/types/components/scrim/scrim.d.ts +72 -11
  698. package/dist/types/components/scrim/scrim.utils.d.ts +2 -17
  699. package/dist/types/components/select/select-input/select-input.d.ts +22 -4
  700. package/dist/types/components/select/select-list/select-list.d.ts +51 -5
  701. package/dist/types/components/select/select-option/select-option.d.ts +31 -8
  702. package/dist/types/components/select/select.d.ts +152 -13
  703. package/dist/types/components/select/select.types.d.ts +5 -0
  704. package/dist/types/components/sign-in/sign-in.d.ts +32 -4
  705. package/dist/types/components/skip-link/skip-link-item/skip-link-item-alias.d.ts +15 -2
  706. package/dist/types/components/skip-link/skip-link-item/skip-link-item.d.ts +22 -1
  707. package/dist/types/components/skip-link/skip-link.d.ts +37 -3
  708. package/dist/types/components/slider/slider.d.ts +147 -21
  709. package/dist/types/components/slider/slider.types.d.ts +7 -2
  710. package/dist/types/components/slider/slider.utils.d.ts +27 -0
  711. package/dist/types/components/step/step-item/step-item.d.ts +15 -3
  712. package/dist/types/components/step/step.d.ts +47 -12
  713. package/dist/types/components/switch/switch.d.ts +39 -6
  714. package/dist/types/components/tab/tab-item/tab-item.d.ts +24 -4
  715. package/dist/types/components/tab/tab.d.ts +48 -11
  716. package/dist/types/components/table/table-body/table-body.d.ts +10 -6
  717. package/dist/types/components/table/table-cell/table-cell.d.ts +10 -6
  718. package/dist/types/components/table/table-header/table-header.d.ts +10 -6
  719. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +18 -6
  720. package/dist/types/components/table/table-row/table-row.d.ts +11 -6
  721. package/dist/types/components/table/table.d.ts +49 -11
  722. package/dist/types/components/tag/tag.d.ts +55 -7
  723. package/dist/types/components/textarea/textarea.d.ts +75 -5
  724. package/dist/types/components/textarea/textarea.types.d.ts +4 -0
  725. package/dist/types/components/tooltip/tooltip.d.ts +46 -8
  726. package/dist/types/components/upload/upload.d.ts +78 -10
  727. package/dist/types/components/wizard/wizard-panel/wizard-panel.d.ts +20 -2
  728. package/dist/types/components/wizard/wizard.d.ts +44 -7
  729. package/dist/types/components.d.ts +5827 -1354
  730. package/dist/types/shared/utils/floating-ui.d.ts +4 -0
  731. package/dist/types/shared/utils/focus.d.ts +14 -0
  732. package/dist/types/shared/utils/form.d.ts +8 -0
  733. package/dist/types/shared/utils/getRandom.d.ts +1 -0
  734. package/dist/types/shared/utils/id.d.ts +1 -1
  735. package/dist/types/shared/utils/index.d.ts +6 -1
  736. package/dist/types/shared/utils/motion.d.ts +14 -0
  737. package/dist/types/shared/utils/ownership.d.ts +33 -0
  738. package/dist/types/shared/utils/prop-warning.d.ts +7 -0
  739. package/dist/types/shared/utils/props.d.ts +38 -0
  740. package/dist/types/shared/utils/swipe.d.ts +5 -0
  741. package/dist/types/shared/utils/virtual-scroll.d.ts +25 -0
  742. package/dist/types/stencil-public-runtime.d.ts +73 -55
  743. package/dist/webcomponents/index.esm.js +1 -1
  744. package/dist/webcomponents/p-078bd760.entry.js +5 -0
  745. package/dist/webcomponents/p-07c2cdff.entry.js +5 -0
  746. package/dist/webcomponents/{p-7f7506f0.entry.js → p-09817344.entry.js} +1 -1
  747. package/dist/webcomponents/p-0b0cf355.entry.js +5 -0
  748. package/dist/webcomponents/p-0d2ca2f7.entry.js +5 -0
  749. package/dist/webcomponents/p-0d79ca44.entry.js +5 -0
  750. package/dist/webcomponents/p-0fe3c47b.entry.js +5 -0
  751. package/dist/webcomponents/p-116b53c9.entry.js +5 -0
  752. package/dist/webcomponents/p-1240dae7.entry.js +5 -0
  753. package/dist/webcomponents/p-14ff5865.entry.js +5 -0
  754. package/dist/webcomponents/p-15743a02.entry.js +5 -0
  755. package/dist/webcomponents/p-16cebf49.entry.js +5 -0
  756. package/dist/webcomponents/p-1884b9d3.entry.js +5 -0
  757. package/dist/webcomponents/p-19a38e20.entry.js +5 -0
  758. package/dist/webcomponents/p-1d36c8fa.entry.js +5 -0
  759. package/dist/webcomponents/p-1fa4b5b2.entry.js +5 -0
  760. package/dist/webcomponents/p-212c069b.entry.js +5 -0
  761. package/dist/webcomponents/p-23f37cd6.entry.js +5 -0
  762. package/dist/webcomponents/p-24502b63.entry.js +5 -0
  763. package/dist/webcomponents/p-27fb81f3.entry.js +5 -0
  764. package/dist/webcomponents/p-28844490.entry.js +5 -0
  765. package/dist/webcomponents/p-2b41bdcc.entry.js +5 -0
  766. package/dist/webcomponents/p-2cb1e09b.entry.js +5 -0
  767. package/dist/webcomponents/p-2fcda70b.entry.js +5 -0
  768. package/dist/webcomponents/p-3378300c.entry.js +5 -0
  769. package/dist/webcomponents/p-3ae9cf69.entry.js +5 -0
  770. package/dist/webcomponents/p-3b79cd49.entry.js +5 -0
  771. package/dist/webcomponents/p-3c1513ec.entry.js +5 -0
  772. package/dist/webcomponents/p-4118b878.entry.js +5 -0
  773. package/dist/webcomponents/p-4534a3c3.entry.js +5 -0
  774. package/dist/webcomponents/p-48abf568.entry.js +5 -0
  775. package/dist/webcomponents/p-4e5ea05c.entry.js +5 -0
  776. package/dist/webcomponents/p-513ee754.entry.js +5 -0
  777. package/dist/webcomponents/p-521a1076.entry.js +5 -0
  778. package/dist/webcomponents/p-59fc52c0.entry.js +5 -0
  779. package/dist/webcomponents/p-5a7c2031.entry.js +5 -0
  780. package/dist/webcomponents/p-5a9f4ea2.entry.js +5 -0
  781. package/dist/webcomponents/p-5f422a69.entry.js +5 -0
  782. package/dist/webcomponents/p-61977114.entry.js +5 -0
  783. package/dist/webcomponents/p-6850e98e.entry.js +5 -0
  784. package/dist/webcomponents/p-71853dfc.entry.js +5 -0
  785. package/dist/webcomponents/p-76d51654.entry.js +5 -0
  786. package/dist/webcomponents/p-77e242f3.entry.js +5 -0
  787. package/dist/webcomponents/p-7b849472.entry.js +5 -0
  788. package/dist/webcomponents/p-7dbfb875.entry.js +5 -0
  789. package/dist/webcomponents/p-7fa7f052.entry.js +5 -0
  790. package/dist/webcomponents/p-81c65747.entry.js +5 -0
  791. package/dist/webcomponents/p-82759002.entry.js +5 -0
  792. package/dist/webcomponents/p-91a5329f.entry.js +5 -0
  793. package/dist/webcomponents/p-94848046.entry.js +5 -0
  794. package/dist/webcomponents/p-966773a9.entry.js +5 -0
  795. package/dist/webcomponents/p-9abb5a53.entry.js +5 -0
  796. package/dist/webcomponents/p-9bf2e325.entry.js +5 -0
  797. package/dist/webcomponents/p-9c943b40.entry.js +5 -0
  798. package/dist/webcomponents/p-9ec3ca00.entry.js +5 -0
  799. package/dist/webcomponents/p-B0PbhaxL.js +5 -0
  800. package/dist/webcomponents/p-BEJGB0Nd.js +5 -0
  801. package/dist/{components/p-Dmfk7eEe.js → webcomponents/p-BJZC_NuV.js} +1 -1
  802. package/dist/webcomponents/p-BJtdabsr.js +5 -0
  803. package/dist/webcomponents/p-BeJxz5TQ.js +5 -0
  804. package/dist/webcomponents/p-BkWWrDEr.js +5 -0
  805. package/dist/webcomponents/p-BlGV-x0w.js +5 -0
  806. package/dist/webcomponents/{p-Bfm58jO6.js → p-BtRPYRvA.js} +1 -1
  807. package/dist/webcomponents/p-CDtFCbKp.js +5 -0
  808. package/dist/webcomponents/p-CNwZRgyL.js +5 -0
  809. package/dist/webcomponents/{p-DFN_so7I.js → p-CfuJQ1DY.js} +1 -1
  810. package/dist/webcomponents/p-ConyRdJe.js +7 -0
  811. package/dist/webcomponents/p-D9Zo6FlV.js +5 -0
  812. package/dist/webcomponents/{p-BhMVJQ4-.js → p-DV-iW9Aj.js} +1 -1
  813. package/dist/webcomponents/p-DWhzxlCx.js +5 -0
  814. package/dist/webcomponents/p-EbtQZm5s.js +5 -0
  815. package/dist/webcomponents/p-ad91f149.entry.js +5 -0
  816. package/dist/webcomponents/p-aeea1f17.entry.js +5 -0
  817. package/dist/webcomponents/p-b02a7218.entry.js +5 -0
  818. package/dist/webcomponents/p-b16590fc.entry.js +5 -0
  819. package/dist/webcomponents/{p-12286e73.entry.js → p-b55425b7.entry.js} +1 -1
  820. package/dist/webcomponents/p-c1dafd8d.entry.js +5 -0
  821. package/dist/webcomponents/p-c2ca0289.entry.js +5 -0
  822. package/dist/webcomponents/p-c8af334e.entry.js +5 -0
  823. package/dist/webcomponents/p-cac49c6a.entry.js +5 -0
  824. package/dist/webcomponents/p-cb9ebfbe.entry.js +5 -0
  825. package/dist/webcomponents/p-ce3d689c.entry.js +5 -0
  826. package/dist/webcomponents/p-d11f95a0.entry.js +5 -0
  827. package/dist/webcomponents/p-d5d2205c.entry.js +5 -0
  828. package/dist/webcomponents/p-dad03b49.entry.js +5 -0
  829. package/dist/webcomponents/p-db8e6322.entry.js +5 -0
  830. package/dist/webcomponents/p-dea8015f.entry.js +5 -0
  831. package/dist/webcomponents/p-e07e309d.entry.js +5 -0
  832. package/dist/webcomponents/p-e53d874b.entry.js +5 -0
  833. package/dist/webcomponents/p-e5540387.entry.js +5 -0
  834. package/dist/webcomponents/p-e94a52ac.entry.js +5 -0
  835. package/dist/webcomponents/p-e9be4d3f.entry.js +5 -0
  836. package/dist/webcomponents/p-e9db9381.entry.js +5 -0
  837. package/dist/webcomponents/p-edca5de1.entry.js +5 -0
  838. package/dist/webcomponents/p-ee5b9fc9.entry.js +5 -0
  839. package/dist/webcomponents/p-f4ef8c63.entry.js +5 -0
  840. package/dist/webcomponents/p-zlORkiHQ.js +5 -0
  841. package/dist/webcomponents/webcomponents.esm.js +1 -1
  842. package/package.json +18 -3
  843. package/dist/cjs/clamp-Co_hWptd.js +0 -25
  844. package/dist/cjs/id-CjRFMzf6.js +0 -20
  845. package/dist/cjs/props-CScmBvKd.js +0 -24
  846. package/dist/collection/pages/components/cookiebar/index.js +0 -26
  847. package/dist/collection/pages/components/link/index.js +0 -29
  848. package/dist/collection/pages/components/pagination/index.js +0 -12
  849. package/dist/collection/pages/components/slider/index.js +0 -18
  850. package/dist/components/p-6OdfnwnK.js +0 -5
  851. package/dist/components/p-AmOh1cks.js +0 -5
  852. package/dist/components/p-B4ylcipx.js +0 -5
  853. package/dist/components/p-BCv4PCOx.js +0 -5
  854. package/dist/components/p-BLOyd_iF.js +0 -5
  855. package/dist/components/p-BODem6tr.js +0 -5
  856. package/dist/components/p-Bb-nLtTG.js +0 -5
  857. package/dist/components/p-BeFK-82z.js +0 -5
  858. package/dist/components/p-BkS6ujyf.js +0 -5
  859. package/dist/components/p-BloE-KAN.js +0 -5
  860. package/dist/components/p-BoSc_kmY.js +0 -5
  861. package/dist/components/p-BrH3r7eL.js +0 -5
  862. package/dist/components/p-BsZ0Ny88.js +0 -5
  863. package/dist/components/p-ByHVf7zy.js +0 -5
  864. package/dist/components/p-CdDwqbBv.js +0 -5
  865. package/dist/components/p-CdF-gmk1.js +0 -5
  866. package/dist/components/p-CfyjGPGI.js +0 -5
  867. package/dist/components/p-CjF7pBVQ.js +0 -5
  868. package/dist/components/p-ClqtllDH.js +0 -5
  869. package/dist/components/p-CqW2Yh34.js +0 -5
  870. package/dist/components/p-DIK54tTj.js +0 -5
  871. package/dist/components/p-DLE5ioJN.js +0 -5
  872. package/dist/components/p-DQRSHR-D.js +0 -5
  873. package/dist/components/p-DRVMm1Py.js +0 -5
  874. package/dist/components/p-DRnCpVrL.js +0 -5
  875. package/dist/components/p-DVdlaP7z.js +0 -5
  876. package/dist/components/p-DeeF6ok0.js +0 -5
  877. package/dist/components/p-Dim2PnUm.js +0 -5
  878. package/dist/components/p-Dk8rfQjL.js +0 -5
  879. package/dist/components/p-DkmEpoef.js +0 -5
  880. package/dist/components/p-DwfAYaEv.js +0 -5
  881. package/dist/components/p-DxZJrIyL.js +0 -5
  882. package/dist/components/p-P2Z_MmH6.js +0 -5
  883. package/dist/components/p-Xa0Mj4pP.js +0 -5
  884. package/dist/components/p-_vsQvdxD.js +0 -5
  885. package/dist/components/p-aNjo4Alx.js +0 -5
  886. package/dist/components/p-gvnfuTjd.js +0 -5
  887. package/dist/components/p-rB-s1M3Q.js +0 -5
  888. package/dist/esm/clamp-gvnfuTjd.js +0 -23
  889. package/dist/esm/id-BkS6ujyf.js +0 -18
  890. package/dist/esm/props-DRVMm1Py.js +0 -22
  891. package/dist/webcomponents/p-00cc31f9.entry.js +0 -5
  892. package/dist/webcomponents/p-026475bd.entry.js +0 -5
  893. package/dist/webcomponents/p-0291ab28.entry.js +0 -5
  894. package/dist/webcomponents/p-03e5a7dc.entry.js +0 -5
  895. package/dist/webcomponents/p-060df8ee.entry.js +0 -5
  896. package/dist/webcomponents/p-09fce2a5.entry.js +0 -5
  897. package/dist/webcomponents/p-1002bbff.entry.js +0 -5
  898. package/dist/webcomponents/p-1124de33.entry.js +0 -5
  899. package/dist/webcomponents/p-12e97d80.entry.js +0 -5
  900. package/dist/webcomponents/p-1580beee.entry.js +0 -5
  901. package/dist/webcomponents/p-1b19b191.entry.js +0 -5
  902. package/dist/webcomponents/p-2baf353b.entry.js +0 -5
  903. package/dist/webcomponents/p-2eb9a42c.entry.js +0 -5
  904. package/dist/webcomponents/p-30c82805.entry.js +0 -5
  905. package/dist/webcomponents/p-31bd1c74.entry.js +0 -5
  906. package/dist/webcomponents/p-31db2313.entry.js +0 -5
  907. package/dist/webcomponents/p-33a3dc63.entry.js +0 -5
  908. package/dist/webcomponents/p-3889c51f.entry.js +0 -5
  909. package/dist/webcomponents/p-3f2c179a.entry.js +0 -5
  910. package/dist/webcomponents/p-470eb770.entry.js +0 -5
  911. package/dist/webcomponents/p-4ae387ae.entry.js +0 -5
  912. package/dist/webcomponents/p-4e65df84.entry.js +0 -5
  913. package/dist/webcomponents/p-51a62876.entry.js +0 -5
  914. package/dist/webcomponents/p-5860b96b.entry.js +0 -5
  915. package/dist/webcomponents/p-5b9c01e9.entry.js +0 -5
  916. package/dist/webcomponents/p-5df2f1dd.entry.js +0 -5
  917. package/dist/webcomponents/p-5f3f7b3f.entry.js +0 -5
  918. package/dist/webcomponents/p-5f6afb79.entry.js +0 -5
  919. package/dist/webcomponents/p-5f9c28a7.entry.js +0 -5
  920. package/dist/webcomponents/p-62511921.entry.js +0 -5
  921. package/dist/webcomponents/p-63b52947.entry.js +0 -5
  922. package/dist/webcomponents/p-67a8e0b7.entry.js +0 -5
  923. package/dist/webcomponents/p-6OdfnwnK.js +0 -5
  924. package/dist/webcomponents/p-7b2a5fec.entry.js +0 -5
  925. package/dist/webcomponents/p-7f95e2f5.entry.js +0 -5
  926. package/dist/webcomponents/p-8128833c.entry.js +0 -5
  927. package/dist/webcomponents/p-8200ccb1.entry.js +0 -5
  928. package/dist/webcomponents/p-82b100fd.entry.js +0 -5
  929. package/dist/webcomponents/p-8806df15.entry.js +0 -5
  930. package/dist/webcomponents/p-881eb81a.entry.js +0 -5
  931. package/dist/webcomponents/p-8bd3d541.entry.js +0 -5
  932. package/dist/webcomponents/p-90648343.entry.js +0 -5
  933. package/dist/webcomponents/p-9100a5f7.entry.js +0 -5
  934. package/dist/webcomponents/p-91313d77.entry.js +0 -5
  935. package/dist/webcomponents/p-946b2ac0.entry.js +0 -5
  936. package/dist/webcomponents/p-98e7ccb9.entry.js +0 -5
  937. package/dist/webcomponents/p-99f2bddb.entry.js +0 -5
  938. package/dist/webcomponents/p-9adbdb0a.entry.js +0 -5
  939. package/dist/webcomponents/p-9c260049.entry.js +0 -5
  940. package/dist/webcomponents/p-9ed51017.entry.js +0 -5
  941. package/dist/webcomponents/p-BkS6ujyf.js +0 -5
  942. package/dist/webcomponents/p-C2RBydfd.js +0 -6
  943. package/dist/webcomponents/p-CO5cOQQU.js +0 -5
  944. package/dist/webcomponents/p-D3tVP32U.js +0 -5
  945. package/dist/webcomponents/p-DIK54tTj.js +0 -5
  946. package/dist/webcomponents/p-DRVMm1Py.js +0 -5
  947. package/dist/webcomponents/p-DxZJrIyL.js +0 -5
  948. package/dist/webcomponents/p-a0b299dd.entry.js +0 -5
  949. package/dist/webcomponents/p-a2c5fad0.entry.js +0 -5
  950. package/dist/webcomponents/p-a3e044d7.entry.js +0 -5
  951. package/dist/webcomponents/p-a9f23aa7.entry.js +0 -5
  952. package/dist/webcomponents/p-a9f2fcbc.entry.js +0 -5
  953. package/dist/webcomponents/p-b6c68136.entry.js +0 -5
  954. package/dist/webcomponents/p-b6e9b8d1.entry.js +0 -5
  955. package/dist/webcomponents/p-c333eac6.entry.js +0 -5
  956. package/dist/webcomponents/p-c3732fd6.entry.js +0 -5
  957. package/dist/webcomponents/p-c458ed0e.entry.js +0 -5
  958. package/dist/webcomponents/p-c91000ff.entry.js +0 -5
  959. package/dist/webcomponents/p-c9c6ab2d.entry.js +0 -5
  960. package/dist/webcomponents/p-cd2550d6.entry.js +0 -5
  961. package/dist/webcomponents/p-cf42613f.entry.js +0 -5
  962. package/dist/webcomponents/p-d0b0b420.entry.js +0 -5
  963. package/dist/webcomponents/p-d1b32ee8.entry.js +0 -5
  964. package/dist/webcomponents/p-db65b083.entry.js +0 -5
  965. package/dist/webcomponents/p-de7c101d.entry.js +0 -5
  966. package/dist/webcomponents/p-dfb77dd0.entry.js +0 -5
  967. package/dist/webcomponents/p-e258da78.entry.js +0 -5
  968. package/dist/webcomponents/p-e31ddd42.entry.js +0 -5
  969. package/dist/webcomponents/p-e8d82227.entry.js +0 -5
  970. package/dist/webcomponents/p-e988cf1d.entry.js +0 -5
  971. package/dist/webcomponents/p-ed9122a1.entry.js +0 -5
  972. package/dist/webcomponents/p-ee347d2e.entry.js +0 -5
  973. package/dist/webcomponents/p-f1c01d52.entry.js +0 -5
  974. package/dist/webcomponents/p-f5baf8be.entry.js +0 -5
  975. package/dist/webcomponents/p-fb593739.entry.js +0 -5
  976. package/dist/webcomponents/p-fff9acd4.entry.js +0 -5
  977. package/dist/webcomponents/p-gvnfuTjd.js +0 -5
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as i,c as e,h as o,d as s,t as n}from"./p-Jk_KQE5V.js";import{g as r}from"./p-BeJxz5TQ.js";import{g as a}from"./p-DWhzxlCx.js";import{a as l,s as h}from"./p-B55qsau4.js";import{c,a as d,r as g}from"./p-DiLI514I.js";import{c as u}from"./p-cF3ia5e9.js";const m=()=>"undefined"!=typeof window&&"undefined"!=typeof document,p={lockCount:0,config:{bodyClassName:"bq-body--scroll-lock"},scrollY:0,previousBodyStyle:{},previousDocumentOverflow:""},b=t=>{document.body.classList[t?"add":"remove"](p.config.bodyClassName)},f=()=>{m()&&0!==p.lockCount&&(p.lockCount=Math.max(0,p.lockCount-1),0===p.lockCount&&(document.body.style.position=p.previousBodyStyle.position??"",document.body.style.top=p.previousBodyStyle.top??"",document.body.style.left=p.previousBodyStyle.left??"",document.body.style.right=p.previousBodyStyle.right??"",document.body.style.width=p.previousBodyStyle.width??"",document.documentElement.style.overflow=p.previousDocumentOverflow,window.scrollTo(0,p.scrollY),b(!1)))},v=t(class t extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.brScrimOpen=e(this,"brScrimOpen",7),this.brScrimClose=e(this,"brScrimClose",7),this.legibilityBatch=u((()=>this.computeLegibilityRect())),this.hasActivatorSlot=!1,this.spotlightRect=null,this.customId=r(),this.isOpen=!1,this.disableCloseOnClick=!1,this.zIndex=null,this.bgColor=null,this.customOpacity=null,this.displayMode="fullscreen",this.scrollThreshold=50,this.activator=null,this.ariaLabel=null,this.variant="focus",this.legibilityAnchor="bottom",this.legibilitySize=null,this.legibilityTargetId=null,this.spotlightTargetId=null,this.spotlightPadding=8,this.spotlightShape="rect",this.contentLayout="default",this.displayModeExplicit=!1,this.contentRef=null,this.activatorElement=null,this.lastScrollTop=0,this.scrollOrigin=null,this.previouslyFocusedElement=null,this.focusTimeoutId=null,this.restoreFocusTimeoutId=null,this.spotlightResizeObserver=null,this.spotlightTargetElement=null,this.scrimDivRef=null,this.nativeDialogRef=null,this.legibilityResizeObserver=null,this.globalInterceptionAttached=!1,this.isModalFocusing=!1,this.modalFocusSuppressId=null,this.handleModalFocusReady=()=>{this.isModalFocusing&&(this.isModalFocusing=!1,null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null))},this.handleModalOpen=t=>{this.isDirectChild(t.target)&&(this.suppressFocusGuard(),this.isOpen||this.open())},this.handleModalClose=t=>{this.isDirectChild(t.target)&&this.close()},this.handleActivatorClick=()=>{this.toggle()},this.handleScrollClose=()=>{if("close"===this.effectiveScrollStrategy&&this.isActive){const t=this.getScrollPosition();if(Math.abs(t-(this.scrollOrigin??this.lastScrollTop))>this.effectiveScrollThreshold){if(this.scrollOrigin=null,this.hasModalWithAutoClose())return;return void(this.isOpen=!1)}this.lastScrollTop=t}},this.handleKeyDown=t=>{if(this.isActive)if(this.shouldHandleEscape(t))this.isOpen=!1;else if("Tab"===t.key){const i=this.findModalChild();if(i?.show)return;this.handleTabNavigation(t)}},this.handleGlobalKeyDown=t=>{if(!this.isActive)return;if("Escape"===t.key&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;return t.preventDefault(),void(this.isOpen=!1)}const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void this.focusFirstElement())},this.handleGlobalClick=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target;return this.isElementInsideScrim(i)?void 0:(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),void(this.disableCloseOnClick||this.close()))},this.handleGlobalFocus=t=>{if(!this.isActive)return;const i=t.composedPath?.()[0]??t.target,e=this.isElementInsideScrim(i);this.isModalFocusing||e||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),requestAnimationFrame((()=>{this.focusFirstElement()})))},this.handleMaskClick=()=>{if(!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;if("none"===this.effectiveContentLayout)return void this.brScrimClose.emit();this.close()}},this.handleNativeCancel=t=>{t.preventDefault(),this.isOpen=!1},this.computeSpotlightRect=()=>{if(null===this.spotlightTargetElement)return;const t=this.spotlightTargetElement.getBoundingClientRect();if("parent"===this.effectiveDisplayMode&&null!==this.el.parentElement){const i=this.el.parentElement.getBoundingClientRect();this.spotlightRect=new DOMRect(t.left-i.left,t.top-i.top,t.width,t.height)}else this.spotlightRect=new DOMRect(t.left,t.top,t.width,t.height)},this.computeLegibilityRect=()=>{const t=this.resolveLegibilityTarget();if(null===t||null===this.scrimDivRef)return;const i=t.getBoundingClientRect();this.scrimDivRef.style.setProperty("position","fixed"),this.scrimDivRef.style.setProperty("inset","unset"),this.scrimDivRef.style.setProperty("top","0"),this.scrimDivRef.style.setProperty("left","0"),this.scrimDivRef.style.setProperty("width",`${i.width}px`),this.scrimDivRef.style.setProperty("height",`${i.height}px`);const e=this.scrimDivRef.getBoundingClientRect();this.scrimDivRef.style.setProperty("top",i.top-e.top+"px"),this.scrimDivRef.style.setProperty("left",i.left-e.left+"px")},this.scheduleLegibilityRect=()=>this.legibilityBatch.schedule(void 0)}get isActive(){return this.isLegibilityVariant||this.isOpen}get effectiveCustomOpacity(){return c(this.el,"customOpacity",this.customOpacity,0,1,.4,{allowNull:!0})}get effectiveScrollThreshold(){return c(this.el,"scrollThreshold",this.scrollThreshold,0,Number.MAX_SAFE_INTEGER,50)}get effectiveSpotlightPadding(){return c(this.el,"spotlightPadding",this.spotlightPadding,0,Number.MAX_SAFE_INTEGER,8)}get effectiveZIndex(){return d(this.el,"zIndex",this.zIndex,0,Number.MAX_SAFE_INTEGER,0,{allowNull:!0})}get effectivePositionContent(){return g(this.el,"positionContent",this.positionContent,["top","center","right","left","bottom"],"center")}get effectiveScrollStrategy(){return g(this.el,"scrollStrategy",this.scrollStrategy,["block","close"],"block")}get effectiveVariant(){return g(this.el,"variant",this.variant,["focus","spotlight","legibility"],"focus")}get effectiveLegibilityAnchor(){return g(this.el,"legibilityAnchor",this.legibilityAnchor,["top","bottom","left","right","center"],"bottom")}get effectiveSpotlightShape(){return g(this.el,"spotlightShape",this.spotlightShape,["rect","rounded","circle"],"rect")}get effectiveContentLayout(){return g(this.el,"contentLayout",this.contentLayout,["default","none"],"default")}handleOpenChange(t){if(null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),this.isLegibilityVariant)return this.updateStyles(),void(t&&this.brScrimOpen.emit());if(t&&"close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t}this.updateStyles(),this.isActive?(this.previouslyFocusedElement=document.activeElement,this.applyScrollStrategy(),"none"===this.effectiveContentLayout||this.usesNativeTopLayer||(this.addGlobalEventInterception(),null!==this.findModalChild()?this.suppressFocusGuard():this.focusTimeoutId=setTimeout((()=>{this.focusFirstElement()}),100)),this.setupSpotlight(),this.brScrimOpen.emit()):(this.closeModalChild(),this.cleanupSpotlight(),this.resetScrolling(),"none"!==this.effectiveContentLayout&&(this.removeGlobalEventInterception(),this.restoreFocus(),this.brScrimClose.emit()))}updateStyles(){this.applyVariantDefaults(),null!=this.effectiveZIndex&&(this.el.style.zIndex=`${this.effectiveZIndex}`,this.el.style.setProperty("--z-index-layer-4",`${this.effectiveZIndex}`)),null!==this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim",this.bgColor),null!==this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity",`${this.effectiveCustomOpacity}`)}handleVariantChange(){this.updateStyles(),this.isActive&&(this.isLegibilityVariant?(this.removeGlobalEventInterception(),this.resetScrolling(),this.cleanupSpotlight(),this.setupLegibility()):"spotlight"===this.effectiveVariant?(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.setupSpotlight()):(this.cleanupLegibility(),this.usesNativeTopLayer||this.addGlobalEventInterception(),this.cleanupSpotlight()))}handleLayerModeChange(){this.removeGlobalEventInterception(),this.isActive&&"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer&&this.addGlobalEventInterception()}handleSpotlightChange(){this.isActive&&this.setupSpotlight()}handleLegibilityTargetChange(){this.isActive&&this.isLegibilityVariant&&this.setupLegibility()}handleActivatorChange(){this.removeActivatorClickListener(),this.setupActivator()}connectedCallback(){if("close"===this.effectiveScrollStrategy){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}}disconnectedCallback(){null!==this.focusTimeoutId&&(clearTimeout(this.focusTimeoutId),this.focusTimeoutId=null),null!==this.restoreFocusTimeoutId&&(clearTimeout(this.restoreFocusTimeoutId),this.restoreFocusTimeoutId=null),window.removeEventListener("scroll",this.handleScrollClose),"block"===this.effectiveScrollStrategy&&this.isActive&&f(),null!==this.contentRef&&this.contentRef.removeEventListener("keydown",this.handleKeyDown),this.removeActivatorClickListener(),this.cleanupActivatorSlotClick(),this.removeGlobalEventInterception(),this.removeModalEventListener(),this.cleanupSpotlight(),this.cleanupLegibility(),null!==this.modalFocusSuppressId&&(clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=null)}componentWillLoad(){this.hasActivatorSlot=this.checkActivatorSlot("activator"),this.displayModeExplicit=this.el.hasAttribute("display-mode")}componentDidLoad(){this.updateStyles(),this.setupActivator(),this.setupActivatorSlotClick(),this.addContentEventListener(),this.listenToModalEvents(),this.isLegibilityVariant?this.setupLegibility():this.isActive&&(this.applyScrollStrategy(),"none"!==this.effectiveContentLayout&&!this.usesNativeTopLayer)&&(this.addGlobalEventInterception(),null===this.findModalChild()?(this.focusFirstElement(),this.setupSpotlight()):this.suppressFocusGuard())}componentDidRender(){l(this.nativeDialogRef,this.isActive&&this.usesNativeDialog),this.isLegibilityVariant&&this.computeLegibilityRect()}async setScrollThreshold(t){this.scrollThreshold=c(this.el,"scrollThreshold",t,0,Number.MAX_SAFE_INTEGER,50)}async open(){this.isOpen=!0}async close(){this.isLegibilityVariant||(this.isOpen=!1)}async toggle(){this.isLegibilityVariant||(this.isOpen=!this.isActive)}async updateSpotlight(){this.computeSpotlightRect()}addContentEventListener(){null!==this.contentRef&&this.contentRef.addEventListener("keydown",this.handleKeyDown)}suppressFocusGuard(t=1e3){this.isModalFocusing=!0,null!==this.modalFocusSuppressId&&clearTimeout(this.modalFocusSuppressId),this.modalFocusSuppressId=setTimeout((()=>{this.isModalFocusing=!1,this.modalFocusSuppressId=null}),t)}isDirectChild(t){return this.getDirectChildren().some((i=>i===t||i.contains(t)))}listenToModalEvents(){this.el.addEventListener("brModalOpen",this.handleModalOpen),this.el.addEventListener("brModalClose",this.handleModalClose),this.el.addEventListener("brModalOpened",this.handleModalFocusReady)}removeModalEventListener(){this.el.removeEventListener("brModalOpen",this.handleModalOpen),this.el.removeEventListener("brModalClose",this.handleModalClose),this.el.removeEventListener("brModalOpened",this.handleModalFocusReady)}getDirectChildren(){const t=this.el.shadowRoot;if(null===t)return[];const i=t.querySelector("slot:not([name])");return null===i?[]:i.assignedElements()}findModalChild(){return this.getDirectChildren().find((t=>"BR-MODAL"===t.tagName))??null}hasModalWithAutoClose(){const t=this.findModalChild();return null!==t&&!0!==t.autoClose}closeModalChild(){const t=this.findModalChild();t?.show&&(t.show=!1)}checkActivatorSlot(t){return null!==this.el.querySelector(`[slot="${t}"]`)}setupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]');if(null==t)return;const i=t.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.addEventListener&&t.addEventListener("click",this.handleActivatorClick)}else i.length>1&&console.warn('br-scrim: Slot "activator" deve conter apenas um elemento para aplicar o onClick automaticamente.')}setupActivator(){if(this.removeActivatorClickListener(),this.activatorElement=null,!this.hasActivatorSlot&&null!=this.activator&&""!==this.activator){if("parent"===this.activator){const t=this.el.parentElement;null!==t&&(this.activatorElement=t)}else try{const t=document.querySelector(this.activator);t instanceof i&&(this.activatorElement=t)}catch{console.warn(`br-scrim: Seletor activator inválido: ${this.activator}`)}this.addActivatorClickListener()}}addActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.addEventListener("click",this.handleActivatorClick)}removeActivatorClickListener(){null!=this.activatorElement&&this.activatorElement.removeEventListener("click",this.handleActivatorClick)}cleanupActivatorSlotClick(){if(null===this.el.shadowRoot)return;const t=this.el.shadowRoot.querySelector('slot[name="activator"]'),i=t?.assignedElements?.()??[];if(1===i.length){const t=i[0];t&&"function"==typeof t.removeEventListener&&t.removeEventListener("click",this.handleActivatorClick)}}applyScrollStrategy(){"block"===this.effectiveScrollStrategy?this.enableScrollBlock():"close"===this.effectiveScrollStrategy&&this.enableScrollWatcher()}getScrollPosition(){const t=this.el?.ownerDocument?.defaultView||window;return t?.scrollY??t?.pageYOffset??0}enableScrollBlock(){m()&&(p.lockCount++,1===p.lockCount&&(b(!0),p.scrollY=window.scrollY||window.pageYOffset||0,p.previousBodyStyle={left:document.body.style.left,position:document.body.style.position,right:document.body.style.right,top:document.body.style.top,width:document.body.style.width},p.previousDocumentOverflow=document.documentElement.style.overflow,document.body.style.position="fixed",document.body.style.top=`-${p.scrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",document.documentElement.style.overflow="hidden"))}enableScrollWatcher(){const t=window.scrollY;this.lastScrollTop=t,this.scrollOrigin=t,window.addEventListener("scroll",this.handleScrollClose,{passive:!0})}resetScrolling(){"block"===this.effectiveScrollStrategy&&f(),window.removeEventListener("scroll",this.handleScrollClose),this.scrollOrigin=null}focusFirstElement(){if(null==this.contentRef)return;const t=this.findModalChild();if(t?.show){const i=t.shadowRoot?.querySelector(".br-modal");return void i?.focus()}this.contentRef.setAttribute("tabindex","-1"),this.contentRef.focus();const i=this.getFocusableElements();if(i.length>0){const t=i[0];null!=t&&(t.scrollIntoView({behavior:a(),block:"nearest",inline:"nearest"}),t.focus({preventScroll:!0}))}}restoreFocus(){let t=null;if(this.previouslyFocusedElement instanceof i&&this.previouslyFocusedElement.isConnected)t=this.previouslyFocusedElement;else if(this.activatorElement instanceof i)t=this.activatorElement;else{const e=this.el.shadowRoot?.querySelector('slot[name="activator"]');if(this.hasActivatorSlot){const o=e.assignedElements?.()??[];o.length>0&&o[0]instanceof i&&(t=o[0])}}null!=t&&(this.restoreFocusTimeoutId=setTimeout((()=>{try{t?.focus()}catch(t){console.warn("br-scrim: Erro ao restaurar foco:",t)}}),100))}getFocusableElements(){if(null==this.contentRef)return[];const e=this.contentRef.querySelector("slot:not([name])");if(null==e)return[];const o=e.assignedElements({flatten:!0}),s=[];return o.forEach((e=>{if(!(e instanceof i))return;e.matches(t.FOCUSABLE_SELECTORS)&&s.push(e);const o=Array.from(e.querySelectorAll(t.FOCUSABLE_SELECTORS));s.push(...o)})),this.filterVisibleElements(s)}filterVisibleElements(t){return t.filter((t=>t.offsetWidth>0&&t.offsetHeight>0&&"hidden"!==getComputedStyle(t).visibility))}handleDocumentKeyDown(t){if(this.isActive&&("Escape"===t.key||"Esc"===t.key)&&!this.disableCloseOnClick){if(this.hasModalWithAutoClose())return;this.close()}}shouldHandleEscape(t){return("Escape"===t.key||"Esc"===t.key)&&this.isActive}handleTabNavigation(t){const i=this.getFocusableElements();if(0===i.length)return void t.preventDefault();const e=i[0],o=i[i.length-1],s=!t.shiftKey;this.shouldTrapFocus(s,e,o,t)&&(t.preventDefault(),this.wrapFocus(s,e,o))}shouldTrapFocus(t,i,e,o){const s=o?.composedPath?.()[0]??document.activeElement;return t&&s===e||!t&&s===i}wrapFocus(t,i,e){(t?i:e).focus()}isElementInsideScrim(t){if(this.el.contains(t))return!0;let i=t;for(;null!==i&&i!==document;){const t=i.getRootNode();if(!(t instanceof ShadowRoot))break;{const e=t.host;if(this.el.contains(e))return!0;i=e}}return!1}addGlobalEventInterception(){this.globalInterceptionAttached||(document.addEventListener("keydown",this.handleGlobalKeyDown,!0),document.addEventListener("click",this.handleGlobalClick,!0),document.addEventListener("mousedown",this.handleGlobalClick,!0),document.addEventListener("mouseup",this.handleGlobalClick,!0),document.addEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!0)}removeGlobalEventInterception(){this.globalInterceptionAttached&&(document.removeEventListener("keydown",this.handleGlobalKeyDown,!0),document.removeEventListener("click",this.handleGlobalClick,!0),document.removeEventListener("mousedown",this.handleGlobalClick,!0),document.removeEventListener("mouseup",this.handleGlobalClick,!0),document.removeEventListener("focusin",this.handleGlobalFocus,!0),this.globalInterceptionAttached=!1)}get isLegibilityVariant(){return"legibility"===this.effectiveVariant}get effectiveDisplayMode(){return"legibility"!==this.effectiveVariant||this.displayModeExplicit?g(this.el,"displayMode",this.displayMode,["fullscreen","parent"],"fullscreen"):"parent"}get usesNativeDialog(){return"fullscreen"===this.effectiveDisplayMode&&!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout}get usesNativeTopLayer(){return this.usesNativeDialog&&h()}applyVariantDefaults(){switch(this.el.style.removeProperty("--surface-overlay-scrim"),this.el.style.removeProperty("--br-scrim-opacity"),this.el.style.removeProperty("--br-scrim-mask-size"),this.effectiveVariant){case"focus":case"spotlight":null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.4");break;case"legibility":null!==this.legibilitySize?this.el.style.setProperty("--br-scrim-mask-size",this.legibilitySize):this.el.style.removeProperty("--br-scrim-mask-size"),null===this.bgColor&&this.el.style.setProperty("--surface-overlay-scrim","#000000"),null===this.effectiveCustomOpacity&&this.el.style.setProperty("--br-scrim-opacity","0.64")}}setupSpotlight(){if(this.cleanupSpotlight(),"spotlight"!==this.effectiveVariant)return;const t=this.resolveSpotlightTarget();null!==t&&(this.spotlightTargetElement=t,this.computeSpotlightRect(),"undefined"!=typeof ResizeObserver&&(this.spotlightResizeObserver=new ResizeObserver(this.computeSpotlightRect),this.spotlightResizeObserver.observe(t)),window.addEventListener("resize",this.computeSpotlightRect),window.addEventListener("scroll",this.computeSpotlightRect,{capture:!0,passive:!0}))}cleanupSpotlight(){null!==this.spotlightResizeObserver&&(this.spotlightResizeObserver.disconnect(),this.spotlightResizeObserver=null),this.spotlightTargetElement=null,this.spotlightRect=null,window.removeEventListener("resize",this.computeSpotlightRect),window.removeEventListener("scroll",this.computeSpotlightRect,!0)}resolveSpotlightTarget(){if(null!==this.spotlightTargetId&&""!==this.spotlightTargetId)try{return document.querySelector(this.spotlightTargetId)}catch{console.warn(`br-scrim: Seletor spotlightTargetId inválido: ${this.spotlightTargetId}`)}return null}setupLegibility(){if(this.cleanupLegibility(),!this.isLegibilityVariant)return;const t=this.resolveLegibilityTarget();if(null!==t){if(this.computeLegibilityRect(),"undefined"!=typeof ResizeObserver){this.legibilityResizeObserver=new ResizeObserver((()=>this.scheduleLegibilityRect())),this.legibilityResizeObserver.observe(t);let i=t.parentElement;for(;null!==i&&i!==document.documentElement;)this.legibilityResizeObserver.observe(i),i=i.parentElement}else requestAnimationFrame((()=>requestAnimationFrame(this.scheduleLegibilityRect))),window.addEventListener("resize",this.scheduleLegibilityRect);window.addEventListener("scroll",this.scheduleLegibilityRect,{capture:!0,passive:!0}),window.addEventListener("load",this.scheduleLegibilityRect)}}cleanupLegibility(){null!==this.legibilityResizeObserver&&(this.legibilityResizeObserver.disconnect(),this.legibilityResizeObserver=null),this.legibilityBatch.cancel(),window.removeEventListener("resize",this.scheduleLegibilityRect),window.removeEventListener("scroll",this.scheduleLegibilityRect,!0),window.removeEventListener("load",this.scheduleLegibilityRect),this.resetLegibilityStyles()}resolveLegibilityTarget(){const t=this.legibilityTargetId??this.el.getAttribute("legibility-target-id");if(null!==t&&""!==t)try{const i=document.querySelector(t);if(null!==i)return i}catch{console.warn(`br-scrim: Seletor legibilityTargetId inválido: ${t}`)}return this.el.parentElement}resetLegibilityStyles(){null!==this.scrimDivRef&&(this.scrimDivRef.style.removeProperty("position"),this.scrimDivRef.style.removeProperty("inset"),this.scrimDivRef.style.removeProperty("top"),this.scrimDivRef.style.removeProperty("left"),this.scrimDivRef.style.removeProperty("width"),this.scrimDivRef.style.removeProperty("height"))}renderSpotlightOverlay(t,i,e){const s="circle"===this.effectiveSpotlightShape?o("ellipse",{cx:i.left+i.width/2,cy:i.top+i.height/2,rx:i.width/2+e,ry:i.height/2+e,fill:"black"}):o("rect",{x:i.left-e,y:i.top-e,width:i.width+2*e,height:i.height+2*e,rx:"rounded"===this.effectiveSpotlightShape?8:0,ry:"rounded"===this.effectiveSpotlightShape?8:0,fill:"black"});return o("svg",{class:"spotlight-overlay","aria-hidden":"true",onClick:this.handleMaskClick,xmlns:"http://www.w3.org/2000/svg"},o("defs",null,o("mask",{id:t},o("rect",{width:"100%",height:"100%",fill:"white"}),s)),o("rect",{class:"spotlight-overlay-rect",width:"100%",height:"100%",mask:`url(#${t})`}))}getCssClassMap(){return{"br-scrim":!0,opened:this.isActive,"scroll-block":"block"===this.effectiveScrollStrategy,"position-top":"top"===this.effectivePositionContent,"position-bottom":"bottom"===this.effectivePositionContent,"position-left":"left"===this.effectivePositionContent,"position-right":"right"===this.effectivePositionContent,"position-center":"center"===this.effectivePositionContent,"mode-fullscreen":"fullscreen"===this.effectiveDisplayMode,"mode-parent":"parent"===this.effectiveDisplayMode,"variant-focus":"focus"===this.effectiveVariant,"variant-spotlight":"spotlight"===this.effectiveVariant,"variant-legibility":"legibility"===this.effectiveVariant,"legibility-anchor-top":"legibility"===this.effectiveVariant&&"top"===this.effectiveLegibilityAnchor,"legibility-anchor-bottom":"legibility"===this.effectiveVariant&&"bottom"===this.effectiveLegibilityAnchor,"legibility-anchor-left":"legibility"===this.effectiveVariant&&"left"===this.effectiveLegibilityAnchor,"legibility-anchor-right":"legibility"===this.effectiveVariant&&"right"===this.effectiveLegibilityAnchor,"legibility-anchor-center":"legibility"===this.effectiveVariant&&"center"===this.effectiveLegibilityAnchor,"has-spotlight":null!==this.spotlightRect,"content-layout-none":"none"===this.effectiveContentLayout}}render(){const t=`${this.customId}-spotlight-mask`,i=this.effectiveSpotlightPadding,e=this.spotlightRect,n=!this.isLegibilityVariant&&"none"!==this.effectiveContentLayout,r=o("div",this.isLegibilityVariant?{class:"mask"}:{class:"mask",role:"button","aria-label":"Fechar sobreposição",tabIndex:0,onClick:this.handleMaskClick,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleMaskClick(t))}}),a=o("div",{key:"3ac232885a157cd05d718cfed0c63af7a3a769ac",ref:t=>this.contentRef=t??null,id:`${this.customId}-content`,class:"none"===this.effectiveContentLayout?"content content-unwrapped":"content",tabIndex:"none"===this.effectiveContentLayout?void 0:-1},o("slot",{key:"9d2306c1cc3296e63272e2e08fb5b216eb1bdb9d"}));return o(s,{key:"c7c171f3e033e7c80ba0f9ce98515331385b2bf5"},o("slot",{key:"7b379fa99c11d5a0227abf44a7fb3dc27ffe1cf4",name:"activator"}),this.usesNativeDialog?o("dialog",{ref:t=>{this.nativeDialogRef=t,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:this.usesNativeTopLayer?void 0:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onCancel:this.handleNativeCancel,onKeyDown:this.handleKeyDown},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a):o("div",n?{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"dialog","aria-modal":"true","aria-label":this.ariaLabel||"Conteúdo do diálogo","data-visible":this.isActive?"true":"false",onKeyDown:this.handleKeyDown}:{ref:t=>{this.nativeDialogRef=null,this.scrimDivRef=t},class:this.getCssClassMap(),id:this.customId,role:"presentation","data-visible":this.isActive?"true":"false"},r,null!==e&&this.renderSpotlightOverlay(t,e,i),a))}get el(){return this}static get watchers(){return{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--br-scrim-opacity:1}:host .br-scrim{visibility:hidden;transition:none}@media (prefers-reduced-motion: no-preference){:host .br-scrim{transition:visibility var(--duration-fast, 300ms) var(--animation-ease-linear, linear)}}:host .br-scrim{z-index:var(--z-index-layer-4);display:flex;align-items:center;justify-content:center;pointer-events:auto}:host dialog.br-scrim{background:rgba(0,0,0,0);border:0;color:inherit;margin:0;max-height:none;max-width:none;padding:0}:host dialog.br-scrim::backdrop{background:rgba(0,0,0,0)}:host .br-scrim.mode-fullscreen{position:fixed;z-index:var(--z-index-layer-4);inset:0;box-sizing:border-box;width:100%;height:100%}:host .br-scrim.mode-parent{position:absolute;z-index:var(--z-index-layer-4);inset:0;width:100%;height:100%}:host .br-scrim.opened{visibility:visible;pointer-events:auto}:host .br-scrim.variant-legibility{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .mask{pointer-events:none;z-index:auto}:host .br-scrim.variant-legibility .content{pointer-events:auto;z-index:auto}:host .mask{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--surface-overlay-scrim);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .mask{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .mask{pointer-events:auto;z-index:0}:host .br-scrim.opened .mask{opacity:var(--br-scrim-opacity)}:host .br-scrim.has-spotlight .mask{display:none}:host .spotlight-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:auto;overflow:visible}:host .br-scrim.mode-fullscreen .spotlight-overlay{position:fixed}:host .spotlight-overlay-rect{fill:var(--surface-overlay-scrim, #000);opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .spotlight-overlay-rect{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .br-scrim.opened .spotlight-overlay-rect{opacity:var(--br-scrim-opacity)}:host .br-scrim.legibility-anchor-center .mask{width:100%;height:var(--br-scrim-mask-size, 100%);top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center .content{position:absolute;top:50%;left:0;right:0;width:100%;height:var(--br-scrim-mask-size, 100%);transform:translateY(-50%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-top .mask,:host .br-scrim.legibility-anchor-bottom .mask{height:var(--br-scrim-mask-size, 100%);width:100%}:host .br-scrim.legibility-anchor-left .mask,:host .br-scrim.legibility-anchor-right .mask{width:var(--br-scrim-mask-size, 100%);height:100%}:host .br-scrim.legibility-anchor-top .mask{top:0;bottom:auto}:host .br-scrim.legibility-anchor-bottom .mask{bottom:0;top:auto}:host .br-scrim.legibility-anchor-left .mask{left:0;right:auto}:host .br-scrim.legibility-anchor-right .mask{right:0;left:auto}:host .br-scrim.legibility-anchor-top .content{position:absolute;inset:0 0 auto;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-bottom .content{position:absolute;inset:auto 0 0;width:100%;height:var(--br-scrim-mask-size, 100%);display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-left .content{position:absolute;inset:0 auto 0 0;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-right .content{position:absolute;inset:0 0 0 auto;width:var(--br-scrim-mask-size, 100%);height:100%;display:flex;align-items:center;justify-content:center}:host .content{position:relative;outline:none;pointer-events:auto;opacity:0;transition:none}@media (prefers-reduced-motion: no-preference){:host .content{transition:opacity var(--duration-fast, 300ms) var(--animation-ease-out, ease-out)}}:host .content{background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;overflow:visible;contain:none;display:inline-block;width:fit-content;height:fit-content;z-index:1}:host .content:focus{outline:var(--focus-outline);outline-offset:var(--focus-offset);box-shadow:var(--focus-shadow)}:host .br-scrim.content-layout-none .content,:host .br-scrim.content-layout-none .content-unwrapped{display:contents;position:unset;opacity:1;transform:none;width:auto;height:auto;z-index:unset;pointer-events:none;outline:none;background:rgba(0,0,0,0);padding:0;margin:0;border:none;box-shadow:none;transition:none}:host .br-scrim.opened .content{opacity:1;pointer-events:auto}:host .content ::slotted(*){opacity:1 !important;filter:none}:host .br-scrim.position-top:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-bottom:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}:host .br-scrim.position-left:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:0;transform:translateY(-50%)}:host .br-scrim.position-right:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;right:0;transform:translateY(-50%)}:host .br-scrim.position-center:not(.legibility-anchor-top):not(.legibility-anchor-bottom):not(.legibility-anchor-left):not(.legibility-anchor-right):not(.legibility-anchor-center) .content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}:host .br-scrim[class*=legibility-anchor-].position-top .content{align-items:flex-start;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-bottom .content{align-items:flex-end;justify-content:center}:host .br-scrim[class*=legibility-anchor-].position-left .content{align-items:center;justify-content:flex-start}:host .br-scrim[class*=legibility-anchor-].position-right .content{align-items:center;justify-content:flex-end}:host .br-scrim[class*=legibility-anchor-].position-center .content{align-items:center;justify-content:center}:host .br-scrim.legibility-anchor-center.position-top .content{align-items:flex-start;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-bottom .content{align-items:flex-end;justify-content:center;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-left .content{align-items:center;justify-content:flex-start;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-right .content{align-items:center;justify-content:flex-end;transform:translateY(-50%)}:host .br-scrim.legibility-anchor-center.position-center .content{align-items:center;justify-content:center;transform:translateY(-50%)}@media (width <= 768px){:host .content{max-width:95%;max-height:95%;width:auto}:host .br-scrim.position-top .content,:host .br-scrim.position-bottom .content{width:100%;max-width:100%;border-radius:0}}:host([data-wbc-preview-contained]){inset:0;pointer-events:none;position:absolute;z-index:1000}:host([data-wbc-preview-contained]) .br-scrim{pointer-events:auto}:host([data-wbc-preview-contained]) .br-scrim .content{box-sizing:border-box;max-width:calc(100% - var(--spacing-scale-4x, 32px));max-height:calc(100% - var(--spacing-scale-4x, 32px));overflow:auto}"}},[257,"br-scrim",{customId:[513,"custom-id"],isOpen:[1540,"is-open"],positionContent:[1,"position-content"],disableCloseOnClick:[4,"disable-close-on-click"],zIndex:[2,"z-index"],bgColor:[1,"bg-color"],customOpacity:[2,"custom-opacity"],displayMode:[513,"display-mode"],scrollStrategy:[1,"scroll-strategy"],scrollThreshold:[1026,"scroll-threshold"],activator:[1],ariaLabel:[1,"aria-label"],variant:[1],legibilityAnchor:[1,"legibility-anchor"],legibilitySize:[1,"legibility-size"],legibilityTargetId:[1,"legibility-target-id"],spotlightTargetId:[1,"spotlight-target-id"],spotlightPadding:[2,"spotlight-padding"],spotlightShape:[1,"spotlight-shape"],contentLayout:[513,"content-layout"],hasActivatorSlot:[32],spotlightRect:[32],setScrollThreshold:[64],open:[64],close:[64],toggle:[64],updateSpotlight:[64]},[[4,"keydown","handleDocumentKeyDown"]],{isOpen:[{handleOpenChange:0}],zIndex:[{updateStyles:0}],bgColor:[{updateStyles:0}],customOpacity:[{updateStyles:0}],legibilitySize:[{updateStyles:0}],variant:[{handleVariantChange:0}],displayMode:[{handleLayerModeChange:0}],contentLayout:[{handleLayerModeChange:0}],spotlightTargetId:[{handleSpotlightChange:0}],spotlightPadding:[{handleSpotlightChange:0}],spotlightShape:[{handleSpotlightChange:0}],legibilityTargetId:[{handleLegibilityTargetChange:0}],activator:[{handleActivatorChange:0}]}]);function y(){"undefined"!=typeof customElements&&["br-scrim"].forEach((t=>{"br-scrim"===t&&(customElements.get(n(t))||customElements.define(n(t),v))}))}v.FOCUSABLE_SELECTORS=["a[href]:not([disabled])","button:not([disabled])","br-button:not([disabled])","input:not([disabled])","br-input:not([disabled])","select:not([disabled])","br-select:not([disabled])","textarea:not([disabled])","br-textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");export{v as S,y as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as e,h as r,d as i,t as a}from"./p-Jk_KQE5V.js";import{g as o}from"./p-CNwZRgyL.js";import{g as n}from"./p-BeJxz5TQ.js";import{g as s}from"./p-DWhzxlCx.js";import{b as l,r as d}from"./p-DiLI514I.js";import{h as c}from"./p-5z6jgH1D.js";import{d as h}from"./p-uc8ABlC_.js";import{d as g}from"./p-Nze3Utvd.js";const b=["horizontal","vertical"],m=["list","group"],v=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.header=null,this.isHorizontal=!1,this.customId=n(),this.hideHeaderDivider=!1,this.divider=!1,this.collapse=!1,this.accordion=null,this.listRole="list",this.density=null,this.observer=null,this.slotElement=null,this.observingNestedContent=!1,this.boundKeydown=null,this.mutationFrame=null,this.handleSlotChange=()=>{this.syncObserverMode(),this.scheduleListSync()},this.renderHeader=()=>this.header?.length>0||this.hasSlotContent("header")?r("div",{class:this.hasSlotContent("header")?null:"header",slot:this.collapse||this.accordion?"trigger":null},r("slot",{name:"header"},this.hasSlotContent("header")?null:r("div",{class:"title"},this.header))):null}async componentDidLoad(){this.boundKeydown=this.handleKeydown.bind(this),this.el.addEventListener("keydown",this.boundKeydown),"horizontal"===this.effectiveOrientation&&this.getOwnedItems().filter((t=>"br-item"===t.tagName.toLowerCase())).forEach((t=>{const e=t.nextElementSibling;if(e?.classList.contains("br-divider")){const t=e;t.style.borderWidth="0 1px 0 0",t.style.width="1px"}})),this.applyListItemRoles(),this.normalizeIntermediateWrappers(),await this.initRovingTabindex(),this.slotElement=this.el.shadowRoot?.querySelector("slot:not([name])")??null,this.slotElement?.addEventListener("slotchange",this.handleSlotChange),this.syncObserverMode()}handleAccordionExclusivity(t){if(null==this.accordion||""===this.accordion)return;if(t.detail?.accordionGroup!==this.accordion)return;const e=this.el.parentElement;e&&Array.from(e.children).forEach((t=>{if(t===this.el||"br-list"!==t.tagName.toLowerCase())return;if(t.accordion!==this.accordion)return;const e=t.shadowRoot?.querySelector("br-collapse");e?.open&&(e.open=!1)}))}disconnectedCallback(){this.boundKeydown&&(this.el.removeEventListener("keydown",this.boundKeydown),this.boundKeydown=null),this.observer?.disconnect(),this.observer=null,this.slotElement?.removeEventListener("slotchange",this.handleSlotChange),this.slotElement=null,null!==this.mutationFrame&&(cancelAnimationFrame(this.mutationFrame),this.mutationFrame=null)}getOwnedItems(){const t=[],e=document.createTreeWalker(this.el,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>{const e=t.tagName?.toLowerCase();return t===this.el||"br-list"!==e&&"ul"!==e&&"ol"!==e&&"list"!==t.getAttribute?.("role")?"br-item"===e||"br-footer-item"===e||"br-skiplink-item"===e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP:NodeFilter.FILTER_REJECT}});let r=e.nextNode();for(;r;)t.push(r),r=e.nextNode();return t}applyListItemRoles(){"list"===this.effectiveListRole&&this.getOwnedItems().forEach((t=>{t.setAttribute("role","listitem")}))}normalizeIntermediateWrappers(){for(const t of Array.from(this.el.children))this.normalizeWrapperRecursive(t)}normalizeWrapperRecursive(t){const e=t.tagName?.toLowerCase();if("br-item"!==e&&"br-footer-item"!==e&&"br-skiplink-item"!==e&&"br-list"!==e&&"ul"!==e&&"ol"!==e&&"list"!==t.getAttribute("role")&&"header"!==t.getAttribute("slot")){"list"!==this.effectiveListRole||t.hasAttribute("role")||t.setAttribute("role","presentation");for(const e of Array.from(t.children))this.normalizeWrapperRecursive(e)}}mutationHasRelevantItems(t){const e=["br-item","br-footer-item","br-skiplink-item"];for(const r of t){for(const t of[...Array.from(r.addedNodes),...Array.from(r.removedNodes)]){if(t.nodeType!==Node.ELEMENT_NODE)continue;const r=t,i=r.tagName?.toLowerCase();if(e.includes(i)||e.some((t=>r.querySelector?.(t))))return!0}if("attributes"===r.type&&e.includes(r.target.tagName?.toLowerCase()))return!0}return!1}hasNestedSlottedContent(){const t=["br-item","br-footer-item","br-skiplink-item"];return(this.slotElement?.assignedElements({flatten:!0})??[]).some((e=>{const r=e.tagName.toLowerCase();return!t.includes(r)&&t.some((t=>null!==e.querySelector(t)))}))}scheduleListSync(){null===this.mutationFrame&&(this.mutationFrame=requestAnimationFrame((async()=>{this.mutationFrame=null,this.applyListItemRoles(),this.normalizeIntermediateWrappers(),await this.initRovingTabindex()})))}syncObserverMode(){const t=this.hasNestedSlottedContent();null!==this.observer&&t===this.observingNestedContent||(this.observer?.disconnect(),this.observingNestedContent=t,this.observer=new MutationObserver((t=>{this.mutationHasRelevantItems(t)&&this.scheduleListSync()})),this.observer.observe(this.el,{childList:!0,subtree:t,attributes:!0,attributeFilter:["disabled","hidden","href","is-interactive","interactive","is-button","button","style"]}))}async initRovingTabindex(){const t=this.getNavigableItems();await Promise.all(t.map(((t,e)=>t.setTabIndex(0===e?0:-1))))}async focusFirstItem(){const t=this.getNavigableItems();t.length>0&&await this.focusItem(t[0])}async updateRovingTabindex(t){const e=this.getNavigableItems();await Promise.all(e.map((e=>e.setTabIndex(e===t?0:-1))))}isItemVisible(t){const e=window.getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility}isFocusableItem(t){return t.hasAttribute("is-interactive")||t.hasAttribute("interactive")||t.hasAttribute("is-button")||t.hasAttribute("button")||t.hasAttribute("href")}getNavigableItems(){const t=[],e=document.createTreeWalker(this.el,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>{const e=t.tagName?.toLowerCase();return t===this.el||"br-list"!==e&&"ul"!==e&&"ol"!==e&&"list"!==t.getAttribute?.("role")?"br-item"===e&&!t.hasAttribute("disabled")&&this.isFocusableItem(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP:NodeFilter.FILTER_REJECT}});let r=e.nextNode();for(;r;){const i=r;this.isItemVisible(i)&&t.push(i),r=e.nextNode()}return t}getDeepActiveElement(t=document){return o(t)}findOwnerItem(t,e){let r=t;for(;r;){if(r instanceof globalThis.Element&&e.includes(r))return r;r=r instanceof ShadowRoot?r.host:r.parentNode}return null}getCurrentIndex(t){const e=this.getDeepActiveElement(),r=this.findOwnerItem(e,t);return r?t.indexOf(r):-1}isFormControlTarget(t){const e=t,r=e?.tagName?.toLowerCase();if(!r)return!1;if("textarea"===r||"select"===r)return!0;if("input"===r){const t=(e.type||"text").toLowerCase();return!["button","submit","reset","image","checkbox","radio"].includes(t)}return["br-input","br-textarea","br-select"].includes(r)}async focusItem(t){await this.updateRovingTabindex(t),"setFocus"in t&&await t.setFocus(),t.scrollIntoView({behavior:s(),block:"nearest",inline:"nearest"})}handleKeydown(t){if(t.composedPath().find((t=>"br-list"===t.tagName?.toLowerCase()))!==this.el)return;if(t.defaultPrevented)return;if(this.isFormControlTarget(t.target))return;const e=this.getNavigableItems();if(!e.length)return;let r=this.getCurrentIndex(e);-1===r&&(r=0);let i=null;switch(t.key){case this.isHorizontal?"ArrowRight":"ArrowDown":t.preventDefault(),t.stopPropagation(),i=e[(r+1)%e.length];break;case this.isHorizontal?"ArrowLeft":"ArrowUp":t.preventDefault(),t.stopPropagation(),i=e[(r-1+e.length)%e.length];break;case"Home":t.preventDefault(),t.stopPropagation(),i=e[0];break;case"End":t.preventDefault(),t.stopPropagation(),i=e[e.length-1];break;case"Enter":case" ":{t.preventDefault(),t.stopPropagation();const i=e[r];return void(i&&"activate"in i&&i.activate())}default:return}i&&this.focusItem(i)}getCssClassMap(){const t=l(this.el,this.density,{allowNull:!0});return{"br-list":!0,horizontal:"horizontal"===this.effectiveOrientation,divider:this.divider,small:"small"===t,large:"large"===t}}get effectiveOrientation(){return void 0!==this.orientation?d(this.el,"orientation",this.orientation,b,"vertical"):this.isHorizontal?"horizontal":"vertical"}get effectiveListRole(){return d(this.el,"listRole",this.listRole,m,"list")}hasSlotContent(t){return c(this.el,t)}renderDivider(){return!this.header&&!this.hasSlotContent("header")||this.hideHeaderDivider?null:r("div",{class:"br-divider"})}renderListBody(){return[this.renderHeader(),this.renderDivider(),r("slot",null)]}render(){return r(i,{key:"cc9de9b5db371139fd6e2ddbdb4007ba32a31942",role:this.effectiveListRole,"aria-label":this.header||null},r("div",{key:"ccfc7fbe6fc4342e8450d65fcaf9534a19ef38cd",class:this.getCssClassMap(),id:this.customId,part:"container"},this.accordion||this.collapse?r("br-collapse",{"accordion-group":this.accordion||null,divider:this.divider},this.renderListBody()):this.renderListBody()))}get el(){return this}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-list.horizontal{display:flex;flex-wrap:wrap}.br-list.horizontal>.header{flex-grow:1;width:100%}.br-list.horizontal>.header+.br-divider{border-top:1px solid var(--border-color);width:100%}.br-list.horizontal>.br-item+.br-divider,.br-list.horizontal>.group+.br-divider{border-width:0 1px 0 0;width:1px}.br-list.horizontal>.br-item,.br-list.horizontal>.group{flex:1;height:auto;min-height:56px;width:auto}.br-list.horizontal[data-toggle]>.br-item,.br-list.horizontal.toggle>.br-item{display:block}.br-list{background-color:var(--background)}.br-list .br-item{text-align:left;width:100%}.br-list .br-item .fa,.br-list .br-item .fas{text-align:center}.br-list .br-item>.content{align-items:var(--spacing-vertical-top);display:flex}.br-list .br-item>.content>.content{flex:1}.br-list .br-item .content:hover button.br-button{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}.br-list .br-item[data-toggle]{cursor:pointer}.br-list .br-item[data-toggle]~.br-list .br-item{padding:var(--spacing-scale-base) var(--spacing-scale-3x)}.br-list .br-list{overflow:hidden;transition:all 400ms ease-in-out}.br-list .header{align-items:var(--spacing-vertical-center);display:flex;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-bold);justify-content:space-between;padding:var(--spacing-scale-base) var(--spacing-scale-2x)}.br-divider,hr{--divider-size:var(--surface-width-sm);border-color:var(--border-color);border-style:solid;border-width:0;border-top-width:var(--divider-size);display:block}.br-divider.content,hr.content{align-items:center;border:0;display:flex;justify-content:center}.br-divider.content::after,.br-divider.content::before,hr.content::after,hr.content::before{border-color:var(--border-color);border-style:solid;border-width:0;border-top-width:var(--divider-size);content:"";flex:1}.br-divider.content::after,hr.content::after{margin-left:var(--spacing-scale-base)}.br-divider.content::before,hr.content::before{margin-right:var(--spacing-scale-base)}.br-divider.vertical,hr.vertical{align-self:stretch;border-right-width:var(--divider-size);border-top-width:0}.br-divider.vertical.content,hr.vertical.content{flex-direction:column}.br-divider.vertical.content::after,.br-divider.vertical.content::before,hr.vertical.content::after,hr.vertical.content::before{border-right-width:var(--divider-size);border-top-width:0;margin:0}.br-divider.inverted,.br-divider.dark-mode,hr.inverted,hr.dark-mode{--border-color:var(--pure-0)}.br-divider.dashed,hr.dashed{border-style:dashed}.br-divider.sm,hr.sm{--divider-size:var(--surface-width-sm)}hr{--divider-padding:var(--spacing-scale-2x);margin:var(--divider-padding) 0}:host{display:block}:host .br-list .br-list{transition:none}@media (prefers-reduced-motion: no-preference){:host .br-list .br-list{transition:none}}:host .br-list.horizontal ::slotted(br-item){flex:1;height:auto;min-height:56px;width:auto}:host .br-list.divider:not(.horizontal) ::slotted(br-item:not(:last-of-type)){border-bottom:1px solid var(--border-color, var(--color-secondary-04, #e5e5e5))}:host .br-list.divider.horizontal ::slotted(br-item:not(:last-of-type)){border-right:1px solid var(--border-color, var(--color-secondary-04, #e5e5e5))}'}},[257,"br-list",{header:[513],isHorizontal:[516,"is-horizontal"],orientation:[513],customId:[513,"custom-id"],hideHeaderDivider:[516,"hide-header-divider"],divider:[516],collapse:[516],accordion:[513],listRole:[513,"list-role"],density:[1537],focusFirstItem:[64]},[[0,"brCollapseOpen","handleAccordionExclusivity"]]]);function u(){"undefined"!=typeof customElements&&["br-list","br-collapse","br-icon"].forEach((t=>{switch(t){case"br-list":customElements.get(a(t))||customElements.define(a(t),v);break;case"br-collapse":customElements.get(a(t))||h();break;case"br-icon":customElements.get(a(t))||g()}}))}export{v as L,u as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as e,c as a,h as i,d as r,t as o}from"./p-Jk_KQE5V.js";import{b as n}from"./p-DiLI514I.js";import{d as s}from"./p-DhvmHPp4.js";import{d as l}from"./p-BjeUETWJ.js";import{d as c}from"./p-Nze3Utvd.js";import{d}from"./p-DYI30IZL.js";import{d as g}from"./p-D579DS7x.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.brSelectOptionStateChange=a(this,"brSelectOptionStateChange",7),this.brSelectOptionPropsChange=a(this,"brSelectOptionPropsChange",7),this.density="medium",this.disabled=!1,this.active=!1,this.indeterminate=!1,this.selected=!1,this.value=void 0,this.showCheckbox=!1,this.hasWarnedMissingValue=!1,this.hasWarnedEmptyValue=!1,this.lastStateChangeKey="",this.handleActivation=()=>{if(this.disabled)return;const t=!this.selected;this.isControlledBySelect?this.emitStateChange(t):this.applySelection(t)},this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.handleActivation())}}handleDisabledChange(){this.brSelectOptionPropsChange.emit(),this.emitStateChange()}handlePropsChange(){this.brSelectOptionPropsChange.emit()}handleSelectedChange(){this.brSelectOptionPropsChange.emit(),this.emitStateChange()}async getItemHeight(){const t=this.el.shadowRoot?.querySelector("br-item");return t?.offsetHeight||this.el.offsetHeight||0}async setFocus(){this.el.focus()}async setSelectedState(t){this.disabled||this.applySelection("boolean"==typeof t?t:!this.selected)}emitStateChange(t=this.selected){const e={disabled:this.disabled,indeterminate:this.indeterminate,selected:t,value:this.getResolvedValue(),label:this.getResolvedLabel(),group:this.getResolvedGroup()},a=JSON.stringify(e);a!==this.lastStateChangeKey&&(this.lastStateChangeKey=a,this.brSelectOptionStateChange.emit(e))}get isControlledBySelect(){if(this.el.closest("br-select"))return!0;let t=this.el;for(;;){const e=t.getRootNode().host;if(!e)return!1;if("br-select"===e.tagName.toLowerCase())return!0;t=e}}applySelection(t){this.indeterminate=!1,this.selected=t,this.emitStateChange()}getCssClassMap(){return{"br-select-option":!0}}get effectiveDensity(){return n(this.el,this.density)}getResolvedLabel(){return this.normalizeText(this.label)||this.getResolvedValue()}getResolvedGroup(){return this.normalizeText(this.group)||void 0}getAccessibleLabel(){const t=this.getResolvedGroup();return t?`${t}: ${this.getResolvedLabel()}`:null}getResolvedValue(){const t=this.normalizeText(this.value);if(t)return t;this.warnMissingValue();return this.getFallbackValue()||(this.warnEmptyValue(),"")}warnMissingValue(){this.hasWarnedMissingValue||(this.hasWarnedMissingValue=!0,console.warn("[br-select-option] `value` nao foi informado. Um fallback sera derivado de `label` ou do conteudo do slot."))}warnEmptyValue(){this.hasWarnedEmptyValue||(this.hasWarnedEmptyValue=!0,console.warn("[br-select-option] Nao foi possivel resolver um valor para a opcao. Informe `value`, `label` ou conteudo no slot."))}getFallbackValue(){return this.normalizeText(this.label)||this.extractSlotText()}normalizeText(t){return(t||"").trim()}extractSlotText(){const t=this.el.shadowRoot?.querySelector("slot:not([name])");if(t?.assignedNodes){const e=t.assignedNodes({flatten:!0}).map((t=>(t.textContent||"").trim())).filter(Boolean).join(" ").trim();if(e)return e}return this.normalizeText(this.el.textContent||"")}render(){return i(r,{key:"5897310b67f7bbf295e052538b92e405ed3ff24d",part:"option",exportparts:"checkbox:checkbox, checkbox:option-checkbox","aria-disabled":this.disabled?"true":"false","aria-label":this.getAccessibleLabel(),"aria-selected":this.selected?"true":"false",role:"option",tabindex:"-1",onClickCapture:this.handleActivation,onKeyDown:this.handleKeyDown,onMouseEnter:()=>{this.el.dispatchEvent(new CustomEvent("brInternalSelectOptionHover",{bubbles:!0,composed:!0,detail:{label:this.getResolvedLabel(),value:this.getResolvedValue()}}))},onFocus:()=>{this.el.dispatchEvent(new CustomEvent("brInternalSelectOptionHover",{bubbles:!0,composed:!0,detail:{label:this.getResolvedLabel(),value:this.getResolvedValue()}}))}},i("br-item",{key:"afff7ce7c07f79fad60f5b09a618a08b23a91afb",class:this.getCssClassMap(),density:this.effectiveDensity,disabled:this.disabled,active:this.active,selected:this.selected},this.showCheckbox&&i("br-checkbox",{key:"b6c6b32e98221cf28a822a304ee330af21206b96",exportparts:"input:checkbox, input:option-checkbox",slot:"start",checked:this.selected,disabled:!0,indeterminate:this.indeterminate,name:this.getResolvedValue(),"aria-hidden":"true"}),i("span",{key:"394f225cae7fbae52889b39c4b876c477a32c7ea",class:"br-select-option-label"},i("slot",{key:"4e26a8461a59111a8998276f554f1ebd38a5761e"},this.getResolvedLabel()))))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],label:[{handlePropsChange:0}],group:[{handlePropsChange:0}],value:[{handlePropsChange:0}],selected:[{handleSelectedChange:0}]}}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--br-select-option-bg-color:var(--bg-color, var(--background, var(--background-color, #fff)));contain:paint;display:block;background-color:var(--br-select-option-bg-color);line-height:0;overflow:hidden;position:relative}:host(:focus-within){contain:none;overflow:visible}:host([active]){contain:none;overflow:visible;z-index:1}:host([active])::after{border:var(--focus-width) var(--focus-style) var(--focus);box-sizing:border-box;content:"";inset:0;pointer-events:none;position:absolute}.br-select-option{opacity:1 !important}br-item{--br-item-bg-color:var(--br-select-option-bg-color);background-color:var(--br-select-option-bg-color);display:block;line-height:normal;overflow:visible;width:100%}br-checkbox{--border-color:var(--gray-40, #888);--disabled:1;pointer-events:none}:host(:not([disabled])) br-item::part(item){cursor:pointer}:host([disabled]){background:var(--br-select-option-bg-color) !important;cursor:not-allowed}br-item[disabled]{--br-item-bg-color:var(--br-select-option-bg-color);background:var(--br-select-option-bg-color) !important;cursor:not-allowed}:host([disabled]) ::slotted(*){opacity:var(--disabled) !important}.br-select-option-label{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host([disabled]) .br-select-option-label{opacity:var(--disabled) !important}.br-select-option-label ::slotted(*){display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}'}},[321,"br-select-option",{density:[513],disabled:[516],active:[516],label:[513],group:[513],indeterminate:[1540],selected:[1540],value:[513],showCheckbox:[516,"show-checkbox"],getItemHeight:[64],setFocus:[64],setSelectedState:[64]},void 0,{disabled:[{handleDisabledChange:0}],label:[{handlePropsChange:0}],group:[{handlePropsChange:0}],value:[{handlePropsChange:0}],selected:[{handleSelectedChange:0}]}]);function b(){"undefined"!=typeof customElements&&["br-select-option","br-button","br-checkbox","br-icon","br-item","br-message"].forEach((t=>{switch(t){case"br-select-option":customElements.get(o(t))||customElements.define(o(t),h);break;case"br-button":customElements.get(o(t))||s();break;case"br-checkbox":customElements.get(o(t))||l();break;case"br-icon":customElements.get(o(t))||c();break;case"br-item":customElements.get(o(t))||d();break;case"br-message":customElements.get(o(t))||g()}}))}export{h as S,b as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as e,h as i,d as r,t as a}from"./p-Jk_KQE5V.js";import{a as o,b as n,c as s,e as l}from"./p-DiLI514I.js";import{c}from"./p-cF3ia5e9.js";import{d as h}from"./p-DhvmHPp4.js";import{d}from"./p-BjeUETWJ.js";import{d as g}from"./p-Nze3Utvd.js";import{d as p}from"./p-DYI30IZL.js";import{d as u}from"./p-DNJSSCNi.js";import{d as m}from"./p-D579DS7x.js";import{d as b}from"./p-Ci0_RqAE.js";const v=t(class t extends e{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.density="medium",this.options=[],this.searchTerm="",this.loading=!1,this.visibleItems=6,this.itemHeight=56,this.overscan=0,this.selectAllLabel=t.SELECT_ALL_LABEL,this.unselectAllLabel=t.DESELECT_ALL_LABEL,this.activeOptionIndex=-1,this.isOpen=!1,this.isMultiple=!1,this.scrollTop=0,this.measuredItemHeight=null,this.measurementFrame=null,this.filteredOptionsCache=null,this.filteredOptionsCacheKey="",this.virtualRowsCache=null,this.scrollBatch=c((t=>{this.scrollTop!==t&&(this.scrollTop=t)})),this.waitForNextFrame=async()=>{await new Promise((t=>requestAnimationFrame((()=>t()))))},this.handleScroll=t=>{const e=t.target;this.scrollBatch.schedule(e?.scrollTop??0)}}handleOptionsChange(t){const e=this.normalizeOptionData(t);e===t?this.syncRenderedOptionSelection(e):this.options=e}syncRenderedOptionSelection(t){const e=this.el.shadowRoot?.querySelectorAll("br-select-option");if(!e)return;const i=new Map(t.map((t=>[t.value,Boolean(t.selected)])));e.forEach((t=>{const e=i.get(t.value);void 0!==e&&t.selected!==e&&(t.selected=e)}))}get effectiveVisibleItems(){return o(this.el,"visibleItems",this.visibleItems,1,Number.MAX_SAFE_INTEGER,6)}get effectiveDensity(){return n(this.el,this.density)}get effectiveItemHeight(){return s(this.el,"itemHeight",this.itemHeight,1,Number.MAX_SAFE_INTEGER,56)}get effectiveOverscan(){return o(this.el,"overscan",this.overscan,0,Number.MAX_SAFE_INTEGER,0)}get effectiveActiveOptionIndex(){return o(this.el,"activeOptionIndex",this.activeOptionIndex,-1,Number.MAX_SAFE_INTEGER,-1)}get effectiveMultiple(){return this.isMultiple||this.options.some((t=>this.isSelectAllOption(t)))}disconnectedCallback(){this.scrollBatch.cancel(),null!==this.measurementFrame&&(cancelAnimationFrame(this.measurementFrame),this.measurementFrame=null)}handleSearchTermChange(){this.scrollTop=0,this.listElement&&(this.listElement.scrollTop=0),this.scheduleMeasureItemHeight()}handleSelectAllLabelChange(){this.effectiveMultiple&&(this.options=this.syncSelectAllOption(this.options))}handleOptionStateChange(t){if(this.isControlledBySelect)return;const e=t.detail;return e?.value?this.effectiveMultiple?this.applyMultipleOption(e):e.selected?this.applySingleSelect(e):this.clearSingleSelection():void 0}async open(){this.isOpen=!0,this.scheduleMeasureItemHeight()}async close(){this.isOpen=!1}async setOptions(t){const e=this.normalizeOptionData(t);if(0===e.length)return this.options=[],this.scrollTop=0,this.measuredItemHeight=null,void(this.listElement&&(this.listElement.scrollTop=0));const i=new Map;let r=!1;e.forEach((t=>{i.has(t.value)&&(r=!0),i.set(t.value,t)})),r&&console.warn("[br-select-list] Foram encontrados valores duplicados em `setOptions`. Apenas a ultima ocorrencia de cada `value` sera mantida.");const a=Array.from(i.values());this.options=this.normalizeOptionsForMode(a,this.effectiveMultiple),this.scheduleMeasureItemHeight(),requestAnimationFrame((()=>this.clampScrollPosition()))}async setOption(t){const e=this.normalizeOptionData([t])[0];if(!e)return;let i;i=-1!==this.options.findIndex((t=>t.value===e.value))?this.options.map((t=>t.value===e.value?e:t)):[...this.options,e],this.options=this.normalizeOptionsForMode(i,this.effectiveMultiple),requestAnimationFrame((()=>this.clampScrollPosition()))}async setSearchTerm(t){const e=t??"";e!==this.searchTerm&&(this.searchTerm=e,this.scrollTop=0,this.listElement&&(this.listElement.scrollTop=0),this.scheduleMeasureItemHeight())}async setMultiple(t){this.isMultiple=t,this.isControlledBySelect||(this.options=this.normalizeOptionsForMode(this.options,t)),this.scheduleMeasureItemHeight()}get isControlledBySelect(){const t=this.el.getRootNode().host;return"br-select"===t?.tagName?.toLowerCase()}async getOptions(){return this.options.map((t=>({...t})))}async scrollOptionToTop(t){const e=this.getFilteredOptions();if(t<0||t>=e.length||!this.listElement)return!1;const i=this.getVirtualRows(),r=this.getRowIndexForOption(i,t);if(r<0)return!1;const a=this.getRowHeight(),o=this.getViewportHeight(),n=Math.max(0,i.length*a-o),s=Math.min(r*a,n);return this.scrollTop=s,await this.waitForNextFrame(),this.listElement.scrollTop=s,await this.waitForNextFrame(),!0}async scrollFirstSelectedOptionToTop(){const t=this.getFilteredOptions().findIndex((t=>!this.isSelectAllOption(t)&&Boolean(t.selected)));return!(t<0)&&this.scrollOptionToTop(t)}async focusOption(t){const e=this.getFilteredOptions();if(t<0||t>=e.length)return!1;await this.ensureOptionVisible(t);let i=this.getOptionElement(t);return i||(await this.waitForNextFrame(),i=this.getOptionElement(t)),await(i?.setFocus?.()),Boolean(i)}async setOptionSelected(t,e){const i=this.getFilteredOptions();if(t<0||t>=i.length)return!1;await this.ensureOptionVisible(t);let r=this.getOptionElement(t);return r||(await this.waitForNextFrame(),r=this.getOptionElement(t)),await(r?.setSelectedState?.(e)),Boolean(r)}applyMultipleOption(t){if(this.isSelectAllOption(t))return void this.toggleAllOptions(Boolean(t.selected));const e=this.options.map((e=>e.value!==t.value?e:{...e,...t,indeterminate:!1,selected:Boolean(t.selected)}));this.options=this.syncSelectAllOption(e)}applySingleSelect(t){this.options=this.options.some((e=>e.value===t.value))?this.options.map((e=>({...e,selected:e.value===t.value}))):[{value:t.value,label:t.label??t.value,selected:!0},...this.options.map((t=>({...t,selected:!1})))]}clearSingleSelection(){this.options=this.options.map((t=>({...t,selected:!1})))}isSelectAllOption(e){if(e.value===t.SELECT_ALL_VALUE||"__select_all__"===e.value)return!0;const i=(e.label??e.value).trim();return i===this.selectAllLabel||i===this.unselectAllLabel}isSelectableOption(t){return!this.isSelectAllOption(t)}getSelectableOptions(t){return t.filter((t=>this.isSelectableOption(t)))}getSelectAllLabel(t,e){return t&&!e?this.unselectAllLabel:this.selectAllLabel}createSelectAllOption(){return{value:t.SELECT_ALL_VALUE,label:this.selectAllLabel,selected:!1,indeterminate:!1,disabled:!1}}normalizeSelectAllOption(t){if(!this.isSelectAllOption(t))return t;const e=Boolean(t.selected)&&!t.indeterminate,i=Boolean(t.indeterminate);return{...t,indeterminate:i,label:this.getSelectAllLabel(e,i),selected:e}}toggleAllOptions(t){const e=this.getSelectableOptions(this.options).map((e=>({...e,selected:t,indeterminate:!1})));this.options=this.syncSelectAllOption(e)}syncSelectAllOption(t){const e=this.getSelectableOptions(t).map((t=>({...t,indeterminate:!1}))),i=e.length>0&&e.every((t=>Boolean(t.selected))),r=e.some((t=>Boolean(t.selected)));return[this.normalizeSelectAllOption({...this.createSelectAllOption(),indeterminate:r&&!i,selected:i}),...e]}normalizeOptionsForMode(t,e){const i=this.getSelectableOptions(t);if(e)return this.syncSelectAllOption(i);let r=!1;return i.map((t=>{const e=Boolean(t.selected)&&!r;return e&&(r=!0),{...t,indeterminate:!1,selected:e}}))}normalizeOptionData(t){if(!Array.isArray(t))return l(this.el,"options",t,"Informe um array de opções com `value` string e `label` string opcional.","Aplicando fallback []."),[];const e=t.filter((t=>"object"==typeof t&&null!==t&&"string"==typeof t.value)),i=e.some((t=>{const e=t.label;return void 0!==e&&"string"!=typeof e})),r=e.some((t=>{const e=t.group;return void 0!==e&&"string"!=typeof e}));return e.length!==t.length||i||r?(l(this.el,"options",t,"Cada opção deve ter `value` string e pode ter `label` e `group` como strings.","Ignorando opções inválidas e removendo rótulos ou grupos com tipo incompatível."),e.map((t=>({...t,group:"string"==typeof t.group&&t.group.trim()||void 0,label:"string"==typeof t.label?t.label:void 0})))):e.some((t=>"string"==typeof t.group&&t.group!==(t.group.trim()||void 0)))?e.map((t=>({...t,group:t.group?.trim()||void 0}))):t}normalizeSearchText(t){return(t??"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLocaleLowerCase("pt-BR").trim()}getFilteredOptions(){const t=this.normalizeSearchText(this.searchTerm),e=`${t}|${this.effectiveMultiple}|${this.selectAllLabel}|${this.unselectAllLabel}|${this.options.length}`;return this.options===this.filteredOptionsCacheSource&&e===this.filteredOptionsCacheKey&&null!==this.filteredOptionsCache?this.filteredOptionsCache:(this.filteredOptionsCacheSource=this.options,t?(this.filteredOptionsCacheKey=e,this.filteredOptionsCache=this.options.filter((e=>{if(this.isSelectAllOption(e))return this.effectiveMultiple;const i=this.normalizeSearchText(e.label??e.value),r=this.normalizeSearchText(e.group),a=this.normalizeSearchText(e.value);return i.includes(t)||r.includes(t)||a.includes(t)})),this.filteredOptionsCache):(this.filteredOptionsCacheKey=e,this.filteredOptionsCache=this.options,this.options))}getVirtualRows(){const t=this.getFilteredOptions();if(t===this.virtualRowsCacheSource&&null!==this.virtualRowsCache)return this.virtualRowsCache;const e=[];let i;return t.forEach(((t,r)=>{const a=t.group?.trim()||void 0;a&&a!==i&&!this.isSelectAllOption(t)&&e.push({kind:"group",group:a,key:`group:${a}:${r}`}),e.push({kind:"option",option:t,optionIndex:r,key:`option:${t.value}:${r}`}),i=a})),this.virtualRowsCacheSource=t,this.virtualRowsCache=e,e}getRowIndexForOption(t,e){return t.findIndex((t=>"option"===t.kind&&t.optionIndex===e))}getViewportHeight(){return Math.min(this.getVirtualRows().length,this.effectiveVisibleItems)*this.getRowHeight()}getRowHeight(){return this.measuredItemHeight??this.effectiveItemHeight}getVisibleRange(){const t=this.getVirtualRows(),{startIndex:e,endIndex:i}=function({totalItems:t,itemHeight:e,scrollTop:i,viewportHeight:r,overscan:a}){const o=Number.isFinite(t)?Math.max(0,Math.floor(t)):0;if(0===o)return{startIndex:0,endIndex:0};const n=Number.isFinite(e)&&e>0?e:1,s=Number.isFinite(i)?Math.max(0,i):0,l=Number.isFinite(r)&&r>0?r:n,c=Number.isFinite(a)?Math.max(0,Math.floor(a)):0,h=Math.min(o-1,Math.floor(s/n)),d=Math.max(1,Math.ceil(l/n));return{startIndex:Math.max(0,h-c),endIndex:Math.min(o,h+d+c)}}({totalItems:t.length,itemHeight:this.getRowHeight(),scrollTop:this.scrollTop,viewportHeight:this.getViewportHeight(),overscan:this.effectiveOverscan});return{startIndex:e,endIndex:i}}clampScrollPosition(){if(!this.listElement)return;const t=this.getVirtualRows().length*this.getRowHeight(),e=Math.max(0,t-this.getViewportHeight()),i=Math.min(Math.max(0,this.listElement.scrollTop),e);this.listElement.scrollTop!==i&&(this.listElement.scrollTop=i),this.scrollTop!==i&&(this.scrollTop=i)}scheduleMeasureItemHeight(){0!==this.getFilteredOptions().length&&null===this.measurementFrame&&(this.measurementFrame=requestAnimationFrame((async()=>{this.measurementFrame=null,await this.measureItemHeight()})))}async measureItemHeight(){const t=this.listElement?.querySelector("br-select-option");if(!t?.getItemHeight)return;const e=await t.getItemHeight();!e||e<=0||e===this.measuredItemHeight||(this.measuredItemHeight=e,this.clampScrollPosition())}getOptionElement(t){return this.el.shadowRoot?.querySelector(`br-select-option[data-option-index="${t}"]`)}async ensureOptionVisible(t){if(!this.listElement)return;const e=this.getVirtualRows(),i=this.getRowIndexForOption(e,t);if(i<0)return;const r=this.getRowHeight(),a=this.getViewportHeight(),o=i*r,n=o+r,s=this.listElement.scrollTop;let l=s;o<s?l=o:n>s+a&&(l=n-a);const c=Math.max(0,e.length*r-a);l=Math.min(Math.max(0,l),c),l!==s&&(this.listElement.scrollTop=l,this.scrollTop=l,await this.waitForNextFrame())}getCssClassMap(){return{"br-select-list":!0,"is-open":this.isOpen}}renderOption(t,e,r){const a=this.getRowHeight(),o=this.isSelectAllOption(t)?"option select-all":"option";return i("br-select-option",{part:o,active:e===this.effectiveActiveOptionIndex,"data-option-index":e,density:this.effectiveDensity,disabled:t.disabled,id:`${this.el.id||"br-select-list"}-option-${e}`,indeterminate:t.indeterminate,key:`${t.value}:${t.selected?"selected":"unselected"}:${t.group??""}`,label:t.label,ref:e=>{e&&t.group&&e.setAttribute("group",t.group)},selected:t.selected,"show-checkbox":this.effectiveMultiple,style:{boxSizing:"border-box",height:`${a}px`,position:"absolute",top:r*a+"px",left:"0",right:"0"},value:t.value},t.content?i("span",{innerHTML:t.content}):t.label??t.value)}renderGroup(t,e){const r=this.getRowHeight();return i("div",{"aria-hidden":"true",class:"option-group-label",key:t.key,part:"option-group",role:"presentation",style:{boxSizing:"border-box",height:`${r}px`,position:"absolute",top:e*r+"px",left:"0",right:"0"}},t.group)}getVirtualScrollStyle(){return{height:`${this.getViewportHeight()}px`,overflowY:"auto",overflowX:"hidden"}}getVirtualSpacerStyle(){return{height:this.getVirtualRows().length*this.getRowHeight()+"px",position:"relative"}}getVirtualVisibleRows(){const t=this.getVirtualRows(),{startIndex:e,endIndex:i}=this.getVisibleRange();return{startIndex:e,visibleRows:t.slice(e,i)}}renderVirtualOptions(){const{startIndex:t,visibleRows:e}=this.getVirtualVisibleRows();return 0===e.length?i("div",{part:"empty-option",role:"option","aria-selected":"false",tabIndex:0},"Nenhum resultado encontrado"):i("div",{style:this.getVirtualSpacerStyle()},e.map(((e,i)=>{const r=t+i;return"group"===e.kind?this.renderGroup(e,r):this.renderOption(e.option,e.optionIndex,r)})))}renderLoading(){return i("div",{part:"loading",role:"status","aria-live":"polite"},i("slot",{name:"loading"},i("br-loading",{density:this.effectiveDensity,label:"Buscando opções"})))}render(){return i(r,{key:"47c188f8f3e86d028476b8583d667e4eb412ec78"},i("div",{key:"36386dc9532a3bd3561e319493ec7b86100be204",class:this.getCssClassMap(),part:"list",ref:t=>this.listElement=t,onScroll:this.handleScroll,style:this.getVirtualScrollStyle()},this.loading?this.renderLoading():this.renderVirtualOptions()))}get el(){return this}static get watchers(){return{options:[{handleOptionsChange:0}],searchTerm:[{handleSearchTermChange:0}],selectAllLabel:[{handleSelectAllLabelChange:0}],unselectAllLabel:[{handleSelectAllLabelChange:0}]}}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{display:block}:host{display:block;left:0;position:absolute;right:0;top:100%;z-index:var(--z-index-layer-1)}.br-select-list{background-color:var(--bg-color);box-shadow:var(--select-shadow);display:none;margin-top:-2px;max-height:404px;overflow:auto;resize:none;width:100%}.br-select-list.is-open{display:block;animation:none}@media (prefers-reduced-motion: no-preference){.br-select-list.is-open{animation:select-list-open var(--duration-fast, 300ms) var(--animation-ease-out, ease-out) both}}.option-group-label{align-items:center;background-color:var(--background-light);border-bottom:1px solid var(--border-color-alternative);color:var(--color);display:flex;font-size:var(--font-size-scale-down-01);font-weight:var(--font-weight-semi-bold);padding:0 var(--spacing-scale-2x)}@keyframes select-list-open{from{opacity:0}to{opacity:1}}"}},[257,"br-select-list",{density:[513],options:[1040],searchTerm:[1,"search-term"],loading:[4],visibleItems:[2,"visible-items"],itemHeight:[2,"item-height"],overscan:[2],selectAllLabel:[1,"select-all-label"],unselectAllLabel:[1,"unselect-all-label"],activeOptionIndex:[2,"active-option-index"],isOpen:[32],isMultiple:[32],scrollTop:[32],measuredItemHeight:[32],open:[64],close:[64],setOptions:[64],setOption:[64],setSearchTerm:[64],setMultiple:[64],getOptions:[64],scrollOptionToTop:[64],scrollFirstSelectedOptionToTop:[64],focusOption:[64],setOptionSelected:[64]},[[0,"brSelectOptionStateChange","handleOptionStateChange"]],{options:[{handleOptionsChange:0}],searchTerm:[{handleSearchTermChange:0}],selectAllLabel:[{handleSelectAllLabelChange:0}],unselectAllLabel:[{handleSelectAllLabelChange:0}]}]);function f(){"undefined"!=typeof customElements&&["br-select-list","br-button","br-checkbox","br-icon","br-item","br-loading","br-message","br-select-option"].forEach((t=>{switch(t){case"br-select-list":customElements.get(a(t))||customElements.define(a(t),v);break;case"br-button":customElements.get(a(t))||h();break;case"br-checkbox":customElements.get(a(t))||d();break;case"br-icon":customElements.get(a(t))||g();break;case"br-item":customElements.get(a(t))||p();break;case"br-loading":customElements.get(a(t))||u();break;case"br-message":customElements.get(a(t))||m();break;case"br-select-option":customElements.get(a(t))||b()}}))}v.SELECT_ALL_LABEL="Selecionar todos",v.DESELECT_ALL_LABEL="Desselecionar todos",v.SELECT_ALL_VALUE="Alternar todos";export{v as S,f as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as e,c as i,h as s,d as r,t as a}from"./p-Jk_KQE5V.js";import{d as o}from"./p-BC7f6MK8.js";import{l as n}from"./p-BWXfdbQH.js";import{i as l,g as h,s as c,b as d,r as u}from"./p-CDTENPaP.js";import{g}from"./p-BeJxz5TQ.js";import{c as b,f as p}from"./p-CDtFCbKp.js";import{a as m,b as v,c as f,r as w,e as x}from"./p-DiLI514I.js";import{h as y,b as k}from"./p-5z6jgH1D.js";import{d as S}from"./p-DhvmHPp4.js";import{d as C}from"./p-BjeUETWJ.js";import{d as O}from"./p-Nze3Utvd.js";import{d as z}from"./p-ZLoeVagg.js";import{d as I}from"./p-DYI30IZL.js";import{d as V}from"./p-DNJSSCNi.js";import{d as A}from"./p-D579DS7x.js";import{d as j}from"./p-gbYJ9sfc.js";import{d as B}from"./p-CuBgClZm.js";import{d as D}from"./p-Ci0_RqAE.js";function E({currentValues:t,multiple:e,value:i,selected:s,selectableValues:r=[]}){const a=[...new Set(t)];if(!e){const t=s&&i?[i]:a.filter((t=>t!==i)).slice(0,1);return{values:t,changed:t.length!==a.length||t[0]!==a[0]}}if(!i&&r.length>0){const t=s?[...new Set(r)]:[];return{values:t,changed:t.length!==a.length||t.some(((t,e)=>t!==a[e]))}}const o=new Set(a);s?o.add(i):o.delete(i);const n=[...o];return{values:n,changed:n.length!==a.length||n.some(((t,e)=>t!==a[e]))}}const N=["local","remote"],L=["on","off"],M=t(class t extends e{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.brSelectStateChange=i(this,"brSelectStateChange",7),this.valueChange=i(this,"valueChange",7),this.optionHover=i(this,"optionHover",7),this.brSelectSearch=i(this,"brSelectSearch",6),this.opened=i(this,"opened",7),this.closed=i(this,"closed",7),this.brSelectValidationChange=i(this,"brSelectValidationChange",7),this.elementInternals=this.attachInternals(),this.borderless=!1,this.disabled=!1,this.density="medium",this.isInline=!1,this.isMultiple=!1,this.keepOpenOnSelect=!1,this.visibleItems=6,this.itemHeight=40,this.inputWidth=void 0,this.overscan=1,this.isOpen=!1,this.value="",this.placeholder="",this.required=!1,this.selectAllLabel=t.SELECT_ALL_LABEL,this.filterable=!0,this.searchMode="local",this.loading=!1,this.showSearchIcon=!1,this.unselectAllLabel=t.DESELECT_ALL_LABEL,this.options=[],this.customId=g("br-select"),this.minSelections=0,this.maxSelections=0,this.shouldRestoreSelectedOptionOnOpen=!1,this.pendingOptions=null,this.slotElement=null,this.handleSlotChange=()=>this.slotReconciler.schedule(),this.slotReconciler=b((()=>this.syncOptionsFromSlot())),this.lastEmittedStateKey="",this.isStateChangeReady=!1,this.isValueChangeReady=!1,this.listboxId=`${this.customId}-listbox`,this.activeOptionIndex=-1,this.searchTerm="",this.formDisabled=!1,this.isValidating=!1,this.validatorMessage=null,this.hasFeedbackSlot=!1,this.hasValidationLoadingSlot=!1,this.selectedValuesState=[],this.customValidationMessage="",this.validationRunId=0,this.lastAnnouncedOpen=!1,this.isApplyingExternalValue=!1,this.suppressValueChange=!1,this.hasImperativeOptions=!1,this.remoteSelectedOptions=new Map,this.selectionInitialized=!1,this.selectedValues=[],this.suppressFocusOpen=!1,this.syncOptionsFromSlot=(t=!0)=>{if(this.hasImperativeOptions)return;const e=(this.slotElement?.assignedNodes({flatten:!0})??Array.from(this.el.childNodes)).map((t=>this.nodeToOption(t))).filter((t=>Boolean(t)));this.selectListElement&&(this.selectListElement.options=this.getListOptions(e)),t&&this.syncDisplayValue(e)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.validationRunId++,this.validatorMessage=null,this.customValidationMessage="",this.applySelectedValue(this.initialValue)}formStateRestoreCallback(t){if("string"==typeof t&&""!==t)try{this.applySelectedValue(JSON.parse(t))}catch{this.applySelectedValue(t)}}get effectiveVisibleItems(){return m(this.el,"visibleItems",this.visibleItems,1,Number.MAX_SAFE_INTEGER,6)}get effectiveDensity(){return v(this.el,this.density)}get effectiveItemHeight(){return f(this.el,"itemHeight",this.itemHeight,1,Number.MAX_SAFE_INTEGER,40)}get effectiveOverscan(){return m(this.el,"overscan",this.overscan,0,Number.MAX_SAFE_INTEGER,1)}get effectiveSearchMode(){return w(this.el,"searchMode",this.searchMode,N,"local")}get effectiveMinSelections(){return m(this.el,"minSelections",this.minSelections,0,Number.MAX_SAFE_INTEGER,0)}get effectiveAutocomplete(){return w(this.el,"autocomplete",this.autocomplete,L,void 0,{allowUndefined:!0})}get effectiveMaxSelections(){return m(this.el,"maxSelections",this.maxSelections,0,Number.MAX_SAFE_INTEGER,0)}componentWillLoad(){this.hasFeedbackSlot=y(this.el,"feedback"),this.hasValidationLoadingSlot=y(this.el,"validation-loading"),this.setSelectionMode(this.effectiveMultiple);const t=this.getHostOptions(),e=this.getOptionsProp(),i=0===t.length&&e.length>0?e:t;this.setSelectedValues(this.valueFromPublicValue(this.value)??i.filter((t=>t.selected)).map((t=>t.value))),this.selectionInitialized=!0,0===t.length&&e.length>0?(this.pendingOptions=e,this.syncDisplayValue(e)):this.syncDisplayValue(t),this.initialValue=Array.isArray(this.value)?[...this.value]:this.value,this.syncFormState()}componentDidLoad(){this.lastEmittedStateKey=this.getStateChangeKey(),this.isStateChangeReady=!0,this.setSelectionMode(this.effectiveMultiple),this.slotElement=this.el.shadowRoot?.querySelector("slot:not([name])"),this.slotElement&&(this.syncOptionsFromSlot(!1),this.slotElement.addEventListener("slotchange",this.handleSlotChange)),this.pendingOptions&&this.selectListElement&&(this.selectListElement.options=this.getListOptions(this.pendingOptions),this.pendingOptions=null),this.isValueChangeReady=!0,this.lastAnnouncedOpen=this.effectiveOpen,this.effectiveOpen&&this.attachBlockingSurfaceListener(),this.updateValidity()}componentDidRender(){this.syncNativeSelectSelection(),this.updateValidity()}disconnectedCallback(){this.slotReconciler.cancel(),this.slotElement&&(this.slotElement.removeEventListener("slotchange",this.handleSlotChange),this.slotElement=null),this.detachBlockingSurfaceListener()}get effectiveMultiple(){return this.multiple??this.isMultiple}get effectiveInline(){return this.inline??this.isInline}get effectiveOpen(){return this.open??this.isOpen}valueFromPublicValue(t){return this.effectiveMultiple?Array.isArray(t)?[...new Set(t.filter(Boolean))]:null:"string"==typeof t&&t?[t]:null}setSelectedValues(t){const e=[...new Set(t.filter(Boolean))];!this.effectiveMultiple&&e.length>1&&e.splice(1),this.selectedValues.length===e.length&&this.selectedValues.every(((t,i)=>t===e[i]))||(this.selectedValues=e,this.selectedValuesState=e)}get canonicalSelectedValues(){return this.selectedValues}applyCanonicalSelection(t,e=this.canonicalSelectedValues){if(!this.selectionInitialized)return t.map((t=>({...t})));const i=new Set(e);return t.map((t=>({...t,selected:i.has(t.value)})))}getListOptions(t){const e=this.applyCanonicalSelection(t).filter((t=>!this.isSelectAllOption(t)));if(!this.effectiveMultiple)return e;const i=e.filter((t=>!this.isSelectAllOption(t))),s=i.length>0&&i.every((t=>Boolean(t.selected))),r=i.some((t=>Boolean(t.selected)));return[{value:"__select_all__",label:s?this.unselectAllLabel:this.selectAllLabel,selected:s,indeterminate:r&&!s},...i]}isDisabled(){return l(this.disabled,this.formDisabled)}handleDisabledChange(t){t&&this.effectiveOpen?this.close():this.emitStateChange()}handleIsOpenChange(t){void 0===this.open&&this.syncOpenState(t)}handleFilterableChange(t){t||this.clearSearch()}handleLoadingChange(t){this.selectListElement&&(this.selectListElement.loading=t)}handleIsMultipleChange(t){void 0===this.multiple&&this.setSelectionMode(t),this.syncDisplayValue()}handleMultipleChange(t){void 0!==t&&this.setSelectionMode(t),this.syncDisplayValue()}handleOpenChange(t){void 0!==t&&this.syncOpenState(t)}handleExternalValueChange(t){this.isApplyingExternalValue||this.applySelectedValue(t)}handleOptionsChange(){const t=this.getOptionsProp();this.setOptions(t)}syncOpenState(t){this.lastAnnouncedOpen!==t&&((t?this.opened:this.closed).emit(),this.lastAnnouncedOpen=t),t?(this.attachBlockingSurfaceListener(),this.selectInputElement?.flipUp(),this.openListAndRestorePointerFocus()):(this.detachBlockingSurfaceListener(),this.selectInputElement?.flipDown(),this.selectListElement?.close()),this.emitStateChange()}attachBlockingSurfaceListener(){this.cleanupBlockingSurfaceDismissal??(this.cleanupBlockingSurfaceDismissal=n(this.el,(()=>{this.close()})))}detachBlockingSurfaceListener(){this.cleanupBlockingSurfaceDismissal?.(),this.cleanupBlockingSurfaceDismissal=void 0}handleSelectInputFocus(){this.activeOptionIndex=-1,this.suppressFocusOpen||this.filterable&&!this.effectiveOpen&&(this.clearSearch(),this.show())}handleSelectInputValueChange(t){if(!this.filterable||this.isDisabled())return;const e=t.detail??"";this.searchTerm=e,this.activeOptionIndex=-1,this.brSelectSearch.emit({query:e}),this.getSelectListController()?.setSearchTerm?.(e),this.effectiveOpen||this.show()}handleSelectInputActionClick(){this.toggleOpenFromPointer()}handleSelectInputClick(){this.filterable?this.effectiveOpen||(this.shouldRestoreSelectedOptionOnOpen=!0,this.show()):this.toggleOpenFromPointer()}handleSelectOptionStateChange(t){t.stopPropagation();const e=t.detail,i=this.getSelectListController()?.options,s=Array.isArray(i)&&i.length>0?i.map((t=>({...t}))):this.getCurrentOptions(),r=s.filter((t=>!this.isSelectAllLabel(this.getOptionLabel(t)))).map((t=>t.value)),a=this.isSelectAllLabel(e.label??e.value)?function(t,e,i){return E({currentValues:t,multiple:!0,value:"",selected:e,selectableValues:i})}(this.selectedValues,Boolean(e.selected),r):E({currentValues:this.selectedValues,multiple:this.effectiveMultiple,value:e.value,selected:Boolean(e.selected)});this.setSelectedValues(a.values);const n=this.applyCanonicalSelection(s,a.values);this.selectListElement&&(this.selectListElement.options=this.getListOptions(n)),this.reflectRenderedListSelection(a.values,n),this.syncSlottedOptionSelection(a.values),this.rememberRemoteSelections(n),this.syncDisplayValue(n),this.syncActiveOptionIndex(t.detail),this.emitStateChange(e),this.updateValidity(),a.changed&&(this.effectiveMultiple||(this.suppressFocusOpen=!0,this.selectInputElement?.setFocus?.(),this.close().finally((()=>{this.suppressFocusOpen=!1}))),o(this.el,"input"),o(this.el,"change"))}handleSelectOptionPropsChange(t){const i=t.composedPath();if(i.some((t=>"br-select-list"===t.tagName?.toLowerCase())))return;const s=i.find((t=>"br-select-option"===t.tagName?.toLowerCase()));s instanceof e&&p(s,"br-select")===this.el&&(this.hasImperativeOptions||this.slotReconciler.schedule())}handleSelectOptionHover(t){this.optionHover.emit(t.detail)}async handleKeyDown(t){if(this.isDisabled())return;const e=this.getEventPath(t),i=e.includes(this.selectInputElement),s=e.includes(this.selectListElement);if(i||s)switch(t.key){case"ArrowDown":return t.preventDefault(),void await this.openAndFocusBoundary(i,1);case"ArrowUp":return t.preventDefault(),void await this.openAndFocusBoundary(i,-1);case"Home":if(!this.effectiveOpen)return;return t.preventDefault(),void await this.focusOptionByIndex(0);case"End":if(!this.effectiveOpen)return;return t.preventDefault(),void await this.focusOptionByIndex(this.getNavigableOptions().length-1);case"Enter":case" ":if(i&&this.filterable&&" "===t.key)return;if(s)return;return t.preventDefault(),this.effectiveOpen?void await this.selectFocusedOption():(await this.show(),void await this.focusInitialOption(1));case"Escape":if(!this.effectiveOpen)return;return t.preventDefault(),await this.close(),this.activeOptionIndex=-1,void await(this.selectInputElement?.setFocus?.());case"Tab":if(!this.effectiveOpen)return;return await this.close(),void(this.activeOptionIndex=-1);default:return}}handleWindowClick(t){this.handleOutsideClick(t)}async enable(){this.disabled=!1}async disable(){this.disabled=!0}async show(){this.isDisabled()||(void 0!==this.open?this.open=!0:this.isOpen=!0)}async close(){this.isDisabled()||(void 0!==this.open?this.open=!1:this.isOpen=!1,this.clearSearch())}async toggleOpen(){this.isDisabled()||(void 0!==this.open?this.open=!this.open:this.isOpen=!this.isOpen)}async clear(){await this.setValue(this.effectiveMultiple?[]:"")}async getValue(){return this.value??(this.effectiveMultiple?[]:"")}async setValue(t){this.applySelectedValue(t)}async setFocus(){await(this.selectInputElement?.setFocus?.())}async checkValidity(){return this.elementInternals?.checkValidity?.()??!0}async reportValidity(){return this.elementInternals?.reportValidity?.()??!0}async setCustomValidity(t){this.customValidationMessage=t,this.updateValidity()}async getValidationState(){return h(this.elementInternals)}async validate(){const t=this.resolveValidator();if(!t||this.isDisabled())return this.checkValidity();const e=++this.validationRunId;this.isValidating=!0,this.validatorMessage=null,this.updateValidity(),this.brSelectValidationChange.emit({validating:!0,valid:null,message:null});let i=null;try{const e=this.effectiveMultiple?[...Array.isArray(this.value)?this.value:[]]:String(this.value??"");i=await t(e)||null}catch{i="Não foi possível validar a seleção."}if(e!==this.validationRunId)return!1;this.validatorMessage=i,this.isValidating=!1,this.updateValidity();const s=null===i&&await this.checkValidity();return this.brSelectValidationChange.emit({validating:!1,valid:s,message:i}),s}async setOptions(t){this.hasImperativeOptions=!0;const e="remote"===this.effectiveSearchMode?this.applyRemoteSelection(t):t;this.suppressValueChange=!0;try{this.selectListElement?this.selectListElement.options=this.getListOptions(e):this.pendingOptions=e,this.syncDisplayValue(e)}finally{this.suppressValueChange=!1}}async setOption(t){this.hasImperativeOptions=!0;const e=this.getCurrentOptions(),i=e.findIndex((e=>e.value===t.value)),s=[...e];-1===i?s.push(t):s[i]=t,this.selectListElement?this.selectListElement.options=this.getListOptions(s):this.pendingOptions=s,this.syncDisplayValue(s)}getHostOptions(){return Array.from(this.el.childNodes).map((t=>this.nodeToOption(t))).filter((t=>Boolean(t)))}nodeToOption(t){return t.nodeType===Node.ELEMENT_NODE?this.elementToOption(t):t.nodeType===Node.TEXT_NODE?this.textNodeToOption(t):null}elementToOption(t){if("br-select-option"===t.tagName.toLowerCase())return this.optionElementToData(t);const e=(t.textContent||"").trim();return e?{value:e,label:e}:null}textNodeToOption(t){const e=(t.textContent||"").trim();return e?{value:e,label:e}:null}optionElementToData(t){const e=t.getAttribute("value")??t.value??"",i=t.getAttribute("label")??t.label??"";let s=String(e||"").trim(),r=String(i||"").trim();const a=this.getOptionElementGroup(t),o=this.extractInnerTextFromOption(t),n=(t.innerHTML||"").trim(),l=t.hasAttribute("selected")||Boolean(t.selected);return!s&&o&&(s=o.trim()),r||(r=o?.trim()||s),{value:s||"",label:r||void 0,group:a,selected:l,content:n||void 0}}getOptionElementGroup(t){return String(t.getAttribute("group")??t.group??"").trim()||void 0}extractInnerTextFromOption(t){return(t.textContent||"").trim()||null}getOptionLabel(t){return(t.label??t.value).trim()}getDisplayValue(t=this.getCurrentOptions()){const e=t.filter((t=>{if(!t.selected)return!1;const e=this.getOptionLabel(t);return!this.isSelectAllLabel(e)}));if(0===e.length)return"";if(!this.effectiveMultiple)return this.getOptionLabel(e[0]);const[i,...s]=e,r=this.getOptionLabel(i);return 0===s.length?r:`${r} + (${s.length})`}syncDisplayValue(t){const e=this.getFormOptions(t??this.getCurrentOptions());this.displayValue=this.getDisplayValue(e),this.syncValue(e)}syncValue(t){this.setSelectedValues(t.filter((t=>t.selected&&!this.isSelectAllLabel(this.getOptionLabel(t)))).map((t=>t.value)));const e=this.getSerializedValue(t);this.syncFormState(t),this.value!==e&&(this.isApplyingExternalValue=!0,this.value=e,this.isApplyingExternalValue=!1,this.isValueChangeReady&&!this.suppressValueChange&&this.valueChange.emit(Array.isArray(e)?e.join(","):e))}getSerializedValue(t){const e=t.filter((t=>{if(!t.selected)return!1;const e=this.getOptionLabel(t);return!this.isSelectAllLabel(e)})).map((t=>t.value));return this.effectiveMultiple?e:0===e.length?"":e[0]}getOptionsProp(){let t=this.options;if(!Array.isArray(this.options))try{t=JSON.parse(this.options||"[]")}catch{return x(this.el,"options",this.options,"Informe um array de opções ou uma string JSON válida.","Aplicando fallback []."),[]}if(!Array.isArray(t))return x(this.el,"options",this.options,"Informe um array de opções ou uma string JSON válida.","Aplicando fallback []."),[];const e=t.filter((t=>"object"==typeof t&&null!==t&&"string"==typeof t.value)),i=t.some((t=>{if("object"!=typeof t||null===t)return!1;const e=t.label;return void 0!==e&&"string"!=typeof e})),s=t.some((t=>{if("object"!=typeof t||null===t)return!1;const e=t.group;return void 0!==e&&"string"!=typeof e})),r=e.map((t=>({...t,group:"string"==typeof t.group&&t.group.trim()||void 0,label:"string"==typeof t.label?t.label:void 0})));return(e.length!==t.length||i||s)&&x(this.el,"options",this.options,"Cada opção deve ter `value` string e pode ter `label` e `group` como strings.","Ignorando opções inválidas e removendo rótulos ou grupos com tipo incompatível."),r}applySelectedValue(t){const e=this.getCurrentOptions(),i=this.valueFromPublicValue(t)??[];this.setSelectedValues(i);const s=e.map((t=>({...t,selected:i.includes(t.value)})));if(this.isApplyingExternalValue=!0,this.selectListElement?this.selectListElement.options=this.getListOptions(s):this.pendingOptions=s,this.reflectRenderedListSelection(i,s),this.value=t,this.isApplyingExternalValue=!1,this.remoteSelectedOptions.clear(),this.rememberRemoteSelections(s),"remote"===this.effectiveSearchMode)return new Set(Array.isArray(t)?t:[t??""]).forEach((t=>{t&&!e.some((e=>e.value===t))&&this.remoteSelectedOptions.set(t,{value:t,label:t,selected:!0})})),void this.syncDisplayValue(this.getCurrentOptions());this.syncDisplayValue(s)}applyRemoteSelection(t){this.rememberRemoteSelections(this.getCurrentOptions());const e=new Set(this.selectedValues),i=t.map((t=>({...t,selected:e.has(t.value)||Boolean(t.selected)})));return this.rememberRemoteSelections(i),i}rememberRemoteSelections(t){if("remote"!==this.effectiveSearchMode)return;const e=new Set(t.map((t=>t.value)));t.forEach((t=>{t.selected?this.remoteSelectedOptions.set(t.value,{...t,selected:!0}):e.has(t.value)&&this.remoteSelectedOptions.delete(t.value)}))}getFormOptions(t){if("remote"!==this.effectiveSearchMode)return t;const e=t.map((t=>({...t}))),i=new Set(e.map((t=>t.value)));return this.remoteSelectedOptions.forEach(((t,s)=>{i.has(s)||e.push({...t,selected:!0})})),e}syncFormState(t=this.getCurrentOptions()){const e=this.getFormOptions(t).filter((t=>t.selected&&!this.isSelectAllLabel(this.getOptionLabel(t)))).map((t=>t.value)),i=this.effectiveMultiple?JSON.stringify(e):e[0]??null;c(this.elementInternals,i),this.syncNativeSelectSelection(e),this.updateValidity(e.length)}syncNativeSelectSelection(t=this.getSelectedValues()){const e=this.getNativeSelect();if(!e)return;const i=new Set(t);Array.from(e.options).forEach((t=>{t.selected=""===t.value?0===i.size:i.has(t.value)}))}getSelectedValues(){return[...this.selectedValues]}updateValidity(t=this.getSelectedValues().length){const e=this.getNativeSelect();e&&(e.setCustomValidity(this.customValidationMessage||this.validatorMessage||(this.effectiveMultiple&&this.effectiveMinSelections>0&&t<this.effectiveMinSelections?`Selecione pelo menos ${this.effectiveMinSelections} opções.`:this.effectiveMultiple&&this.effectiveMaxSelections>0&&t>this.effectiveMaxSelections?`Selecione no máximo ${this.effectiveMaxSelections} opções.`:"")),d(this.elementInternals,e))}getNativeSelect(){return this.el.shadowRoot?.querySelector('select[part="hidden-select"]')??this.nativeSelect}resolveValidator(){return u(this.validator)}getRenderedDisplayValue(){return this.displayValue??this.getDisplayValue()}getActiveDescendant(){if(this.effectiveOpen&&!(this.activeOptionIndex<0))return`${this.listboxId}-option-${this.activeOptionIndex}`}toggleOpenFromPointer(){this.effectiveOpen||(this.shouldRestoreSelectedOptionOnOpen=!0),this.toggleOpen()}async openListAndRestorePointerFocus(){await(this.selectListElement?.open()),this.shouldRestoreSelectedOptionOnOpen&&(this.shouldRestoreSelectedOptionOnOpen=!1,await this.scrollFirstSelectedOptionToTop())}async scrollFirstSelectedOptionToTop(){const t=this.getNavigableOptions().findIndex((t=>!this.isSelectAllLabel(this.getOptionLabel(t))&&Boolean(t.selected)));t<0||await(this.getSelectListController()?.scrollFirstSelectedOptionToTop?.())&&(this.activeOptionIndex=t)}async openAndFocusBoundary(t,e){if(!this.effectiveOpen)return await this.show(),void await this.focusInitialOption(e);t&&this.activeOptionIndex<0?await this.focusInitialOption(e):await this.moveActiveOption(e)}async focusInitialOption(t){const e=this.getNavigableOptions();if(0===e.length)return;const i=e.findIndex((t=>Boolean(t.selected))),s=i>=0?i:t>0?0:e.length-1;await this.focusOptionByIndex(s)}async moveActiveOption(t){const e=this.getNavigableOptions();if(0===e.length)return;const i=this.getCurrentActiveIndex(),s=Math.min(e.length-1,Math.max(0,i+t));await this.focusOptionByIndex(s)}getCurrentActiveIndex(){if(this.activeOptionIndex>=0)return this.activeOptionIndex;const t=this.getNavigableOptions().findIndex((t=>Boolean(t.selected)));return t>=0?t:0}async focusOptionByIndex(t){await(this.getSelectListController()?.focusOption?.(t))&&(this.activeOptionIndex=t)}async selectFocusedOption(){const t=this.getNavigableOptions();if(0===t.length)return;const e=this.getCurrentActiveIndex(),i=t[e],s=!this.effectiveMultiple||!i?.selected;this.effectiveMultiple&&0===e&&i&&!this.isSelectAllLabel(this.getOptionLabel(i))?this.handleSelectOptionStateChange(new CustomEvent("brSelectOptionStateChange",{detail:{value:"__select_all__",label:this.selectAllLabel,selected:!0,disabled:!1}})):await(this.getSelectListController()?.setOptionSelected?.(e,s))&&(this.activeOptionIndex=e)}syncActiveOptionIndex(t){const e=this.getNavigableOptions().findIndex((e=>e.value===t.value));e>=0&&(this.activeOptionIndex=e)}syncSlottedOptionSelection(t=this.selectedValues){const e=Array.from(this.el.children).filter((t=>"br-select-option"===t.tagName.toLowerCase()));if(0===e.length)return;const i=new Set(t);if(e.forEach((t=>{const e=this.optionElementToData(t).value;t.selected=i.has(e),t.indeterminate=!1,t.selected?t.setAttribute("selected",""):t.removeAttribute("selected")})),!this.effectiveMultiple)return;const s=e.filter((t=>{const e=(t.label??t.value).trim();return!this.isSelectAllLabel(e)})),r=s.length>0&&s.every((t=>Boolean(t.selected))),a=s.some((t=>Boolean(t.selected)));e.forEach((t=>{const e=(t.label??t.value).trim();this.isSelectAllLabel(e)&&(t.indeterminate=a&&!r,t.selected=r,this.normalizeSelectAllState(t),t.selected?t.setAttribute("selected",""):t.removeAttribute("selected"))}))}reflectRenderedListSelection(t,e){if(!this.selectListElement)return;const i=e??this.getCurrentOptions();this.selectListElement.options=this.getListOptions(i.map((e=>({...e,selected:t.includes(e.value)}))))}isSelectAllLabel(t){return t===this.selectAllLabel||t===this.unselectAllLabel}isSelectAllOption(t){return"__select_all__"===t.value||"Alternar todos"===t.value||this.isSelectAllLabel(this.getOptionLabel(t))}getSelectAllLabel(t,e){return t&&!e?this.unselectAllLabel:this.selectAllLabel}normalizeSelectAllState(t){const e=Boolean(t.selected)&&!t.indeterminate,i=Boolean(t.indeterminate);t.selected=e,t.indeterminate=i,t.label=this.getSelectAllLabel(e,i)}handleOutsideClick(t){this.effectiveOpen&&(this.getEventPath(t).includes(this.el)||this.close())}emitStateChange(t){const e=this.getStateChangeDetail(t),i=JSON.stringify(e);this.isStateChangeReady?this.lastEmittedStateKey!==i&&(this.lastEmittedStateKey=i,this.brSelectStateChange.emit(e)):this.lastEmittedStateKey=i}getStateChangeDetail(t){const e={isOpen:this.effectiveOpen},i=this.getFormOptions(this.getCurrentOptions());if(this.effectiveMultiple)return e.options=i.filter((t=>!this.isSelectAllLabel((t.label??t.value).trim()))).map((t=>this.normalizeOptionForOutput(t))),e;const s=i.find((t=>Boolean(t.selected)));if(s)return e.option=this.normalizeOptionForOutput(s),e;if(t?.value){const{disabled:i,...s}=t;e.option={...s,label:t.label??t.value}}return e}normalizeOptionForOutput(t){const e=(t.label??t.value).trim(),i=this.isSelectAllLabel(e),{disabled:s,...r}=t;if(i)return r;const{indeterminate:a,...o}=r;return o}getStateChangeKey(){return JSON.stringify(this.getStateChangeDetail())}getCurrentOptions(){if(!this.hasImperativeOptions&&this.slotElement){const t=(this.slotElement.assignedNodes({flatten:!0})??[]).map((t=>this.nodeToOption(t))).filter((t=>Boolean(t)));if(t.length>0){const e=this.applyCanonicalSelection(t);return this.getListOptions(e)}}const t=this.getSelectListController()?.options;if(Array.isArray(t)&&t.length>0){const e=t.map((t=>({...t})));if(e.some((t=>!this.isSelectAllLabel(this.getOptionLabel(t)))))return this.getListOptions(e)}if(this.pendingOptions)return this.getListOptions(this.pendingOptions);const e=this.applyCanonicalSelection(this.getHostOptions());return this.getListOptions(e)}normalizeSearchText(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLocaleLowerCase("pt-BR").trim()}getNavigableOptions(){const t=this.getCurrentOptions(),e=this.normalizeSearchText(this.searchTerm);return this.filterable&&"remote"!==this.effectiveSearchMode&&e?t.filter((t=>{if(this.isSelectAllLabel(this.getOptionLabel(t)))return this.effectiveMultiple;const i=this.normalizeSearchText(this.getOptionLabel(t)),s=this.normalizeSearchText(t.value);return i.includes(e)||s.includes(e)})):t}clearSearch(){this.searchTerm&&(this.searchTerm="",this.activeOptionIndex=-1,this.getSelectListController()?.setSearchTerm?.(""))}getEventPath(t){return t.composedPath?t.composedPath():t.path??[]}getSelectListController(){return this.selectListElement}getCssClassMap(){return{"br-select":!0}}getAccessibleLabel(){return this.label?.trim()||this.placeholder?.trim()||"Selecao"}setSelectionMode(t){this.selectListElement?.setMultiple(t)}renderSelectInput(){return s("br-select-input",{part:"input",exportparts:"container:input-container, input:input-field, label:input-label, group:input-group, icon:input-icon, action:input-action, action-button:input-action-button",ref:t=>this.selectInputElement=t,"aria-activedescendant":this.getActiveDescendant(),"aria-controls":this.listboxId,"aria-disabled":String(this.isDisabled()),"aria-expanded":String(this.effectiveOpen),"aria-haspopup":"listbox","aria-label":this.getAccessibleLabel(),"aria-required":String(this.required),borderless:this.borderless,density:this.effectiveDensity,"is-inline":this.effectiveInline,"is-open":this.effectiveOpen,label:this.label,name:this.name,placeholder:this.placeholder,required:this.required,disabled:this.isDisabled(),filterable:this.filterable,showSearchIcon:this.showSearchIcon,autocomplete:this.effectiveAutocomplete,"input-width":this.inputWidth,role:"combobox",value:this.filterable&&this.effectiveOpen?this.searchTerm:this.getRenderedDisplayValue()})}renderSelectList(){return s("br-select-list",{part:"list",options:this.getListOptions(this.getCurrentOptions()),exportparts:"list, option, checkbox, select-all, empty-option, option-checkbox, option-radio, option-group","active-option-index":this.activeOptionIndex,"aria-label":this.getAccessibleLabel(),"aria-multiselectable":this.effectiveMultiple?"true":"false",density:this.effectiveDensity,id:this.listboxId,"visible-items":this.effectiveVisibleItems,"item-height":this.effectiveItemHeight,overscan:this.effectiveOverscan,"search-term":this.filterable&&"local"===this.effectiveSearchMode?this.searchTerm:"",role:"listbox","select-all-label":this.selectAllLabel,"unselect-all-label":this.unselectAllLabel,ref:t=>{this.selectListElement=t,this.selectListElement.loading=this.loading,this.setSelectionMode(this.effectiveMultiple),this.getSelectListController()?.setSearchTerm?.(this.filterable?this.searchTerm:"")}},s("slot",null),s("slot",{name:"loading",slot:"loading"}))}renderHiddenSelect(){const t=this.getFormOptions(this.getCurrentOptions()).filter((t=>!this.isSelectAllLabel(this.getOptionLabel(t)))),e=t.some((t=>t.selected));return s("select",{ref:t=>this.nativeSelect=t,part:"hidden-select",name:this.name,autocomplete:this.effectiveAutocomplete,multiple:this.effectiveMultiple,required:this.required,disabled:this.isDisabled(),tabIndex:-1,"aria-hidden":"true",style:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"},onChange:t=>t.preventDefault()},s("option",{value:"",selected:!e}),this.getNativeOptionGroups(t).map(((t,e)=>{const i=t.options.map((t=>this.renderNativeOption(t)));return t.group?s("optgroup",{key:`${t.group}:${e}`,label:t.group},i):i})))}getNativeOptionGroups(t){return t.reduce(((t,e)=>{const i=e.group?.trim()||void 0,s=t.at(-1);return s&&s.group===i?s.options.push(e):t.push({group:i,options:[e]}),t}),[])}renderNativeOption(t){return s("option",{key:t.value,value:t.value,selected:t.selected,disabled:t.disabled})}render(){return s(r,{key:"9c74748b6b9b428fc6f0388a704196e579d45ae6","aria-busy":this.isValidating||this.loading?"true":null},s("div",{key:"291a5947bd1f1de1b93944fca855fc7a2cacd24e",class:this.getCssClassMap(),part:"container"},this.renderSelectInput(),this.renderSelectList(),s("div",{key:"86f0d585b01076b26926e80a10e60ae1077f4183",part:"feedback",hidden:!this.hasFeedbackSlot&&!this.validatorMessage},s("slot",{key:"f5aad9aa79604fe8b7be56fb80ecf27ea116559b",name:"feedback",onSlotchange:t=>this.hasFeedbackSlot=k(t.currentTarget)},this.validatorMessage)),s("div",{key:"1bf287a49b52beb2655d80e7195ea1657ce1cf18",part:"validation-loading",hidden:!this.hasValidationLoadingSlot||!this.isValidating},s("slot",{key:"e0b02f9a40c8105c901600fed485352e664ff9d2",name:"validation-loading"})),this.renderHiddenSelect()))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{disabled:[{handleDisabledChange:0}],isOpen:[{handleIsOpenChange:0}],filterable:[{handleFilterableChange:0}],loading:[{handleLoadingChange:0}],isMultiple:[{handleIsMultipleChange:0}],multiple:[{handleMultipleChange:0}],open:[{handleOpenChange:0}],value:[{handleExternalValueChange:0}],options:[{handleOptionsChange:0}]}}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-select{--select-divider:1px solid var(--color-secondary-04);--select-shadow:var(--surface-shadow-md)}.br-select .br-input input{padding-right:29px;text-overflow:ellipsis}.br-select .br-input input::after{bottom:0;padding:0 5px;position:absolute;right:0}.br-select{max-width:400px;min-width:100px;position:relative}.br-select .br-list{background:var(--bg-color);box-shadow:var(--select-shadow);display:none;margin-top:-2px;max-height:404px;overflow:auto;position:absolute;resize:none;width:100%;z-index:1}.br-select .br-list::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-select .br-list::-webkit-scrollbar-track{background:var(--gray-10)}.br-select .br-list::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-select .br-list:focus,.br-select .br-list:active{color:var(--color-secondary-09);outline:none}.br-select .br-list:hover::-webkit-scrollbar-thumb{background:var(--color-secondary-07)}.br-select .br-list[expanded]{display:block}.br-select .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x)}.br-select .br-item .content{padding:0}.br-select .br-item .br-checkbox,.br-select .br-item .br-radio{--item-padding-x:var(--spacing-scale-2x);--item-padding-y:var(--spacing-scale-2x)}.br-select .br-item .br-checkbox input:hover:not(:disabled)+label::before,.br-select .br-item .br-radio input:hover:not(:disabled)+label::before{background-image:none}.br-select .br-item .br-checkbox input+label,.br-select .br-item .br-radio input+label{padding-left:calc(var(--checkbox-padding) + var(--checkbox-size) + var(--item-padding-x))}.br-select .br-item .br-radio input+label{color:var(--text-color);display:block;height:auto;min-height:0;padding:var(--item-padding)}.br-select .br-item .br-radio input+label::before,.br-select .br-item .br-radio input+label::after{content:none}.br-select .br-item:not(:last-child){border-bottom:var(--select-divider)}.br-select .br-item:not([disabled]){--focus-offset:calc(var(--spacing-scale-half) * -1)}.br-select .br-item:not([disabled]):focus{outline:none}.br-select .br-item:not([disabled]).focus-visible,.br-select .br-item:not([disabled]):focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item:not([disabled]):not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.selected,.br-select .br-item[selected]{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.br-select .br-item.selected:focus,.br-select .br-item[selected]:focus{outline:none}.br-select .br-item.selected.focus-visible,.br-select .br-item.selected:focus-visible,.br-select .br-item[selected].focus-visible,.br-select .br-item[selected]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}.br-select .br-item.selected:not(:disabled):hover,.br-select .br-item[selected]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-select .br-item.disabled{line-height:calc(var(--font-line-height-high)*2);padding-left:calc(var(--item-padding) + var(--spacing-scale-base))}.br-select.inverted .br-input,.br-select.inverted .br-input label,.br-select.dark-mode .br-input,.br-select.dark-mode .br-input label{--color:var(--color-dark);--focus-color:var(--focus-color-dark)}:host{box-sizing:border-box;display:block;max-width:100%;width:100%}.br-select{box-sizing:border-box;min-width:0;position:relative;width:100%;max-width:100%}:host([multiple]) .br-select{min-width:0}"}},[321,"br-select",{borderless:[516],disabled:[516],density:[513],isInline:[516,"is-inline"],inline:[516],isMultiple:[516,"is-multiple"],multiple:[516],keepOpenOnSelect:[516,"keep-open-on-select"],visibleItems:[514,"visible-items"],itemHeight:[514,"item-height"],inputWidth:[513,"input-width"],overscan:[514],isOpen:[1540,"is-open"],open:[516],label:[513],name:[513],value:[1025],placeholder:[513],required:[516],selectAllLabel:[513,"select-all-label"],filterable:[516],searchMode:[513,"search-mode"],loading:[516],showSearchIcon:[516,"show-search-icon"],unselectAllLabel:[513,"unselect-all-label"],options:[1],autocomplete:[513],customId:[513,"custom-id"],minSelections:[514,"min-selections"],maxSelections:[514,"max-selections"],validator:[1],activeOptionIndex:[32],displayValue:[32],searchTerm:[32],formDisabled:[32],isValidating:[32],validatorMessage:[32],hasFeedbackSlot:[32],hasValidationLoadingSlot:[32],selectedValuesState:[32],enable:[64],disable:[64],show:[64],close:[64],toggleOpen:[64],clear:[64],getValue:[64],setValue:[64],setFocus:[64],checkValidity:[64],reportValidity:[64],setCustomValidity:[64],getValidationState:[64],validate:[64],setOptions:[64],setOption:[64]},[[0,"brSelectInputFocus","handleSelectInputFocus"],[0,"brSelectInputValueChange","handleSelectInputValueChange"],[0,"brSelectInputActionClick","handleSelectInputActionClick"],[0,"brSelectInputClick","handleSelectInputClick"],[0,"brSelectOptionStateChange","handleSelectOptionStateChange"],[0,"brSelectOptionPropsChange","handleSelectOptionPropsChange"],[0,"brInternalSelectOptionHover","handleSelectOptionHover"],[0,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]],{disabled:[{handleDisabledChange:0}],isOpen:[{handleIsOpenChange:0}],filterable:[{handleFilterableChange:0}],loading:[{handleLoadingChange:0}],isMultiple:[{handleIsMultipleChange:0}],multiple:[{handleMultipleChange:0}],open:[{handleOpenChange:0}],value:[{handleExternalValueChange:0}],options:[{handleOptionsChange:0}]}]);function F(){"undefined"!=typeof customElements&&["br-select","br-button","br-checkbox","br-icon","br-input","br-item","br-loading","br-message","br-select-input","br-select-list","br-select-option"].forEach((t=>{switch(t){case"br-select":customElements.get(a(t))||customElements.define(a(t),M);break;case"br-button":customElements.get(a(t))||S();break;case"br-checkbox":customElements.get(a(t))||C();break;case"br-icon":customElements.get(a(t))||O();break;case"br-input":customElements.get(a(t))||z();break;case"br-item":customElements.get(a(t))||I();break;case"br-loading":customElements.get(a(t))||V();break;case"br-message":customElements.get(a(t))||A();break;case"br-select-input":customElements.get(a(t))||j();break;case"br-select-list":customElements.get(a(t))||B();break;case"br-select-option":customElements.get(a(t))||D()}}))}M.SELECT_ALL_LABEL="Selecionar todos",M.DESELECT_ALL_LABEL="Desselecionar todos";export{M as S,F as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as t,H as e,h as a,d as r,t as o}from"./p-Jk_KQE5V.js";import{r as i}from"./p-DiLI514I.js";import{d as s}from"./p-Nze3Utvd.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.ariaLabelContent="",this.content="",this.contentType="default",this.itemRole="option",this.labelPosition="bottom",this.mode="step",this.showTimeLine=!1,this.stepItemPositionStatus="first",this.stepLayout="horizontal",this.verticalContentPlacement="between",this.label="",this.active=!1,this.disabled=!1,this.ariaLabel="",this.controlsId="",this.brIconName="",this.brIconAria="",this.highlightAriaLabel={success:"passo completo",info:"passo com item informativo",warning:"passo com alerta",danger:"passo com erro"},this.iconNames={success:"fa-solid:check",info:"fa-solid:info-circle",warning:"fa-solid:exclamation-triangle",danger:"fa-solid:times"}}get effectiveHighlight(){return i(this.el,"highlight",this.highlight,["success","info","warning","danger"],void 0,{allowUndefined:!0})}componentWillRender(){this.ariaLabelContent=""!==this.ariaLabel?this.ariaLabel:this.getGeneratedAriaLabel()}async setStepItemPositionStatus(t){this.stepItemPositionStatus=t}async handleShowTimeLine(t,e){this.showTimeLine=t,this.stepLayout=e}async setLabelPosition(t){this.labelPosition=t}async setContentType(t){this.contentType=t}async setMode(t){this.mode=t}async setItemRole(t){this.itemRole=t}async setContent(t){this.content=t}getGeneratedAriaLabel(){const t=this.effectiveHighlight,e=void 0!==t?this.highlightAriaLabel[t]:"",a="slotted"===this.contentType?this.getSlottedAriaContent():this.getDefaultAriaContent(),r=["passo",this.content,a,this.label,e].filter(Boolean).join(" ");return this.active?`${r} selecionado`:r}getDefaultAriaContent(){return"br-icon"===this.contentType?this.brIconAria:""}getSlottedAriaContent(){return this.el.querySelector('[slot="content-area"]')?.textContent?.trim()??""}async setVerticalContentPlacement(t){this.verticalContentPlacement=t}getAlertClass(){return{"step-alert":!0,"no-content":"no-content"===this.contentType}}isInShadowRoot(){return this.el.getRootNode()instanceof ShadowRoot}render(){const t="tab"===this.itemRole,e=this.effectiveHighlight;return a(r,{key:"ed82d07a8b1736dce7291807916126b7ae0e43c7","data-label":this.labelPosition,"data-type":"no-content"===this.contentType?"void":void 0,"data-vertical-content-placement":"vertical"===this.stepLayout?this.verticalContentPlacement:void 0,role:t?"tab":void 0,"aria-label":t?this.ariaLabelContent:void 0,"aria-selected":t?String(this.active):void 0,"aria-controls":t&&""!==this.controlsId&&!this.isInShadowRoot()?this.controlsId:void 0,tabIndex:t?this.active?0:-1:void 0,class:{[this.stepLayout]:!0,"mode-controller":"controller"===this.mode||t,"role-tab":t,"disabled-host":this.disabled,timeline:this.showTimeLine}},a("button",{key:"5b3a14070783522cc466dc994674d8be3c63780f",class:{"step-progress-btn":!0,active:this.active},type:"button",inert:t||void 0,"aria-label":t?void 0:this.ariaLabelContent,"aria-controls":t||""===this.controlsId||this.isInShadowRoot()?void 0:this.controlsId,disabled:this.disabled,"step-num":"default"===this.contentType?this.content:void 0,"data-alert":e||void 0},this.label&&a("span",{key:"6549d27dba9121d40b70a7a2080e804479a2333e",class:"step-info",part:"label"},this.label),"br-icon"===this.contentType&&a("span",{key:"3fb64fdf5f21af1d95947544869ca5238f301f29",class:"step-icon"},a("br-icon",{key:"411a3f05ade0a4dd42d6f4ebc85e3bcb157ec7b0",iconName:this.brIconName??"",width:"16",height:"16","aria-hidden":"true"})),"slotted"===this.contentType&&a("span",{key:"ba3192f57c1d7e74e1e20ac6397f28065a57a754",class:"step-icon"},a("slot",{key:"347e49abacaf31c7a50e898b2acbe556d7dfd5bd",name:"content-area"})),"step"===this.mode&&e&&a("div",{key:"0b0d74cd7cd8dc93347a6873391f80b493a47f07",class:this.getAlertClass()},a("br-icon",{key:"d9ad457434c05b8925d90f0287fc5f916654fced",iconName:this.iconNames[e],width:"16",height:"16",class:"warning"===e?"warning-color":""}))),a("div",{key:"bb605a5ce11a6c4f1a472299ba373ed72cac8a51",class:"step-content-area"},a("slot",{key:"5098094cff163b92a82dcb51df407d5b08921e29",name:"step-content"})))}get el(){return this}static get style(){return'*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}:host{--step-empty:16px;--step-empty-border:4px;align-items:center;background-color:rgba(0,0,0,0);border:0;display:flex;flex-grow:1;justify-content:center;min-height:var(--step-size);padding:0;position:relative}:host.vertical{justify-content:start}:host.vertical[data-label=left]{justify-content:end}:host.vertical[data-label=right]{justify-content:start}:host[data-label=left]:not(.vertical){justify-content:end}:host[data-label=right]:not(.vertical){justify-content:start}:host.mode-controller{min-width:20px;min-height:20px}:host.role-tab{outline:none}:host.disabled-host{cursor:not-allowed}.step-progress-btn{align-items:center;background-color:rgba(0,0,0,0);border:0;cursor:pointer;display:flex;flex-grow:1;justify-content:center;min-height:var(--step-size);padding:0;position:relative}.step-progress-btn::before{align-items:center;background-color:var(--background);border:var(--step-line) solid var(--interactive);border-radius:50%;color:var(--interactive);content:attr(step-num);display:inline-flex;font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-medium);height:var(--step-size);justify-content:center;left:0;margin:auto;position:absolute;right:0;width:var(--step-size);z-index:2}.step-progress-btn::after{background-color:var(--interactive);content:"";display:block;height:var(--step-line);left:0;position:absolute;right:0;z-index:1}:host([data-label=left]) .step-progress-btn{justify-content:end}:host([data-label=right]) .step-progress-btn{justify-content:start}:host(.vertical[data-label=top]),:host(.vertical[data-label=bottom]){width:100%}:host(.vertical) .step-progress-btn{justify-content:start}:host(.vertical[data-label=left]) .step-progress-btn{justify-content:end}:host(.vertical[data-label=right]) .step-progress-btn{justify-content:start}.step-icon{align-items:center;color:var(--interactive);display:inline-flex;height:var(--step-size);justify-content:center;position:absolute;width:var(--step-size);z-index:4}.step-alert{align-items:center;border-radius:50%;color:var(--color-dark);display:flex;height:var(--font-size-scale-up-04);justify-content:center;position:absolute;width:var(--font-size-scale-up-04);z-index:4}.step-alert.no-content{width:calc(var(--font-size-scale-up-04) + var(--step-empty-border));height:calc(var(--font-size-scale-up-04) + var(--step-empty-border))}:host([data-label=bottom]) .step-progress-btn::before{top:0}:host([data-label=top]) .step-progress-btn::before{bottom:0}:host([data-label=left]) .step-progress-btn::before{left:auto;right:0}:host([data-label=right]) .step-progress-btn::before{left:0;right:auto}:host(.vertical) .step-progress-btn::before{inset:0 auto 0 50%;margin:auto;transform:translateX(-50%)}:host(.vertical[data-label=left]) .step-progress-btn::before{left:auto;right:0;transform:none}:host(.vertical[data-label=right]) .step-progress-btn::before{left:0;right:auto;transform:none}:host(.mode-controller) .step-progress-btn::before{inset:0;margin:auto}:host(.role-tab) .step-progress-btn{outline:none}.step-content-area{display:none}:host(.vertical[data-vertical-content-placement=between]){flex-direction:column;align-items:stretch;flex-grow:0}:host(.vertical[data-vertical-content-placement=between]) .step-progress-btn{flex-grow:0;align-self:stretch}:host(.vertical[data-vertical-content-placement=between]) .step-content-area{display:none;position:relative;padding-left:calc(var(--step-size) + var(--spacing-scale-2x, 16px))}:host(.vertical[data-vertical-content-placement=between][active]) .step-content-area,:host(.vertical[data-vertical-content-placement=between][active=true]) .step-content-area{display:block}:host(.vertical[data-vertical-content-placement=between][data-label=top]),:host(.vertical[data-vertical-content-placement=between][data-label=bottom]){display:grid;grid-template-columns:1fr 1fr;flex-grow:0}:host(.vertical[data-vertical-content-placement=between][data-label=top]) .step-progress-btn,:host(.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-progress-btn{grid-column:1/-1;grid-row:1;flex-grow:0;align-self:stretch}:host(.vertical[data-vertical-content-placement=between][data-label=top]) .step-content-area,:host(.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-content-area{grid-column:2;grid-row:2;padding-left:var(--spacing-scale-2x, 16px)}:host(.vertical[data-vertical-content-placement=between][data-label=left]) .step-content-area{padding-left:0;padding-right:calc(var(--step-size) + var(--spacing-scale-2x, 16px))}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=right]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;left:calc(var(--step-size)*.5);transform:translateX(-50%);z-index:1}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=left]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;right:calc(var(--step-size)*.5);left:auto;transform:translateX(-50%);z-index:1}:host(.timeline.vertical[data-vertical-content-placement=between][data-label=top]) .step-content-area::before,:host(.timeline.vertical[data-vertical-content-placement=between][data-label=bottom]) .step-content-area::before{content:"";position:absolute;background-color:var(--interactive);width:var(--step-line);top:0;bottom:0;left:0;transform:translateX(-50%);z-index:1}:host(.timeline.vertical:last-of-type[data-vertical-content-placement=between]) .step-content-area::before{display:none}:host(.vertical[data-vertical-content-placement=side]){display:grid;grid-template-columns:auto 1fr;column-gap:var(--spacing-scale-2x, 16px);align-items:start}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn{grid-column:1;grid-row:1;flex-grow:0;align-items:flex-start;align-self:stretch}:host(.vertical[data-vertical-content-placement=side]) .step-content-area{grid-column:2;grid-row:1;display:none;align-self:start}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn::before{top:0;bottom:auto;margin:0}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-info,:host(.vertical[data-vertical-content-placement=side][data-label=right]) .step-info{padding-top:calc(var(--step-size)/2 - .75em)}:host(.vertical[data-vertical-content-placement=side]) .step-progress-btn::after{top:calc(var(--step-size)*.5);bottom:0;left:50%;right:auto;transform:translateX(-50%)}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-content-area ::slotted([slot=step-content]){padding-top:calc(var(--font-size-scale-up-01) + var(--spacing-scale-2x))}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-info{padding-top:0;margin-bottom:var(--spacing-scale-2x)}:host(.vertical:first-of-type[data-vertical-content-placement=side][data-label=bottom]) .step-progress-btn::after{top:calc(var(--font-size-scale-up-01, 14px) + var(--spacing-scale-2x, 16px) + var(--step-size)*.75)}:host(.vertical[data-vertical-content-placement=side][data-label=bottom]) .step-progress-btn::after{top:calc(var(--font-size-scale-up-01, 14px) + var(--spacing-scale-2x, 16px) + var(--step-size)*.75);bottom:0}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-progress-btn::before{bottom:auto;left:50%;right:auto;transform:translateX(-50%);margin:0}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-progress-btn::before{margin-top:calc(var(--step-size)/2)}:host(.vertical[data-vertical-content-placement=side][data-label=right]) .step-progress-btn::after{left:calc(var(--step-size)*.5);transform:translateX(-50%)}:host(.vertical[data-vertical-content-placement=side][data-label=left]){grid-template-columns:minmax(0, 1fr) max-content}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-content-area{justify-self:end}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-progress-btn{grid-column:2}:host(.vertical[data-vertical-content-placement=side][data-label=left]) .step-content-area{grid-column:1;padding-right:0}:host(.vertical:first-of-type[data-vertical-content-placement=side]) .step-progress-btn::after{top:calc(var(--step-size)*.5)}:host(.vertical:last-of-type[data-vertical-content-placement=side]) .step-progress-btn::after{bottom:calc(100% - var(--step-size)*.5)}:host(.vertical[data-vertical-content-placement=side][data-label=top]) .step-info{margin-bottom:var(--step-size);margin-top:0}:host(.vertical[data-vertical-content-placement=side][active]) .step-content-area,:host(.vertical[data-vertical-content-placement=side][active=true]) .step-content-area{display:block}:host(.role-tab:focus){outline:none}:host(.role-tab:focus-visible) .step-progress-btn::before{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}:host([data-label=bottom]) .step-icon{top:0}:host([data-label=top]) .step-icon{bottom:0}:host([data-label=bottom].vertical) .step-icon,:host([data-label=top].vertical) .step-icon{top:0;bottom:0;left:50%;margin:auto;transform:translateX(-50%)}:host([data-label=bottom]) .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * -0.75))}:host([data-label=top]) .step-alert{transform:translate(calc(var(--step-size) * 0.5), calc(var(--step-size) * 0.25))}:host([data-label=left]) .step-alert{transform:translate(calc(var(--step-size) * 0.4), calc(var(--step-size) * -0.25))}:host([data-label=right]) .step-alert{transform:translate(calc(var(--step-size) * 0.65), calc(var(--step-size) * -0.25))}:host(:first-of-type:not(.vertical)) .step-progress-btn::after{left:50%}:host(:last-of-type:not(.vertical)) .step-progress-btn::after{right:50%}:host([data-label=bottom]:not(.vertical)) .step-progress-btn::after{top:calc(var(--step-size)*.5)}:host([data-label=top]:not(.vertical)) .step-progress-btn::after{bottom:calc(var(--step-size)*.5)}:host([data-label=left]:not(.vertical)) .step-progress-btn::after{left:0}:host([data-label=left]:not(.vertical):first-of-type) .step-progress-btn::after{left:100%}:host([data-label=left]:not(.vertical):last-of-type) .step-progress-btn::after{right:0}:host([data-label=right]:not(.vertical)) .step-progress-btn::after{right:0}:host([data-label=right]:not(.vertical):first-of-type) .step-progress-btn::after{left:0}:host([data-label=right]:not(.vertical):last-of-type) .step-progress-btn::after{right:100%}:host(.vertical) .step-progress-btn::after{inset:0 auto 0 50%;height:auto;width:var(--step-line);margin:0;transform:translateX(-50%)}:host(.vertical[data-label=top]) .step-progress-btn::after{top:50%}:host(.vertical[data-label=bottom]) .step-progress-btn::after{bottom:50%}:host(.vertical:first-of-type) .step-progress-btn::after{top:50%}:host(.vertical:last-of-type) .step-progress-btn::after{bottom:50%}:host(.vertical[data-label=left]) .step-progress-btn::after{left:auto;right:calc(var(--step-size)*.5);margin:0}:host(.vertical[data-label=right]) .step-progress-btn::after{left:calc(var(--step-size)*.5);right:auto;margin:0}.step-info{color:var(--interactive);display:inline-block;font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium)}:host([data-label=bottom]) .step-info{margin-top:var(--step-size);padding-top:var(--spacing-scale-2x)}:host([data-label=top]) .step-info{margin-bottom:var(--step-size);padding-bottom:var(--spacing-scale-2x)}:host(.vertical[data-label=top]) .step-info,:host(.vertical[data-label=bottom]) .step-info{display:block;text-align:center;width:100%}:host([data-label=left]:not(.vertical)) .step-info{display:none}@media (min-width: 576px){:host([data-label=left]:not(.vertical)) .step-info{background-color:var(--background);display:inline-block;margin-right:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}:host([data-label=right]:not(.vertical)) .step-info{display:none}@media (min-width: 576px){:host([data-label=right]:not(.vertical)) .step-info{background-color:var(--background);display:inline-block;margin-left:var(--step-size);padding:var(--spacing-scale-2x);position:relative;z-index:3}}:host(.vertical[data-label=left]) .step-info,:host(.vertical[data-label=right]) .step-info{background-color:var(--background);display:inline-block;padding:var(--spacing-scale-2x);position:relative;z-index:3}:host(.vertical[data-label=left]) .step-info{margin-right:var(--step-size);margin-left:0}:host(.vertical[data-label=right]) .step-info{margin-left:var(--step-size);margin-right:0}:host .step-progress-btn[data-alert=success]{color:var(--success)}:host .step-progress-btn[data-alert=success] .step-info{color:var(--success)}:host .step-progress-btn[data-alert=success] .step-alert{background-color:var(--success)}:host .step-progress-btn[data-alert=info]{color:var(--info)}:host .step-progress-btn[data-alert=info] .step-info{color:var(--info)}:host .step-progress-btn[data-alert=info] .step-alert{background-color:var(--info)}:host .step-progress-btn[data-alert=warning]{color:var(--color-light)}:host .step-progress-btn[data-alert=warning] .step-info{color:var(--color)}:host .step-progress-btn[data-alert=warning] .step-alert{background-color:var(--warning)}:host .step-progress-btn[data-alert=danger]{color:var(--danger)}:host .step-progress-btn[data-alert=danger] .step-info{color:var(--danger)}:host .step-progress-btn[data-alert=danger] .step-alert{background-color:var(--danger)}:host .step-progress-btn.active::before{background-color:var(--active);border-color:var(--active);color:var(--background)}:host .step-progress-btn.active .step-icon{color:var(--background)}:host .step-progress-btn:focus{outline:none}:host .step-progress-btn:focus-visible::before{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}:host .step-progress-btn:hover:not(:disabled)::before{background-image:linear-gradient(rgb(var(--interactive-rgb), var(--hover)), rgb(var(--interactive-rgb), var(--hover)))}:host .step-progress-btn:disabled{opacity:1;cursor:not-allowed}:host .step-progress-btn:disabled::before{background-color:var(--background);border-color:rgb(var(--interactive-rgb), var(--disabled));color:rgb(var(--interactive-rgb), var(--disabled))}:host .step-progress-btn:disabled .step-icon{opacity:var(--disabled)}:host .step-progress-btn:disabled .step-info{color:rgb(var(--interactive-rgb), var(--disabled))}:host([data-type=void]) .step-progress-btn.active .step-alert{border:var(--step-empty-border) solid var(--active);height:calc(var(--font-size-scale-up-04) + var(--step-empty-border));width:calc(var(--font-size-scale-up-04) + var(--step-empty-border))}:host([data-type=void]) .step-progress-btn .step-alert{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:4}:host([data-type=void]) .step-progress-btn::before{content:"";height:var(--step-empty);width:var(--step-empty);left:50%;right:auto;margin:0;transform:translate(-50%, -50%);top:50%}:host([data-type=void]) .step-info{height:0;overflow:hidden;position:absolute;width:0}.content-type-br-icon{color:var(--interactive);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-bold)}.step-progress-btn.active .content-type-br-icon{color:var(--background)}:host(.vertical[data-label=top]) .step-alert,:host(.vertical[data-label=bottom]) .step-alert{top:50%;left:50%;transform:translate(25%, -75%)}:host([data-type=void]) .step-progress-btn[data-alert].focus-visible::before,:host([data-type=void]) .step-progress-btn[data-alert]:focus-visible::before{outline:none}:host([data-type=void]) .step-progress-btn[data-alert].focus-visible .step-alert,:host([data-type=void]) .step-progress-btn[data-alert]:focus-visible .step-alert{outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset);z-index:4}'}},[257,"br-step-item",{label:[513],highlight:[513],active:[516],disabled:[516],ariaLabel:[513,"aria-label"],controlsId:[513,"controls-id"],brIconName:[513,"br-icon-name"],brIconAria:[513,"br-icon-aria"],ariaLabelContent:[32],content:[32],contentType:[32],itemRole:[32],labelPosition:[32],mode:[32],showTimeLine:[32],stepItemPositionStatus:[32],stepLayout:[32],verticalContentPlacement:[32],setStepItemPositionStatus:[64],handleShowTimeLine:[64],setLabelPosition:[64],setContentType:[64],setMode:[64],setItemRole:[64],setContent:[64],setVerticalContentPlacement:[64]}]);function l(){"undefined"!=typeof customElements&&["br-step-item","br-icon"].forEach((t=>{switch(t){case"br-step-item":customElements.get(o(t))||customElements.define(o(t),n);break;case"br-icon":customElements.get(o(t))||s()}}))}export{n as S,l as d}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Construído por SERPRO
3
+ * © https://serpro.gov.br/ - MIT License.
4
+ */
5
+ import{p as e,H as a,c as t,h as r,d as i,t as o}from"./p-Jk_KQE5V.js";import{g as n}from"./p-BeJxz5TQ.js";import{r as s}from"./p-DiLI514I.js";import{d as c}from"./p-DhvmHPp4.js";import{d as l}from"./p-Nze3Utvd.js";const g=["info","warning","danger","success"],d=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.brDidClose=t(this,"brDidClose",7),this.brMessageClose=t(this,"brMessageClose",6),this.customId=n(),this.isInline=!1,this.isClosable=!1,this.autoRemove=!1,this.showIcon=!1,this.isFeedback=!1,this.state="info",this.dismissHandler=()=>{this.brDidClose.emit(),this.brMessageClose.emit(),this.autoRemove&&this.el.remove()},this.handleKeyDown=e=>{this.effectiveClosable&&this.autoRemove&&"Escape"===e.key&&(e.preventDefault(),this.dismissHandler())}}disconnectedCallback(){this.effectiveClosable&&this.autoRemove&&this.el.removeEventListener("keydown",this.handleKeyDown)}componentDidLoad(){this.effectiveClosable&&this.autoRemove&&this.el.addEventListener("keydown",this.handleKeyDown)}get effectiveInline(){return this.inline??this.isInline}get effectiveClosable(){return this.closable??this.isClosable}get effectiveFeedback(){return this.feedback??this.isFeedback}get effectiveFeedbackState(){return s(this.el,void 0!==this.feedbackState?"feedbackState":"state",this.feedbackState??this.state,g,"info")}checkIconState(){return{success:"fa-solid:check-circle",warning:"fa-solid:exclamation-triangle",danger:"fa-solid:times-circle",info:"fa-solid:info-circle"}[this.effectiveFeedbackState]||"fa-solid:check-circle"}getAriaLive(){return"warning"===this.effectiveFeedbackState||"danger"===this.effectiveFeedbackState?"assertive":"polite"}getStateLabel(){return{success:"Mensagem de sucesso",warning:"Mensagem de aviso",danger:"Mensagem de erro",info:"Mensagem informativa"}[this.effectiveFeedbackState]}getCssClassMap(){return{"br-message":!0,[this.effectiveFeedbackState]:!0}}renderFeedback(){return r("span",{class:`feedback ${this.effectiveFeedbackState}`,role:"status","aria-live":this.getAriaLive(),"aria-label":this.ariaLabel||this.getStateLabel(),"aria-atomic":"true",id:this.customId},this.showIcon?r("br-icon",{class:"icon-space",iconName:this.checkIconState(),width:"16",height:"16"}):null,this.message&&this.message.length>0?this.message:r("slot",null))}renderStandard(){return r("div",{class:this.getCssClassMap(),role:"status","aria-live":this.getAriaLive(),"aria-label":this.ariaLabel||this.getStateLabel(),id:this.customId,part:"container"},r("div",{class:"icon",part:"icon"},this.showIcon?r("br-icon",{iconName:this.checkIconState(),width:"20",height:"20","aria-hidden":"true"}):r("slot",{name:"icon"})),r("div",{class:"content",part:"content"},this.message&&this.message.length>0?r("div",null,this.messageTitle&&r("span",{class:"message-title"},r("slot",{name:"message-title"},this.messageTitle)),this.messageTitle&&!this.effectiveInline&&r("br",null),this.message&&r("span",{class:"message-body"},r("slot",{name:"message-body"},this.message))):r("div",null,this.messageTitle&&this.effectiveInline&&r("strong",null,r("slot",{name:"message-title"},this.messageTitle)),this.messageTitle&&!this.effectiveInline&&r("br",null),r("slot",null))),this.effectiveClosable&&!this.effectiveFeedback&&r("div",{class:"close",part:"close"},r("slot",{name:"close-button"},r("br-button",{shape:"circle",type:"button","prop:ariaLabel":"Fechar a mensagem",onClick:this.dismissHandler},r("br-icon",{iconName:"fa-solid:times",width:"16",height:"16","aria-hidden":"true"})))))}render(){return r(i,{key:"17572137978859f5f0376a980af26403b2b2d6b8"},this.effectiveFeedback?this.renderFeedback():this.renderStandard())}get el(){return this}static get style(){return"*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}code{font-family:monospace;font-size:1em}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}code,.code{background:var(--gray-5);border-radius:4px;color:var(--gray-80);display:inline-block;font-family:monospace;font-size:var(--font-size-scale-base);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);padding:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}pre code,.pre code{display:inline;padding:0}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-message{--message-background:var(--background);--message-color-icon:var(--color);--feedback-background:var(--background);--message-text:var(--color);background:var(--message-background);display:flex;margin-bottom:var(--spacing-scale-2x)}.br-message .content{color:var(--message-text);flex:1;font-size:var(--font-size-scale-up-01);padding:var(--spacing-scale-3x) var(--spacing-scale-base) var(--spacing-scale-3x) var(--spacing-scale-2x)}.br-message .content .message-title{font-weight:var(--font-weight-semi-bold)}.br-message .content .message-body{font-weight:var(--font-weigth-regular)}.br-message .content a{font-weight:var(--font-weight-bold);text-decoration:underline}.br-message .content *:last-child{margin-bottom:0}.br-message .icon{align-items:center;color:var(--message-color-icon);display:flex;justify-content:center;margin:var(--spacing-vertical-center) var(--spacing-scale-2x);padding-left:var(--spacing-scale-2x);padding-right:var(--spacing-scale-2x)}.br-message .icon+.content{padding-left:0}.br-message .close{margin-right:var(--spacing-scale-base);margin-top:var(--spacing-scale-base)}.br-message.success,.br-message[success]{--message-background:var(--success-alternative);--feedback-background:var(--success);--message-color-icon:var(--success)}.br-message.success .close .br-button,.br-message[success] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--success-rgb)}.br-message.danger,.br-message[danger]{--message-background:var(--danger-alternative);--feedback-background:var(--danger);--message-color-icon:var(--danger)}.br-message.danger .close .br-button,.br-message[danger] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--danger-rgb)}.br-message.info,.br-message[info]{--message-background:var(--info-alternative);--feedback-background:var(--info);--message-color-icon:var(--info)}.br-message.info .close .br-button,.br-message[info] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--info-rgb)}.br-message.warning,.br-message[warning]{--message-background:var(--warning-alternative);--feedback-background:var(--warning)}.br-message.warning .close .br-button,.br-message[warning] .close .br-button{--interactive:var(--color);--interactive-rgb:var(--color-rgb)}.feedback{--message-background:var(--background);--message-color-icon:var(--color);--feedback-background:var(--background);--message-text:var(--color);align-items:center;background:var(--feedback-background);color:var(--message-text);display:inline-flex;font-style:italic;font-weight:var(--font-weight-medium);margin-bottom:0;padding:var(--spacing-scale-half)}.feedback .fa,.feedback .fas{margin-right:var(--spacing-scale-half)}.feedback:not(.is-warning):not(.warning):not([warning]){--message-text:var(--pure-0)}.feedback.warning,.feedback[warning]{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light)}.feedback.success,.feedback[success]{--message-background:var(--success-alternative);--feedback-background:var(--success);--message-color-icon:var(--success)}.feedback.success .close .br-button,.feedback[success] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--success-rgb)}.feedback.danger,.feedback[danger]{--message-background:var(--danger-alternative);--feedback-background:var(--danger);--message-color-icon:var(--danger)}.feedback.danger .close .br-button,.feedback[danger] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--danger-rgb)}.feedback.info,.feedback[info]{--message-background:var(--info-alternative);--feedback-background:var(--info);--message-color-icon:var(--info)}.feedback.info .close .br-button,.feedback[info] .close .br-button{--interactive:var(--message-color-icon);--interactive-rgb:var(--info-rgb)}.feedback.warning,.feedback[warning]{--message-background:var(--warning-alternative);--feedback-background:var(--warning)}.feedback.warning .close .br-button,.feedback[warning] .close .br-button{--interactive:var(--color);--interactive-rgb:var(--color-rgb)}:host{display:block}:host .icon-space{margin-right:var(--spacing-scale-half)}:host .br-message .content .message-title{margin-right:5px}:host .br-message .close br-button{--interactive:var(--message-color-icon)}:host .br-message.warning .close br-button{--interactive:var(--color);--interactive-rgb:var(--color-rgb)}:host .br-message.success .close br-button{--interactive-rgb:var(--success-rgb)}:host .br-message.danger .close br-button{--interactive-rgb:var(--danger-rgb)}:host .br-message.info .close br-button{--interactive-rgb:var(--info-rgb)}"}},[257,"br-message",{messageTitle:[513,"message-title"],customId:[513,"custom-id"],message:[513],isInline:[516,"is-inline"],inline:[516],isClosable:[516,"is-closable"],closable:[516],autoRemove:[516,"auto-remove"],showIcon:[516,"show-icon"],isFeedback:[516,"is-feedback"],feedback:[516],state:[513],feedbackState:[513,"feedback-state"],ariaLabel:[513,"aria-label"]}]);function b(){"undefined"!=typeof customElements&&["br-message","br-button","br-icon"].forEach((e=>{switch(e){case"br-message":customElements.get(o(e))||customElements.define(o(e),d);break;case"br-button":customElements.get(o(e))||c();break;case"br-icon":customElements.get(o(e))||l()}}))}export{d as M,b as d}