genesys-spark-components 4.187.0 → 4.187.2

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 (717) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-wrCyyRlV.js → get-valid-timezone-Bnt1qVB-.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +5 -5
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +7 -7
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-calendar.cjs.entry.js +6 -6
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +21 -5
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +9 -9
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -6
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-C_ksnWvh.js → gux-form-field-container-BkBBWJ-I.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  58. package/dist/cjs/{gux-form-field-error-DsQplUhW.js → gux-form-field-error-FIcB4Fjw.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-DDS9BG7u.js → gux-form-field-fieldset-container-SYa1tvh_.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +8 -3
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +6 -6
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  174. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  176. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  183. package/dist/cjs/{gux-tree-multi.service-BFBspBvZ.js → gux-tree-multi.service-BMVYO4y1.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-DM6q_PoD.js → gux-tree.service-DSfLZNH7.js} +1 -1
  185. package/dist/cjs/{index-CjUBUVCO.js → index-CnZZCg2E.js} +1 -1
  186. package/dist/cjs/index-DJ9HGtdZ.js +2759 -0
  187. package/dist/cjs/loader.cjs.js +2 -2
  188. package/dist/cjs/{on-click-outside-CXDzyPsA.js → on-click-outside-Cn9ProR4.js} +1 -1
  189. package/dist/cjs/{on-mutation-Bpt2qL-s.js → on-mutation-una8GcoZ.js} +1 -1
  190. package/dist/cjs/{on-resize-nisbdZkE.js → on-resize-BVaymqbW.js} +1 -1
  191. package/dist/cjs/{usage-AjULwro2.js → usage-C6iTAhYl.js} +1 -1
  192. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +2 -2
  193. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +3 -3
  194. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +2 -2
  195. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +2 -2
  196. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +2 -2
  197. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +2 -2
  198. package/dist/collection/components/beta/gux-date/gux-date.js +3 -3
  199. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -3
  200. package/dist/collection/components/beta/gux-day/gux-day.css +0 -12
  201. package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
  202. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +2 -2
  203. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +2 -2
  204. package/dist/collection/components/beta/gux-logo/gux-logo.js +4 -4
  205. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +2 -2
  206. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +2 -2
  207. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
  208. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
  209. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +3 -3
  210. 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
  211. 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 +2 -2
  212. 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 +2 -2
  213. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +1 -1
  214. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +3 -3
  215. 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 +3 -3
  216. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +2 -2
  217. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +32 -1
  218. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.common.js +5 -0
  219. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +0 -8
  220. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +3 -3
  221. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +2 -2
  222. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +3 -3
  223. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +3 -3
  224. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +3 -3
  225. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +2 -2
  226. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
  227. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +2 -2
  228. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +2 -2
  229. package/dist/collection/components/stable/gux-badge/gux-badge.css +0 -11
  230. package/dist/collection/components/stable/gux-badge/gux-badge.js +3 -3
  231. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +2 -2
  232. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +0 -9
  233. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +3 -3
  234. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +4 -4
  235. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +2 -2
  236. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -3
  237. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
  238. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +2 -2
  239. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +18 -2
  240. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +3 -3
  241. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -2
  242. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +2 -2
  243. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +0 -15
  244. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +4 -4
  245. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +3 -3
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +3 -3
  247. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +4 -4
  248. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +3 -3
  249. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +2 -2
  250. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +4 -4
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +5 -5
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +3 -3
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +5 -5
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +4 -4
  255. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +2 -2
  256. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-label-indicator/gux-form-field-label-indicator.js +1 -1
  257. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +3 -3
  258. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -1
  259. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +0 -8
  260. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  261. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +1 -1
  262. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +0 -8
  263. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  264. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +3 -3
  265. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +2 -2
  266. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +5 -5
  267. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
  268. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
  269. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
  270. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -2
  271. package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
  272. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
  273. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +2 -2
  274. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +3 -3
  275. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  276. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
  277. package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
  278. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +2 -2
  279. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +3 -3
  280. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +3 -3
  281. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +2 -2
  282. package/dist/collection/components/stable/gux-tag/gux-tag.js +2 -2
  283. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  284. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  285. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
  286. package/dist/esm/genesys-webcomponents.js +3 -3
  287. package/dist/esm/{get-valid-timezone-LDHU1yLM.js → get-valid-timezone-BwWDgKs2.js} +1 -1
  288. package/dist/esm/gux-accordion-section.entry.js +1 -1
  289. package/dist/esm/gux-accordion.entry.js +2 -2
  290. package/dist/esm/gux-action-button.entry.js +5 -5
  291. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  292. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  293. package/dist/esm/gux-all-row-select.entry.js +3 -3
  294. package/dist/esm/gux-announce-beta.entry.js +2 -2
  295. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  296. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  297. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  298. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +5 -5
  299. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  300. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  301. package/dist/esm/gux-badge.entry.js +7 -7
  302. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  303. package/dist/esm/gux-blank-state.entry.js +3 -3
  304. package/dist/esm/gux-branch-multi.entry.js +2 -2
  305. package/dist/esm/gux-branch.entry.js +2 -2
  306. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  307. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  308. package/dist/esm/gux-button-multi.entry.js +3 -3
  309. package/dist/esm/gux-button-slot.entry.js +2 -2
  310. package/dist/esm/gux-button_2.entry.js +3 -3
  311. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  312. package/dist/esm/gux-calendar.entry.js +6 -6
  313. package/dist/esm/gux-card.entry.js +2 -2
  314. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  315. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  316. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  317. package/dist/esm/gux-column-manager.entry.js +4 -4
  318. package/dist/esm/gux-content-search.entry.js +5 -5
  319. package/dist/esm/gux-context-menu.entry.js +6 -6
  320. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  321. package/dist/esm/gux-create-option.entry.js +4 -4
  322. package/dist/esm/gux-cta-group.entry.js +1 -1
  323. package/dist/esm/gux-date-beta.entry.js +5 -5
  324. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  325. package/dist/esm/gux-datepicker.entry.js +21 -5
  326. package/dist/esm/gux-day-beta.entry.js +4 -4
  327. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  328. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  329. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  330. package/dist/esm/gux-dropdown-multi.entry.js +9 -9
  331. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  332. package/dist/esm/gux-dropdown_3.entry.js +6 -6
  333. package/dist/esm/gux-file-list-item.entry.js +5 -5
  334. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  335. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  336. package/dist/esm/gux-form-beta.entry.js +1 -1
  337. package/dist/esm/gux-form-description.entry.js +1 -1
  338. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  339. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  340. package/dist/esm/gux-form-field-color.entry.js +5 -5
  341. package/dist/esm/{gux-form-field-container-Dp9t605U.js → gux-form-field-container-CFRZ4efk.js} +1 -1
  342. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  343. package/dist/esm/{gux-form-field-error-CUxY2-XD.js → gux-form-field-error-DqC53Y19.js} +1 -1
  344. package/dist/esm/{gux-form-field-fieldset-container-BT88yCp7.js → gux-form-field-fieldset-container-DgG_S0vs.js} +1 -1
  345. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  346. package/dist/esm/gux-form-field-file.entry.js +5 -5
  347. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  348. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  349. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  350. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  351. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  352. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  353. package/dist/esm/gux-form-field-range.entry.js +6 -6
  354. package/dist/esm/gux-form-field-search.entry.js +5 -5
  355. package/dist/esm/gux-form-field-select.entry.js +5 -5
  356. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  357. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  358. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  359. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  360. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  361. package/dist/esm/gux-form-footer.entry.js +2 -2
  362. package/dist/esm/gux-form-heading.entry.js +1 -1
  363. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  364. package/dist/esm/gux-icon.entry.js +2 -2
  365. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  366. package/dist/esm/gux-inline-alert.entry.js +5 -5
  367. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  368. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  369. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  370. package/dist/esm/gux-leaf.entry.js +2 -2
  371. package/dist/esm/gux-link-beta.entry.js +2 -2
  372. package/dist/esm/gux-list-divider.entry.js +1 -1
  373. package/dist/esm/gux-list-item.entry.js +1 -1
  374. package/dist/esm/gux-list.entry.js +2 -2
  375. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  376. package/dist/esm/gux-loading-message.entry.js +2 -2
  377. package/dist/esm/gux-logo-beta.entry.js +6 -6
  378. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  379. package/dist/esm/gux-menu-option.entry.js +1 -1
  380. package/dist/esm/gux-menu.entry.js +1 -1
  381. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  382. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  383. package/dist/esm/gux-modal.entry.js +2 -2
  384. package/dist/esm/gux-month-calendar.entry.js +3 -3
  385. package/dist/esm/gux-month-list_2.entry.js +1 -1
  386. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  387. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  388. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  389. package/dist/esm/gux-option-icon.entry.js +1 -1
  390. package/dist/esm/gux-option-multi.entry.js +4 -4
  391. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  392. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  393. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  394. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  395. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  396. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  397. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  398. package/dist/esm/gux-pagination.entry.js +2 -2
  399. package/dist/esm/gux-phone-input-beta.entry.js +5 -5
  400. package/dist/esm/gux-popover-beta.entry.js +3 -3
  401. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  402. package/dist/esm/gux-popover-list.entry.js +3 -3
  403. package/dist/esm/gux-popup.entry.js +1 -1
  404. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  405. package/dist/esm/gux-radial-loading.entry.js +4 -4
  406. package/dist/esm/gux-radial-progress.entry.js +2 -2
  407. package/dist/esm/gux-rating.entry.js +5 -5
  408. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  409. package/dist/esm/gux-rich-style-list-item_3.entry.js +5 -5
  410. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  411. package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
  412. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  413. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  414. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  415. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  416. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  417. package/dist/esm/gux-row-select.entry.js +4 -4
  418. package/dist/esm/gux-screen-reader-beta.entry.js +8 -3
  419. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  420. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  421. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  422. package/dist/esm/gux-select-all.entry.js +4 -4
  423. package/dist/esm/gux-selector-card-beta.entry.js +6 -6
  424. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  425. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  426. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  427. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  428. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  429. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  430. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  431. package/dist/esm/gux-sort-control.entry.js +5 -5
  432. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  433. package/dist/esm/gux-step-title.entry.js +2 -2
  434. package/dist/esm/gux-step.entry.js +2 -2
  435. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  436. package/dist/esm/gux-submenu.entry.js +1 -1
  437. package/dist/esm/gux-switch-item.entry.js +1 -1
  438. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  439. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  440. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  441. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  442. package/dist/esm/gux-tab-list.entry.js +5 -5
  443. package/dist/esm/gux-tab-panel.entry.js +1 -1
  444. package/dist/esm/gux-tab.entry.js +1 -1
  445. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  446. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  447. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  448. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  449. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  450. package/dist/esm/gux-table.entry.js +4 -4
  451. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  452. package/dist/esm/gux-tabs.entry.js +2 -2
  453. package/dist/esm/gux-tag.entry.js +5 -5
  454. package/dist/esm/gux-text-highlight.entry.js +2 -2
  455. package/dist/esm/gux-time-beta.entry.js +4 -4
  456. package/dist/esm/gux-time-picker.entry.js +5 -5
  457. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  458. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  459. package/dist/esm/gux-toast.entry.js +2 -2
  460. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  461. package/dist/esm/gux-toggle.entry.js +5 -5
  462. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  463. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  464. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  465. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  466. package/dist/esm/gux-tree-beta.entry.js +3 -3
  467. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  468. package/dist/esm/{gux-tree-multi.service-BLZ1mRfa.js → gux-tree-multi.service-CEhOBcZd.js} +1 -1
  469. package/dist/esm/{gux-tree.service-BDeQhvUY.js → gux-tree.service-DG8xt8RZ.js} +1 -1
  470. package/dist/esm/{index-BcJFUYIV.js → index-CeE4Vvh6.js} +1 -1
  471. package/dist/esm/index-mm833MRp.js +2727 -0
  472. package/dist/esm/loader.js +3 -3
  473. package/dist/esm/{on-click-outside-CQ9-ZPII.js → on-click-outside-BDKZueG1.js} +1 -1
  474. package/dist/esm/{on-mutation-CEhI74kI.js → on-mutation-BAeUmzgF.js} +1 -1
  475. package/dist/esm/{on-resize-BzUqKdDk.js → on-resize-ByRtFU8p.js} +1 -1
  476. package/dist/esm/{usage-Rs2JRIbr.js → usage-B_5U73XW.js} +1 -1
  477. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  478. package/dist/genesys-webcomponents/genesys-webcomponents.css +9 -9
  479. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  480. package/dist/genesys-webcomponents/{p-82b24a37.entry.js → p-00d5cada.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-604b2744.entry.js → p-018bf1ab.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-f0adb667.entry.js → p-03333fcc.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-584f4cab.entry.js → p-0644d23c.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-cb7016bc.entry.js → p-08dc9e6d.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-735e8911.entry.js → p-091f39f1.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/p-095d6cce.entry.js +1 -0
  487. package/dist/genesys-webcomponents/p-09ac47f1.entry.js +1 -0
  488. package/dist/genesys-webcomponents/{p-a4a9aee6.entry.js → p-0ab37389.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-a19435f2.entry.js → p-0b010496.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-4e7ebeb5.entry.js → p-0be0b061.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-ada55ecc.entry.js → p-0bff7f73.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-e188a089.entry.js → p-0f0fe361.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/p-0f6bb470.entry.js +1 -0
  494. package/dist/genesys-webcomponents/{p-41f2f980.entry.js → p-0f6d7178.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-DTOY_vUZ.js → p-0tG-lFhH.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-e79a1499.entry.js → p-11dc6e8f.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-804b04f3.entry.js → p-12ce6f7a.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-5feccc59.entry.js → p-13154f56.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-d481cd97.entry.js → p-134ddaa6.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-6143f5e6.entry.js → p-1363318d.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-4e78c189.entry.js → p-14e5c6bd.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-f61405e3.entry.js → p-1518057f.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-0138cf91.entry.js → p-152bddd5.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-3fb0d661.entry.js → p-15694ab7.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-6b60a5ab.entry.js → p-163b7982.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-abd41a0a.entry.js → p-175abdfc.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-14e0a23c.entry.js → p-1a6f96bc.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/p-1cf4e79f.entry.js +1 -0
  509. package/dist/genesys-webcomponents/{p-ecf7e943.entry.js → p-1d3ebb8c.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-542efa61.entry.js → p-1de7a1f2.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-9e128581.entry.js → p-1ecb422e.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/p-1mmdDpx8.js +1 -0
  513. package/dist/genesys-webcomponents/{p-11ed456c.entry.js → p-2067287f.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-6673b677.entry.js → p-21c28a3b.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-21dd96fd.entry.js +1 -0
  516. package/dist/genesys-webcomponents/{p-ca5895ae.entry.js → p-2661b07e.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-42b34fb6.entry.js → p-26cd1f16.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-dd86e60a.entry.js → p-27ae3edf.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-e8b1acf8.entry.js → p-282a09b1.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/p-2a0a4599.entry.js +1 -0
  521. package/dist/genesys-webcomponents/p-2a98b607.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-d3c8b3f6.entry.js → p-2bad24a0.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-388c0bf5.entry.js → p-2ed010a8.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-89ea2249.entry.js → p-311fdf37.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-5f8fb9e7.entry.js → p-321cd88b.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-793f4896.entry.js → p-321d85f8.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/p-32aeb326.entry.js +1 -0
  528. package/dist/genesys-webcomponents/{p-c730f729.entry.js → p-33574ddd.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-9aba9db8.entry.js → p-3370b803.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-b10829bc.entry.js → p-33c720e1.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-b9687ebc.entry.js → p-3495f259.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-df07b95c.entry.js → p-349f1afa.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-594ea8d2.entry.js → p-34c655eb.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-c6b1df0a.entry.js → p-37bb3fcb.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-85ac0d64.entry.js → p-3a671b77.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-3bec06d0.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-6af9c429.entry.js → p-3c191fde.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/p-3c9277b9.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-915f735e.entry.js → p-3d4ebed0.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-7c30b05d.entry.js → p-41b7c02e.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-d4b9fb68.entry.js → p-459e19df.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-e0d0f67d.entry.js → p-4a435f18.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-19e601ac.entry.js → p-4ac3fdc4.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-68e1a751.entry.js → p-4aff9800.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-31849628.entry.js → p-4cf0a191.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-e13a8c22.entry.js → p-4e526ed6.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-654484f4.entry.js → p-4efbba61.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-817e1c7c.entry.js → p-51afd986.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-5f8eab1d.entry.js → p-54608dba.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-529d0936.entry.js → p-581d8bab.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-b2fe2d58.entry.js → p-5826fdec.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/p-599e49fc.entry.js +1 -0
  553. package/dist/genesys-webcomponents/{p-2751551a.entry.js → p-5a6accac.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-02c0c8bd.entry.js → p-5a8917be.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c8780166.entry.js → p-5a8d483c.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-511680eb.entry.js → p-5dc230b1.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-4d4a75d3.entry.js → p-60c67e21.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-bbdee0aa.entry.js → p-64b8f3c0.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-88ab5dbc.entry.js → p-6738c43a.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-2ca39314.entry.js → p-674bbdd9.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-116b0969.entry.js → p-68934600.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-97f44251.entry.js → p-6b20aa19.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-5ad94ac4.entry.js → p-6bfe864e.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-fba7d262.entry.js → p-7082e7b2.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-2d995ba2.entry.js → p-7120b23d.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-13ad07ed.entry.js → p-729875c6.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-77c7eed5.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-0689c05f.entry.js → p-7a01b84f.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/p-7af238b6.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-56914068.entry.js → p-7d236eff.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/p-7d8f32b8.entry.js +1 -0
  572. package/dist/genesys-webcomponents/{p-c65a772e.entry.js → p-820ebd57.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-2c696396.entry.js → p-82f103c4.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-9194b48f.entry.js → p-8380c98f.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-86a1911e.entry.js +1 -0
  576. package/dist/genesys-webcomponents/{p-e2a61aa7.entry.js → p-89b6a139.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-e6c4c61a.entry.js → p-8a91eb6a.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/p-8b033585.entry.js +1 -0
  579. package/dist/genesys-webcomponents/{p-6ced25e5.entry.js → p-8c91a537.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-88c3eac2.entry.js → p-90110fb2.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-daeb7b3d.entry.js → p-903c6506.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/p-90afe444.entry.js +1 -0
  583. package/dist/genesys-webcomponents/{p-c4f46959.entry.js → p-91c8e086.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-4824adb4.entry.js → p-936df20f.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/p-95b8da60.entry.js +1 -0
  586. package/dist/genesys-webcomponents/{p-5b476ecb.entry.js → p-96e984bd.entry.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-7aa3759d.entry.js → p-96ed3fae.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-a92ac07f.entry.js → p-98004717.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/p-9a329638.entry.js +1 -0
  590. package/dist/genesys-webcomponents/{p-a1fd1b76.entry.js → p-9d03007f.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-f251e963.entry.js → p-9fc56556.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-Rs2JRIbr.js → p-B_5U73XW.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-kyGdOoF4.js → p-BkM3RdTO.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-CuKTBQuB.js → p-Bxg2lxW0.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-BS-Yw6fq.js → p-CoPBSWau.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-BvVMx5eW.js → p-CuMZPTZF.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-DcL3bWH_.js → p-D7iHtfrY.js} +1 -1
  598. package/dist/genesys-webcomponents/{p-5GSd1tCA.js → p-DR1RHELj.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-D1QZQXQN.js → p-D_8CR3cJ.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-hPZIPnvb.js → p-KbW44rlb.js} +1 -1
  601. package/dist/genesys-webcomponents/p-a06f4841.entry.js +1 -0
  602. package/dist/genesys-webcomponents/{p-3de77c0a.entry.js → p-a403be28.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/p-a48c397c.entry.js +1 -0
  604. package/dist/genesys-webcomponents/p-a8154cbf.entry.js +1 -0
  605. package/dist/genesys-webcomponents/{p-c2ba0289.entry.js → p-a9534e06.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-f798847a.entry.js → p-aaddc6e3.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/p-ade4ba99.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-a47e8d79.entry.js → p-ae67f863.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-d044fae7.entry.js → p-aea87a1c.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-a602ddd7.entry.js → p-afc8db57.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-53d57143.entry.js → p-b20927f0.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-76413a19.entry.js → p-b233f48f.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-6b824fd9.entry.js → p-b40de893.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-9d5748bc.entry.js → p-b6ea07cf.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-c4aa7007.entry.js → p-b892cde5.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/p-b975d30b.entry.js +1 -0
  617. package/dist/genesys-webcomponents/{p-c7c698a3.entry.js → p-b98a9f78.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-4109c6f3.entry.js → p-bada9b52.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/p-bb323488.entry.js +1 -0
  620. package/dist/genesys-webcomponents/{p-a5b09cd4.entry.js → p-bc6e07cf.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-ee016e6f.entry.js → p-becb24d3.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-56600163.entry.js → p-bef8cc12.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-c088cacc.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-1b629207.entry.js → p-c0d80c70.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/{p-80796be1.entry.js → p-c0fd4d69.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-abaf39a1.entry.js → p-c2d2430e.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/p-c3718d82.entry.js +1 -0
  628. package/dist/genesys-webcomponents/{p-af889d1b.entry.js → p-c3958e6e.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-21751fc9.entry.js → p-c7101d55.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-c90e75e3.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-6b9009ab.entry.js → p-ccdcbc66.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-7c0e93f8.entry.js → p-cd893268.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-7c2f239e.entry.js → p-cdb721d8.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +1 -0
  635. package/dist/genesys-webcomponents/{p-14c696cd.entry.js → p-cf318744.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/{p-d76e2e8b.entry.js → p-d28148fc.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-8928dc71.entry.js → p-d34b3c6b.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/{p-394673f5.entry.js → p-d3b1d624.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-404dc0eb.entry.js → p-d47e350b.entry.js} +2 -2
  640. package/dist/genesys-webcomponents/{p-91e7a597.entry.js → p-d64815c3.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-211b4081.entry.js → p-d98c2f60.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/{p-6dbe33e3.entry.js → p-da88b370.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-da6fd610.entry.js → p-dc299352.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-5966f299.entry.js → p-dcd246c2.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-f8b08e9b.entry.js → p-dd50c042.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-6072777e.entry.js → p-e0f750be.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-1143e67a.entry.js → p-e115772d.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-e1b30c83.entry.js +1 -0
  649. package/dist/genesys-webcomponents/p-e21a3093.entry.js +1 -0
  650. package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +1 -0
  651. package/dist/genesys-webcomponents/p-e5429730.entry.js +1 -0
  652. package/dist/genesys-webcomponents/{p-e3392f3b.entry.js → p-e95226d1.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-d7a86919.entry.js → p-ec38cf55.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-c7da3b17.entry.js → p-ee14d94c.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/{p-51363810.entry.js → p-f3744aff.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/{p-fd62e802.entry.js → p-f413af7f.entry.js} +1 -1
  657. package/dist/genesys-webcomponents/{p-f40ced8a.entry.js → p-f4d0b061.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-ba4a9c32.entry.js → p-f60dd4e1.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-eee9623f.entry.js → p-f69d1332.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-ba3376c4.entry.js → p-f77a2e00.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-4583ad97.entry.js → p-f9cf4f93.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-4f987d3f.entry.js → p-fb4b6da3.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/{p-80c1b60d.entry.js → p-fbf8f8e0.entry.js} +1 -1
  664. package/dist/genesys-webcomponents/p-fc3edfaf.entry.js +1 -0
  665. package/dist/genesys-webcomponents/{p-cb4791a1.entry.js → p-fc6234ce.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-7d44c65c.entry.js → p-fc7b349f.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-5bf1dc65.entry.js → p-fd437ac9.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-mm833MRp.js +2 -0
  669. package/dist/stencil-wrapper.js +1 -1
  670. package/dist/types/components/beta/gux-date/gux-date.d.ts +2 -2
  671. package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +2 -2
  672. package/dist/types/components/beta/gux-phone-input/services/region-map.service.d.ts +1 -1
  673. package/dist/types/components/beta/gux-screen-reader/gux-screen-reader.d.ts +4 -0
  674. package/dist/types/components/beta/gux-screen-reader/tests/gux-screen-reader.common.d.ts +1 -0
  675. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +2 -1
  676. package/dist/types/components/stable/gux-flyout-menu/gux-flyout-menu.d.ts +1 -1
  677. package/dist/types/components.d.ts +20 -6
  678. package/dist/types/stencil-wrapper.d.ts +1 -1
  679. package/package.json +6 -6
  680. package/dist/cjs/index-C1LZ-Zd8.js +0 -2759
  681. package/dist/esm/index-CjVJoR6g.js +0 -2727
  682. package/dist/genesys-webcomponents/p-09559c89.entry.js +0 -1
  683. package/dist/genesys-webcomponents/p-0b8dda78.entry.js +0 -1
  684. package/dist/genesys-webcomponents/p-1e7418da.entry.js +0 -1
  685. package/dist/genesys-webcomponents/p-210c186b.entry.js +0 -1
  686. package/dist/genesys-webcomponents/p-22829ab6.entry.js +0 -1
  687. package/dist/genesys-webcomponents/p-25f680c1.entry.js +0 -1
  688. package/dist/genesys-webcomponents/p-2719b581.entry.js +0 -1
  689. package/dist/genesys-webcomponents/p-34b4b88f.entry.js +0 -1
  690. package/dist/genesys-webcomponents/p-3f0ee34a.entry.js +0 -1
  691. package/dist/genesys-webcomponents/p-444f40f2.entry.js +0 -1
  692. package/dist/genesys-webcomponents/p-455e5b12.entry.js +0 -1
  693. package/dist/genesys-webcomponents/p-460bccb8.entry.js +0 -1
  694. package/dist/genesys-webcomponents/p-4c173cf5.entry.js +0 -1
  695. package/dist/genesys-webcomponents/p-563631e1.entry.js +0 -1
  696. package/dist/genesys-webcomponents/p-5d97fc6f.entry.js +0 -1
  697. package/dist/genesys-webcomponents/p-69f74026.entry.js +0 -1
  698. package/dist/genesys-webcomponents/p-6a52bb89.entry.js +0 -1
  699. package/dist/genesys-webcomponents/p-81326113.entry.js +0 -1
  700. package/dist/genesys-webcomponents/p-82b687a0.entry.js +0 -1
  701. package/dist/genesys-webcomponents/p-8a7d7ab8.entry.js +0 -1
  702. package/dist/genesys-webcomponents/p-95fe5745.entry.js +0 -1
  703. package/dist/genesys-webcomponents/p-9876b783.entry.js +0 -1
  704. package/dist/genesys-webcomponents/p-CjVJoR6g.js +0 -2
  705. package/dist/genesys-webcomponents/p-DaK6PJIg.js +0 -1
  706. package/dist/genesys-webcomponents/p-a64eb544.entry.js +0 -1
  707. package/dist/genesys-webcomponents/p-aebc7595.entry.js +0 -1
  708. package/dist/genesys-webcomponents/p-b72a5a0e.entry.js +0 -1
  709. package/dist/genesys-webcomponents/p-c1e6e606.entry.js +0 -1
  710. package/dist/genesys-webcomponents/p-c24d26bd.entry.js +0 -1
  711. package/dist/genesys-webcomponents/p-c4ad9367.entry.js +0 -1
  712. package/dist/genesys-webcomponents/p-cf52b41d.entry.js +0 -1
  713. package/dist/genesys-webcomponents/p-d6bab5ee.entry.js +0 -1
  714. package/dist/genesys-webcomponents/p-d7c19e09.entry.js +0 -1
  715. package/dist/genesys-webcomponents/p-dea58474.entry.js +0 -1
  716. package/dist/genesys-webcomponents/p-e05cf7c9.entry.js +0 -1
  717. package/dist/genesys-webcomponents/p-f2f5743f.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as r}from"./p-CjVJoR6g.js";const e=class{constructor(r){t(this,r)}render(){return r("slot",{key:"00c36de387915b027f0cff1b7ab5fe9811583f1f"})}};e.style="::slotted(*){margin:0 !important;font-family:var(--gse-semantic-body-sm-regular-fontFamily) !important;font-size:var(--gse-semantic-body-sm-regular-fontSize) !important;font-weight:var(--gse-semantic-body-sm-regular-fontWeight) !important;line-height:var(--gse-semantic-body-sm-regular-lineHeight) !important;color:var(--gse-semantic-foreground-container-midEmphasis) !important}";export{e as gux_form_description}
1
+ import{r as t,h as r}from"./p-mm833MRp.js";const e=class{constructor(r){t(this,r)}render(){return r("slot",{key:"00c36de387915b027f0cff1b7ab5fe9811583f1f"})}};e.style="::slotted(*){margin:0 !important;font-family:var(--gse-semantic-body-sm-regular-fontFamily) !important;font-size:var(--gse-semantic-body-sm-regular-fontSize) !important;font-weight:var(--gse-semantic-body-sm-regular-fontWeight) !important;line-height:var(--gse-semantic-body-sm-regular-lineHeight) !important;color:var(--gse-semantic-foreground-container-midEmphasis) !important}";export{e as gux_form_description}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,a as n}from"./p-CjVJoR6g.js";import{t as i}from"./p-Rs2JRIbr.js";import{b as r}from"./p-D1QZQXQN.js";import{a}from"./p-De1NnCmO.js";import{f as s}from"./p-JHLuJ8Pb.js";import"./p-Cd4R0amv.js";var u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"};const c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"7aaeebd634cc4867e69b12a05c509e876e65f74f",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"359b4f7bab27f2405f921c1dd0c0a7b906f300c5",class:"gux-search-icon"},o("gux-icon",{key:"b2c55637d3cb011938208976fef8db8e24da5fcf",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"7032861829a3edd04d7d527415b447112e1747c7"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search:focus-within{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);outline-offset:var(--gse-semantic-focusOutline-offset);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)}.gux-content-search:not(:disabled):not(.gux-disabled):hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
1
+ import{r as t,c as e,h as o,a as n}from"./p-mm833MRp.js";import{t as i}from"./p-B_5U73XW.js";import{b as r}from"./p-D_8CR3cJ.js";import{a}from"./p-De1NnCmO.js";import{f as s}from"./p-JHLuJ8Pb.js";import"./p-Cd4R0amv.js";var u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"};const c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"73e492c9ba5084ab4a9be67042f9e2e6f9ecd2f0",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"178f17dd1987bbcd12b610777ea84060de86c0ca",class:"gux-search-icon"},o("gux-icon",{key:"ccdaa14da8cf64122b5c736fc9cd16c7fc0a5a58",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"4d853841ba463423b737f9d9976d61902065a18a"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search:focus-within{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);outline-offset:var(--gse-semantic-focusOutline-offset);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)}.gux-content-search:not(:disabled):not(.gux-disabled):hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,a as r}from"./p-mm833MRp.js";import{a as s,c as o,o as a,f as n}from"./p-C8aV-TzO.js";import{r as u}from"./p-D9jKBqIb.js";import{a as d}from"./p-Bg4q97BS.js";import{f as l,a as c,b as h,c as p}from"./p-aKaDsw_5.js";import{O as g}from"./p-CuMZPTZF.js";import{t as f}from"./p-B_5U73XW.js";import{b as x}from"./p-D_8CR3cJ.js";import{g as b,a as m}from"./p-DvPw3gUX.js";import{u as k}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var v={start:"Start",end:"End",date:"Date",toggleCalendar:"Toggle calendar view"};function y(t,e){let i=new Date(e.getTime());return i.setDate(i.getDate()+t),t<0?i.getDate()>e.getDate()&&(i=new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0)):i.getDate()<e.getDate()&&i.setMonth(i.getMonth()-1),i}function C(t,e){const i=new Date(e.valueOf()),r=function(t){let e=t;for(;e<0;)e+=12;return e%=12,e}(i.getMonth()+t);return i.setMonth(r),i.setFullYear(e.getFullYear()),i.getMonth()!==r?C(t,y(-1,e)):i}function w(t,e){const i=t[e];return i&&"/"!==i?i:t[e-1]}function D(t){return t.match(/\W/)[0]}function F(t){const e=D(t);return t.split(e).reduce(((t,e)=>t.concat(e[0])),[])}function R(t,e){return{selectionStart:t.indexOf(e),selectionEnd:t.lastIndexOf(e)+1}}const z=class{constructor(i){t(this,i),this.input=e(this,"input",7),this.yearFormat="yyyy",this.isSelectingRangeWithMouse=!1,this.lastYear=(new Date).getFullYear(),this.startInputId=u("gux-datepicker"),this.endInputId=u("gux-datepicker"),this.label="",this.numberOfMonths=1,this.minDate="",this.maxDate="",this.mode="single",this.disabled=!1,this.labelPosition="beside",this.formattedValue="",this.toFormattedValue="",this.active=!1,this.pressedKeys=[]}watchValue(){this.format&&this.updateDate()}watchMinDate(t){this.minDateDate=t?l(t):null}watchMaxDate(t){this.maxDateDate=t?l(t):null}watchFormat(t){t.includes("yyyy")||(this.yearFormat="yy"),this.intervalOrder=F(t),this.lastIntervalRange=this.initialIntervalRange}watchActiveCalendar(t){if(!0===t){const t=l(this.value.split("/")[0]);this.calendarElement.resetCalendarView(t)}}onKeyDown(t){if(this.isInputFieldEvent(t))switch(this.focusedField=this.getInputFieldFromEvent(t),t.key){case"Enter":case"Escape":this.focusedField.blur(),this.active=!1;break;case"Tab":break;case"ArrowDown":t.preventDefault(),this.increment(-1),this.setCursorRange();break;case"ArrowUp":t.preventDefault(),this.increment(1),this.setCursorRange();break;case"ArrowLeft":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+i.length-1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}case"ArrowRight":{t.preventDefault();const e=function(t,e){const i=F(t),r=w(t,e.selectionStart),s=i.indexOf(r);return R(t,i[(s+1)%i.length])}(this.format,this.intervalRange);this.setIntervalRange(e),this.setCursorRange(),this.pressedKeys.length=0;break}default:t.preventDefault(),this.isSelectingRangeWithMouse||(this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.updateIntervalValue(t),this.setCursorRange())}else switch(t.key){case"Enter":case"Escape":case" ":{this.active=!1;const t=this.root.shadowRoot.querySelector(".gux-calendar-toggle-button");d((()=>{t.focus()}));break}case"Tab":this.active&&(this.active=!1)}}onMouseDown(t){this.isInputFieldEvent(t)&&(this.isSelectingRangeWithMouse=!0);const e=t.composedPath(),i=e.includes(this.datepickerElement);Array.from(this.root.shadowRoot.querySelectorAll(".gux-calendar-toggle-button")).every((t=>!e.includes(t)))&&(this.active=i)}onClickOutside(){this.active=!1,this.pressedKeys.length=0}onInputFocusIn(t){this.focusedField=this.getInputFieldFromEvent(t),this.isSelectingRangeWithMouse||d((()=>this.setRange()))}onInputFocusOut(){this.lastIntervalRange=this.initialIntervalRange}onInputMouseUp(t){t.preventDefault(),this.lastIntervalRange=R(this.format,w(this.format,this.focusedField.selectionStart)),this.setRange(),this.isSelectingRangeWithMouse=!1}isInputFieldEvent(t){const e=t.composedPath();return e.includes(this.inputElement)||e.includes(this.toInputElement)}get initialIntervalRange(){return R(this.format,w(this.format,0))}getInputFieldFromEvent(t){return t.composedPath()[0]}updateIntervalValue(t){this.pressedKeys.push(t.key);const e=parseInt(t.key,10);if(!isNaN(e)){const i=this.focusedField.value.slice(this.focusedField.selectionStart,this.focusedField.selectionEnd);"y"===w(this.format,this.focusedField.selectionStart)&&"yyyy"===this.yearFormat?this.typeYearValue(i,t.key):this.canSetDate(e)&&this.pressedKeys.length>=2?(this.updateSelection(this.focusedField,`${i[1]}${t.key}`),this.setValue()):(this.updateSelection(this.focusedField,`0${t.key}`.replace("00","01")),this.setValue())}}updateSelection(t,e){t.value=t.value.substr(0,this.intervalRange.selectionStart)+e+t.value.substr(this.intervalRange.selectionEnd)}getCalendarLabels(){return function(t,e,i){const r=t.split(",").map((t=>t.trim()));return"range"===e?[r[0]||i[0],r[1]||i[1]]:"range"===e||r[0]?[r[0]]:[i[2]]}(this.label,this.mode,[this.i18n("start"),this.i18n("end"),this.i18n("date")])}stringToDate(t){const e=D(this.format),i=this.format.toLowerCase().split(e),r=t.split(e),s=parseInt(r[i.indexOf(this.yearFormat)],10),o=parseInt(r[i.indexOf("mm")],10)-1,a=parseInt(r[i.indexOf("dd")],10),n=new Date(s,o,a);return"yy"===this.yearFormat&&n.getFullYear()<1970&&this.lastYear>1970&&n.setFullYear(n.getFullYear()+100),n}onCalendarSelect(t){this.value=t.target.value,t.stopPropagation(),this.input.emit(this.value),this.updateDate(),this.inputElement.value=this.formattedValue,"range"===this.mode&&(this.toInputElement.value=this.toFormattedValue),document.activeElement===this.inputElement&&document.activeElement===this.toInputElement||(this.active=!1)}setValue(){if("range"===this.mode){const t=this.stringToDate(this.inputElement.value),e=this.stringToDate(this.toInputElement.value);if(!this.isValidDateFormat(t)||!this.isValidDateFormat(e))return;this.value=c(t,e),this.updateDate(),this.calendarElement.setValue([t,e])}else{const t=this.stringToDate(this.inputElement.value);if(!this.isValidDateFormat(t))return;this.value=h(t),this.updateDate(),this.calendarElement.setValue(t)}this.input.emit(this.value)}setRange(){this.setIntervalRange(this.lastIntervalRange),this.setCursorRange()}typeYearValue(t,e){" "!==t[0]?this.updateSelection(this.focusedField,` ${e}`):(this.updateSelection(this.focusedField,`${t.substr(1)}${e}`),(t.substr(1)+e).includes(" ")||this.setValue())}canSetDate(t){const e=parseInt([this.focusedField.value[this.intervalRange.selectionEnd-1].toString(),t].join(""),10);if(e)switch(w(this.format,this.focusedField.selectionStart)){case"d":{const t=l(this.value);if(e<=new Date(t.getFullYear(),t.getMonth()+1,0).getDate())return!0;break}case"m":if(e<=12)return!0;break;case"y":return!0}return!1}getMapAndRegexFromField(t){const e={dd:`0${t.getDate()}`.slice(-2),mm:`0${t.getMonth()+1}`.slice(-2)};return"yyyy"===this.yearFormat?e.yyyy=t.getFullYear().toString():e.yy=t.getFullYear().toString().slice(-2),{map:e,regexp:new RegExp("yyyy"===this.yearFormat?"dd|mm|yyyy":"dd|mm|yy","gi")}}isValidDateFormat(t){const{map:e}=this.getMapAndRegexFromField(t);return"yyyy"===this.yearFormat?4===e.yyyy.length:2===e.yy.length}updateDate(){if("range"===this.mode){const[t,e]=p(this.value),{map:i,regexp:r}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(r,(t=>i[t]));const{map:s,regexp:o}=this.getMapAndRegexFromField(e);this.toFormattedValue=this.format.replace(o,(t=>s[t]))}else{const t=l(this.value),{map:e,regexp:i}=this.getMapAndRegexFromField(t);this.formattedValue=this.format.replace(i,(t=>e[t]))}}setCursorRange(){this.intervalRange&&(this.focusedField.setSelectionRange(0,100),this.focusedField.setSelectionRange(this.intervalRange.selectionStart,this.intervalRange.selectionEnd))}toggleCalendar(){this.active=!this.active,this.active&&d((()=>{this.calendarElement.focusPreviewDate()}))}setIntervalRange(t){this.intervalRange=t}getCombinedFocusedDateValue(){return"range"===this.mode?this.getRangeFocusedDateValue():this.getFocusedDateValue()}getFocusedDateValue(){return l(this.value)}getRangeFocusedDateValue(){const[t,e]=p(this.value);return this.focusedField===this.inputElement?t:e}increment(t){const e=w(this.format,this.focusedField.selectionStart),i=this.getCombinedFocusedDateValue();let r;switch(e){case"d":r=y(t,i);break;case"m":r=C(t,i);break;case"y":r=function(t,e){const i=new Date(e.valueOf());return i.setFullYear(e.getFullYear()+t),i}(t,i)}var s,o,a;s=r,o=this.minDateDate,((a=this.maxDateDate)&&a<s||o&&o>s)&&(r=i),this.lastYear=r.getFullYear(),this.setIntervalRange({selectionStart:this.focusedField.selectionStart,selectionEnd:this.focusedField.selectionEnd}),this.focusedField.value=function(t,e){const i=D(e),r=e.split(i).map((e=>{switch(e[0]){case"d":return function(t){return`0${t.getDate().toString()}`.slice(-2)}(t);case"m":return function(t){return`0${(t.getMonth()+1).toString()}`.slice(-2)}(t);case"y":return function(t,e){return"yyyy"===e?t.getFullYear().toString():t.getFullYear().toString().slice(-2)}(t,e)}})).join(i);return r}(r,this.format),this.setValue()}async componentWillLoad(){if(f(this.root,{variant:this.mode}),this.i18n=await x(this.root,v),this.format=k()?this.format||b(m(this.root)):this.format||"mm/dd/yyyy",this.watchMinDate(this.minDate),this.watchMaxDate(this.maxDate),this.watchFormat(this.format),!this.value){const t=new Date;t.setHours(0,0,0,0),this.value="range"===this.mode?c(t,t):h(t),"range"===this.mode&&this.numberOfMonths<2&&(this.numberOfMonths=2)}this.updateDate()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.datepickerElement,this.calendarElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){o(this.datepickerElement,this.calendarElement,{strategy:"fixed",placement:"bottom-start",middleware:[a({crossAxis:-3}),n({fallbackStrategy:"initialPlacement"})]}).then((({x:t,y:e})=>{Object.assign(this.calendarElement.style,{left:`${t}px`,top:`${e}px`})}))}componentDidUpdate(){this.active?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderCalendarToggleButton(){return i("button",{class:"gux-calendar-toggle-button",type:"button",onClick:()=>this.toggleCalendar(),"aria-expanded":this.active.toString(),"aria-label":this.i18n("toggleCalendar"),disabled:this.disabled},i("gux-icon",{decorative:!0,"icon-name":"fa/calendar-regular",size:"small"}))}renderCalendar(){return i("gux-calendar",{tabindex:"-1",ref:t=>this.calendarElement=t,value:this.value,mode:this.mode,onCalendarSelect:t=>this.onCalendarSelect(t),minDate:this.minDate,maxDate:this.maxDate,numberOfMonths:this.numberOfMonths,startDayOfWeek:this.startDayOfWeek})}renderStartDateField(){return i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.startInputId,class:{"gux-datepicker-field-label":!0,"gux-sr-only":"single"===this.mode&&!this.label}},this.getCalendarLabels()[0]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.startInputId,type:"text",onClick:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),ref:t=>this.inputElement=t,value:this.formattedValue,disabled:this.disabled}),this.renderCalendarToggleButton()),this.renderCalendar()))}renderEndDateField(){return"single"===this.mode?null:i("div",{class:{"gux-datepicker-field":!0,"gux-above":"above"===this.labelPosition}},i("label",{htmlFor:this.endInputId,class:"gux-datepicker-field-label"},this.getCalendarLabels()[1]),i("div",{class:"gux-datepicker-field-input"},i("div",{class:"gux-datepicker-field-text-input"},i("input",{id:this.endInputId,type:"text",ref:t=>this.toInputElement=t,onMouseUp:t=>this.onInputMouseUp(t),onFocusin:t=>this.onInputFocusIn(t),onFocusout:()=>this.onInputFocusOut(),value:this.toFormattedValue,disabled:this.disabled}),this.renderCalendarToggleButton())))}render(){return i("div",{key:"87ba4fb1f5dab50e710194e0a083729097ce5c23",class:{"gux-datepicker":!0,"gux-active":this.active,"gux-disabled":this.disabled},ref:t=>this.datepickerElement=t},this.renderStartDateField(),this.renderEndDateField())}get root(){return r(this)}static get watchers(){return{value:["watchValue"],minDate:["watchMinDate"],maxDate:["watchMaxDate"],format:["watchFormat"],active:["watchActiveCalendar"]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([g({triggerEvents:"mousedown"})],z.prototype,"onClickOutside",null),z.style=":host{display:block;inline-size:fit-content}.gux-datepicker{display:flex}.gux-datepicker.gux-disabled{pointer-events:none;cursor:default}.gux-datepicker.gux-disabled .gux-datepicker-field .gux-datepicker-field-input{opacity:var(--gse-ui-datePicker-disabled-opacity)}.gux-datepicker .gux-datepicker-field{display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:flex-start flex-start;align-items:center;inline-size:100%}.gux-datepicker .gux-datepicker-field~.gux-datepicker-field{margin-inline-start:var(--gse-ui-datePicker-range-gap)}.gux-datepicker .gux-datepicker-field.gux-above{flex-direction:column;align-items:self-start}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-input{margin-block-start:0}.gux-datepicker .gux-datepicker-field.gux-above .gux-datepicker-field-label{margin-inline-end:0}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-label{flex:0 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-formControl-helper-gap);font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input:focus-within{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);outline-offset:var(--gse-semantic-focusOutline-offset);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)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input.gux-active{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);outline-offset:var(--gse-semantic-focusOutline-offset);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)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input{flex:1 1 auto;align-self:auto;order:0;inline-size:calc(var(--gse-ui-calendarMenu-day-input-width) - var(--gse-ui-icon-small-size));inline-size:100%;padding:0;overflow:hidden;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-cancel-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-search-results-button,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none;border-radius:var(--gse-ui-actionButton-borderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:focus-within{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);outline-offset:var(--gse-semantic-focusOutline-offset);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);outline-offset:var(--gse-ui-datePicker-focusCalendar-gap);border:none;border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-datePicker-iconHover);cursor:pointer}.gux-datepicker .gux-datepicker-field .gux-datepicker-field-input gux-calendar{position:fixed;z-index:var(--gse-semantic-zIndex-popup);display:none}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):focus-visible,.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input .gux-datepicker-field-text-input button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-datepicker.gux-active .gux-datepicker-field .gux-datepicker-field-input gux-calendar{display:block}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{z as gux_datepicker}
@@ -1 +1 @@
1
- import{r as e,h as o,a as t}from"./p-CjVJoR6g.js";import{O as i}from"./p-DaK6PJIg.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-Rs2JRIbr.js";import{G as a,a as s}from"./p-kyGdOoF4.js";import{G as f,a as n}from"./p-CuKTBQuB.js";import{a as h,g as u,v as p}from"./p-DHLxhscH.js";import{p as d}from"./p-PYfNAK8p.js";import{o as m}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const g=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=u(this.root,'input[type="file"][slot="input"]'),d(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),p(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return o(n,{key:"87fd01d5f4f842e4a60a3fd8903b1f47a25fa87c",labelPosition:this.computedLabelPosition},o(f,{key:"768146a270b2f9c795818e50eb346e9ef4c0f18e",position:this.computedLabelPosition,required:this.required},o("slot",{key:"41d509f25e61218e8ff44205e0066efc9871c48b",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"b18a6439eb3e331eadc8befe7d4a6625e5a2fe78",variant:this.indicatorMark,required:this.required}),o("slot",{key:"019080783c0879090b3b20df3c34a82fee01366f",name:"label-info"})),o("div",{key:"09756ffd657327ec2bc2a8ae5e39b2a5cf33ecda",class:"gux-input-and-error-container"},o("slot",{key:"ff1bffdc217f9eff4caead89b0ec19179e9c0669",name:"input",onSlotchange:()=>this.setInput()}),o(a,{key:"7623a79ff314b2286cdcf03c00e964e317627414",show:this.hasError},o("slot",{key:"1b29ff15208bec388a11900e21f81e5b60300211",name:"error"})),o(s,{key:"4fc70bf6a7764f229f4a46bba5cf4ec3e0f5394a",show:!this.hasError&&this.hasHelp},o("slot",{key:"42030254f9c567f2b9aa7aaee0a5458cb08583d7",name:"help"}))))}get root(){return t(this)}};(function(e,o,t,i){var r,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(o,t,a):r(o,t))||a);l>3&&a&&Object.defineProperty(o,t,a)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
1
+ import{r as e,h as t,a as o}from"./p-mm833MRp.js";import{O as i}from"./p-1mmdDpx8.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-B_5U73XW.js";import{G as a,a as s}from"./p-BkM3RdTO.js";import{G as f,a as n}from"./p-Bxg2lxW0.js";import{a as h,g as p,v as u}from"./p-DHLxhscH.js";import{p as d}from"./p-PYfNAK8p.js";import{o as m}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const g=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=p(this.root,'input[type="file"][slot="input"]'),d(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"87fd01d5f4f842e4a60a3fd8903b1f47a25fa87c",labelPosition:this.computedLabelPosition},t(f,{key:"768146a270b2f9c795818e50eb346e9ef4c0f18e",position:this.computedLabelPosition,required:this.required},t("slot",{key:"41d509f25e61218e8ff44205e0066efc9871c48b",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"b18a6439eb3e331eadc8befe7d4a6625e5a2fe78",variant:this.indicatorMark,required:this.required}),t("slot",{key:"019080783c0879090b3b20df3c34a82fee01366f",name:"label-info"})),t("div",{key:"09756ffd657327ec2bc2a8ae5e39b2a5cf33ecda",class:"gux-input-and-error-container"},t("slot",{key:"ff1bffdc217f9eff4caead89b0ec19179e9c0669",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"7623a79ff314b2286cdcf03c00e964e317627414",show:this.hasError},t("slot",{key:"1b29ff15208bec388a11900e21f81e5b60300211",name:"error"})),t(s,{key:"4fc70bf6a7764f229f4a46bba5cf4ec3e0f5394a",show:!this.hasError&&this.hasHelp},t("slot",{key:"42030254f9c567f2b9aa7aaee0a5458cb08583d7",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as o,h as t,a as s}from"./p-CjVJoR6g.js";import{t as r}from"./p-Rs2JRIbr.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"9724aa3ad7ce254c77444838134c40e1d2ae0cc1"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
1
+ import{r as o,h as t,a as s}from"./p-mm833MRp.js";import{t as r}from"./p-B_5U73XW.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"9724aa3ad7ce254c77444838134c40e1d2ae0cc1"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as a,a as n}from"./p-mm833MRp.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-B_5U73XW.js";import{b as l,g as c,c as g}from"./p-D_8CR3cJ.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-DvPw3gUX.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{calendar:"gregory",year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("gux-screen-reader-beta",null,y(e.date,this.locale))))))))))}render(){return a("div",{key:"032d8f640205190a50accc0e0ec207281837b192",class:"gux-calendar"},a("div",{key:"609ddea253dc5519d475e5f76dd19662fc9a088c",class:"gux-header"},a("button",{key:"5417571dec9cb6807408d0d86ff850026632792c",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"c64d3e6fb3778e17bd9519af36a818cbf5ea8456",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"fb7339b1279e90a81f1f941ddb99f5b2edc718c4",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"f3a51e4365bb254f3ef4a0f58ab72115282b231d",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"64769c9c22d6e7bc60efdadc33302d820b95eaad",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{M as gux_calendar}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-CjVJoR6g.js";const o=class{constructor(e){t(this,e)}render(){return e(i,{key:"92885b0b35477738962f6b2635022a1fccfdf59b",role:"listitem"},e("slot",{key:"cb0d13bf8f710fb70429d2e916ce26eab08d37e2"}))}static get delegatesFocus(){return!0}};o.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit}::slotted(a){padding:12px;font-size:2rem;background-color:var(--gse-semantic-background-container-elevated-default)}";export{o as gux_skip_navigation_item}
1
+ import{r as t,h as e,H as i}from"./p-mm833MRp.js";const o=class{constructor(e){t(this,e)}render(){return e(i,{key:"92885b0b35477738962f6b2635022a1fccfdf59b",role:"listitem"},e("slot",{key:"cb0d13bf8f710fb70429d2e916ce26eab08d37e2"}))}static get delegatesFocus(){return!0}};o.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit}::slotted(a){padding:12px;font-size:2rem;background-color:var(--gse-semantic-background-container-elevated-default)}";export{o as gux_skip_navigation_item}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a as r}from"./p-CjVJoR6g.js";import{t as e}from"./p-Rs2JRIbr.js";import{D as o,g as a}from"./p-DcL3bWH_.js";import{d as m,a as h}from"./p-DvPw3gUX.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-D1QZQXQN.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){e(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(h(this.root),{timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(i,{key:"a732d366a726b7ca76ddcf465e14efb832ad536c"},this.renderTime())}get root(){return r(this)}};export{c as gux_time_beta}
1
+ import{r as t,h as s,H as i,a as r}from"./p-mm833MRp.js";import{t as e}from"./p-B_5U73XW.js";import{D as o,g as a}from"./p-D7iHtfrY.js";import{d as m,a as h}from"./p-DvPw3gUX.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-D_8CR3cJ.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){e(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(h(this.root),{timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(i,{key:"a732d366a726b7ca76ddcf465e14efb832ad536c"},this.renderTime())}get root(){return r(this)}};export{c as gux_time_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-CjVJoR6g.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"357152541b2089a36c3bfd0bd4359c38024ee626",role:"presentation"},r("div",{key:"a7981076c6beb5f75c926207ce50ad42ed1b7266",class:"gux-segmented-control-divider"}))}};o.style=".gux-segmented-control-divider{inline-size:var(--gse-ui-segmentedControl-divider-width);block-size:var(--gse-ui-segmentedControl-dividerLine);margin-inline:var(--gse-ui-segmentedControl-dividerComponent-margin);background-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{o as gux_segmented_control_divider}
1
+ import{r as e,h as r,H as i}from"./p-mm833MRp.js";const d=class{constructor(r){e(this,r)}render(){return r(i,{key:"357152541b2089a36c3bfd0bd4359c38024ee626",role:"presentation"},r("div",{key:"a7981076c6beb5f75c926207ce50ad42ed1b7266",class:"gux-segmented-control-divider"}))}};d.style=".gux-segmented-control-divider{inline-size:var(--gse-ui-segmentedControl-divider-width);block-size:var(--gse-ui-segmentedControl-dividerLine);margin-inline:var(--gse-ui-segmentedControl-dividerComponent-margin);background-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{d as gux_segmented_control_divider}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,a}from"./p-mm833MRp.js";import{b as i}from"./p-D_8CR3cJ.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){e(this,s),this.internalallrowselectchange=t(this,"internalallrowselectchange",7),this.id=o("gux-all-row-select"),this.selected=!1}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalallrowselectchange.emit(this.selected)}async setIndeterminate(e=!0){this.inputElement.indeterminate=e}async componentWillLoad(){this.i18n=await i(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"b20a7ff95c5d61db98cba6c0979b86ec7e087362","label-position":"screenreader"},s("input",{key:"f2d7854bcc07bd2d7dac878204bdd5181966e41a",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"0ef55eb29fdd4535e266a02a2169e1087162cea8",slot:"label",htmlFor:this.id},"​",s("span",{key:"ea8003ea3589cd6f5d13901489a0a608ab43aaa1"},this.i18n("selectAllTableRows"))))}get root(){return a(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}";export{c as gux_all_row_select}
@@ -1 +1 @@
1
- import{r as i,h as s,a as t}from"./p-CjVJoR6g.js";import{t as e}from"./p-Rs2JRIbr.js";import{b as n}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"4dd36dc32b0affd8026366ae45220e9e2b4bcb33",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"44e2ba7d724cce5d899af0b64bba18ededfbac2e",type:"button",title:this.i18n("dismiss")},s("div",{key:"a12e9252fc5d7740a431e93a47c1559b7ab9150a",class:"gux-icon-container"},s("gux-icon",{key:"6c95aeb37174259a4dd9cf6b13db5d6418bedc0b","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
1
+ import{r as i,h as s,a as t}from"./p-mm833MRp.js";import{t as e}from"./p-B_5U73XW.js";import{b as n}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"52a32d2f44a4ea6d98c7978aae6cdcd6e23ddfb7",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"1a291cbdbee48b4c20bf4651bc30d875c35f9da0",type:"button",title:this.i18n("dismiss")},s("div",{key:"e47fbada9557f20098c5304452fc607f174a9ea3",class:"gux-icon-container"},s("gux-icon",{key:"b3872a8afe53a3c97adfd5071e6657c92fb234ab","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,a as r}from"./p-CjVJoR6g.js";import{t as a}from"./p-Rs2JRIbr.js";import{n as o,p as h,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),h(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),h(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),o(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"a4a3e97b3c87ce3b3a7097c7a615ce3fe2035267",role:"list"},i("slot",{key:"ab4767819665cdc49dfbbc430578a585071cfc96",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
1
+ import{r as t,c as s,h as i,H as e,a as r}from"./p-mm833MRp.js";import{t as a}from"./p-B_5U73XW.js";import{n as o,p as h,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),h(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),h(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),o(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"a4a3e97b3c87ce3b3a7097c7a615ce3fe2035267",role:"list"},i("slot",{key:"ab4767819665cdc49dfbbc430578a585071cfc96",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
@@ -1 +1 @@
1
- var e="4.187.0";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
1
+ var e="4.187.2";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
@@ -1 +1 @@
1
- import{h as s}from"./p-CjVJoR6g.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-mm833MRp.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{h as i}from"./p-CjVJoR6g.js";const o=({position:o,required:e},r)=>i("div",{class:{"gux-form-field-label":!0,[`gux-${o}`]:!0,"gux-required":e}},r),e=({labelPosition:o},e)=>i("div",{class:{"gux-form-field-container":!0,[`gux-${o}`]:!0}},e);export{o as G,e as a}
1
+ import{h as i}from"./p-mm833MRp.js";const o=({position:o,required:e},r)=>i("div",{class:{"gux-form-field-label":!0,[`gux-${o}`]:!0,"gux-required":e}},r),e=({labelPosition:o},e)=>i("div",{class:{"gux-form-field-container":!0,[`gux-${o}`]:!0}},e);export{o as G,e as a}
@@ -1 +1 @@
1
- import{f as n}from"./p-CjVJoR6g.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 g(n){l(n,a(n))}function v(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 j(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 k(t){c(t).forEach((t=>{n(t)}))}function C(n){var t;return null===(t=r(n))||void 0===t?void 0:t.size}function G(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function N({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{G as a,X as b,b as c,d,N as e,k as f,C as g,j as h,v as i,g 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-mm833MRp.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 p(n,t){const r=f(i(t));r[0]&&l(n,r[0])}function A(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),A(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 R(n){var t;return null===(t=r(n))||void 0===t?void 0:t.alignment}function U({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{R as a,X as b,b as c,d,U as e,G as f,N as g,k as h,g as i,v as j,h as k,x as l,A as m,m as n,p as o,B as s}
@@ -1 +1 @@
1
- import{a as n}from"./p-CjVJoR6g.js";const t={triggerEvents:"click",exclude:""};function c(c=t){return(o,i)=>{const{connectedCallback:r,disconnectedCallback:u}=o,s=new Map;o.connectedCallback=function(){const o=n(this);return function(n,c,o,i,r=t){const u=function(n){if(n.exclude)try{return Array.from(document.querySelectorAll(n.exclude))}catch(t){console.warn(`@OnClickOutside: Exclude: '${n.exclude}' will not be evaluated. Check your exclude selector syntax.`,t)}}(r),s=n=>{!function(n,t,c,e,o){const i=n.composedPath();i.includes(c)||function(n,t){return!(!n||!t)&&t.some((t=>n.includes(t)))}(i,o)||!c.isConnected||e.call(t,n)}(n,c,o,i,u)};n.set(c,s),e(r).forEach((n=>{window.addEventListener(n,s,!1)}))}(s,this,o,this[i],c),r&&r.call(this)},o.disconnectedCallback=function(){return function(n,c,o=t){const i=n.get(c);n.delete(c),e(o).forEach((n=>{window.removeEventListener(n,i,!1)}))}(s,this,c),u&&u.call(this)}}}function e(n){let t;return t=n.triggerEvents?n.triggerEvents.split(",").map((n=>n.trim())):["click"],t.includes("blur")||t.push("blur"),t}export{c as O}
1
+ import{a as n}from"./p-mm833MRp.js";const t={triggerEvents:"click",exclude:""};function c(c=t){return(o,i)=>{const{connectedCallback:r,disconnectedCallback:u}=o,s=new Map;o.connectedCallback=function(){const o=n(this);return function(n,c,o,i,r=t){const u=function(n){if(n.exclude)try{return Array.from(document.querySelectorAll(n.exclude))}catch(t){console.warn(`@OnClickOutside: Exclude: '${n.exclude}' will not be evaluated. Check your exclude selector syntax.`,t)}}(r),s=n=>{!function(n,t,c,e,o){const i=n.composedPath();i.includes(c)||function(n,t){return!(!n||!t)&&t.some((t=>n.includes(t)))}(i,o)||!c.isConnected||e.call(t,n)}(n,c,o,i,u)};n.set(c,s),e(r).forEach((n=>{window.addEventListener(n,s,!1)}))}(s,this,o,this[i],c),r&&r.call(this)},o.disconnectedCallback=function(){return function(n,c,o=t){const i=n.get(c);n.delete(c),e(o).forEach((n=>{window.removeEventListener(n,i,!1)}))}(s,this,c),u&&u.call(this)}}}function e(n){let t;return t=n.triggerEvents?n.triggerEvents.split(",").map((n=>n.trim())):["click"],t.includes("blur")||t.push("blur"),t}export{c as O}
@@ -1 +1 @@
1
- import{l as t}from"./p-D1QZQXQN.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-D_8CR3cJ.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 e}from"./p-CjVJoR6g.js";const l=({position:l,required:s},a)=>e("div",{class:{"gux-form-field-visual-label":!0,[`gux-${l}`]:!0,"gux-required":s},role:"presentation"},a),s=(l,s)=>e("legend",{class:"gux-form-field-screenreader-label"},s),a=({labelPosition:l,disabled:s},a)=>e("fieldset",s?{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)},"aria-disabled":"true"}:{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)}},a);export{l as G,s as a,a as b}
1
+ import{h as e}from"./p-mm833MRp.js";const l=({position:l,required:s},a)=>e("div",{class:{"gux-form-field-visual-label":!0,[`gux-${l}`]:!0,"gux-required":s},role:"presentation"},a),s=(l,s)=>e("legend",{class:"gux-form-field-screenreader-label"},s),a=({labelPosition:l,disabled:s},a)=>e("fieldset",s?{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)},"aria-disabled":"true"}:{class:{"gux-form-field-fieldset-container":!0,[`gux-${l}`]:Boolean(l)}},a);export{l as G,s as a,a as b}
@@ -1 +1 @@
1
- import{e as t}from"./p-CjVJoR6g.js";import{g as r}from"./p-Cd4R0amv.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:B})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f,l,H,B=function(){return JSON.stringify(arguments)},b=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,r){this.cache[t]=r},t}(),v={create:function(){return new b}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)}};function E(t){return t.type===l.literal}function d(t){return t.type===l.argument}function g(t){return t.type===l.number}function m(t){return t.type===l.date}function y(t){return t.type===l.time}function w(t){return t.type===l.select}function T(t){return t.type===l.plural}function A(t){return t.type===l.pound}function S(t){return t.type===l.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==H.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==H.dateTime)}!function(t){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"}(f||(f={})),function(t){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"}(l||(l={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(H||(H={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[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 R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"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":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-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":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<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""})),r}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(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 D(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&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(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"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"],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"],"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 x(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),Y=new RegExp("".concat(I.source,"*$"));function W(t,r){return{start:t,end:r}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=X?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(Y,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:l.pound,location:W(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(e,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(f.INVALID_TAG,W(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,W(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:e,children:i,location:W(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,W(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,W(n,this.clonePosition()))}return this.error(f.INVALID_TAG,W(n,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=W(n,this.clonePosition());return{val:{type:l.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(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();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,W(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:e,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:W(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,W(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:W(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var B=W(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var b=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(b,u.styleLocation)).err?m:{val:{type:l.number,value:n,location:B,style:m.val},err:null};if(0===b.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(b,this.locale));var p={type:H.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?l.date:l.time,value:n,location:B,style:p},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:n,location:B,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,W(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=W(e,this.clonePosition());return"select"===o?{val:{type:l.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:l.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,W(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(f.INVALID_NUMBER_SKELETON,r)}return{val:{type:H.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=W(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;s.push([a,{value:B.val,location:W(H,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=W(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=st(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var 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)}},t.prototype.bumpIf=function(t){if(et(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(f[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=pt,t.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"}}},t}();const _t={};var Nt=["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"],It={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 Mt="en";async function Rt(r,n,e){let h=n,i="en";void 0!==r&&(i=Lt(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Mt)try{s=await(async(r,n)=>{if(!_t[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();_t[n]=h}return _t[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new St(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new St(n,Mt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Lt(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Mt}(t),e=n.split(/[_-]/)[0];return Nt.indexOf(n)>=0?n:Nt.indexOf(e)>=0?e:Mt}function Ct(t=Mt){return It[t]?It[t]:It[Mt]}function Ot(t=Mt){return((Ct(t)-1)%7+7)%7+1}export{Ot as a,Rt as b,Ct as c,Lt as g,Nt as l}
1
+ import{e as t}from"./p-mm833MRp.js";import{g as r}from"./p-Cd4R0amv.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:B})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f,l,H,B=function(){return JSON.stringify(arguments)},b=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,r){this.cache[t]=r},t}(),v={create:function(){return new b}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)}};function E(t){return t.type===l.literal}function d(t){return t.type===l.argument}function g(t){return t.type===l.number}function m(t){return t.type===l.date}function y(t){return t.type===l.time}function w(t){return t.type===l.select}function T(t){return t.type===l.plural}function A(t){return t.type===l.pound}function S(t){return t.type===l.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==H.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==H.dateTime)}!function(t){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"}(f||(f={})),function(t){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"}(l||(l={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(H||(H={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[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 R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"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":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-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":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<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""})),r}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(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 D(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&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(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"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"],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"],"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 x(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),Y=new RegExp("".concat(I.source,"*$"));function W(t,r){return{start:t,end:r}}var X=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=X?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(Y,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(f.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:l.pound,location:W(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(e,"/>"),location:W(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(f.INVALID_TAG,W(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,W(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:e,children:i,location:W(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,W(s,this.clonePosition())))}return this.error(f.UNCLOSED_TAG,W(n,this.clonePosition()))}return this.error(f.INVALID_TAG,W(n,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=W(n,this.clonePosition());return{val:{type:l.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(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();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,W(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:e,location:W(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(f.MALFORMED_ARGUMENT,W(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:W(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,W(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:W(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var B=W(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var b=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(b,u.styleLocation)).err?m:{val:{type:l.number,value:n,location:B,style:m.val},err:null};if(0===b.length)return this.error(f.EXPECT_DATE_TIME_SKELETON,B);var v=b;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(b,this.locale));var p={type:H.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?l.date:l.time,value:n,location:B,style:p},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:n,location:B,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,W(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=W(e,this.clonePosition());return"select"===o?{val:{type:l.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:l.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(f.INVALID_ARGUMENT_TYPE,W(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,W(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(f.INVALID_NUMBER_SKELETON,r)}return{val:{type:H.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=W(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var H=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(H);if(b.err)return b;s.push([a,{value:B.val,location:W(H,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=W(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=st(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var 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)}},t.prototype.bumpIf=function(t){if(et(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(f[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=pt,t.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"}}},t}();const _t={};var Nt=["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"],It={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 Mt="en";async function Rt(r,n,e){let h=n,i="en";void 0!==r&&(i=Lt(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Mt)try{s=await(async(r,n)=>{if(!_t[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();_t[n]=h}return _t[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new St(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new St(n,Mt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Lt(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Mt}(t),e=n.split(/[_-]/)[0];return Nt.indexOf(n)>=0?n:Nt.indexOf(e)>=0?e:Mt}function Ct(t=Mt){return It[t]?It[t]:It[Mt]}function Ot(t=Mt){return((Ct(t)-1)%7+7)%7+1}export{Ot as a,Rt as b,Ct as c,Lt as g,Nt as l}