genesys-spark-components 4.231.2 → 4.232.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 (854) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-Du33aUbY.js → get-valid-timezone-DXdWPVFz.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  9. package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +31 -0
  10. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +4 -4
  11. package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +5 -5
  12. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  15. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +9 -9
  18. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +4 -4
  20. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  21. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +5 -5
  22. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-branch-multi.cjs.entry.js +5 -5
  24. package/dist/cjs/gux-branch.cjs.entry.js +4 -4
  25. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-button-slot.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-button_2.cjs.entry.js +8 -8
  30. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-calendar.cjs.entry.js +12 -12
  32. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  36. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  38. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  39. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-datepicker.cjs.entry.js +16 -16
  45. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  47. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  50. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  52. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  53. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  55. package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
  56. package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
  57. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  58. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  59. package/dist/cjs/gux-form-field-color.cjs.entry.js +42 -8
  60. package/dist/cjs/{gux-form-field-container-CEC5Hm16.js → gux-form-field-container-hTZqdcZZ.js} +1 -1
  61. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  62. package/dist/cjs/{gux-form-field-error-CuPbJnEB.js → gux-form-field-error-Csxri5IS.js} +1 -1
  63. package/dist/cjs/{gux-form-field-fieldset-container-ymVqngT8.js → gux-form-field-fieldset-container-C0ViaU--.js} +1 -1
  64. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  67. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  68. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -27
  69. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  70. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  71. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  72. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  73. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  74. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  75. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +9 -9
  76. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  77. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  78. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  79. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
  81. package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-illustration-beta.cjs.entry.js +4 -4
  85. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  86. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  87. package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-leaf-multi.cjs.entry.js +4 -4
  89. package/dist/cjs/gux-leaf.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
  97. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  98. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  101. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  106. package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-option-status-beta.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  114. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +6 -6
  120. package/dist/cjs/gux-popover-beta.cjs.entry.js +23 -10
  121. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +36 -12
  122. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  126. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  128. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  129. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
  130. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +3 -3
  131. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +6 -6
  132. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  133. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  134. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  135. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  136. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
  139. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  140. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  142. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  143. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  144. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
  145. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-side-panel-header.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  150. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  152. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  153. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-step.cjs.entry.js +5 -5
  156. package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  158. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  161. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  162. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  163. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  166. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  167. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  168. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  170. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  171. package/dist/cjs/gux-table.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-tabs.cjs.entry.js +4 -4
  174. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  175. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  176. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  177. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  178. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  179. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  180. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  183. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
  184. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
  185. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  186. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  187. package/dist/cjs/gux-tree-beta.cjs.entry.js +5 -5
  188. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +5 -5
  189. package/dist/cjs/{gux-tree-multi.service-C8hSe-Gy.js → gux-tree-multi.service-CCBtZ66V.js} +1 -1
  190. package/dist/cjs/{gux-tree.service-G-gnQsTk.js → gux-tree.service-0BtkCvA3.js} +1 -1
  191. package/dist/cjs/{index-DVtwB70Y.js → index-D5gbJ1qH.js} +1 -1
  192. package/dist/cjs/index-npRUdf7N.js +2988 -0
  193. package/dist/cjs/loader.cjs.js +2 -2
  194. package/dist/cjs/{on-click-outside-Z81yLXW0.js → on-click-outside-JPx_Y2im.js} +1 -1
  195. package/dist/cjs/{on-mutation-DIPpoQ8V.js → on-mutation-BW38lSRA.js} +1 -1
  196. package/dist/cjs/{on-resize-DeB269GR.js → on-resize-yxt3gZhq.js} +1 -1
  197. package/dist/cjs/{usage-CWS5rSpe.js → usage-CXG6kbqB.js} +1 -1
  198. package/dist/collection/collection-manifest.json +1 -0
  199. package/dist/collection/components/beta/gux-ai-indicator/gux-ai-indicator.css +9 -0
  200. package/dist/collection/components/beta/gux-ai-indicator/gux-ai-indicator.js +31 -0
  201. package/dist/collection/components/beta/gux-ai-indicator/tests/gux-ai-indicator.common.js +8 -0
  202. package/dist/collection/components/beta/gux-ai-powered-badge/gux-ai-powered-badge.js +1 -1
  203. package/dist/collection/components/beta/gux-ai-spinner-loader/gux-ai-spinner-loader.js +2 -2
  204. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  205. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  206. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +1 -1
  207. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +2 -2
  208. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +1 -1
  209. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  210. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +1 -1
  211. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  212. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  213. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.js +2 -2
  214. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.js +2 -2
  215. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +1 -1
  216. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
  217. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
  218. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  219. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  220. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  221. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  222. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  223. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  224. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  225. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  226. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  227. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  228. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  229. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
  230. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  231. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  232. package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
  233. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
  234. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  235. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  236. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  237. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  238. package/dist/collection/components/beta/gux-notification-indicator/gux-notification-indicator.js +1 -1
  239. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
  240. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
  241. package/dist/collection/components/beta/gux-popover-beta/gux-popover.css +3 -0
  242. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +19 -6
  243. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +33 -9
  244. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
  245. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
  246. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  247. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
  248. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +2 -2
  249. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  250. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  251. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  252. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  253. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  254. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  255. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  256. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
  257. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  258. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  259. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  260. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  261. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +2 -2
  262. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
  263. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header-mini/gux-side-panel-header-mini.js +1 -1
  264. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  265. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  266. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
  267. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
  268. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
  269. package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
  270. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  271. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  272. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  273. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  274. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  275. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  276. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
  277. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
  278. package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
  279. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
  280. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
  281. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
  282. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  283. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  284. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  285. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  286. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  287. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  288. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  289. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  290. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  291. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  292. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  293. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  294. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  295. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  296. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  297. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  298. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  299. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  300. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  301. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  302. package/dist/collection/components/stable/gux-button/gux-button.css +12 -0
  303. package/dist/collection/components/stable/gux-button/gux-button.js +3 -3
  304. package/dist/collection/components/stable/gux-button/tests/gux-button.common.js +21 -64
  305. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  306. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +19 -0
  307. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +2 -2
  308. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.common.js +52 -210
  309. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +11 -11
  310. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  311. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  312. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  313. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  314. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  315. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  316. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +12 -12
  317. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.service.js +2 -2
  318. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  319. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  320. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  321. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  322. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  323. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  324. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  325. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  326. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  327. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  328. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +17 -3
  329. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  330. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  331. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  332. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  333. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  334. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  335. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  336. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  337. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  338. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  339. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  340. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  341. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  342. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  343. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  344. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  345. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  346. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  347. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  348. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  349. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  350. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  351. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  352. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  353. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  354. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  355. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  356. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  357. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  358. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  359. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  360. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -23
  361. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  362. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  363. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  364. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  365. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  366. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  367. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  368. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  369. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  370. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  371. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  372. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  373. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  374. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  375. package/dist/collection/components/stable/gux-table/gux-table.css +1 -0
  376. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  377. package/dist/collection/components/stable/gux-table/tests/gux-table.common.js +53 -0
  378. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  379. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  380. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  381. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  382. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  383. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  384. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  385. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  386. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  387. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  388. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  389. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  390. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  391. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  392. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  393. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  394. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  395. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  396. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  397. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  398. package/dist/collection/utils/dom/on-input-value-change.js +26 -0
  399. package/dist/esm/genesys-webcomponents.js +3 -3
  400. package/dist/esm/{get-valid-timezone-DoEFbkU_.js → get-valid-timezone-CiKGbmJt.js} +1 -1
  401. package/dist/esm/gux-accordion-section.entry.js +6 -6
  402. package/dist/esm/gux-accordion.entry.js +3 -3
  403. package/dist/esm/gux-action-button.entry.js +5 -5
  404. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  405. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
  406. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  407. package/dist/esm/gux-ai-indicator-beta.entry.js +29 -0
  408. package/dist/esm/gux-ai-powered-badge-beta.entry.js +4 -4
  409. package/dist/esm/gux-ai-spinner-loader-beta.entry.js +5 -5
  410. package/dist/esm/gux-all-row-select.entry.js +3 -3
  411. package/dist/esm/gux-announce-beta.entry.js +3 -3
  412. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  413. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  414. package/dist/esm/gux-avatar-focusable-beta.entry.js +2 -2
  415. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +9 -9
  416. package/dist/esm/gux-avatar-group-beta.entry.js +3 -3
  417. package/dist/esm/gux-avatar-group-item-beta.entry.js +4 -4
  418. package/dist/esm/gux-badge.entry.js +5 -5
  419. package/dist/esm/gux-blank-state-beta.entry.js +5 -5
  420. package/dist/esm/gux-blank-state.entry.js +4 -4
  421. package/dist/esm/gux-branch-multi.entry.js +5 -5
  422. package/dist/esm/gux-branch.entry.js +4 -4
  423. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  424. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  425. package/dist/esm/gux-button-multi.entry.js +4 -4
  426. package/dist/esm/gux-button-slot.entry.js +4 -4
  427. package/dist/esm/gux-button_2.entry.js +8 -8
  428. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  429. package/dist/esm/gux-calendar.entry.js +12 -12
  430. package/dist/esm/gux-card.entry.js +4 -4
  431. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  432. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  433. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  434. package/dist/esm/gux-column-manager.entry.js +4 -4
  435. package/dist/esm/gux-content-search.entry.js +5 -5
  436. package/dist/esm/gux-context-menu.entry.js +6 -6
  437. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  438. package/dist/esm/gux-create-option.entry.js +4 -4
  439. package/dist/esm/gux-cta-group.entry.js +2 -2
  440. package/dist/esm/gux-date-beta.entry.js +5 -5
  441. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  442. package/dist/esm/gux-datepicker.entry.js +16 -16
  443. package/dist/esm/gux-day-beta.entry.js +3 -3
  444. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  445. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  446. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  447. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  448. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  449. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  450. package/dist/esm/gux-file-list-item.entry.js +5 -5
  451. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  452. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  453. package/dist/esm/gux-form-beta.entry.js +2 -2
  454. package/dist/esm/gux-form-description.entry.js +2 -2
  455. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  456. package/dist/esm/gux-form-field-checkbox.entry.js +7 -7
  457. package/dist/esm/gux-form-field-color.entry.js +43 -9
  458. package/dist/esm/{gux-form-field-container-DnRIKsCy.js → gux-form-field-container-DFaxFFI1.js} +1 -1
  459. package/dist/esm/gux-form-field-dropdown.entry.js +10 -10
  460. package/dist/esm/{gux-form-field-error-C1R31tLg.js → gux-form-field-error-djiZU2Ab.js} +1 -1
  461. package/dist/esm/{gux-form-field-fieldset-container-AXYw2QwF.js → gux-form-field-fieldset-container-BlF78czj.js} +1 -1
  462. package/dist/esm/gux-form-field-file-beta.entry.js +8 -8
  463. package/dist/esm/gux-form-field-file.entry.js +7 -7
  464. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  465. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  466. package/dist/esm/gux-form-field-number_2.entry.js +15 -28
  467. package/dist/esm/gux-form-field-phone.entry.js +11 -11
  468. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  469. package/dist/esm/gux-form-field-radio.entry.js +7 -7
  470. package/dist/esm/gux-form-field-range.entry.js +9 -9
  471. package/dist/esm/gux-form-field-search.entry.js +9 -9
  472. package/dist/esm/gux-form-field-select.entry.js +9 -9
  473. package/dist/esm/gux-form-field-text-like.entry.js +10 -10
  474. package/dist/esm/gux-form-field-textarea.entry.js +8 -8
  475. package/dist/esm/gux-form-field-time-picker.entry.js +11 -11
  476. package/dist/esm/gux-form-field-time-zone-picker.entry.js +10 -10
  477. package/dist/esm/{gux-form-field.service-Nq3AAQGS.js → gux-form-field.service-C8ZnDb1J.js} +1 -1
  478. package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
  479. package/dist/esm/gux-form-footer.entry.js +4 -4
  480. package/dist/esm/gux-form-heading.entry.js +2 -2
  481. package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
  482. package/dist/esm/gux-icon.entry.js +3 -3
  483. package/dist/esm/gux-illustration-beta.entry.js +4 -4
  484. package/dist/esm/gux-inline-alert.entry.js +5 -5
  485. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  486. package/dist/esm/gux-label-info-beta.entry.js +3 -3
  487. package/dist/esm/gux-leaf-multi.entry.js +4 -4
  488. package/dist/esm/gux-leaf.entry.js +4 -4
  489. package/dist/esm/gux-link-beta.entry.js +3 -3
  490. package/dist/esm/gux-list-divider.entry.js +2 -2
  491. package/dist/esm/gux-list-item.entry.js +2 -2
  492. package/dist/esm/gux-list.entry.js +3 -3
  493. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  494. package/dist/esm/gux-loading-message.entry.js +3 -3
  495. package/dist/esm/gux-logo-beta.entry.js +6 -6
  496. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  497. package/dist/esm/gux-menu-option.entry.js +2 -2
  498. package/dist/esm/gux-menu.entry.js +2 -2
  499. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  500. package/dist/esm/gux-modal-side-panel-beta.entry.js +4 -4
  501. package/dist/esm/gux-modal.entry.js +3 -3
  502. package/dist/esm/gux-month-calendar.entry.js +3 -3
  503. package/dist/esm/gux-month-list_2.entry.js +3 -3
  504. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  505. package/dist/esm/gux-notification-indicator-beta.entry.js +3 -3
  506. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  507. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  508. package/dist/esm/gux-option-icon.entry.js +3 -3
  509. package/dist/esm/gux-option-multi.entry.js +4 -4
  510. package/dist/esm/gux-option-status-beta.entry.js +3 -3
  511. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  512. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  513. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  514. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  515. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  516. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  517. package/dist/esm/gux-pagination.entry.js +3 -3
  518. package/dist/esm/gux-phone-input-beta.entry.js +6 -6
  519. package/dist/esm/gux-popover-beta.entry.js +23 -10
  520. package/dist/esm/gux-popover-list-beta.entry.js +36 -12
  521. package/dist/esm/gux-popover-list.entry.js +5 -5
  522. package/dist/esm/gux-popup.entry.js +4 -4
  523. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  524. package/dist/esm/gux-radial-loading.entry.js +4 -4
  525. package/dist/esm/gux-radial-progress.entry.js +2 -2
  526. package/dist/esm/gux-rating.entry.js +5 -5
  527. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  528. package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
  529. package/dist/esm/gux-rich-text-editor-action-group.entry.js +3 -3
  530. package/dist/esm/gux-rich-text-editor-action-link.entry.js +6 -6
  531. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  532. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  533. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  534. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  535. package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
  536. package/dist/esm/gux-row-select.entry.js +3 -3
  537. package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
  538. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  539. package/dist/esm/gux-segmented-control-divider.entry.js +2 -2
  540. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  541. package/dist/esm/gux-select-all.entry.js +4 -4
  542. package/dist/esm/gux-selector-card-beta.entry.js +5 -5
  543. package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
  544. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  545. package/dist/esm/gux-side-panel-header-mini.entry.js +4 -4
  546. package/dist/esm/gux-side-panel-header.entry.js +3 -3
  547. package/dist/esm/gux-side-panel-heading.entry.js +3 -3
  548. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  549. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  550. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  551. package/dist/esm/gux-sort-control.entry.js +5 -5
  552. package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
  553. package/dist/esm/gux-step-title.entry.js +3 -3
  554. package/dist/esm/gux-step.entry.js +5 -5
  555. package/dist/esm/gux-stepper-beta.entry.js +4 -4
  556. package/dist/esm/gux-submenu.entry.js +4 -4
  557. package/dist/esm/gux-switch-item.entry.js +2 -2
  558. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  559. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  560. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  561. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  562. package/dist/esm/gux-tab-list.entry.js +5 -5
  563. package/dist/esm/gux-tab-panel.entry.js +2 -2
  564. package/dist/esm/gux-tab.entry.js +3 -3
  565. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  566. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  567. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  568. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  569. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  570. package/dist/esm/gux-table.entry.js +5 -5
  571. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  572. package/dist/esm/gux-tabs.entry.js +4 -4
  573. package/dist/esm/gux-tag.entry.js +5 -5
  574. package/dist/esm/gux-text-highlight.entry.js +2 -2
  575. package/dist/esm/gux-time-beta.entry.js +5 -5
  576. package/dist/esm/gux-time-picker.entry.js +5 -5
  577. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  578. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  579. package/dist/esm/gux-toast.entry.js +4 -4
  580. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  581. package/dist/esm/gux-toggle.entry.js +5 -5
  582. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
  583. package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
  584. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  585. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  586. package/dist/esm/gux-tree-beta.entry.js +5 -5
  587. package/dist/esm/gux-tree-multi-beta.entry.js +5 -5
  588. package/dist/esm/{gux-tree-multi.service-CqlM5Ark.js → gux-tree-multi.service-DywkmQ9D.js} +1 -1
  589. package/dist/esm/{gux-tree.service-By2DE0TG.js → gux-tree.service-DrsSO_cH.js} +1 -1
  590. package/dist/esm/index-CW7z6RPd.js +2955 -0
  591. package/dist/esm/{index-BaLo2k_8.js → index-DV83JT5I.js} +1 -1
  592. package/dist/esm/loader.js +3 -3
  593. package/dist/esm/{on-click-outside-EUgJi7Nq.js → on-click-outside-DGKD-rDs.js} +1 -1
  594. package/dist/esm/{on-mutation-Buvv8P1w.js → on-mutation-hyjKEYin.js} +1 -1
  595. package/dist/esm/{on-resize-BIGJ_lme.js → on-resize-DLnYi7-d.js} +1 -1
  596. package/dist/esm/{usage-Dr0IUVkV.js → usage-B4kgQ9Nr.js} +1 -1
  597. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  598. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  599. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  600. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  601. package/dist/genesys-webcomponents/{p-67aaf6a2.entry.js → p-027018b5.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/p-099bbe9b.entry.js +1 -0
  603. package/dist/genesys-webcomponents/{p-2bde8179.entry.js → p-0af5c94f.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-2a6de111.entry.js → p-0bc31770.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-7f92119c.entry.js → p-0bd22052.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-c0e48fd2.entry.js → p-0c407b5f.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/p-0da9dc6b.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-390a79b3.entry.js → p-0e100e54.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-5245261a.entry.js → p-0e1a6ae6.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-dd7eaed1.entry.js → p-0e5b18cf.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-9fc11ca7.entry.js → p-10d1efc7.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-2177421b.entry.js → p-120de1fa.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-00acd489.entry.js → p-12a9ba23.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-0348afe8.entry.js → p-133109cb.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-f3fd8bf7.entry.js → p-1334a301.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/p-135684b6.entry.js +1 -0
  617. package/dist/genesys-webcomponents/{p-6dcd7f2e.entry.js → p-1382b36b.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-9f8578bc.entry.js → p-15d4db8f.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-5bab1f26.entry.js → p-15f8ac18.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-bc40af25.entry.js → p-16364161.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-18e92e3f.entry.js +1 -0
  622. package/dist/genesys-webcomponents/{p-645b7604.entry.js → p-1b5a6c37.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-f965f4da.entry.js → p-1c209c07.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/p-1c4fc0a3.entry.js +1 -0
  625. package/dist/genesys-webcomponents/p-1c63f28f.entry.js +1 -0
  626. package/dist/genesys-webcomponents/{p-b6e733f3.entry.js → p-1d24b125.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-0618fa88.entry.js → p-1df36e6b.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/p-1f0ba607.entry.js +1 -0
  629. package/dist/genesys-webcomponents/{p-4f9af39e.entry.js → p-1fcc029e.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/{p-56938531.entry.js → p-2132db27.entry.js} +1 -1
  631. package/dist/genesys-webcomponents/{p-f0ad712a.entry.js → p-237c096d.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-6f2e61ae.entry.js → p-2555790c.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-cb13b8b5.entry.js → p-27d61bb5.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-b13cea3c.entry.js → p-2aba3194.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/p-2c09c9a9.entry.js +1 -0
  636. package/dist/genesys-webcomponents/{p-61d03878.entry.js → p-2ef4f418.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-f93cac1b.entry.js → p-30e54d02.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/p-33353044.entry.js +1 -0
  639. package/dist/genesys-webcomponents/{p-6dab1705.entry.js → p-34fb56d6.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-2bfc6bce.entry.js → p-351e75d6.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-13ef1834.entry.js → p-36b4a04c.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/{p-4ac7192b.entry.js → p-37ecee7d.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-0458262e.entry.js → p-3ff3c2f2.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-d1b889a8.entry.js → p-4292c053.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-a63120c5.entry.js → p-42ca6f93.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-750f5684.entry.js → p-432ad8da.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/p-43a2d828.entry.js +1 -0
  648. package/dist/genesys-webcomponents/{p-80ca9b80.entry.js → p-44d4c8bc.entry.js} +1 -1
  649. package/dist/genesys-webcomponents/{p-a8cdd808.entry.js → p-46020b29.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-b147cc89.entry.js → p-46d50848.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-6b25ba5d.entry.js → p-497644b2.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-738e7879.entry.js → p-4b82bc96.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/p-4bd52c8b.entry.js +1 -0
  654. package/dist/genesys-webcomponents/{p-fda453df.entry.js → p-4d378b2a.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/{p-b38e89fe.entry.js → p-4e7909f6.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/p-4f0a3e20.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-717d64e9.entry.js → p-4f383dbd.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-4069b6c4.entry.js → p-5002dafa.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-c66fa160.entry.js → p-50b4ec1d.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-f82b5e73.entry.js → p-57082186.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-6f2d7dc6.entry.js → p-579132ae.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-3ed1fd82.entry.js → p-59dc088d.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/{p-e97a9279.entry.js → p-5b204003.entry.js} +1 -1
  664. package/dist/genesys-webcomponents/{p-6f172667.entry.js → p-5d42f638.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-1f4bb786.entry.js → p-5d9139b3.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-09ec4b4e.entry.js → p-5f8d5c66.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-20a4a8e1.entry.js → p-6267b6c1.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-62d2a2ea.entry.js +1 -0
  669. package/dist/genesys-webcomponents/{p-42f284c5.entry.js → p-65dbc037.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-e0315031.entry.js → p-6a4b0716.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/{p-463aaba3.entry.js → p-6c88d192.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/p-6cbaceab.entry.js +1 -0
  673. package/dist/genesys-webcomponents/p-6f38fcae.entry.js +1 -0
  674. package/dist/genesys-webcomponents/p-7258d410.entry.js +1 -0
  675. package/dist/genesys-webcomponents/p-728e1246.entry.js +1 -0
  676. package/dist/genesys-webcomponents/{p-e909cf42.entry.js → p-72befa32.entry.js} +1 -1
  677. package/dist/genesys-webcomponents/p-731b06b9.entry.js +1 -0
  678. package/dist/genesys-webcomponents/{p-40aac3b9.entry.js → p-73791940.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/p-73876840.entry.js +1 -0
  680. package/dist/genesys-webcomponents/{p-21736cce.entry.js → p-76692443.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-a1595513.entry.js → p-767996c0.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-3fc3a2da.entry.js → p-775fdcc8.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/p-78353cd1.entry.js +1 -0
  684. package/dist/genesys-webcomponents/{p-b82676fe.entry.js → p-787e72bb.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/{p-1MK2QR3u.js → p-7Jfa0k54.js} +1 -1
  686. package/dist/genesys-webcomponents/{p-46816acd.entry.js → p-7b20b1e9.entry.js} +1 -1
  687. package/dist/genesys-webcomponents/{p-c827b353.entry.js → p-7cdf3bf3.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-5dab51a4.entry.js → p-7d030c05.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/p-7d243dc4.entry.js +1 -0
  690. package/dist/genesys-webcomponents/{p-9f253e95.entry.js → p-7d82ab6a.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/p-7e0b44f5.entry.js +1 -0
  692. package/dist/genesys-webcomponents/{p-c083308c.entry.js → p-7ef7ceca.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/{p-5646f503.entry.js → p-80f81e4e.entry.js} +1 -1
  694. package/dist/genesys-webcomponents/{p-7a8033e5.entry.js → p-82bff41c.entry.js} +1 -1
  695. package/dist/genesys-webcomponents/{p-ec7d3ea6.entry.js → p-83c6041e.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/p-8447936b.entry.js +1 -0
  697. package/dist/genesys-webcomponents/{p-ba21e155.entry.js → p-84ce02a6.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-aafbfb78.entry.js → p-86521b6e.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/{p-87e1303c.entry.js → p-88e52f01.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/p-890bb42c.entry.js +1 -0
  701. package/dist/genesys-webcomponents/{p-67a12c6b.entry.js → p-8931283d.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-e49eebe3.entry.js → p-897b8b5e.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/{p-d23446b1.entry.js → p-89f16217.entry.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-0dc21e40.entry.js → p-89f4846c.entry.js} +1 -1
  705. package/dist/genesys-webcomponents/{p-d57a5805.entry.js → p-8cab8762.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/{p-6a43ed82.entry.js → p-8e31196d.entry.js} +1 -1
  707. package/dist/genesys-webcomponents/{p-169895cb.entry.js → p-8ed20b4a.entry.js} +1 -1
  708. package/dist/genesys-webcomponents/p-91104ad6.entry.js +1 -0
  709. package/dist/genesys-webcomponents/{p-a54f0046.entry.js → p-9384f729.entry.js} +1 -1
  710. package/dist/genesys-webcomponents/{p-f0da4967.entry.js → p-942e06ca.entry.js} +1 -1
  711. package/dist/genesys-webcomponents/{p-0ec3ea7a.entry.js → p-9551c1d9.entry.js} +1 -1
  712. package/dist/genesys-webcomponents/{p-31294261.entry.js → p-97260bce.entry.js} +1 -1
  713. package/dist/genesys-webcomponents/{p-8c0b5fe5.entry.js → p-98389b73.entry.js} +1 -1
  714. package/dist/genesys-webcomponents/{p-8c3e79b5.entry.js → p-99796439.entry.js} +1 -1
  715. package/dist/genesys-webcomponents/p-9bca1c25.entry.js +1 -0
  716. package/dist/genesys-webcomponents/p-9bdb890c.entry.js +1 -0
  717. package/dist/genesys-webcomponents/p-9c1d6c35.entry.js +1 -0
  718. package/dist/genesys-webcomponents/p-9c472429.entry.js +1 -0
  719. package/dist/genesys-webcomponents/p-9d424f64.entry.js +1 -0
  720. package/dist/genesys-webcomponents/{p-04704cef.entry.js → p-9de605ff.entry.js} +1 -1
  721. package/dist/genesys-webcomponents/{p-905c05a0.entry.js → p-9fd5598e.entry.js} +1 -1
  722. package/dist/genesys-webcomponents/{p-Cok0g8Bp.js → p-AdM1Un4y.js} +1 -1
  723. package/dist/genesys-webcomponents/{p-BnGNuTSJ.js → p-B00vXHqr.js} +1 -1
  724. package/dist/genesys-webcomponents/{p-Dr0IUVkV.js → p-B4kgQ9Nr.js} +1 -1
  725. package/dist/genesys-webcomponents/{p-DIsfll29.js → p-B55UEWA8.js} +1 -1
  726. package/dist/genesys-webcomponents/{p-BiHCyfaN.js → p-BmJEQySK.js} +1 -1
  727. package/dist/genesys-webcomponents/p-CW7z6RPd.js +2 -0
  728. package/dist/genesys-webcomponents/{p-C1tZMARN.js → p-D-Iy-JTL.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-DJfLLpzO.js → p-DYtJNWnZ.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-CAJ6P2Xh.js → p-D_4wz9ez.js} +1 -1
  731. package/dist/genesys-webcomponents/{p-D42gZGEO.js → p-PyAf0Vv-.js} +1 -1
  732. package/dist/genesys-webcomponents/{p-_CWahCOH.js → p-QDdMA8yS.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-363ea63f.entry.js → p-a0203136.entry.js} +1 -1
  734. package/dist/genesys-webcomponents/{p-19c0d225.entry.js → p-a07cd048.entry.js} +1 -1
  735. package/dist/genesys-webcomponents/{p-fa5f464b.entry.js → p-a11fe2f9.entry.js} +1 -1
  736. package/dist/genesys-webcomponents/{p-8b9ac4e0.entry.js → p-a2d2be6d.entry.js} +1 -1
  737. package/dist/genesys-webcomponents/{p-6a0e9f5c.entry.js → p-a59ed3bc.entry.js} +1 -1
  738. package/dist/genesys-webcomponents/{p-bc5d3c6a.entry.js → p-a72c1620.entry.js} +1 -1
  739. package/dist/genesys-webcomponents/{p-c88d8930.entry.js → p-a8c7589f.entry.js} +1 -1
  740. package/dist/genesys-webcomponents/{p-befd7539.entry.js → p-aa4f3b97.entry.js} +1 -1
  741. package/dist/genesys-webcomponents/{p-ca88c00d.entry.js → p-aa81a9d4.entry.js} +1 -1
  742. package/dist/genesys-webcomponents/{p-ce1e52b0.entry.js → p-ab2ee890.entry.js} +1 -1
  743. package/dist/genesys-webcomponents/{p-2fcc2cbd.entry.js → p-ab3bf378.entry.js} +1 -1
  744. package/dist/genesys-webcomponents/p-abcedd46.entry.js +1 -0
  745. package/dist/genesys-webcomponents/{p-59049e4d.entry.js → p-ac1c8fd8.entry.js} +1 -1
  746. package/dist/genesys-webcomponents/{p-8990f902.entry.js → p-ace1b87f.entry.js} +1 -1
  747. package/dist/genesys-webcomponents/p-afc0c986.entry.js +1 -0
  748. package/dist/genesys-webcomponents/p-b0c158b6.entry.js +1 -0
  749. package/dist/genesys-webcomponents/{p-c0aa14b7.entry.js → p-b169623a.entry.js} +1 -1
  750. package/dist/genesys-webcomponents/{p-63c409e0.entry.js → p-b1fd2bb0.entry.js} +1 -1
  751. package/dist/genesys-webcomponents/{p-b213dbcd.entry.js → p-b20fa7d8.entry.js} +1 -1
  752. package/dist/genesys-webcomponents/p-b4fc09b1.entry.js +1 -0
  753. package/dist/genesys-webcomponents/p-b9d26ed8.entry.js +1 -0
  754. package/dist/genesys-webcomponents/{p-93e0a79d.entry.js → p-b9d337d1.entry.js} +1 -1
  755. package/dist/genesys-webcomponents/{p-458e0af6.entry.js → p-bba9b9a7.entry.js} +1 -1
  756. package/dist/genesys-webcomponents/{p-5afc0da1.entry.js → p-be4b0fdc.entry.js} +1 -1
  757. package/dist/genesys-webcomponents/{p-3f438b6f.entry.js → p-be97e36b.entry.js} +1 -1
  758. package/dist/genesys-webcomponents/{p-295c290e.entry.js → p-bed1baba.entry.js} +1 -1
  759. package/dist/genesys-webcomponents/{p-b40bda15.entry.js → p-bf7be283.entry.js} +1 -1
  760. package/dist/genesys-webcomponents/{p-921f34d9.entry.js → p-c24e181a.entry.js} +1 -1
  761. package/dist/genesys-webcomponents/p-c2d8c92a.entry.js +1 -0
  762. package/dist/genesys-webcomponents/{p-fc204d38.entry.js → p-c7365387.entry.js} +1 -1
  763. package/dist/genesys-webcomponents/{p-3febdd34.entry.js → p-c75b8ae4.entry.js} +1 -1
  764. package/dist/genesys-webcomponents/{p-cd881656.entry.js → p-c80d33e6.entry.js} +1 -1
  765. package/dist/genesys-webcomponents/{p-cf339c76.entry.js → p-c971fedc.entry.js} +1 -1
  766. package/dist/genesys-webcomponents/p-ca8ba231.entry.js +1 -0
  767. package/dist/genesys-webcomponents/{p-b1a32810.entry.js → p-cc8a145e.entry.js} +1 -1
  768. package/dist/genesys-webcomponents/{p-34136f37.entry.js → p-cd4213cb.entry.js} +1 -1
  769. package/dist/genesys-webcomponents/{p-ccd2917a.entry.js → p-cde048fc.entry.js} +1 -1
  770. package/dist/genesys-webcomponents/{p-3bcf4af8.entry.js → p-ce7a79cd.entry.js} +1 -1
  771. package/dist/genesys-webcomponents/{p-5d57f755.entry.js → p-ceca5062.entry.js} +1 -1
  772. package/dist/genesys-webcomponents/{p-314f1f43.entry.js → p-d0eb26c0.entry.js} +1 -1
  773. package/dist/genesys-webcomponents/{p-83572db9.entry.js → p-d3efce09.entry.js} +1 -1
  774. package/dist/genesys-webcomponents/{p-91739c31.entry.js → p-d41e8d7b.entry.js} +1 -1
  775. package/dist/genesys-webcomponents/{p-e46ab0fd.entry.js → p-d6484b1d.entry.js} +1 -1
  776. package/dist/genesys-webcomponents/{p-f201be17.entry.js → p-dfe400b8.entry.js} +1 -1
  777. package/dist/genesys-webcomponents/p-e23be193.entry.js +1 -0
  778. package/dist/genesys-webcomponents/p-e306e8d6.entry.js +1 -0
  779. package/dist/genesys-webcomponents/{p-16a8abd9.entry.js → p-e334fd38.entry.js} +1 -1
  780. package/dist/genesys-webcomponents/{p-9b433707.entry.js → p-e8dd8865.entry.js} +1 -1
  781. package/dist/genesys-webcomponents/{p-299bca70.entry.js → p-e975c43a.entry.js} +1 -1
  782. package/dist/genesys-webcomponents/p-e990737d.entry.js +1 -0
  783. package/dist/genesys-webcomponents/{p-40bd981e.entry.js → p-e9c9cff6.entry.js} +2 -2
  784. package/dist/genesys-webcomponents/{p-eab6e7e2.entry.js → p-ea19089e.entry.js} +1 -1
  785. package/dist/genesys-webcomponents/{p-57d0d802.entry.js → p-ebee3b09.entry.js} +1 -1
  786. package/dist/genesys-webcomponents/{p-87cfd989.entry.js → p-eea80538.entry.js} +1 -1
  787. package/dist/genesys-webcomponents/{p-68ab5243.entry.js → p-f1062b33.entry.js} +1 -1
  788. package/dist/genesys-webcomponents/{p-4c2b671c.entry.js → p-f193f0cb.entry.js} +1 -1
  789. package/dist/genesys-webcomponents/{p-d5289c1c.entry.js → p-f1d66773.entry.js} +1 -1
  790. package/dist/genesys-webcomponents/{p-3b65540f.entry.js → p-f2966dd8.entry.js} +1 -1
  791. package/dist/genesys-webcomponents/{p-c7961ebe.entry.js → p-f3c00d67.entry.js} +1 -1
  792. package/dist/genesys-webcomponents/p-f4733950.entry.js +1 -0
  793. package/dist/genesys-webcomponents/{p-1852c626.entry.js → p-f6eb264d.entry.js} +1 -1
  794. package/dist/genesys-webcomponents/{p-e5a88d6e.entry.js → p-fd6af38d.entry.js} +1 -1
  795. package/dist/genesys-webcomponents/{p-5eee3da2.entry.js → p-ffa6ceb8.entry.js} +1 -1
  796. package/dist/genesys-webcomponents/p-uAcnLSYY.js +1 -0
  797. package/dist/stencil-wrapper.js +1 -1
  798. package/dist/types/components/beta/gux-ai-indicator/gux-ai-indicator.d.ts +11 -0
  799. package/dist/types/components/beta/gux-ai-indicator/tests/gux-ai-indicator.common.d.ts +8 -0
  800. package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list.d.ts +2 -0
  801. package/dist/types/components/stable/gux-button/gux-button.types.d.ts +1 -1
  802. package/dist/types/components/stable/gux-button-slot/gux-button-slot.types.d.ts +1 -1
  803. package/dist/types/components/stable/gux-calendar/gux-calendar.types.d.ts +1 -2
  804. package/dist/types/components/stable/gux-datepicker/gux-datepicker.types.d.ts +1 -2
  805. package/dist/types/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.d.ts +1 -0
  806. package/dist/types/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.d.ts +0 -1
  807. package/dist/types/components.d.ts +17 -4
  808. package/dist/types/stencil-wrapper.d.ts +1 -1
  809. package/dist/types/utils/dom/on-input-value-change.d.ts +9 -0
  810. package/package.json +1 -1
  811. package/dist/cjs/index-CBglYKJO.js +0 -2984
  812. package/dist/esm/index-D63QQ8rP.js +0 -2951
  813. package/dist/genesys-webcomponents/p-03e152a8.entry.js +0 -1
  814. package/dist/genesys-webcomponents/p-0a08d686.entry.js +0 -1
  815. package/dist/genesys-webcomponents/p-0ooLeagG.js +0 -1
  816. package/dist/genesys-webcomponents/p-10190ff6.entry.js +0 -1
  817. package/dist/genesys-webcomponents/p-12d1b16d.entry.js +0 -1
  818. package/dist/genesys-webcomponents/p-157c89d2.entry.js +0 -1
  819. package/dist/genesys-webcomponents/p-16729a06.entry.js +0 -1
  820. package/dist/genesys-webcomponents/p-1747001a.entry.js +0 -1
  821. package/dist/genesys-webcomponents/p-2608c67c.entry.js +0 -1
  822. package/dist/genesys-webcomponents/p-2c2598bc.entry.js +0 -1
  823. package/dist/genesys-webcomponents/p-2cec1ba1.entry.js +0 -1
  824. package/dist/genesys-webcomponents/p-30a9dfb7.entry.js +0 -1
  825. package/dist/genesys-webcomponents/p-39fd89b0.entry.js +0 -1
  826. package/dist/genesys-webcomponents/p-3a889501.entry.js +0 -1
  827. package/dist/genesys-webcomponents/p-3bc1efc3.entry.js +0 -1
  828. package/dist/genesys-webcomponents/p-4613f5dd.entry.js +0 -1
  829. package/dist/genesys-webcomponents/p-50486969.entry.js +0 -1
  830. package/dist/genesys-webcomponents/p-59e8b36e.entry.js +0 -1
  831. package/dist/genesys-webcomponents/p-5eb7aadb.entry.js +0 -1
  832. package/dist/genesys-webcomponents/p-60d0f9af.entry.js +0 -1
  833. package/dist/genesys-webcomponents/p-6923d293.entry.js +0 -1
  834. package/dist/genesys-webcomponents/p-6c0ef50a.entry.js +0 -1
  835. package/dist/genesys-webcomponents/p-704b239c.entry.js +0 -1
  836. package/dist/genesys-webcomponents/p-74c63715.entry.js +0 -1
  837. package/dist/genesys-webcomponents/p-7bc830d6.entry.js +0 -1
  838. package/dist/genesys-webcomponents/p-7d430eb1.entry.js +0 -1
  839. package/dist/genesys-webcomponents/p-7f903e1e.entry.js +0 -1
  840. package/dist/genesys-webcomponents/p-80127020.entry.js +0 -1
  841. package/dist/genesys-webcomponents/p-80b70fbd.entry.js +0 -1
  842. package/dist/genesys-webcomponents/p-8b0eb2fb.entry.js +0 -1
  843. package/dist/genesys-webcomponents/p-935beebd.entry.js +0 -1
  844. package/dist/genesys-webcomponents/p-977a0852.entry.js +0 -1
  845. package/dist/genesys-webcomponents/p-9ed2fd5a.entry.js +0 -1
  846. package/dist/genesys-webcomponents/p-D63QQ8rP.js +0 -2
  847. package/dist/genesys-webcomponents/p-a1527232.entry.js +0 -1
  848. package/dist/genesys-webcomponents/p-a9e00d4b.entry.js +0 -1
  849. package/dist/genesys-webcomponents/p-b57882e4.entry.js +0 -1
  850. package/dist/genesys-webcomponents/p-c5798cce.entry.js +0 -1
  851. package/dist/genesys-webcomponents/p-e94a57f0.entry.js +0 -1
  852. package/dist/genesys-webcomponents/p-eaec9262.entry.js +0 -1
  853. package/dist/genesys-webcomponents/p-f3bb83e3.entry.js +0 -1
  854. package/dist/genesys-webcomponents/p-fe422fcc.entry.js +0 -1
@@ -1 +1 @@
1
- import{f as n}from"./p-D63QQ8rP.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?b(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function d(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function v(n){l(n,a(n))}function g(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function p(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function B(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),p(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function X(n){return c(n).some((n=>n.selected))}function k(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function G(t){c(t).forEach((t=>{n(t)}))}function N(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function U(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function j({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{U as a,X as b,b as c,d,j as e,G as f,N as g,k as h,g as i,v as j,h as k,x as l,p as m,m as n,A as o,B as s}
1
+ import{f as n}from"./p-CW7z6RPd.js";import{w as t}from"./p-kLXvN2m9.js";function r(n){return n.closest("gux-tree-beta")}function o(n){return["GUX-LEAF","GUX-BRANCH"].includes(n.tagName)}function u(n){return Boolean(i(n))}function c(n){const t=[];return function n(r){for(const u of Array.from(r.children))o(u)&&t.push(u),"GUX-BRANCH"===u.tagName&&n(u)}(n),t}function e(n){const t=[];return function n(r){for(const c of Array.from(r.children))o(c)&&t.push(c),"GUX-BRANCH"===(u=c).tagName&&u.expanded&&n(c);var u}(n),t}function f(n){return e(n).filter((n=>!n.disabled&&!n.filtered))}function i(n){return e(n).find((n=>n.active))}function a(n){return f(n)[0]}function s(n){const t=f(n);return t[t.length-1]}function l(n,t){n.disabled?d(n):t&&(e(n).forEach((r=>{const o=!r.disabled&&!r.filtered&&r===t;r.active=o,o&&n.setAttribute("aria-activedescendant",r.id)})),t.scrollIntoView({block:"nearest"}))}function d(n){c(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function b(n){l(n,function(n){return e(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||a(n))}function v(n){l(n,a(n))}function g(n){l(n,s(n))}function x(n){l(n,function(n){if(u(n)&&i(n)!==s(n)){const t=f(n),r=i(n),o=t.indexOf(r);return t[o+1]}return a(n)}(n))}function h(n){l(n,function(n){if(u(n)){const t=f(n),r=t.indexOf(i(n));return i(n)===a(n)?s(n):t[r-1]}return a(n)}(n))}function m(n){l(n,i(n).parentElement.closest("gux-branch"))}function A(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function p(n,t){(null==t?void 0:t.value)&&(c(n).forEach((n=>{n.selected=n===t})),n.value=t.value,t.scrollIntoView({block:"nearest"}))}function B(n,t){const r=function(n,t){return c(n).find((n=>n.value===t))}(n,t);r?(function(n){let t=n.parentElement.closest("gux-branch");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch")}(r),p(n,r)):function(n){c(n).forEach((n=>{n.selected=!1}))}(n)}function X(n){return c(n).some((n=>n.selected))}function k(n){let t=n.parentElement.closest("gux-branch, gux-tree-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch, gux-tree-beta, fieldset")}return!1}function C(t){c(t).forEach((t=>{n(t)}))}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function N(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function R({event:n,onLeaf:r,onBranch:o}){let u=!1;t("gux-leaf",n,(n=>{n.value&&(r(n),u=!0)})),u||t("gux-branch",n,(n=>{o(n)}))}export{N as a,X as b,d as c,b as d,R as e,C as f,G as g,k as h,g as i,v as j,h as k,x as l,p as m,m as n,A as o,B as s}
@@ -1 +1 @@
1
- import{e as t}from"./p-D63QQ8rP.js";import{g as e}from"./p-Cd4R0amv.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:c,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};class a{cache;constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}}const c={create:function(){return new a}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,g=/^(0+)$/;function E(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!g.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(g.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...E(t)});continue}if(b.test(h.stem)){e={...e,...E(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",t}({}),A=function(t){return t[t.number=0]="number",t[t.dateTime=1]="dateTime",t}({});function S(t){return t.type===T.literal}function v(t){return t.type===T.argument}function N(t){return t.type===T.number}function I(t){return t.type===T.date}function L(t){return t.type===T.time}function M(t){return t.type===T.select}function _(t){return t.type===T.plural}function R(t){return t.type===T.pound}function C(t){return t.type===T.tag}function O(t){return!(!t||"object"!=typeof t||t.type!==A.number)}function G(t){return!(!t||"object"!=typeof t||t.type!==A.dateTime)}let P=function(t){return t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t}({});const U=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function D(t){let e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(k[n||""]||k[h||""]||k[`${h}-001`]||k["001"])[0]}const F=new RegExp(`^${U.source}*`),K=new RegExp(`${U.source}*$`);function $(t,e){return{start:t,end:e}}const x=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},V=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(F,"")},j=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(K,"")},Z=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");class Y{message;position;locale;ignoreTag;requiresOtherClause;shouldParseSkeletons;constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(P.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&X(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:T.pound,location:$(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:`<${n}/>`,location:$(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!X(this.char()))return this.error(P.INVALID_TAG,$(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(P.UNMATCHED_CLOSING_TAG,$(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:T.tag,value:n,children:i,location:$(h,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,$(s,this.clonePosition())))}return this.error(P.UNCLOSED_TAG,$(h,this.clonePosition()))}return this.error(P.INVALID_TAG,$(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}const r=$(h,this.clonePosition());return{val:{type:T.literal,value:n,location:r},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(X(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(P.EMPTY_ARGUMENT,$(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:n,location:$(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,Z.lastIndex=e,Z.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:$(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,$(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=j(h.val);if(0===n.length)return this.error(P.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:$(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=$(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=V(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:T.number,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(P.EXPECT_DATE_TIME_SKELETON,r);let n=e;this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),a="a",c=D(e);for("H"!=c&&"k"!=c||(o=0);o-- >0;)h+=a;for(;s-- >0;)h=c+h}else h+="J"===r?"H":r}return h}(e,this.locale));const s={type:A.dateTime,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}};return{val:{type:"date"===i?T.date:T.time,value:h,location:r,style:s},err:null}}}return{val:{type:"number"===i?T.number:"date"===i?T.date:T.time,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,$(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const a=this.tryParsePluralOrSelectOptions(t,i,e,s);if(a.err)return a;const c=this.tryParseArgumentClose(n);if(c.err)return c;const u=$(n,this.clonePosition());return"select"===i?{val:{type:T.select,value:h,options:x(a.val),location:u},err:null}:{val:{type:T.plural,value:h,options:x(a.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,$(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(P.INVALID_NUMBER_SKELETON,e)}return{val:{type:A.number,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:a}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(e.err)return e;a=$(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,a);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));const c=this.parseMessage(t+1,e,h);if(c.err)return c;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:c.val,location:$(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:a}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(P.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=$(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}}function X(t){return t>=97&&t<=122||t>=65&&t<=90}function W(t){t.forEach((t=>{if(delete t.location,M(t)||_(t))for(const e in t.options)delete t.options[e].location,W(t.options[e].value);else N(t)&&O(t.style)||(I(t)||L(t))&&G(t.style)?delete t.style.location:C(t)&&W(t.children)}))}function z(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new Y(t,e).parse();if(h.err){const t=SyntaxError(P[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||W(h.val),h.val}let J=function(t){return t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API",t}({});class Q extends Error{code;originalMessage;constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}}class q extends Q{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,J.INVALID_VALUE,n)}}class tt extends Q{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,J.INVALID_VALUE,h)}}class et extends Q{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,J.MISSING_VALUE,e)}}let ht=function(t){return t[t.literal=0]="literal",t[t.object=1]="object",t}({});function nt(t){return"function"==typeof t}function rt(t,e,h,n,r,i,s){if(1===t.length&&S(t[0]))return[{type:ht.literal,value:t[0].value}];const o=[];for(const a of t){if(S(a)){o.push({type:ht.literal,value:a.value});continue}if(R(a)){"number"==typeof i&&o.push({type:ht.literal,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=a;if(!r||!(t in r))throw new et(t,s);let c=r[t];if(v(a))c&&"string"!=typeof c&&"number"!=typeof c&&"bigint"!=typeof c||(c="string"==typeof c||"number"==typeof c||"bigint"==typeof c?String(c):""),o.push({type:"string"==typeof c?ht.literal:ht.object,value:c});else if(I(a)){const t="string"==typeof a.style?n.date[a.style]:G(a.style)?a.style.parsedOptions:void 0;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(L(a)){const t="string"==typeof a.style?n.time[a.style]:G(a.style)?a.style.parsedOptions:n.time.medium;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(N(a)){const t="string"==typeof a.style?n.number[a.style]:O(a.style)?a.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof c){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);c*=BigInt(e)}else c*=e}o.push({type:ht.literal,value:h.getNumberFormat(e,t).format(c)})}else{if(C(a)){const{children:t,value:c}=a,u=r[c];if(!nt(u))throw new tt(c,"function",s);let l=u(rt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?ht.literal:ht.object,value:t}))))}if(M(a)){const t=c,i=(Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0)||a.options.other;if(!i)throw new q(a.value,c,Object.keys(a.options),s);o.push(...rt(i.value,e,h,n,r))}else if(_(a)){const t=`=${c}`;let i=Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',J.MISSING_INTL_API,s);const t="bigint"==typeof c?Number(c):c,n=h.getPluralRules(e,{type:a.pluralType}).select(t-(a.offset||0));i=(Object.prototype.hasOwnProperty.call(a.options,n)?a.options[n]:void 0)||a.options.other}if(!i)throw new q(a.value,c,Object.keys(a.options),s);const u="bigint"==typeof c?Number(c):c;o.push(...rt(i.value,e,h,n,r,u-(a.offset||0)))}}}return(a=o).length<2?a:a.reduce(((t,e)=>{const h=t[t.length-1];return h&&h.type===ht.literal&&e.type===ht.literal?h.value+=e.value:t.push(e),t}),[]);var a}function it(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}class st{ast;locales;resolvedLocale;formatters;formats;message;formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(t,e=st.defaultLocale,n,r){if(this.locales=e,this.resolvedLocale=st.resolveLocale(e),"string"==typeof t){if(this.message=t,!st.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...e}=r||{};this.ast=st.__parse(t,{...e,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var i,s;this.formats=(i=st.formats,(s=n)?Object.keys(i).reduce(((t,e)=>{var h,n;return t[e]=(h=i[e],(n=s[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...i}):i),this.formatters=r&&r.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:it(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:it(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:it(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&e.type===ht.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h};formatToParts=t=>rt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return st.memoizedDefaultLocale||(st.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),st.memoizedDefaultLocale}static resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])};static __parse=z;static formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}const ot={};var at=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],ct={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0};const ut="en";async function lt(e,h,n){let r=h,i="en";void 0!==e&&(i=Ht(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==ut)try{s=await(async(e,h)=>{if(!ot[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();ot[h]=r}return ot[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new st(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new st(h,ut)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function Ht(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():ut}(t),n=h.split(/[_-]/)[0];return at.indexOf(h)>=0?h:at.indexOf(n)>=0?n:ut}function ft(t=ut){return ct[t]?ct[t]:ct[ut]}function Bt(t=ut){return((ft(t)-1)%7+7)%7+1}export{Bt as a,lt as b,ft as c,Ht as g,at as l}
1
+ import{e as t}from"./p-CW7z6RPd.js";import{g as e}from"./p-Cd4R0amv.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:c,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};class a{cache;constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}}const c={create:function(){return new a}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,g=/^(0+)$/;function E(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!g.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(g.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...E(t)});continue}if(b.test(h.stem)){e={...e,...E(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",t}({}),A=function(t){return t[t.number=0]="number",t[t.dateTime=1]="dateTime",t}({});function S(t){return t.type===T.literal}function v(t){return t.type===T.argument}function N(t){return t.type===T.number}function I(t){return t.type===T.date}function L(t){return t.type===T.time}function M(t){return t.type===T.select}function _(t){return t.type===T.plural}function R(t){return t.type===T.pound}function C(t){return t.type===T.tag}function O(t){return!(!t||"object"!=typeof t||t.type!==A.number)}function G(t){return!(!t||"object"!=typeof t||t.type!==A.dateTime)}let P=function(t){return t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t}({});const U=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function D(t){let e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(k[n||""]||k[h||""]||k[`${h}-001`]||k["001"])[0]}const F=new RegExp(`^${U.source}*`),K=new RegExp(`${U.source}*$`);function $(t,e){return{start:t,end:e}}const x=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},V=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(F,"")},j=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(K,"")},Z=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");class Y{message;position;locale;ignoreTag;requiresOtherClause;shouldParseSkeletons;constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(P.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&W(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:T.pound,location:$(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:`<${n}/>`,location:$(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!W(this.char()))return this.error(P.INVALID_TAG,$(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(P.UNMATCHED_CLOSING_TAG,$(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:T.tag,value:n,children:i,location:$(h,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,$(s,this.clonePosition())))}return this.error(P.UNCLOSED_TAG,$(h,this.clonePosition()))}return this.error(P.INVALID_TAG,$(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}const r=$(h,this.clonePosition());return{val:{type:T.literal,value:n,location:r},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(W(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(P.EMPTY_ARGUMENT,$(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:n,location:$(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,Z.lastIndex=e,Z.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:$(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,$(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=j(h.val);if(0===n.length)return this.error(P.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:$(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=$(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=V(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:T.number,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(P.EXPECT_DATE_TIME_SKELETON,r);let n=e;this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),a="a",c=D(e);for("H"!=c&&"k"!=c||(o=0);o-- >0;)h+=a;for(;s-- >0;)h=c+h}else h+="J"===r?"H":r}return h}(e,this.locale));const s={type:A.dateTime,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}};return{val:{type:"date"===i?T.date:T.time,value:h,location:r,style:s},err:null}}}return{val:{type:"number"===i?T.number:"date"===i?T.date:T.time,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,$(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const a=this.tryParsePluralOrSelectOptions(t,i,e,s);if(a.err)return a;const c=this.tryParseArgumentClose(n);if(c.err)return c;const u=$(n,this.clonePosition());return"select"===i?{val:{type:T.select,value:h,options:x(a.val),location:u},err:null}:{val:{type:T.plural,value:h,options:x(a.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,$(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(P.INVALID_NUMBER_SKELETON,e)}return{val:{type:A.number,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:a}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(e.err)return e;a=$(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,a);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));const c=this.parseMessage(t+1,e,h);if(c.err)return c;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:c.val,location:$(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:a}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(P.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=$(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}}function W(t){return t>=97&&t<=122||t>=65&&t<=90}function X(t){t.forEach((t=>{if(delete t.location,M(t)||_(t))for(const e in t.options)delete t.options[e].location,X(t.options[e].value);else N(t)&&O(t.style)||(I(t)||L(t))&&G(t.style)?delete t.style.location:C(t)&&X(t.children)}))}function z(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new Y(t,e).parse();if(h.err){const t=SyntaxError(P[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||X(h.val),h.val}let J=function(t){return t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API",t}({});class Q extends Error{code;originalMessage;constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}}class q extends Q{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,J.INVALID_VALUE,n)}}class tt extends Q{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,J.INVALID_VALUE,h)}}class et extends Q{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,J.MISSING_VALUE,e)}}let ht=function(t){return t[t.literal=0]="literal",t[t.object=1]="object",t}({});function nt(t){return"function"==typeof t}function rt(t,e,h,n,r,i,s){if(1===t.length&&S(t[0]))return[{type:ht.literal,value:t[0].value}];const o=[];for(const a of t){if(S(a)){o.push({type:ht.literal,value:a.value});continue}if(R(a)){"number"==typeof i&&o.push({type:ht.literal,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=a;if(!r||!(t in r))throw new et(t,s);let c=r[t];if(v(a))c&&"string"!=typeof c&&"number"!=typeof c&&"bigint"!=typeof c||(c="string"==typeof c||"number"==typeof c||"bigint"==typeof c?String(c):""),o.push({type:"string"==typeof c?ht.literal:ht.object,value:c});else if(I(a)){const t="string"==typeof a.style?n.date[a.style]:G(a.style)?a.style.parsedOptions:void 0;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(L(a)){const t="string"==typeof a.style?n.time[a.style]:G(a.style)?a.style.parsedOptions:n.time.medium;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(N(a)){const t="string"==typeof a.style?n.number[a.style]:O(a.style)?a.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof c){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);c*=BigInt(e)}else c*=e}o.push({type:ht.literal,value:h.getNumberFormat(e,t).format(c)})}else{if(C(a)){const{children:t,value:c}=a,u=r[c];if(!nt(u))throw new tt(c,"function",s);let l=u(rt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?ht.literal:ht.object,value:t}))))}if(M(a)){const t=c,i=(Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0)||a.options.other;if(!i)throw new q(a.value,c,Object.keys(a.options),s);o.push(...rt(i.value,e,h,n,r))}else if(_(a)){const t=`=${c}`;let i=Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',J.MISSING_INTL_API,s);const t="bigint"==typeof c?Number(c):c,n=h.getPluralRules(e,{type:a.pluralType}).select(t-(a.offset||0));i=(Object.prototype.hasOwnProperty.call(a.options,n)?a.options[n]:void 0)||a.options.other}if(!i)throw new q(a.value,c,Object.keys(a.options),s);const u="bigint"==typeof c?Number(c):c;o.push(...rt(i.value,e,h,n,r,u-(a.offset||0)))}}}return(a=o).length<2?a:a.reduce(((t,e)=>{const h=t[t.length-1];return h&&h.type===ht.literal&&e.type===ht.literal?h.value+=e.value:t.push(e),t}),[]);var a}function it(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}class st{ast;locales;resolvedLocale;formatters;formats;message;formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(t,e=st.defaultLocale,n,r){if(this.locales=e,this.resolvedLocale=st.resolveLocale(e),"string"==typeof t){if(this.message=t,!st.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...e}=r||{};this.ast=st.__parse(t,{...e,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var i,s;this.formats=(i=st.formats,(s=n)?Object.keys(i).reduce(((t,e)=>{var h,n;return t[e]=(h=i[e],(n=s[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...i}):i),this.formatters=r&&r.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:it(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:it(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:it(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&e.type===ht.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h};formatToParts=t=>rt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return st.memoizedDefaultLocale||(st.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),st.memoizedDefaultLocale}static resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])};static __parse=z;static formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}const ot={};var at=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],ct={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0};const ut="en";async function lt(e,h,n){let r=h,i="en";void 0!==e&&(i=Ht(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==ut)try{s=await(async(e,h)=>{if(!ot[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();ot[h]=r}return ot[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new st(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new st(h,ut)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function Ht(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():ut}(t),n=h.split(/[_-]/)[0];return at.indexOf(h)>=0?h:at.indexOf(n)>=0?n:ut}function ft(t=ut){return ct[t]?ct[t]:ct[ut]}function Bt(t=ut){return((ft(t)-1)%7+7)%7+1}export{Bt as a,lt as b,ft as c,Ht as g,at as l}
@@ -1 +1 @@
1
- import{l as t}from"./p-DJfLLpzO.js";class e{constructor(e){t.includes(e)?this.locale=e:(console.warn(`Locale "${e}" is not supported. Falling back to English translation.`),this.locale="en")}formatDate(t,e,r={}){return t.toLocaleDateString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e}))}formatTime(t,e,r={}){return t.toLocaleTimeString(this.locale,Object.assign({calendar:"gregory"},r,{timeStyle:e}))}formatDateTime(t,e,r={}){return t.toLocaleString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e,timeStyle:e}))}}function r(t,e){try{return Intl.DateTimeFormat("en-US",{timeZone:t}).resolvedOptions().timeZone}catch(t){return console.error(t),e}}export{e as D,r as g}
1
+ import{l as t}from"./p-DYtJNWnZ.js";class e{constructor(e){t.includes(e)?this.locale=e:(console.warn(`Locale "${e}" is not supported. Falling back to English translation.`),this.locale="en")}formatDate(t,e,r={}){return t.toLocaleDateString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e}))}formatTime(t,e,r={}){return t.toLocaleTimeString(this.locale,Object.assign({calendar:"gregory"},r,{timeStyle:e}))}formatDateTime(t,e,r={}){return t.toLocaleString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e,timeStyle:e}))}}function r(t,e){try{return Intl.DateTimeFormat("en-US",{timeZone:t}).resolvedOptions().timeZone}catch(t){return console.error(t),e}}export{e as D,r as g}
@@ -1 +1 @@
1
- import{h as s}from"./p-D63QQ8rP.js";const o=({show:o},a)=>s("div",{class:{"gux-form-field-help":!0,"gux-show":o}},s("div",{class:"gux-message"},a)),a=({show:o},a)=>s("div",{role:"alert",class:{"gux-form-field-error":!0,"gux-show":o}},s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),s("div",{class:"gux-message"},a));export{a as G,o as a}
1
+ import{h as s}from"./p-CW7z6RPd.js";const o=({show:o},a)=>s("div",{class:{"gux-form-field-help":!0,"gux-show":o}},s("div",{class:"gux-message"},a)),a=({show:o},a)=>s("div",{role:"alert",class:{"gux-form-field-error":!0,"gux-show":o}},s("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),s("div",{class:"gux-message"},a));export{a as G,o as a}
@@ -1 +1 @@
1
- import{a as n}from"./p-D63QQ8rP.js";function t(t){return(i,c)=>{const{connectedCallback:o,disconnectedCallback:s}=i,e=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,o){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),o)}(e,this,i,t),o&&o.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(e,this),s&&s.call(this)}}}export{t as O}
1
+ import{a as n}from"./p-CW7z6RPd.js";function t(t){return(i,c)=>{const{connectedCallback:o,disconnectedCallback:s}=i,e=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,o){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),o)}(e,this,i,t),o&&o.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(e,this),s&&s.call(this)}}}export{t as O}
@@ -1 +1 @@
1
- import{r as e,c as t,h as g,H as l,a as i}from"./p-D63QQ8rP.js";import{t as o}from"./p-Dr0IUVkV.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-DJfLLpzO.js";import"./p-Cd4R0amv.js";var s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"};const n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}handleLoading(e){var t,g;e?null===(t=this.announceElement)||void 0===t||t.guxAnnounce(this.i18n("toggleIsLoading")):null===(g=this.announceElement)||void 0===g||g.guxAnnounce(this.i18n("toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{role:"alert",id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"38c4ad39e464b888ade171733bfcedcd51bdf4d3",class:{"gux-display-inline":this.displayInline}},g("div",{key:"37b9ee27f3cee85592dea51b9dd6fc416ec7c79c",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading},"aria-disabled":this.disabled||this.loading?"true":"false"},g("div",{key:"f141c706e730fe63aa8ded4ad0c794dbbffec943",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"82ae023ad960581f4a0104c3c2953c2785c42a87",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"3ecf9c67ea9d2944595c01d6c27dc5bf1ba255d1",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:[{handleLoading:0}]}}};n.style=':host{display:block;font-family:initial;font-size:initial;font-weight:initial;line-height:initial;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);overflow-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
1
+ import{r as e,c as t,h as g,H as l,a as i}from"./p-CW7z6RPd.js";import{t as o}from"./p-B4kgQ9Nr.js";import{r as a}from"./p-D9jKBqIb.js";import{b as r}from"./p-DYtJNWnZ.js";import"./p-Cd4R0amv.js";var n={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"};const s=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.labelPosition="right",this.displayInline=!1}handleLoading(e){var t,g;e?null===(t=this.announceElement)||void 0===t||t.guxAnnounce(this.i18n("toggleIsLoading")):null===(g=this.announceElement)||void 0===g||g.guxAnnounce(this.i18n("toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,n),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{role:"alert",id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"919b4da67197a29351b51af8d388247095a04a1e",class:{"gux-display-inline":this.displayInline}},g("div",{key:"60ef548b117e6c9b638554f0cb585586e3f4c713",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading},"aria-disabled":this.disabled||this.loading?"true":"false"},g("div",{key:"9a96d3895c3e0785cd6607b6e1a5db273c580ef5",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"cafcdbbea6e5335d408ad02f9254422c382d93e1",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"b35f7ee4b53f11a5a622925dc0e80f2e44f9ce43",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:[{handleLoading:0}]}}};s.style=':host{display:block;font-family:initial;font-size:initial;font-weight:initial;line-height:initial;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);overflow-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{s as gux_toggle}
@@ -1 +1 @@
1
- import{r as o,h as r,a as t}from"./p-D63QQ8rP.js";import{t as e}from"./p-Dr0IUVkV.js";import{b as i}from"./p-DJfLLpzO.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"bddbf6035d83170348954ca5f8b3194a75e6b87a",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"a029311ffbd1cbd1ff64224a2dcb4d06194c35b1","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"4ac24916f8f5cfdc70dbcc66d509064d908d6643","visual-only":!0},r("div",{key:"21dc3fdc29c1f7534db2d1c63064f7f0eddd403d",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{n as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,a as t}from"./p-CW7z6RPd.js";import{t as e}from"./p-B4kgQ9Nr.js";import{b as i}from"./p-DYtJNWnZ.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"13dfaf1c82176ed025a8b845d743642230af430f",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"7080c2be46786a295956eaf4edfee2d87a57b9f7","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"815da91dece23fbeff4b1241b46c81d20823e4c4","visual-only":!0},r("div",{key:"9f14462252cc928f5564d220594905c2e48765cb",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{n as gux_form_field_input_clear_button}
@@ -1 +1 @@
1
- import{r as a,h as i,H as t,a as e}from"./p-D63QQ8rP.js";import{t as r}from"./p-Dr0IUVkV.js";import{l as o}from"./p-DxtJDeL9.js";import{g as n}from"./p-vciQk5kR.js";import{g as s,a as u}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";const c=class{constructor(i){a(this,i),this.accent="auto"}async componentWillLoad(){r(this.root)}componentDidLoad(){this.validatingInputs()}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){n(a,this.root)}isLastItemInGroup(){const a=Array.from(this.root.parentElement.children);return a.findIndex((a=>a===this.root))===a.length-1}validatingInputs(){const a=this.root.querySelector("img");this.name||o(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&o(this.root,"Alt attribute is required for slotted image.")}render(){return i(t,{key:"b4f1e357b249d526df2c11d162755c1659e6f789",role:"menuitem"},i("button",{key:"33de728769bd27b77e48d201e5950a20706d54ee",type:"button","aria-label":this.name,tabIndex:-1,class:{"gux-avatar":!0,[s(this.accent,this.name)]:!0,"gux-last-item":this.isLastItemInGroup()}},i("slot",{key:"ac3d22392893b9782f12692bb8a3d545ddc52643",name:"image"},i("span",{key:"f3a21d952d25a2907b89289dd6207b8b90802a2b",class:"gux-avatar-initials","aria-hidden":"true"},u(this.name))),i("gux-tooltip-beta",{key:"895ea6f2588ea635967b20a2cf214250185555f9","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},i("div",{key:"7e3e3dbbe1ffcef47a6316b311aafb2873499a6d",slot:"content"},this.name))))}static get delegatesFocus(){return!0}get root(){return e(this)}};c.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_avatar_group_item_beta}
1
+ import{r as a,h as i,H as t,a as e}from"./p-CW7z6RPd.js";import{t as r}from"./p-B4kgQ9Nr.js";import{l as o}from"./p-DxtJDeL9.js";import{g as n}from"./p-vciQk5kR.js";import{g as s,a as c}from"./p-BV03_Ljp.js";import"./p-Cd4R0amv.js";const u=class{constructor(i){a(this,i),this.accent="auto"}async componentWillLoad(){r(this.root)}componentDidLoad(){this.validatingInputs()}async hideTooltip(){return await this.tooltip.hideTooltip()}onKeydown(a){n(a,this.root)}isLastItemInGroup(){const a=Array.from(this.root.parentElement.children);return a.findIndex((a=>a===this.root))===a.length-1}validatingInputs(){const a=this.root.querySelector("img");this.name||o(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&o(this.root,"Alt attribute is required for slotted image.")}render(){return i(t,{key:"3c2b18add23e3f23d611ab9e7319f21dfcb9b318",role:"menuitem"},i("button",{key:"5f1b6b0f16f44087d054612bc2f3ee711164ca79",type:"button","aria-label":this.name,tabIndex:-1,class:{"gux-avatar":!0,[s(this.accent,this.name)]:!0,"gux-last-item":this.isLastItemInGroup()}},i("slot",{key:"8e83163cfa8518adbcbe9c8fdd3c09f822de5af6",name:"image"},i("span",{key:"bddb8557ac5d5eb8f2a2b550bff78c5a3da58b9d",class:"gux-avatar-initials","aria-hidden":"true"},c(this.name))),i("gux-tooltip-beta",{key:"f32ae543f6bc8a6ba26694ad3110f77315fcf3a1","aria-hidden":"true","visual-only":!0,placement:"top",ref:a=>this.tooltip=a},i("div",{key:"ca5863a61a2c0e6b2b08a0cb2cab4c8576685695",slot:"content"},this.name))))}static get delegatesFocus(){return!0}get root(){return e(this)}};u.style="::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";export{u as gux_avatar_group_item_beta}
@@ -1 +1 @@
1
- import{r as e,c as o,h as t,H as r,a as i}from"./p-D63QQ8rP.js";import{b as n}from"./p-DJfLLpzO.js";import{c as a}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var s={activateReordering:"Activate reordering mode for {columnName} column"};const d=class{constructor(t){e(this,t),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.internal_mouse_reorder_move=o(this,"internal_mouse_reorder_move",7),this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1,this.isParentReordering=!1}async guxSetHighlight(e="",o=!1){this.highlight=e,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}async reset(){this.isReordering=!1,this.pendingReorder="none"}onBlur(e){const o=e.relatedTarget;o&&"GUX-COLUMN-MANAGER-ITEM"===o.tagName||this.setReorderMode(!1)}onDragStart(e){this.isReordering=!0,this.isDragging=!0;const o=a(this.root);e.dataTransfer.setData("oldIndex",String(o)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onmouseenter(){this.isParentReordering=this.root.parentElement.classList.contains("gux-reordering")}onMouseleave(){this.isParentReordering=!1}onDrop(e){const o=Number(e.dataTransfer.getData("oldIndex")),t=a(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,o,t){return e<o?t?o-1:o:t?o:o+1}(o,t,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(e){const o=this.root.getBoundingClientRect();return e.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,o=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}onMouseDown(){this.isDragging=!1}onMouseUp(e){e.preventDefault();const o=e.target;"GUX-FORM-FIELD-CHECKBOX"!==o.tagName&&"LABEL"!==o.tagName&&"INPUT"!==o.tagName&&(this.isDragging||(this.isReordering=!this.isReordering,this.internal_mouse_reorder_move.emit(o),document.removeEventListener("mouseup",this.onMouseUp)))}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return t(r,{key:"3190f410197c0153c8f8c76c401cb935b3319144",draggable:"true",onMouseUp:e=>this.onMouseUp(e)},t("div",{key:"ecb39af31088e0ab12e394dc7ff8c5ff2b0bd8ba",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging,"gux-parent-reordering":this.isParentReordering}},t("button",{key:"d71d5ba250fb8ce6a571594d3ea205d4700d5216",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onMouseDown:()=>this.onMouseDown(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},t("gux-icon",{key:"44e0d604c4c1b86d78a60d6cd2e49141797c40f7","icon-name":"fa/grip-vertical-solid",decorative:!0,size:"small"}),t("span",{key:"e09b3344cbfa845b21e55a572cd350267f66c8a8",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),t("div",{key:"9e9cea9e77d0965a008d629efe4df4e48ebb4493",class:"gux-select"},t("slot",{key:"1dd91986ec9392030cb681b435948d69ff928e05",onSlotchange:()=>this.onSlotChange()}),t("gux-text-highlight",{key:"915510df42377e64eb77aaec526c9a56b58560fc",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};d.style=":host([gs-reorder-indicator=above]) .gux-container{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}:host([gs-reorder-indicator=below]) .gux-container{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-block-end:-2px;border-block-start:2px solid transparent;border-block-end:2px solid transparent}.gux-container.gux-parent-reordering{cursor:pointer}.gux-container.gux-parent-reordering .gux-reorder{cursor:pointer}.gux-container.gux-parent-reordering:hover{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container gux-icon{border-radius:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-borderRadius)}.gux-container:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-backgroundColor)}.gux-container.gux-drop-above{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-drop-below{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-dragging{cursor:grabbing;border-block-start-color:transparent;border-block-end-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-width);block-size:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-height);color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-foregroundColor);cursor:grab;border-radius:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-borderRadius)}.gux-container .gux-reorder.gux-reordering{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-backgroundColor)}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:active gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-backgroundColor)}.gux-container .gux-reorder:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-backgroundColor)}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;inset-block-start:1px;inset-inline-start:calc(var(--gse-ui-icon-small-size) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{d as gux_column_manager_item}
1
+ import{r as e,c as o,h as t,H as r,a as n}from"./p-CW7z6RPd.js";import{b as i}from"./p-DYtJNWnZ.js";import{c as a}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var s={activateReordering:"Activate reordering mode for {columnName} column"};const d=class{constructor(t){e(this,t),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.internal_mouse_reorder_move=o(this,"internal_mouse_reorder_move",7),this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1,this.isParentReordering=!1}async guxSetHighlight(e="",o=!1){this.highlight=e,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}async reset(){this.isReordering=!1,this.pendingReorder="none"}onBlur(e){const o=e.relatedTarget;o&&"GUX-COLUMN-MANAGER-ITEM"===o.tagName||this.setReorderMode(!1)}onDragStart(e){this.isReordering=!0,this.isDragging=!0;const o=a(this.root);e.dataTransfer.setData("oldIndex",String(o)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onmouseenter(){this.isParentReordering=this.root.parentElement.classList.contains("gux-reordering")}onMouseleave(){this.isParentReordering=!1}onDrop(e){const o=Number(e.dataTransfer.getData("oldIndex")),t=a(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,o,t){return e<o?t?o-1:o:t?o:o+1}(o,t,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(e){const o=this.root.getBoundingClientRect();return e.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,o=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}onMouseDown(){this.isDragging=!1}onMouseUp(e){e.preventDefault();const o=e.target;"GUX-FORM-FIELD-CHECKBOX"!==o.tagName&&"LABEL"!==o.tagName&&"INPUT"!==o.tagName&&(this.isDragging||(this.isReordering=!this.isReordering,this.internal_mouse_reorder_move.emit(o),document.removeEventListener("mouseup",this.onMouseUp)))}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await i(this.root,s)}render(){return t(r,{key:"18fdd88894abb619db0c537cda1e5610a176c9a4",draggable:"true",onMouseUp:e=>this.onMouseUp(e)},t("div",{key:"205236f89cc4bcb8edefe72f8b7f0691479becf9",class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging,"gux-parent-reordering":this.isParentReordering}},t("button",{key:"e9df8685396c9c436c6412fcece58e5efb5601ba",class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onMouseDown:()=>this.onMouseDown(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},t("gux-icon",{key:"7bbe714dfe2f629f4b035f4fb3f9da84ab434270","icon-name":"fa/grip-vertical-solid",decorative:!0,size:"small"}),t("span",{key:"c43087e4d60ce85a33d14afe0c29771df5f0ff59",class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),t("div",{key:"9bf2deff65d8a90a9dfb5a3dc506c4f9fcc9531d",class:"gux-select"},t("slot",{key:"19379f275d81614aca23681843d768d8b8069c21",onSlotchange:()=>this.onSlotChange()}),t("gux-text-highlight",{key:"b11b7812bb907f908f9183ada701ce1a9e941beb",highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return n(this)}};d.style=":host([gs-reorder-indicator=above]) .gux-container{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}:host([gs-reorder-indicator=below]) .gux-container{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-block-end:-2px;border-block-start:2px solid transparent;border-block-end:2px solid transparent}.gux-container.gux-parent-reordering{cursor:pointer}.gux-container.gux-parent-reordering .gux-reorder{cursor:pointer}.gux-container.gux-parent-reordering:hover{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container gux-icon{border-radius:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-borderRadius)}.gux-container:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-backgroundColor)}.gux-container.gux-drop-above{border-block-start-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-drop-below{border-block-end-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-drop-borderColor)}.gux-container.gux-dragging{cursor:grabbing;border-block-start-color:transparent;border-block-end-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;display:flex;flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-width);block-size:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-height);color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-foregroundColor);cursor:grab;border-radius:var(--gse-ui-dataTableItems-editColumn-editColumnItem-editColumnIcon-borderRadius)}.gux-container .gux-reorder.gux-reordering{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-backgroundColor)}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:active gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-active-backgroundColor)}.gux-container .gux-reorder:hover gux-icon{color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-foregroundColor);background-color:var(--gse-ui-dataTableItems-editColumn-editColumnItem-columnItemIcon-hover-backgroundColor)}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;inset-block-start:1px;inset-inline-start:calc(var(--gse-ui-icon-small-size) + var(--gse-ui-checkbox-gap));color:transparent;pointer-events:none}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{d as gux_column_manager_item}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,a as o}from"./p-D63QQ8rP.js";import{O as a}from"./p-0ooLeagG.js";import{t as c}from"./p-Dr0IUVkV.js";import{b as r}from"./p-DJfLLpzO.js";import{t as n,h as l}from"./p-ddfteogt.js";import{b as p}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const f=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.active=!1,this.isOpen=!1}get isActive(){return this.active}set isActive(t){this.active=t}onClickOutside(){this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement());break;case"Tab":if(this.isOpen){t.shiftKey&&e.includes(this.textToDisplayInputElement)?(t.preventDefault(),this.isOpen=!1,this.actionButton.focus()):!t.shiftKey&&e.includes(this.dismissButtonElement)&&(this.isOpen=!1);break}}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){p((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",{for:"popover-target"},i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"52218b5d13279a63ee30138b67b1f31cc7291eb3"},i("gux-button-slot",{key:"766458729c1d293e15277f13be0223a2d7692766",accent:"ghost","icon-only":!0},i("button",{key:"23b2a160f4a1ba705e3e72145987c6dd2de03aea",id:"popover-target",class:{"gux-is-pressed":this.active||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||l(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("gux-icon",{key:"5178ac3c4df33bf98a0f3fbaf393dcc371ab39f0",size:"small","icon-name":"fa/link-simple-regular",decorative:!0}))),i("gux-popover",{key:"11be36dcceaf014fa8c036921f51aa72afa3de1b","is-open":this.isOpen,for:"popover-target"},i("div",{key:"458a2bec975e7eab7ceba24fd589906c936394bd",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"bde1ee4b1c51af4ab0222bcac67a3c69c92f9ef4"},i("input",{key:"862a767c6672f8a929b9217380767c3da168830e",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"fe425544e7516c80da679a6844a4f3ff114a1ccd",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"16a6c259e0fdb8c5d3d4a80194314026a82cbd4c"},i("input",{key:"c958d457e3abd8c02658a00626bf294cf5b45c32",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"ce778761433f01a6842af23b23d3618d67f31334",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"8b30536bc402d7ed5411d71381c8ac5b0b6a35d1",align:"end"},i("gux-button",{key:"c2dcd967bbf4a6fab8368a75d5cecf65dcd8eaa5",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"22f856b5cc83875994946f02cefd74fe471f2c7e",ref:t=>this.dismissButtonElement=t,onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))),this.renderTooltip())}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a()],f.prototype,"onClickOutside",null),f.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{f as gux_rich_text_editor_action_link}
1
+ import{r as t,c as e,h as i,H as s,a as o}from"./p-CW7z6RPd.js";import{O as a}from"./p-uAcnLSYY.js";import{t as c}from"./p-B4kgQ9Nr.js";import{b as r}from"./p-DYtJNWnZ.js";import{t as n,h as l}from"./p-ddfteogt.js";import{b as f}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const p=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.active=!1,this.isOpen=!1}get isActive(){return this.active}set isActive(t){this.active=t}onClickOutside(){this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement());break;case"Tab":if(this.isOpen){t.shiftKey&&e.includes(this.textToDisplayInputElement)?(t.preventDefault(),this.isOpen=!1,this.actionButton.focus()):!t.shiftKey&&e.includes(this.dismissButtonElement)&&(this.isOpen=!1);break}}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){f((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",{for:"popover-target"},i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"40e1614eda41e024e7116e719e6dd9f5802365c7"},i("gux-button-slot",{key:"c53d7ce2768fc793f8771e01844054f83a045104",accent:"ghost","icon-only":!0},i("button",{key:"d0c938d33897e930dfaa27059d04ce5abe052b1f",id:"popover-target",class:{"gux-is-pressed":this.active||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||l(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("gux-icon",{key:"3877d7e1b12bcf1019ce59ce7fb55534f71ecfe1",size:"small","icon-name":"fa/link-simple-regular",decorative:!0}))),i("gux-popover",{key:"5385391cbb3c71c36c47559f72582955c5cddef2","is-open":this.isOpen,for:"popover-target"},i("div",{key:"36338e51d8103ef23a0e5f6d42ec66e0dd0a0382",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"83055ad6ba8f49e2933f63b2ff5052c91e040767"},i("input",{key:"4497a41c32b83bf1c84d88952894c97519410254",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"d4ed8f1d36f20f671c0798dbb6b169982fb766d9",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"89801bcc3423f7f4cb952235afbc8b66f88cf1b9"},i("input",{key:"a3f0b2563b451ca6ea75709da62942e64785e43f",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"f0a6c16a65f111bbe002e127e21ed10ace15c26e",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"c089d5e51b5f34b2dafc4d1280da1227297bac7a",align:"end"},i("gux-button",{key:"0c645a88ecb42d44296549fd76005bfa738fb918",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"2aeb81c3b1079a7ef960e07146d5e6640f6b37c7",ref:t=>this.dismissButtonElement=t,onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))),this.renderTooltip())}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a()],p.prototype,"onClickOutside",null),p.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{p as gux_rich_text_editor_action_link}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-D63QQ8rP.js";import{r as a}from"./p-D9jKBqIb.js";import{h as r,g,a as s}from"./p-DIsfll29.js";import"./p-kLXvN2m9.js";const o=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.selected=!1,this._disabled=!1,this.active=!1,this.filtered=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||r(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.labelId=a("gux-leaf-label"),this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=g(this.root),this.alignment=s(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected))}render(){return t("div",{key:"40be72d1da4b23bf8f585a39531a7841ca7b41cd",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-disabled":this.disabled,"gux-selected":this.selected}},t("div",{key:"18ddee44612494aeaa332118e1fc5d8d9c5267e2",class:"gux-node"},t("div",{key:"718425dd5d0aa97139ec75819dc116d7c007bc07",class:"gux-selected-bookmark"}),t("div",{key:"06be252844be9f792d5e8dc922110c0455416d49",class:"gux-tree-item"},t("div",{key:"876e0893d66d099bf86c5906b0a0b2305a9bb809",class:"gux-selection-target"},t("div",{key:"7b8af171fc1106df4841e7c63d4e4cf3d684ebfe",class:"gux-checkbox-container"},t("input",{key:"332fb86b29ca88512687aed3c7e30be6691bc9b4",tabIndex:-1,type:"checkbox",checked:this.selected,disabled:this.disabled,"aria-labelledby":this.labelId})),t("div",{key:"11a08c389cc3b80191b09e56371d82e594576a0c",class:"gux-icon"},t("slot",{key:"9a221cdf03fe49b6e6dab17a8f0083e8faf23ca2",name:"icon"})),t("div",{key:"2ba33dbc7259c95fedd8ae80330938f1988433b6",class:"gux-label",id:this.labelId},t("slot",{key:"2a0b1c7895d4317aa1e00e6dcb6f1c29e41c0475",name:"label"}))))))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:[{handleActiveChange:0}]}}};o.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-leftAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:has(:focus-visible),.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:0 0 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto;padding-inline-start:8px}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container{display:flex;align-items:center}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]{display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]::before{grid-area:1/1;content:\"\";border-radius:15%}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:focus-visible{outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:checked:not(:disabled):hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:indeterminate::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:disabled):indeterminate:hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:disabled::before{cursor:not-allowed}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact .gux-tree-item .gux-selection-target{padding-inline-start:4px}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{o as gux_leaf_multi}
1
+ import{r as e,h as t,a as i}from"./p-CW7z6RPd.js";import{r as a}from"./p-D9jKBqIb.js";import{h as r,g,a as s}from"./p-B55UEWA8.js";import"./p-kLXvN2m9.js";const o=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.selected=!1,this._disabled=!1,this.active=!1,this.filtered=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||r(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.labelId=a("gux-leaf-label"),this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=g(this.root),this.alignment=s(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected))}render(){return t("div",{key:"9e3cd6bcb1ba438e311670c00e6374afbe108548",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-disabled":this.disabled,"gux-selected":this.selected}},t("div",{key:"37ea66ee7f27b94c1c1056709cc17b2fa2f00cb3",class:"gux-node"},t("div",{key:"5b1dd014127b9212c07094f6151854c2cb6297cc",class:"gux-selected-bookmark"}),t("div",{key:"5949077c44f9767e54beff5082ef877d634f7f42",class:"gux-tree-item"},t("div",{key:"92f69ac1c3a5744f411a9460c263e8c1c1cbb027",class:"gux-selection-target"},t("div",{key:"de424e4878384bdb3eaf4c0542a0c48b5b282950",class:"gux-checkbox-container"},t("input",{key:"20ca4561e885e054d93060adf5ec31ebce945364",tabIndex:-1,type:"checkbox",checked:this.selected,disabled:this.disabled,"aria-labelledby":this.labelId})),t("div",{key:"2ca1d27f828b36e7547fc7024e5d0e4f2d3ac7d0",class:"gux-icon"},t("slot",{key:"6edd7296634f769b0b92a67a861d24f8eff03714",name:"icon"})),t("div",{key:"737f9d20476112acced7cea0477407f52b304efd",class:"gux-label",id:this.labelId},t("slot",{key:"3fc4f6667d29b449b301428958c1a66f60736d56",name:"label"}))))))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:[{handleActiveChange:0}]}}};o.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-leftAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:has(:focus-visible),.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:0 0 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto;padding-inline-start:8px}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container{display:flex;align-items:center}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]{display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]::before{grid-area:1/1;content:\"\";border-radius:15%}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:focus-visible{outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:checked:not(:disabled):hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:indeterminate::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:not(:disabled):indeterminate:hover::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container input[type=checkbox]:disabled::before{cursor:not-allowed}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact .gux-tree-item .gux-selection-target{padding-inline-start:4px}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{o as gux_leaf_multi}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,a as o}from"./p-D63QQ8rP.js";import{O as r}from"./p-0ooLeagG.js";import{t as h}from"./p-Dr0IUVkV.js";import{b as a}from"./p-DJfLLpzO.js";import{t as n,h as g}from"./p-ddfteogt.js";import{w as l}from"./p-kLXvN2m9.js";import{b as u}from"./p-Bg4q97BS.js";import{e as c}from"./p-C6ZfOd6U.js";import{r as p}from"./p-D9jKBqIb.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const d=class{constructor(e){t(this,e),this.noHighlightAction=i(this,"noHighlightAction",7),this.buttonId=p("gux-rich-text-editor-action-text-highlight"),this.disabled=!1,this.active=!1,this.expanded=!1}get isActive(){return this.active}set isActive(t){this.active=t}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const i=c("gux-rich-highlight-list-item",t),e=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":this.expanded&&(t.shiftKey&&e.includes(this.noHighlightActionButton)&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus()),i&&!t.shiftKey&&(this.expanded=!1))}}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,n)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",{for:this.buttonId},e("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return e("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return e("gux-button-slot",{accent:"tertiary"},e("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},e("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return e("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},e("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return e("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},e("button",{id:this.buttonId,type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||g(this.root),class:{"gux-is-pressed":this.active||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular",decorative:!0}),e("gux-screen-reader-beta",null,this.i18n("textHighlight"))))}render(){return e(s,{key:"5b673eeb329bc7d5159ced515ca79da4bc4f53e6"},e("gux-popup",{key:"775ca6c8d68f439451b4c6d92252c9e1286cb419",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup()),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{disabled:[{watchDisabled:0}]}}};(function(t,i,e,s){var o,r=arguments.length,h=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(h=(r<3?o(h):r>3?o(i,e,h):o(i,e))||h);r>3&&h&&Object.defineProperty(i,e,h)})([r()],d.prototype,"onClickOutside",null),d.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{d as gux_rich_text_editor_action_text_highlight}
1
+ import{r as t,c as i,h as e,H as s,a as o}from"./p-CW7z6RPd.js";import{O as r}from"./p-uAcnLSYY.js";import{t as h}from"./p-B4kgQ9Nr.js";import{b as a}from"./p-DYtJNWnZ.js";import{t as n,h as g}from"./p-ddfteogt.js";import{w as l}from"./p-kLXvN2m9.js";import{b as u}from"./p-Bg4q97BS.js";import{e as c}from"./p-C6ZfOd6U.js";import{r as d}from"./p-D9jKBqIb.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const p=class{constructor(e){t(this,e),this.noHighlightAction=i(this,"noHighlightAction",7),this.buttonId=d("gux-rich-text-editor-action-text-highlight"),this.disabled=!1,this.active=!1,this.expanded=!1}get isActive(){return this.active}set isActive(t){this.active=t}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const i=c("gux-rich-highlight-list-item",t),e=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":this.expanded&&(t.shiftKey&&e.includes(this.noHighlightActionButton)&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus()),i&&!t.shiftKey&&(this.expanded=!1))}}async componentWillLoad(){h(this.root),this.i18n=await a(this.root,n)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return e("gux-tooltip-beta",{for:this.buttonId},e("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return e("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return e("gux-button-slot",{accent:"tertiary"},e("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},e("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return e("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},e("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return e("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},e("button",{id:this.buttonId,type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||g(this.root),class:{"gux-is-pressed":this.active||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString()},e("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular",decorative:!0}),e("gux-screen-reader-beta",null,this.i18n("textHighlight"))))}render(){return e(s,{key:"da1c61bb15f45d38baa2cca7e9b7d3bf9873fc5f"},e("gux-popup",{key:"da492a6d8054a8a748087b25d5e7d8b8db68f879",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup()),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{disabled:[{watchDisabled:0}]}}};(function(t,i,e,s){var o,r=arguments.length,h=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(h=(r<3?o(h):r>3?o(i,e,h):o(i,e))||h);r>3&&h&&Object.defineProperty(i,e,h)})([r()],p.prototype,"onClickOutside",null),p.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{p as gux_rich_text_editor_action_text_highlight}