genesys-spark-components 4.188.4 → 4.189.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (847) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-Bnt1qVB-.js → get-valid-timezone-B1UTq0SN.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  9. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +30 -0
  10. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  13. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +9 -9
  16. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +3 -3
  17. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +4 -4
  18. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  19. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +5 -5
  20. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  21. package/dist/cjs/gux-branch-multi.cjs.entry.js +5 -5
  22. package/dist/cjs/gux-branch.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  25. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  26. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
  28. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  31. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  36. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  37. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  38. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  42. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  45. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  48. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  50. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  52. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  53. package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
  54. package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
  55. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  56. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  57. package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
  58. package/dist/cjs/{gux-form-field-container-BkBBWJ-I.js → gux-form-field-container-CZ6-ulbG.js} +1 -1
  59. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  60. package/dist/cjs/{gux-form-field-error-FIcB4Fjw.js → gux-form-field-error-glmEWxt7.js} +1 -1
  61. package/dist/cjs/{gux-form-field-fieldset-container-SYa1tvh_.js → gux-form-field-fieldset-container-BRsNlu45.js} +1 -1
  62. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  63. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  65. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  67. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  68. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  69. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  70. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  71. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  72. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  73. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
  74. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  75. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  76. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  77. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
  79. package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
  81. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-illustration-beta.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  84. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  85. package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
  86. package/dist/cjs/gux-leaf-multi.cjs.entry.js +4 -4
  87. package/dist/cjs/gux-leaf.cjs.entry.js +4 -4
  88. package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  93. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
  95. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  96. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  99. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  104. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  108. package/dist/cjs/gux-option-status-beta.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  111. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  112. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
  117. package/dist/cjs/gux-popover-beta.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +5 -5
  119. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  120. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
  122. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  126. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +9 -9
  127. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +18 -7
  129. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  130. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +15 -10
  131. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  133. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +3 -3
  134. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  135. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  139. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  140. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  141. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
  142. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
  143. package/dist/cjs/gux-side-panel-header.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
  145. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  147. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  148. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  149. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +3 -3
  150. package/dist/cjs/gux-step-title.cjs.entry.js +3 -3
  151. package/dist/cjs/gux-step.cjs.entry.js +5 -5
  152. package/dist/cjs/gux-stepper-beta.cjs.entry.js +4 -4
  153. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  154. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  155. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  156. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  158. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  159. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  160. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  164. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  165. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  166. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  167. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  168. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  169. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  170. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  171. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  172. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  173. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  174. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  175. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  176. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  177. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  178. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  179. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
  180. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +3 -3
  181. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  182. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  183. package/dist/cjs/gux-tree-beta.cjs.entry.js +5 -5
  184. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +5 -5
  185. package/dist/cjs/{gux-tree-multi.service-BMVYO4y1.js → gux-tree-multi.service-2AbNAFcD.js} +1 -1
  186. package/dist/cjs/{gux-tree.service-DSfLZNH7.js → gux-tree.service-BRS0dYTL.js} +1 -1
  187. package/dist/cjs/{index-CnZZCg2E.js → index-CX7ddjMc.js} +1 -1
  188. package/dist/cjs/index-Cj-VywrY.js +2767 -0
  189. package/dist/cjs/loader.cjs.js +2 -2
  190. package/dist/cjs/{on-click-outside-Cn9ProR4.js → on-click-outside-DU3COtCC.js} +1 -1
  191. package/dist/cjs/{on-mutation-una8GcoZ.js → on-mutation-_bC2rIpw.js} +1 -1
  192. package/dist/cjs/{on-resize-BVaymqbW.js → on-resize-B9FHDEY6.js} +1 -1
  193. package/dist/cjs/{usage-BwFfSoC_.js → usage-BkcthBEA.js} +1 -1
  194. package/dist/collection/collection-manifest.json +1 -0
  195. package/dist/collection/components/beta/gux-ai-powered-badge/gux-ai-powered-badge.css +23 -0
  196. package/dist/collection/components/beta/gux-ai-powered-badge/gux-ai-powered-badge.js +26 -0
  197. package/dist/collection/components/beta/gux-ai-powered-badge/tests/gux-ai-powered-badge.common.js +6 -0
  198. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  199. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  200. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +1 -1
  201. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +2 -2
  202. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +1 -1
  203. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  204. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +1 -1
  205. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  206. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  207. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.js +2 -2
  208. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.js +2 -2
  209. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +1 -1
  210. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
  211. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
  212. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  213. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  214. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  215. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  216. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  217. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  218. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  219. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  220. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  221. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  222. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  223. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
  224. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  225. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  226. package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
  227. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
  228. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  229. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  230. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  231. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  232. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
  233. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  234. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  235. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  236. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
  237. 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 +14 -3
  238. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  239. 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 +11 -6
  240. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  241. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  242. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  243. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  244. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  245. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  246. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  247. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  248. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
  249. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  250. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  251. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  252. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  253. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  254. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
  255. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  256. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  257. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
  258. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
  259. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
  260. package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
  261. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  262. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  263. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  264. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  265. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  266. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  267. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
  268. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
  269. package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
  270. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
  271. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
  272. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
  273. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  274. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  275. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  276. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  277. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  278. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  279. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  280. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  281. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  282. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  283. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  284. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  285. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  286. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  287. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  288. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  289. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  290. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  291. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  292. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  293. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  294. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  295. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  296. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  297. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  298. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  299. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  300. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  301. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  302. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  303. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  304. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  305. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  306. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  307. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  308. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  309. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  310. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  311. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  312. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  313. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  314. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  315. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  316. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  317. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  318. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  319. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  320. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  321. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  322. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  323. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  324. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  325. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  326. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  327. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  328. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  329. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  330. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  331. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  332. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  333. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  334. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  335. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  336. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  337. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  338. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  339. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  340. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  341. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  342. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  343. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  344. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  345. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  346. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  347. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  348. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  349. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  350. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  351. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  352. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  353. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  354. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  355. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  356. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  357. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  358. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  359. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  360. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  361. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  362. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  363. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  364. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  365. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  366. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  367. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  368. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  369. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  370. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  371. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  372. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  373. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  374. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  375. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  376. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  377. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  378. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  379. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  380. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  381. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  382. package/dist/esm/genesys-webcomponents.js +3 -3
  383. package/dist/esm/{get-valid-timezone-BwWDgKs2.js → get-valid-timezone-CowQd6Uw.js} +1 -1
  384. package/dist/esm/gux-accordion-section.entry.js +6 -6
  385. package/dist/esm/gux-accordion.entry.js +3 -3
  386. package/dist/esm/gux-action-button.entry.js +5 -5
  387. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  388. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +2 -2
  389. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  390. package/dist/esm/gux-ai-powered-badge-beta.entry.js +28 -0
  391. package/dist/esm/gux-all-row-select.entry.js +3 -3
  392. package/dist/esm/gux-announce-beta.entry.js +3 -3
  393. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  394. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  395. package/dist/esm/gux-avatar-focusable-beta.entry.js +2 -2
  396. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +9 -9
  397. package/dist/esm/gux-avatar-group-beta.entry.js +3 -3
  398. package/dist/esm/gux-avatar-group-item-beta.entry.js +4 -4
  399. package/dist/esm/gux-badge.entry.js +5 -5
  400. package/dist/esm/gux-blank-state-beta.entry.js +5 -5
  401. package/dist/esm/gux-blank-state.entry.js +4 -4
  402. package/dist/esm/gux-branch-multi.entry.js +5 -5
  403. package/dist/esm/gux-branch.entry.js +4 -4
  404. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  405. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  406. package/dist/esm/gux-button-multi.entry.js +4 -4
  407. package/dist/esm/gux-button-slot.entry.js +3 -3
  408. package/dist/esm/gux-button_2.entry.js +7 -7
  409. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  410. package/dist/esm/gux-calendar.entry.js +4 -4
  411. package/dist/esm/gux-card.entry.js +4 -4
  412. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  413. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  414. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  415. package/dist/esm/gux-column-manager.entry.js +4 -4
  416. package/dist/esm/gux-content-search.entry.js +5 -5
  417. package/dist/esm/gux-context-menu.entry.js +6 -6
  418. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  419. package/dist/esm/gux-create-option.entry.js +4 -4
  420. package/dist/esm/gux-cta-group.entry.js +2 -2
  421. package/dist/esm/gux-date-beta.entry.js +5 -5
  422. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  423. package/dist/esm/gux-datepicker.entry.js +5 -5
  424. package/dist/esm/gux-day-beta.entry.js +3 -3
  425. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  426. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  427. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  428. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  429. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  430. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  431. package/dist/esm/gux-file-list-item.entry.js +5 -5
  432. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  433. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  434. package/dist/esm/gux-form-beta.entry.js +2 -2
  435. package/dist/esm/gux-form-description.entry.js +2 -2
  436. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  437. package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
  438. package/dist/esm/gux-form-field-color.entry.js +8 -8
  439. package/dist/esm/{gux-form-field-container-CFRZ4efk.js → gux-form-field-container-ssBRes3s.js} +1 -1
  440. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  441. package/dist/esm/{gux-form-field-error-DqC53Y19.js → gux-form-field-error-CBYx0iNf.js} +1 -1
  442. package/dist/esm/{gux-form-field-fieldset-container-DgG_S0vs.js → gux-form-field-fieldset-container-ju8j27_G.js} +1 -1
  443. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  444. package/dist/esm/gux-form-field-file.entry.js +6 -6
  445. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  446. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  447. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  448. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  449. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  450. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  451. package/dist/esm/gux-form-field-range.entry.js +8 -8
  452. package/dist/esm/gux-form-field-search.entry.js +8 -8
  453. package/dist/esm/gux-form-field-select.entry.js +8 -8
  454. package/dist/esm/gux-form-field-text-like.entry.js +8 -8
  455. package/dist/esm/gux-form-field-textarea.entry.js +7 -7
  456. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  457. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  458. package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
  459. package/dist/esm/gux-form-footer.entry.js +4 -4
  460. package/dist/esm/gux-form-heading.entry.js +2 -2
  461. package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
  462. package/dist/esm/gux-icon.entry.js +3 -3
  463. package/dist/esm/gux-illustration-beta.entry.js +4 -4
  464. package/dist/esm/gux-inline-alert.entry.js +5 -5
  465. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  466. package/dist/esm/gux-label-info-beta.entry.js +3 -3
  467. package/dist/esm/gux-leaf-multi.entry.js +4 -4
  468. package/dist/esm/gux-leaf.entry.js +4 -4
  469. package/dist/esm/gux-link-beta.entry.js +3 -3
  470. package/dist/esm/gux-list-divider.entry.js +2 -2
  471. package/dist/esm/gux-list-item.entry.js +2 -2
  472. package/dist/esm/gux-list.entry.js +3 -3
  473. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  474. package/dist/esm/gux-loading-message.entry.js +3 -3
  475. package/dist/esm/gux-logo-beta.entry.js +6 -6
  476. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  477. package/dist/esm/gux-menu-option.entry.js +2 -2
  478. package/dist/esm/gux-menu.entry.js +2 -2
  479. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  480. package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
  481. package/dist/esm/gux-modal.entry.js +3 -3
  482. package/dist/esm/gux-month-calendar.entry.js +3 -3
  483. package/dist/esm/gux-month-list_2.entry.js +3 -3
  484. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  485. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  486. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  487. package/dist/esm/gux-option-icon.entry.js +3 -3
  488. package/dist/esm/gux-option-multi.entry.js +4 -4
  489. package/dist/esm/gux-option-status-beta.entry.js +3 -3
  490. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  491. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  492. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  493. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  494. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  495. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  496. package/dist/esm/gux-pagination.entry.js +3 -3
  497. package/dist/esm/gux-phone-input-beta.entry.js +5 -5
  498. package/dist/esm/gux-popover-beta.entry.js +5 -5
  499. package/dist/esm/gux-popover-list-beta.entry.js +5 -5
  500. package/dist/esm/gux-popover-list.entry.js +5 -5
  501. package/dist/esm/gux-popup.entry.js +4 -4
  502. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  503. package/dist/esm/gux-radial-loading.entry.js +4 -4
  504. package/dist/esm/gux-radial-progress.entry.js +2 -2
  505. package/dist/esm/gux-rating.entry.js +5 -5
  506. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  507. package/dist/esm/gux-rich-style-list-item_3.entry.js +9 -9
  508. package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
  509. package/dist/esm/gux-rich-text-editor-action-link.entry.js +18 -7
  510. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  511. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +15 -10
  512. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  513. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  514. package/dist/esm/gux-rich-text-editor-list.entry.js +3 -3
  515. package/dist/esm/gux-row-select.entry.js +4 -4
  516. package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
  517. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  518. package/dist/esm/gux-segmented-control-divider.entry.js +2 -2
  519. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  520. package/dist/esm/gux-select-all.entry.js +4 -4
  521. package/dist/esm/gux-selector-card-beta.entry.js +4 -4
  522. package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
  523. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  524. package/dist/esm/gux-side-panel-header.entry.js +3 -3
  525. package/dist/esm/gux-side-panel-heading.entry.js +3 -3
  526. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  527. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  528. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  529. package/dist/esm/gux-sort-control.entry.js +5 -5
  530. package/dist/esm/gux-status-indicator-beta.entry.js +3 -3
  531. package/dist/esm/gux-step-title.entry.js +3 -3
  532. package/dist/esm/gux-step.entry.js +5 -5
  533. package/dist/esm/gux-stepper-beta.entry.js +4 -4
  534. package/dist/esm/gux-submenu.entry.js +4 -4
  535. package/dist/esm/gux-switch-item.entry.js +2 -2
  536. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  537. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  538. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  539. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  540. package/dist/esm/gux-tab-list.entry.js +5 -5
  541. package/dist/esm/gux-tab-panel.entry.js +2 -2
  542. package/dist/esm/gux-tab.entry.js +3 -3
  543. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  544. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  545. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  546. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  547. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  548. package/dist/esm/gux-table.entry.js +4 -4
  549. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  550. package/dist/esm/gux-tabs.entry.js +3 -3
  551. package/dist/esm/gux-tag.entry.js +5 -5
  552. package/dist/esm/gux-text-highlight.entry.js +2 -2
  553. package/dist/esm/gux-time-beta.entry.js +5 -5
  554. package/dist/esm/gux-time-picker.entry.js +5 -5
  555. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  556. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  557. package/dist/esm/gux-toast.entry.js +4 -4
  558. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  559. package/dist/esm/gux-toggle.entry.js +5 -5
  560. package/dist/esm/gux-tooltip-base-beta_2.entry.js +5 -5
  561. package/dist/esm/gux-tooltip-pointer-beta.entry.js +3 -3
  562. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  563. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  564. package/dist/esm/gux-tree-beta.entry.js +5 -5
  565. package/dist/esm/gux-tree-multi-beta.entry.js +5 -5
  566. package/dist/esm/{gux-tree-multi.service-CEhOBcZd.js → gux-tree-multi.service-6vJQ4JfT.js} +1 -1
  567. package/dist/esm/{gux-tree.service-DG8xt8RZ.js → gux-tree.service-BPkFNh2k.js} +1 -1
  568. package/dist/esm/index-BUKZ7XoP.js +2735 -0
  569. package/dist/esm/{index-CeE4Vvh6.js → index-Crommh2p.js} +1 -1
  570. package/dist/esm/loader.js +3 -3
  571. package/dist/esm/{on-click-outside-BDKZueG1.js → on-click-outside-HE0dvmlI.js} +1 -1
  572. package/dist/esm/{on-mutation-BAeUmzgF.js → on-mutation-Df0gmCL3.js} +1 -1
  573. package/dist/esm/{on-resize-ByRtFU8p.js → on-resize-_BfFLJCh.js} +1 -1
  574. package/dist/esm/{usage-fYICKdK-.js → usage-DSShCAX7.js} +1 -1
  575. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  576. package/dist/genesys-webcomponents/genesys-webcomponents.css +8 -4
  577. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  578. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
  579. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  580. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  581. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
  582. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  583. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  584. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  585. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
  586. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
  587. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
  588. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -1
  589. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.hi.json +1 -1
  590. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  591. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
  592. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
  593. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
  594. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  595. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
  596. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  597. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
  598. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
  599. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
  600. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
  601. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
  602. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.uk.json +1 -1
  603. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
  604. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
  605. package/dist/genesys-webcomponents/{p-4765d12c.entry.js → p-0050a5a7.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-5395c66c.entry.js → p-007f9163.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/p-00906f27.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-e46dcb89.entry.js → p-016b44a5.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-54e0bad0.entry.js → p-01ae7ed6.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/p-04a73dc2.entry.js +1 -0
  611. package/dist/genesys-webcomponents/{p-cddea0d9.entry.js → p-06cb1eb7.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-58331825.entry.js → p-08b9337d.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/p-08e4bf42.entry.js +1 -0
  614. package/dist/genesys-webcomponents/{p-69782192.entry.js → p-096a4229.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-3fb4c8fe.entry.js → p-0a47bdb0.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-34221fce.entry.js → p-0c72a133.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/p-0ff1c81a.entry.js +1 -0
  618. package/dist/genesys-webcomponents/{p-f86bf22f.entry.js → p-11db8ada.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-bbfc6bac.entry.js → p-12c4b394.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-b1ae37c3.entry.js → p-12d0367e.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-8db9fff1.entry.js → p-152347d7.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-079fa243.entry.js → p-171d4c15.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-e46783bd.entry.js → p-1b00e2a2.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/{p-489908d2.entry.js → p-1b0b7167.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/p-1bf113c6.entry.js +1 -0
  626. package/dist/genesys-webcomponents/{p-2b3db5e8.entry.js → p-1c0ae4fd.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/p-1ded8f81.entry.js +1 -0
  628. package/dist/genesys-webcomponents/{p-64223103.entry.js → p-1e4bc89a.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-dfeb59b0.entry.js → p-25ce824d.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-25e4da6a.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-43211446.entry.js → p-260ed0e2.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-06f49a16.entry.js → p-2728198a.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-b66f25d0.entry.js → p-29bfe1eb.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/p-2a4779f1.entry.js +1 -0
  635. package/dist/genesys-webcomponents/{p-f3d590fe.entry.js → p-2b467821.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/{p-9c37d826.entry.js → p-2bae6026.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/p-2bfc9bb2.entry.js +1 -0
  638. package/dist/genesys-webcomponents/p-2f0ff2cd.entry.js +1 -0
  639. package/dist/genesys-webcomponents/p-30322caf.entry.js +1 -0
  640. package/dist/genesys-webcomponents/{p-d30f498b.entry.js → p-346134e6.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-c81d95d9.entry.js → p-361cc8c1.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/p-375e238b.entry.js +1 -0
  643. package/dist/genesys-webcomponents/{p-512e6139.entry.js → p-37f5e7ad.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-430c2699.entry.js → p-3c9e2d5b.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-4c981707.entry.js → p-3f7b37fd.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-19cf749b.entry.js → p-3fccdecf.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-c3a4ce24.entry.js → p-43c4b9e8.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-47a44692.entry.js +1 -0
  649. package/dist/genesys-webcomponents/p-4ad90548.entry.js +1 -0
  650. package/dist/genesys-webcomponents/{p-5ddddad2.entry.js → p-4b37546a.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-aeeb52d8.entry.js → p-4cfeb5bb.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/p-4d534bae.entry.js +1 -0
  653. package/dist/genesys-webcomponents/{p-f94fcba7.entry.js → p-4db613cd.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-2c10da00.entry.js → p-4dbea3f5.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/p-4ed166b7.entry.js +1 -0
  656. package/dist/genesys-webcomponents/p-507a93b0.entry.js +1 -0
  657. package/dist/genesys-webcomponents/p-50c4b120.entry.js +1 -0
  658. package/dist/genesys-webcomponents/p-532966ab.entry.js +1 -0
  659. package/dist/genesys-webcomponents/p-54d5151d.entry.js +1 -0
  660. package/dist/genesys-webcomponents/{p-cd9f52c5.entry.js → p-550cd267.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-25828bc3.entry.js → p-5514f3bb.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-ef7d38af.entry.js → p-589a7dbc.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/{p-c1da01d1.entry.js → p-59a0f650.entry.js} +1 -1
  664. package/dist/genesys-webcomponents/{p-a3fc0574.entry.js → p-5a1329cb.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-64433351.entry.js → p-5b002c65.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/p-5b63bdab.entry.js +1 -0
  667. package/dist/genesys-webcomponents/{p-8c4c9352.entry.js → p-5cd5f75f.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/{p-cc2151a6.entry.js → p-5d66c0d3.entry.js} +1 -1
  669. package/dist/genesys-webcomponents/{p-28bd3713.entry.js → p-5db521f6.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-0a244d5c.entry.js → p-5e4112d9.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/{p-4860e9f0.entry.js → p-5ef5b2fe.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-ccad7dd8.entry.js → p-605d5ce5.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/{p-aa3be7c9.entry.js → p-62ba64da.entry.js} +1 -1
  674. package/dist/genesys-webcomponents/p-66217506.entry.js +1 -0
  675. package/dist/genesys-webcomponents/{p-380a38f4.entry.js → p-66916445.entry.js} +1 -1
  676. package/dist/genesys-webcomponents/p-6699b5d1.entry.js +1 -0
  677. package/dist/genesys-webcomponents/{p-6cce48ec.entry.js → p-675733f4.entry.js} +1 -1
  678. package/dist/genesys-webcomponents/{p-ccf3a108.entry.js → p-681323c2.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-c7597925.entry.js → p-6a1dd2f5.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/{p-d5f706c6.entry.js → p-6b7457e7.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-8ee9e129.entry.js → p-6dcc703d.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-a0c996b4.entry.js → p-717b3a3c.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-15dbbd86.entry.js → p-71f9ef52.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-409972d8.entry.js → p-74316417.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/p-74646be0.entry.js +1 -0
  686. package/dist/genesys-webcomponents/{p-1fb4e0e4.entry.js → p-77f51617.entry.js} +1 -1
  687. package/dist/genesys-webcomponents/{p-5748f4d9.entry.js → p-7cd63047.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-f21c084b.entry.js → p-7e7037b7.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-d50398b3.entry.js → p-84759c99.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/{p-0939f0ea.entry.js → p-8476eda9.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/p-84c7fd90.entry.js +1 -0
  692. package/dist/genesys-webcomponents/{p-4c15c427.entry.js → p-8d81ebaa.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/{p-6a4b8561.entry.js → p-8dcca744.entry.js} +1 -1
  694. package/dist/genesys-webcomponents/{p-5209d423.entry.js → p-8fc4b3e9.entry.js} +1 -1
  695. package/dist/genesys-webcomponents/{p-7331b5a5.entry.js → p-90e0ac69.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/{p-e2f90793.entry.js → p-9102b84e.entry.js} +1 -1
  697. package/dist/genesys-webcomponents/{p-8d4e88b1.entry.js → p-9326d484.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-37850953.entry.js → p-938de011.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/{p-f43d64bb.entry.js → p-93d3e08a.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/p-993f96e7.entry.js +1 -0
  701. package/dist/genesys-webcomponents/{p-af18431c.entry.js → p-9b748383.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-3b8912db.entry.js → p-9d3db19b.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/{p-aa82c3d4.entry.js → p-9d42a356.entry.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-d8c9428e.entry.js → p-9db910fb.entry.js} +1 -1
  705. package/dist/genesys-webcomponents/{p-72009d30.entry.js → p-9dc93703.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/{p-6e669e96.entry.js → p-9def6ecb.entry.js} +1 -1
  707. package/dist/genesys-webcomponents/{p-0tG-lFhH.js → p-B3BXf8p2.js} +1 -1
  708. package/dist/genesys-webcomponents/p-BUKZ7XoP.js +2 -0
  709. package/dist/genesys-webcomponents/{p-D_8CR3cJ.js → p-BsCEssAK.js} +1 -1
  710. package/dist/genesys-webcomponents/{p-CuMZPTZF.js → p-CCPl6DXo.js} +1 -1
  711. package/dist/genesys-webcomponents/{p-Bxg2lxW0.js → p-CvW3E0ak.js} +1 -1
  712. package/dist/genesys-webcomponents/{p-D7iHtfrY.js → p-D-pdKQoV.js} +1 -1
  713. package/dist/genesys-webcomponents/{p-BkM3RdTO.js → p-DJK3spiK.js} +1 -1
  714. package/dist/genesys-webcomponents/{p-CoPBSWau.js → p-DK_PVEcU.js} +1 -1
  715. package/dist/genesys-webcomponents/{p-fYICKdK-.js → p-DSShCAX7.js} +1 -1
  716. package/dist/genesys-webcomponents/{p-DR1RHELj.js → p-DxhhRbwd.js} +1 -1
  717. package/dist/genesys-webcomponents/p-XgpmIrdX.js +1 -0
  718. package/dist/genesys-webcomponents/p-a2671026.entry.js +1 -0
  719. package/dist/genesys-webcomponents/{p-2906e5e2.entry.js → p-a3321d2c.entry.js} +1 -1
  720. package/dist/genesys-webcomponents/{p-1201058a.entry.js → p-a6c7cb6f.entry.js} +1 -1
  721. package/dist/genesys-webcomponents/{p-ef65f7a3.entry.js → p-a783a152.entry.js} +1 -1
  722. package/dist/genesys-webcomponents/p-aad14a57.entry.js +1 -0
  723. package/dist/genesys-webcomponents/{p-6eaf5d30.entry.js → p-abe83fa3.entry.js} +1 -1
  724. package/dist/genesys-webcomponents/{p-c90134ca.entry.js → p-ad569c57.entry.js} +1 -1
  725. package/dist/genesys-webcomponents/p-adf9c628.entry.js +1 -0
  726. package/dist/genesys-webcomponents/{p-4248d73b.entry.js → p-ae50069f.entry.js} +1 -1
  727. package/dist/genesys-webcomponents/{p-1c07443f.entry.js → p-afb28a6d.entry.js} +1 -1
  728. package/dist/genesys-webcomponents/{p-8f188769.entry.js → p-b4f2255a.entry.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-ea56f311.entry.js → p-b56be77f.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-d12c344e.entry.js → p-b5dc370d.entry.js} +1 -1
  731. package/dist/genesys-webcomponents/{p-04839ed3.entry.js → p-b731f12f.entry.js} +1 -1
  732. package/dist/genesys-webcomponents/{p-ece15381.entry.js → p-b8070383.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/p-bb2dd8ce.entry.js +1 -0
  734. package/dist/genesys-webcomponents/p-bbf6e6a9.entry.js +1 -0
  735. package/dist/genesys-webcomponents/{p-974ecd3d.entry.js → p-bc8f2532.entry.js} +1 -1
  736. package/dist/genesys-webcomponents/{p-1bdf0283.entry.js → p-bd85b66f.entry.js} +1 -1
  737. package/dist/genesys-webcomponents/{p-73f04670.entry.js → p-be5ffce5.entry.js} +1 -1
  738. package/dist/genesys-webcomponents/{p-b90cb5d9.entry.js → p-bf50620c.entry.js} +1 -1
  739. package/dist/genesys-webcomponents/{p-c5c01560.entry.js → p-bfdbbf39.entry.js} +1 -1
  740. package/dist/genesys-webcomponents/{p-383cdebd.entry.js → p-c0a918f7.entry.js} +1 -1
  741. package/dist/genesys-webcomponents/{p-36ce3627.entry.js → p-c629394a.entry.js} +1 -1
  742. package/dist/genesys-webcomponents/p-c78283af.entry.js +1 -0
  743. package/dist/genesys-webcomponents/{p-f341264a.entry.js → p-c78b317b.entry.js} +1 -1
  744. package/dist/genesys-webcomponents/{p-a850fce2.entry.js → p-c818f3e1.entry.js} +1 -1
  745. package/dist/genesys-webcomponents/p-c9efb1fd.entry.js +1 -0
  746. package/dist/genesys-webcomponents/p-cb418dff.entry.js +1 -0
  747. package/dist/genesys-webcomponents/p-cb75cf1d.entry.js +1 -0
  748. package/dist/genesys-webcomponents/p-cbbb93a7.entry.js +1 -0
  749. package/dist/genesys-webcomponents/{p-fd3d9bd9.entry.js → p-cc28ffd3.entry.js} +1 -1
  750. package/dist/genesys-webcomponents/{p-799c724d.entry.js → p-cccd2aa2.entry.js} +1 -1
  751. package/dist/genesys-webcomponents/{p-b54fe578.entry.js → p-cce57dff.entry.js} +1 -1
  752. package/dist/genesys-webcomponents/{p-3d2825e3.entry.js → p-cd4f53df.entry.js} +1 -1
  753. package/dist/genesys-webcomponents/{p-1fe9b55f.entry.js → p-ce964e3e.entry.js} +1 -1
  754. package/dist/genesys-webcomponents/p-d10b2752.entry.js +1 -0
  755. package/dist/genesys-webcomponents/{p-cec4f999.entry.js → p-d2860753.entry.js} +1 -1
  756. package/dist/genesys-webcomponents/{p-12bfbfee.entry.js → p-d3fe6336.entry.js} +1 -1
  757. package/dist/genesys-webcomponents/p-d4210d70.entry.js +1 -0
  758. package/dist/genesys-webcomponents/{p-09d491c7.entry.js → p-d4cdd303.entry.js} +1 -1
  759. package/dist/genesys-webcomponents/{p-54812dcf.entry.js → p-d522fb98.entry.js} +1 -1
  760. package/dist/genesys-webcomponents/{p-6189dea0.entry.js → p-db03e8e7.entry.js} +1 -1
  761. package/dist/genesys-webcomponents/{p-209b799f.entry.js → p-dc0f82eb.entry.js} +1 -1
  762. package/dist/genesys-webcomponents/{p-42ccbda4.entry.js → p-e01c5a4c.entry.js} +1 -1
  763. package/dist/genesys-webcomponents/{p-93fd3851.entry.js → p-e059c6b6.entry.js} +1 -1
  764. package/dist/genesys-webcomponents/{p-b488d6c1.entry.js → p-e0610abb.entry.js} +1 -1
  765. package/dist/genesys-webcomponents/{p-9df2a429.entry.js → p-e101de8f.entry.js} +1 -1
  766. package/dist/genesys-webcomponents/{p-271e9874.entry.js → p-e1300a48.entry.js} +1 -1
  767. package/dist/genesys-webcomponents/{p-cc15060b.entry.js → p-e14607f4.entry.js} +1 -1
  768. package/dist/genesys-webcomponents/{p-79a57326.entry.js → p-e36786d0.entry.js} +1 -1
  769. package/dist/genesys-webcomponents/{p-df5b0595.entry.js → p-e3b5b964.entry.js} +1 -1
  770. package/dist/genesys-webcomponents/{p-3655cb14.entry.js → p-e50ac71d.entry.js} +1 -1
  771. package/dist/genesys-webcomponents/p-e5d803e4.entry.js +1 -0
  772. package/dist/genesys-webcomponents/{p-a1945300.entry.js → p-e6815ca3.entry.js} +1 -1
  773. package/dist/genesys-webcomponents/p-e821f753.entry.js +1 -0
  774. package/dist/genesys-webcomponents/{p-180e8d54.entry.js → p-e90382ed.entry.js} +1 -1
  775. package/dist/genesys-webcomponents/{p-02578d05.entry.js → p-ebf35992.entry.js} +1 -1
  776. package/dist/genesys-webcomponents/p-ee18c9f4.entry.js +1 -0
  777. package/dist/genesys-webcomponents/{p-6c64670e.entry.js → p-ef3e93c2.entry.js} +1 -1
  778. package/dist/genesys-webcomponents/{p-1630a250.entry.js → p-f030b381.entry.js} +1 -1
  779. package/dist/genesys-webcomponents/{p-2305abee.entry.js → p-f0a30f02.entry.js} +1 -1
  780. package/dist/genesys-webcomponents/p-f0a56dd9.entry.js +1 -0
  781. package/dist/genesys-webcomponents/{p-beedf668.entry.js → p-f10e1be9.entry.js} +1 -1
  782. package/dist/genesys-webcomponents/{p-b0155d71.entry.js → p-f1db47c8.entry.js} +1 -1
  783. package/dist/genesys-webcomponents/{p-54be6d50.entry.js → p-f30ff389.entry.js} +1 -1
  784. package/dist/genesys-webcomponents/{p-61825e54.entry.js → p-f4d37b8a.entry.js} +1 -1
  785. package/dist/genesys-webcomponents/{p-9ded3e60.entry.js → p-f4da8762.entry.js} +1 -1
  786. package/dist/genesys-webcomponents/{p-9df7c6b3.entry.js → p-f63de3b1.entry.js} +1 -1
  787. package/dist/genesys-webcomponents/{p-698841a8.entry.js → p-f730e765.entry.js} +1 -1
  788. package/dist/genesys-webcomponents/{p-af551b5d.entry.js → p-f924876f.entry.js} +1 -1
  789. package/dist/genesys-webcomponents/{p-4227dd38.entry.js → p-f9b9059c.entry.js} +1 -1
  790. package/dist/genesys-webcomponents/{p-b83cb21a.entry.js → p-f9bfa393.entry.js} +2 -2
  791. package/dist/genesys-webcomponents/{p-cb5179b8.entry.js → p-fa385728.entry.js} +1 -1
  792. package/dist/genesys-webcomponents/{p-ccf96dcd.entry.js → p-fde42d42.entry.js} +1 -1
  793. package/dist/genesys-webcomponents/p-fe31f8f8.entry.js +1 -0
  794. package/dist/genesys-webcomponents/{p-1f7a5b63.entry.js → p-ffa95cc9.entry.js} +1 -1
  795. package/dist/genesys-webcomponents/{p-KbW44rlb.js → p-vFiLFzBd.js} +1 -1
  796. package/dist/stencil-wrapper.js +1 -1
  797. package/dist/types/components/beta/gux-ai-powered-badge/gux-ai-powered-badge.d.ts +7 -0
  798. package/dist/types/components/beta/gux-ai-powered-badge/tests/gux-ai-powered-badge.common.d.ts +4 -0
  799. package/dist/types/components.d.ts +13 -0
  800. package/dist/types/stencil-wrapper.d.ts +1 -1
  801. package/package.json +1 -1
  802. package/dist/cjs/index-DJ9HGtdZ.js +0 -2763
  803. package/dist/esm/index-mm833MRp.js +0 -2731
  804. package/dist/genesys-webcomponents/p-01ebd158.entry.js +0 -1
  805. package/dist/genesys-webcomponents/p-0919f815.entry.js +0 -1
  806. package/dist/genesys-webcomponents/p-0f22a37e.entry.js +0 -1
  807. package/dist/genesys-webcomponents/p-0ff2e33a.entry.js +0 -1
  808. package/dist/genesys-webcomponents/p-113c6775.entry.js +0 -1
  809. package/dist/genesys-webcomponents/p-146f2843.entry.js +0 -1
  810. package/dist/genesys-webcomponents/p-15b6d4c6.entry.js +0 -1
  811. package/dist/genesys-webcomponents/p-1b7fdf11.entry.js +0 -1
  812. package/dist/genesys-webcomponents/p-1mmdDpx8.js +0 -1
  813. package/dist/genesys-webcomponents/p-215251b3.entry.js +0 -1
  814. package/dist/genesys-webcomponents/p-251d91f6.entry.js +0 -1
  815. package/dist/genesys-webcomponents/p-28983ee7.entry.js +0 -1
  816. package/dist/genesys-webcomponents/p-28a5fa4a.entry.js +0 -1
  817. package/dist/genesys-webcomponents/p-31185235.entry.js +0 -1
  818. package/dist/genesys-webcomponents/p-384e1219.entry.js +0 -1
  819. package/dist/genesys-webcomponents/p-3a6c9960.entry.js +0 -1
  820. package/dist/genesys-webcomponents/p-3fb19370.entry.js +0 -1
  821. package/dist/genesys-webcomponents/p-3ffcd4ad.entry.js +0 -1
  822. package/dist/genesys-webcomponents/p-48857bd6.entry.js +0 -1
  823. package/dist/genesys-webcomponents/p-50ee96fc.entry.js +0 -1
  824. package/dist/genesys-webcomponents/p-60ab0bb6.entry.js +0 -1
  825. package/dist/genesys-webcomponents/p-64de5f88.entry.js +0 -1
  826. package/dist/genesys-webcomponents/p-653a4d77.entry.js +0 -1
  827. package/dist/genesys-webcomponents/p-6676a92c.entry.js +0 -1
  828. package/dist/genesys-webcomponents/p-6a20dac8.entry.js +0 -1
  829. package/dist/genesys-webcomponents/p-6c137ed0.entry.js +0 -1
  830. package/dist/genesys-webcomponents/p-6eef4ae5.entry.js +0 -1
  831. package/dist/genesys-webcomponents/p-8ee3a8dd.entry.js +0 -1
  832. package/dist/genesys-webcomponents/p-99d76977.entry.js +0 -1
  833. package/dist/genesys-webcomponents/p-a2879f5f.entry.js +0 -1
  834. package/dist/genesys-webcomponents/p-a3881e01.entry.js +0 -1
  835. package/dist/genesys-webcomponents/p-ba549e50.entry.js +0 -1
  836. package/dist/genesys-webcomponents/p-d5ac26ad.entry.js +0 -1
  837. package/dist/genesys-webcomponents/p-d7de3674.entry.js +0 -1
  838. package/dist/genesys-webcomponents/p-e30a6893.entry.js +0 -1
  839. package/dist/genesys-webcomponents/p-e5bcb408.entry.js +0 -1
  840. package/dist/genesys-webcomponents/p-e63fa1c4.entry.js +0 -1
  841. package/dist/genesys-webcomponents/p-e9ec8561.entry.js +0 -1
  842. package/dist/genesys-webcomponents/p-f058a04f.entry.js +0 -1
  843. package/dist/genesys-webcomponents/p-f8b95f9a.entry.js +0 -1
  844. package/dist/genesys-webcomponents/p-fa2326ed.entry.js +0 -1
  845. package/dist/genesys-webcomponents/p-fb48386c.entry.js +0 -1
  846. package/dist/genesys-webcomponents/p-fbd7984f.entry.js +0 -1
  847. package/dist/genesys-webcomponents/p-mm833MRp.js +0 -2
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as r}from"./p-fYICKdK-.js";import{g as s,s as o,v as a}from"./p-DHLxhscH.js";import{c as d,o as l}from"./p-Cb3FOYGS.js";import{p as c}from"./p-PYfNAK8p.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";import"./p-qzV3vtOw.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=s(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),c(this.input),o(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=l(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("gux-screen-reader-beta",null,t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"628b290b36f27f11a5851adcdf7dcfcdcd76e246",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"3f95ed9d103d8cf7766fd441d476c3c3f86a2f2c",class:"gux-content"},t("div",{key:"d6cb7b6937cccca4456bf94c1c2fcb92b08a7924",class:"gux-icon"},t("slot",{key:"c2a2a0f7f8f6680694582f7fd61157d5d8d6be70",name:"icon"})),t("div",{key:"2a87beb05bbb012f0f3e932dc1d75b2088af8c44",class:"gux-label-container"},t("slot",{key:"3fb1ef09c29d2b94119fc13ed584bed880059bc3",name:"label"})),t("slot",{key:"09436179cc660457f5b9d5bfbc43469a887cb7a3",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight)}:host([variant=descriptive]){min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight)}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 1 auto;inline-size:inherit}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:inherit;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}";export{n as gux_selector_card_beta}
1
+ import{r as e,h as t,a as i}from"./p-BUKZ7XoP.js";import{t as r}from"./p-DSShCAX7.js";import{g as s,s as o,v as a}from"./p-DHLxhscH.js";import{c as d,o as l}from"./p-Cb3FOYGS.js";import{p as c}from"./p-PYfNAK8p.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";import"./p-qzV3vtOw.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=s(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),c(this.input),o(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=l(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("gux-screen-reader-beta",null,t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"98927cdbc513b4c18115fcd3a3bd2f3f71ed5e5e",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"4181789425b6a56f9952179685c27598b3491e49",class:"gux-content"},t("div",{key:"f55e71e0f941867722104cbb444a96bfdfcb77c4",class:"gux-icon"},t("slot",{key:"6645bf65e949550a113353d9f4620287119725c2",name:"icon"})),t("div",{key:"6a5cbc47e253d34cc4d0b8c8475a3170f4135be0",class:"gux-label-container"},t("slot",{key:"fa8c673278c198346f2f78cd4fb77f7e7ed1bc32",name:"label"})),t("slot",{key:"4f09ac0138dfbb346ee7712103fa53666d989e33",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight)}:host([variant=descriptive]){min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight)}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 1 auto;inline-size:inherit}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:inherit;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}";export{n as gux_selector_card_beta}
@@ -1 +1 @@
1
- import{r as t,c as o,h as a,a as s}from"./p-mm833MRp.js";import{t as i}from"./p-fYICKdK-.js";import{h as e}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"61eba4695f91b811a83ae809c8e4b1083b1602b0",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"e90cacbd6295240eb2abdadd72e8d7966eccceba",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"3b0f290ec66a1d68724ad0109695b6f357460450",class:"gux-content"},a("div",{key:"89e3890b411f89c50a8fe3a416492b4225b1acf4",class:"gux-message"},a("gux-truncate",{key:"dd184fc1e87ed9b813c28e8d8706ba09297f35bc",class:"gux-message-title","max-lines":1},a("slot",{key:"d06d672a1c384ce76acb2810c1d14d5df2099b12",name:"title"})),a("gux-truncate",{key:"740a5673b80c3aa363a3d38756aa080a32a78a97",class:"gux-message-body","max-lines":2},a("slot",{key:"0f33c259937a350a6e52614735499d2902ebd5f4",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"be72fa20f4b1dc6d374a8d89db5c7272bd3a92ca",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
1
+ import{r as t,c as o,h as a,a as s}from"./p-BUKZ7XoP.js";import{t as i}from"./p-DSShCAX7.js";import{h as e}from"./p-qzV3vtOw.js";import{l as r}from"./p-DxtJDeL9.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){i(this.root,{variant:this.toastType}),this.hasPrimaryButton=e(this.root,"primary-button"),this.hasSecondaryButton=e(this.root,"secondary-button"),this.hasLink=e(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}r(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"f564f0f8f4c7f4fb88f4a145e0407b2701e5d6ae",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"b9c140b103769ac0378c2652fa03604e834070d9",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"198a602c5147f2c26c27a410316c5bc54229e7a5",class:"gux-content"},a("div",{key:"23a99a4dbad3f98d76ebdbfe16043f964f858d58",class:"gux-message"},a("gux-truncate",{key:"cd5cb298b9735e1192d3ff21a4d4add4445cc675",class:"gux-message-title","max-lines":1},a("slot",{key:"b26dc2b0815d4705c19cb72f8771703d107fa63d",name:"title"})),a("gux-truncate",{key:"7feaa526af57db13ee4448db2e07589c35ed10e0",class:"gux-message-body","max-lines":2},a("slot",{key:"d1b8baf1c92a820a97854c8fce2e016294bd8bd1",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"b2ede7dac2f3b872ab877faeaf080c7bdee7e238",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight);overflow-wrap:anywhere}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{display:grid;grid-template-rows:1fr;grid-template-columns:var(--gse-ui-icon-medium-size) 1fr var(--gse-ui-button-dismiss-medium-width);background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-content{grid-row:1/2;grid-column:2/4}.gux-toast.gux-toast-action .gux-icon{grid-row:1/2;grid-column:1/2}.gux-toast.gux-toast-action gux-dismiss-button{grid-row:1/2;grid-column:3/4}.gux-toast.gux-toast-action .gux-message{inline-size:var(--gse-ui-toast-messageWidth);color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
@@ -1,7 +1,7 @@
1
- import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-mm833MRp.js";import{O as a}from"./p-1mmdDpx8.js";import{e as s}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D_8CR3cJ.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
1
+ import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-BUKZ7XoP.js";import{O as s}from"./p-XgpmIrdX.js";import{e as a}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-BsCEssAK.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
2
2
  /**!
3
3
  * Sortable 1.15.6
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(j," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();a-=d.top+parseInt(D(o,"border-top-width")),s-=d.left+parseInt(D(o,"border-left-width")),u=a+r.height,l=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(a/=b)+(c/=b),l=(s/=v)+(h/=v))}return{top:a,left:s,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=G(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Wt.ghost&&(e||a[r]!==Wt.dragged)&&I(a[r],n.draggable,t,!1)){if(o===i)return a[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function G(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function K(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function U(t,i){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout((function(){C=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function Y(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function q(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,a,s,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(a=e.top)&&void 0!==a?a:1/0,l.top),e.right=Math.max(null!==(s=e.right)&&void 0!==s?s:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var J="Sortable"+(new Date).getTime();var X=[],Z={initializeByDefault:!0},$={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);X.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),X.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";X.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in X.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return X.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return X.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);$.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:at,cloneEl:st,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[J]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),$.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:st,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,at,st,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],Ct=!1,jt=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),a=o&&D(o),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,a){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,a),n)(e,o,r,a);var s=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Ft&&et&&D(et,"display","none")},Gt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Kt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[J].options.emptyInsertThreshold;if(i&&!B(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?a=t:void 0}})),a);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[J]._onDragOver(n)}}var o,r,a},Ut=function(t){it&&it.parentNode[J]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[J]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in $.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var a in Ht(i),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:L(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,a=e.fromRect,s=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(s.top-=h.f,s.left-=h.e),e.toRect=s,e.thisAnimationDuration&&K(u,s)&&!K(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),K(s,a)||(e.prevFromRect=a,e.prevToRect=s,n||(n=i.options.animation),i.animate(e,c,s,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),a=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Yt(t,i,n,e,o,r,a,s){var u,l,c=t[J],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||L(i),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(l=h.call(c,u,a)),l}function qt(t){t.draggable=!1}function Jt(){Dt=!1}function Xt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function $t(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,e.draggable,n,!1))&&s.animated||at===s)){if(lt=H(s),ht=H(s,e.draggable),"function"==typeof l){if(l.call(this,t,s,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:s,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,at=n,ft=a.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(it,t.trim(),qt)})),T(s,"dragover",Kt),T(s,"mousemove",Kt),T(s,"touchmove",Kt),a.supportPointer?(T(s,"pointerup",o._onDrop),!this.nativeDraggable&&T(s,"pointercancel",o._onDrop)):(T(s,"mouseup",o._onDrop),T(s,"touchend",o._onDrop),T(s,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();a.supportPointer?(T(s,"pointerup",o._disableDelayedDrag),T(s,"pointercancel",o._disableDelayedDrag)):(T(s,"mouseup",o._disableDelayedDrag),T(s,"touchend",o._disableDelayedDrag),T(s,"touchcancel",o._disableDelayedDrag)),T(s,"mousemove",o._delayedDragTouchMoveHandler),T(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&qt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Pt();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[J]._isOutsideThisEl(t),i)do{if(i[J]&&i[J]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Gt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),a=et&&r&&r.a,s=et&&r&&r.d,u=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(a||1)+(u?u[0]-At[0]:0)/(a||1),c=(o.clientY-bt.clientY+e.y)/(s||1)+(u?u[1]-At[1]:0)/(s||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():(Q("setupClone",this),Wt.eventCanceled||((st=Y(it)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),A(st,this.options.chosenClass,!1),Wt.clone=st),n.cloneId=Zt((function(){Q("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,a=t.target,s=this.options,u=s.group,l=Wt.active,c=ft===u,h=s.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return R(!1);if(Mt=!1,l&&!s.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,a),i=L(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,s.draggable);if(!g||function(t,i,n){var e=L(B(n.el,n.options.draggable)),o=q(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(a=g),a&&(n=L(a)),!1!==Yt(ot,r,it,i,a,n,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=L(F(n.el,0,n.options,!0)),o=q(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,s,!0);if(m===it)return R(!1);if(n=L(a=m),!1!==Yt(ot,r,it,i,a,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(a.parentNode===r){n=L(a);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,a.animated&&a.toRect||n,o),S=o?"top":"left",T=N(a,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==a&&(w=n[S],Ct=!1,jt=!E&&s.invertSwap||y),p=function(t,i,n,e,o,r,a,s){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!a)if(s&&Tt<l*o){if(!Ct&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(Ct=!0),Ct)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||a)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,a,n,o,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,jt,Et===a),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===a)return R(!1);Et=a,St=p;var M=a.nextElementSibling,C=!1,j=Yt(ot,r,it,i,a,n,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),Dt=!0,setTimeout(Jt,30),z(),C&&!M?r.appendChild(it):a.parentNode.insertBefore(it,C?M:a),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||jt||(Tt=Math.abs(w-L(a)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(s,u){Q(s,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(n,e){return Yt(ot,r,it,i,n,L(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,s.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===it&&!it.animated||a===r&&!a.animated)&&(Et=null),s.dragoverBubble||t.rootEl||a===document||(it.parentNode[J]._isOutsideThisEl(t.target),!i&&Kt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,s.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Kt),O(document,"mousemove",Kt),O(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,jt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$t(this.cloneId),$t(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&st&&st.parentNode&&st.parentNode.removeChild(st),it&&(this.nativeDraggable&&O(it,"dragend",this),qt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=st=at=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Xt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=$.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[J]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Wt.eventCanceled)return;D(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(st,rt):ot.appendChild(st):ot.insertBefore(st,it),this.options.group.revertClone&&this.animate(it,st),D(st,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:U,closest:I,toggleClass:A,clone:Y,index:H,nextTick:Zt,cancelNextTick:$t,detectDirection:Bt,getChild:F,expando:J},Wt.get=function(t){return t[J]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=d(d({},Wt.utils),t.utils)),$.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Vt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function ai(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,ai(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=G(n,!0)));var h=0,d=Vt;do{var f=d,v=L(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+w<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+x<T)-(Math.abs(b-a)<=s&&!!M);if(!oi[h])for(var j=0;j<=h;j++)oi[j]||(oi[j]={});oi[h].vx==I&&oi[h].vy==C&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=C,clearInterval(oi[h].pid),0==I&&0==C||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[J],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=G(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var a=n||t.activeSortable;(0,t.hideGhostForTarget)();var s=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),si(),ai(),clearTimeout(C),C=void 0},nulling:function(){ni=Qt=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var a=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&si(),ei=setInterval((function(){var r=G(document.elementFromPoint(e,o),!0);r!==a&&(a=r,ai()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||G(r,!0)===R())return void ai();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"7ec973259546aa51e95f53bd7eaa1791ee79b7f8",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"018d7a4e7813eae9f6eb32e9a286f99b83be650d",class:"gux-scrollable-section"},o("div",{key:"ecbb1643203af1ec6a16530173c388d7ed3b1057",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"8261e89ae6476dd267efb75c376e8990c326b461"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,e);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,n,a):o(i,n))||a);r>3&&a&&Object.defineProperty(i,n,a)})([a({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
7
+ */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(j," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();s-=d.top+parseInt(D(o,"border-top-width")),a-=d.left+parseInt(D(o,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=K(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=K(e,!1)}return!1}function B(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Gt.ghost&&(e||s[r]!==Gt.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function F(t,i){for(var n=t.lastElementChild;n&&(n===Gt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function P(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Gt.clone||i&&!k(t,i)||n++;return n}function H(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function K(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function U(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function X(t,i){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout((function(){C=void 0}),i)}}}function G(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function W(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,s,a,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(s=e.top)&&void 0!==s?s:1/0,l.top),e.right=Math.max(null!==(a=e.right)&&void 0!==a?a:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var Z="Sortable"+(new Date).getTime();var q=[],$={initializeByDefault:!0},J={mount:function(t){for(var i in $)$.hasOwnProperty(i)&&!(i in t)&&(t[i]=$[i]);q.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),q.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";q.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in q.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return q.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return q.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);J.pluginEvent.bind(Gt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Gt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Ht,unhideGhostForTarget:Kt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[Z]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),J.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],Ct=!1,jt=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Bt=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=B(t,0,i),r=B(t,1,i),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":o&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Pt=function(t){function i(t,n){return function(e,o,r,s){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,s),n)(e,o,r,s);var a=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Ht=function(){!Bt&&et&&D(et,"display","none")},Kt=function(){!Bt&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Ut=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[Z].options.emptyInsertThreshold;if(i&&!F(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[Z]._onDragOver(n)}}var o,r,s},Xt=function(t){it&&it.parentNode[Z]._isOutsideThisEl(t.target)};function Gt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[Z]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ft(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Gt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in J.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Pt(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Gt.ghost){e.push({target:t,rect:L(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,s=e.fromRect,a=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(a.top-=h.f,a.left-=h.e),e.toRect=a,e.thisAnimationDuration&&U(u,a)&&!U(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),U(a,s)||(e.prevFromRect=s,e.prevToRect=a,n||(n=i.options.animation),i.animate(e,c,a,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),s=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!s,D(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Wt(t,i,n,e,o,r,s,a){var u,l,c=t[Z],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||L(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),h&&(l=h.call(c,u,s)),l}function Yt(t){t.draggable=!1}function Zt(){Dt=!1}function qt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function $t(t){return setTimeout(t,0)}function Jt(t){return clearTimeout(t)}Gt.prototype={constructor:Gt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=I(a,e.draggable,n,!1))&&a.animated||st===a)){if(lt=P(a),ht=P(a,e.draggable),"function"==typeof l){if(l.call(this,t,a,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:a,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,s=o.options,a=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,ft=s.group,Gt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Gt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Ut),T(a,"mousemove",Ut),T(a,"touchmove",Ut),s.supportPointer?(T(a,"pointerup",o._onDrop),!this.nativeDraggable&&T(a,"pointercancel",o._onDrop)):(T(a,"mouseup",o._onDrop),T(a,"touchend",o._onDrop),T(a,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Gt.eventCanceled)return void this._onDrop();s.supportPointer?(T(a,"pointerup",o._disableDelayedDrag),T(a,"pointercancel",o._disableDelayedDrag)):(T(a,"mouseup",o._disableDelayedDrag),T(a,"touchend",o._disableDelayedDrag),T(a,"touchcancel",o._disableDelayedDrag)),T(a,"mousemove",o._delayedDragTouchMoveHandler),T(a,"touchmove",o._delayedDragTouchMoveHandler),s.supportPointer&&T(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Yt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?$t((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Xt);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Gt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Ht();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[Z]._isOutsideThisEl(t),i)do{if(i[Z]&&i[Z]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Kt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),s=et&&r&&r.a,a=et&&r&&r.d,u=Rt&&Ot&&H(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-At[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-At[1]:0)/(a||1);if(!Gt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=H(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Gt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Gt.eventCanceled?this._onDrop():(Q("setupClone",this),Gt.eventCanceled||((at=W(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),A(at,this.options.chosenClass,!1),Gt.clone=at),n.cloneId=$t((function(){Q("clone",n),Gt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=$t(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,s=t.target,a=this.options,u=a.group,l=Gt.active,c=ft===u,h=a.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=I(s,a.draggable,r,!0),_("dragOver"),Gt.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return R(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=L(it),_("dragOverValid"),Gt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Gt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=F(r,a.draggable);if(!g||function(t,i,n){var e=L(F(n.el,n.options.draggable)),o=Y(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(s=g),s&&(n=L(s)),!1!==Wt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,H(),R(!0)}else if(g&&function(t,i,n){var e=L(B(n.el,0,n.options,!0)),o=Y(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=B(r,0,a,!0);if(m===it)return R(!1);if(n=L(s=m),!1!==Wt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,H(),R(!0)}else if(s.parentNode===r){n=L(s);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,s.animated&&s.toRect||n,o),S=o?"top":"left",T=N(s,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],Ct=!1,jt=!E&&a.invertSwap||y),p=function(t,i,n,e,o,r,s,a){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!s)if(a&&Tt<l*o){if(!Ct&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(Ct=!0),Ct)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return P(it)<P(t)?1:-1}(i);return(d=d||s)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,o,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,jt,Et===s),0!==p){var k=P(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return R(!1);Et=s,St=p;var M=s.nextElementSibling,C=!1,j=Wt(ot,r,it,i,s,n,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),Dt=!0,setTimeout(Zt,30),z(),C&&!M?r.appendChild(it):s.parentNode.insertBefore(it,C?M:s),T&&G(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||jt||(Tt=Math.abs(w-L(s)[S])),H(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(a,u){Q(a,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:s,completed:R,onMove:function(n,e){return Wt(ot,r,it,i,n,L(n),t,e)},changed:H},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,a.ghostClass,!0)),vt!==v&&v!==Gt.active?vt=v:v===Gt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[Z]._isOutsideThisEl(t.target),!i&&Ut(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function H(){ct=P(it),dt=P(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Ut),O(document,"mousemove",Ut),O(document,"touchmove",Ut)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=P(it),dt=P(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=P(it),dt=P(it,n.draggable),Gt.eventCanceled||(kt=!1,jt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Jt(this.cloneId),Jt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&at&&at.parentNode&&at.parentNode.removeChild(at),it&&(this.nativeDraggable&&O(it,"dragend",this),Yt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Gt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=at=st=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Gt.dragged=Gt.ghost=Gt.clone=Gt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||qt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=J.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Pt(n)},destroy:function(){Q("destroy",this);var t=this.el;t[Z]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Gt.eventCanceled)return;D(at,"display","none"),this.options.removeCloneOnHide&&at.parentNode&&at.parentNode.removeChild(at),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Gt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(at,rt):ot.appendChild(at):ot.insertBefore(at,it),this.options.group.revertClone&&this.animate(it,at),D(at,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Gt.active||kt)&&t.cancelable&&t.preventDefault()})),Gt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:X,closest:I,toggleClass:A,clone:W,index:P,nextTick:$t,cancelNextTick:Jt,detectDirection:Ft,getChild:B,expando:Z},Gt.get=function(t){return t[Z]},Gt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Gt.utils=d(d({},Gt.utils),t.utils)),J.mount(t)}))},Gt.create=function(t,i){return new Gt(t,i)},Gt.version="1.15.6";var Vt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=X((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=K(n,!0)));var h=0,d=Vt;do{var f=d,v=L(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=a&&k+w<S)-(Math.abs(m-r)<=a&&!!k),C=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var j=0;j<=h;j++)oi[j]||(oi[j]={});oi[h].vx==I&&oi[h].vy==C&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=C,clearInterval(oi[h].pid),0==I&&0==C||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Gt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Gt.dragged.parentNode[Z],n,i,t,ni,oi[this.layer].el)||G(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=K(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var s=n||t.activeSortable;(0,t.hideGhostForTarget)();var a=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(a.clientX,a.clientY);r(),s&&!s.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=B(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Gt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),ai(),si(),clearTimeout(C),C=void 0},nulling:function(){ni=Qt=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var s=K(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=K(document.elementFromPoint(e,o),!0);r!==s&&(s=r,si()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||K(r,!0)===R())return void si();ui(t,this.options,K(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Gt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!a(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else a(".gux-tab-options-button",t)||a(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&a(".gux-tab",t)&&!a(".gux-tab-options-button",t)&&!a("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Gt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"e580f9ec2107103f5f848d3b07d2423091c73be9",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"920107e101fdeb239dc8a45537c7bea4b50e2784",class:"gux-scrollable-section"},o("div",{key:"4cc25e4873d938887974ba7c598d242459bdf695",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"f95153d0a095757ac95332d0b6ccd2f41d13a75d"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,s=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,e);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(i,n,s):o(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,a as s}from"./p-mm833MRp.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-fYICKdK-.js";import{b as a}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var n={defaultLabel:"Disclosure button"};const c=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return i("div",{key:"0400e29e3587a0d533c780382bb71a5f20c61eb4",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"9c75cd6901e022aae1d181e7570d37e003f93860",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},i("gux-icon",{key:"f470ff60f6c92217c4eaa05ff379c5cb99318c0e","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"58ec3442693aa9b1b8975ae36dd82fb878236514",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"429b7953402c191e03cc7e8861ba53181e120ad2",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
1
+ import{r as t,c as e,h as i,a as s}from"./p-BUKZ7XoP.js";import{r as o}from"./p-D9jKBqIb.js";import{t as r}from"./p-DSShCAX7.js";import{b as a}from"./p-BsCEssAK.js";import"./p-Cd4R0amv.js";var c={defaultLabel:"Disclosure button"};const n=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,c),this.updateIcon()}render(){return i("div",{key:"9b45d261445cb700cd3ace52bd2f7e1e294e1573",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"cd1b2ecb1e2f589e3eb8c9c9111a77f758802d78",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},i("gux-icon",{key:"3d9412ba7ca7f74551bd83f34648a82a785d37d7","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"f58c6c8780952bd6652264cd0a6e3eec0d1d1036",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"95cb78835ceecdcfbc68858e36b3bb8e2e14b667",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};n.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{n as gux_disclosure_button_legacy}
@@ -1 +1 @@
1
- import{r as e,f as t,h as i,a as o}from"./p-mm833MRp.js";import{b as l}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var n={allOptions:"All options",of:"of"};const s=class{constructor(t){e(this,t),this.selected=!1,this.indeterminate=!1,this.active=!1,this.hasScrolled=!1}onInternallistboxoptionsupdated(){t(this.root)}async componentWillLoad(){var e;this.i18n=await l(this.root,n),this.listboxElement=null===(e=this.root)||void 0===e?void 0:e.closest("gux-listbox-multi"),this.applyListboxScrollListener()}disconnectedCallback(){this.listboxElement&&this.scrollHandler&&this.listboxElement.removeEventListener("scroll",this.scrollHandler)}applyListboxScrollListener(){this.listboxElement&&(this.scrollHandler=e=>{e.stopPropagation(),this.hasScrolled=e.target.scrollTop>0},this.listboxElement.addEventListener("scroll",this.scrollHandler,{passive:!0}))}getCounterText(){if(!this.listboxElement)return;const e=Array.from(this.listboxElement.querySelectorAll("gux-option-multi"));return`(${e.filter((e=>e.selected)).length} ${this.i18n("of")} ${e.length})`}renderSVGCheckbox(){return i("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:this.indeterminate?"0 0 16 16":"1 1 13 13"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:{indeterminate:"M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z",selected:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z",unselected:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}[this.indeterminate?"indeterminate":this.selected?"selected":"unselected"]}))}render(){return i("div",{key:"b2f0dcf205b269782ffcd0f0ca989af6931775ca",role:"option","aria-selected":this.selected.toString(),class:{"gux-select-all-container":!0,"gux-active":this.active,"gux-selected":this.selected,"gux-indeterminate":this.indeterminate,"gux-has-scrolled":this.hasScrolled}},i("div",{key:"4642ea5dc909ae620e059bfd93c3129262849eae",class:"gux-select-all-content"},this.renderSVGCheckbox(),i("div",{key:"d4c557586b44972dd5bbf5f388fc2165039f8711",class:"gux-option-wrapper"},i("gux-truncate",{key:"22b34f3bab1de721a6156ddbdcdf3814161c57ba","max-lines":1},i("span",{key:"f4b9d20d0050894c559b1e02fd966f7a17898cfd"},i("slot",{key:"4bc3064da64acd81d87705ad20f2831c8f830b28"},this.i18n("allOptions")))),i("gux-truncate",{key:"b5ff9fa432ad2c08950d8734cacf1812b8e0fa97","tooltip-placement":"right",class:"gux-counter-label","max-lines":1},this.getCounterText()))))}get root(){return o(this)}};s.style=':host{z-index:1}.gux-select-all-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-menu-selectAll-padding);padding-block-end:var(--gse-ui-menu-selectAll-gap);font-family:var(--gse-ui-dropdown-menu-selectAll-labelText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-labelText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-labelText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-labelText-lineHeight);color:var(--gse-ui-menu-selectAll-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-selectAll-backgroundColor);border-block-end:var(--gse-semantic-container-divider-borderWidth) solid var(--gse-semantic-border-container-divider)}.gux-select-all-container.gux-has-scrolled{box-shadow:var(--gse-ui-menu-selectAll-scrolling-boxShadow)}.gux-select-all-container.gux-active{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-select-all-container.gux-selected{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}.gux-select-all-container.gux-selected .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container.gux-indeterminate .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container .gux-select-all-content{display:flex;flex-direction:row;gap:var(--gse-ui-menu-selectAll-labelContainer-gap);inline-size:100%;padding:var(--gse-ui-menu-selectAll-labelContainer-padding)}.gux-option-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-selectAll-label-gap);align-items:center;inline-size:100%;min-inline-size:0;user-select:none}.gux-option-wrapper .gux-counter-label{inline-size:100%;font-family:var(--gse-ui-dropdown-menu-selectAll-counterText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-counterText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-counterText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-counterText-lineHeight)}.gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:"";background-color:var(--gse-ui-menu-selectAll-backgroundColor)}.gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}';export{s as gux_select_all}
1
+ import{r as e,f as t,h as i,a as o}from"./p-BUKZ7XoP.js";import{b as l}from"./p-BsCEssAK.js";import"./p-Cd4R0amv.js";var n={allOptions:"All options",of:"of"};const s=class{constructor(t){e(this,t),this.selected=!1,this.indeterminate=!1,this.active=!1,this.hasScrolled=!1}onInternallistboxoptionsupdated(){t(this.root)}async componentWillLoad(){var e;this.i18n=await l(this.root,n),this.listboxElement=null===(e=this.root)||void 0===e?void 0:e.closest("gux-listbox-multi"),this.applyListboxScrollListener()}disconnectedCallback(){this.listboxElement&&this.scrollHandler&&this.listboxElement.removeEventListener("scroll",this.scrollHandler)}applyListboxScrollListener(){this.listboxElement&&(this.scrollHandler=e=>{e.stopPropagation(),this.hasScrolled=e.target.scrollTop>0},this.listboxElement.addEventListener("scroll",this.scrollHandler,{passive:!0}))}getCounterText(){if(!this.listboxElement)return;const e=Array.from(this.listboxElement.querySelectorAll("gux-option-multi"));return`(${e.filter((e=>e.selected)).length} ${this.i18n("of")} ${e.length})`}renderSVGCheckbox(){return i("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:this.indeterminate?"0 0 16 16":"1 1 13 13"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:{indeterminate:"M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z",selected:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z",unselected:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}[this.indeterminate?"indeterminate":this.selected?"selected":"unselected"]}))}render(){return i("div",{key:"bcf806d6a2458bb6c74743c8dfb9e900ca10608a",role:"option","aria-selected":this.selected.toString(),class:{"gux-select-all-container":!0,"gux-active":this.active,"gux-selected":this.selected,"gux-indeterminate":this.indeterminate,"gux-has-scrolled":this.hasScrolled}},i("div",{key:"48102c007997133ab904798b617b22ec1d083eda",class:"gux-select-all-content"},this.renderSVGCheckbox(),i("div",{key:"f875b31fb6f862702a0987ae86683fafa208366e",class:"gux-option-wrapper"},i("gux-truncate",{key:"150417ad2132b98829c0e93a151837172fad8fce","max-lines":1},i("span",{key:"96f81731b58b884fc2ae5f2d0d3ac5605cf82271"},i("slot",{key:"790faaeffa5964e501ccc28c448158134af2a869"},this.i18n("allOptions")))),i("gux-truncate",{key:"29459de7c3d6e9a7542f435ed2d036fe8764dcf5","tooltip-placement":"right",class:"gux-counter-label","max-lines":1},this.getCounterText()))))}get root(){return o(this)}};s.style=':host{z-index:1}.gux-select-all-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-menu-selectAll-padding);padding-block-end:var(--gse-ui-menu-selectAll-gap);font-family:var(--gse-ui-dropdown-menu-selectAll-labelText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-labelText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-labelText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-labelText-lineHeight);color:var(--gse-ui-menu-selectAll-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-selectAll-backgroundColor);border-block-end:var(--gse-semantic-container-divider-borderWidth) solid var(--gse-semantic-border-container-divider)}.gux-select-all-container.gux-has-scrolled{box-shadow:var(--gse-ui-menu-selectAll-scrolling-boxShadow)}.gux-select-all-container.gux-active{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-select-all-container.gux-selected{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}.gux-select-all-container.gux-selected .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container.gux-indeterminate .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container .gux-select-all-content{display:flex;flex-direction:row;gap:var(--gse-ui-menu-selectAll-labelContainer-gap);inline-size:100%;padding:var(--gse-ui-menu-selectAll-labelContainer-padding)}.gux-option-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-selectAll-label-gap);align-items:center;inline-size:100%;min-inline-size:0;user-select:none}.gux-option-wrapper .gux-counter-label{inline-size:100%;font-family:var(--gse-ui-dropdown-menu-selectAll-counterText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-counterText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-counterText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-counterText-lineHeight)}.gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:"";background-color:var(--gse-ui-menu-selectAll-backgroundColor)}.gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}';export{s as gux_select_all}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as i,a as e}from"./p-BUKZ7XoP.js";import{s as o}from"./p-BMRf5pjV.js";import{t as h}from"./p-DSShCAX7.js";const r=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){h(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"fb01250fbd91cd4004e5885af79ddfb164b6f2b4",role:"group",class:`gux-${this.layout}`},s("slot",{key:"c3b650e13c270d34416ef5e44865d9302a8bd6d0",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};r.style=":host{display:flex;align-items:flex-end}";export{r as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,h as t,a}from"./p-mm833MRp.js";import{q as i}from"./p-B10WAyAx.js";import{a as s}from"./p-Bg4q97BS.js";import{s as n}from"./p-BMRf5pjV.js";import{g as r,a as o,b as d}from"./p-D_8CR3cJ.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{calendar:"gregory",year:"numeric",month:"long"})}function u(e){return e?i.PlainDate.from(e):null}var h={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const c=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.locale="en",this.MONTH_DATE_COUNT=42,this.defaultValue=void 0,this.disabled=!1,this.readonly=!1,this.formDisabled=!1,this.focusDate=i.Now.plainDateISO()}onValueChange(e,t){var a;this.isInvalidDate(e)||((null===(a=this.internals)||void 0===a?void 0:a.setFormValue)&&this.internals.setFormValue(e),this.focusDate=u(e)||i.Now.plainDateISO(),this.focusOnFocusDate(),n(this.root,"input"),t!==e&&n(this.root,"change"))}formAssociatedCallback(e){console.info("Form associated:",e)}formDisabledCallback(e){this.formDisabled=e}formResetCallback(){this.value=this.defaultValue}formStateRestoreCallback(e){this.value=e}connectedCallback(){this.defaultValue=this.value}async componentWillLoad(){var e;this.locale=r(this.root),this.startDayOfWeek=this.startDayOfWeek||o(this.locale),this.i18n=await d(this.root,h),(null===(e=this.internals)||void 0===e?void 0:e.setFormValue)&&this.internals.setFormValue(this.value);const t=u(this.value);t&&(this.focusDate=t)}onDayKeyDown(e){switch(e.key){case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}onDayClick(e){if("GUX-DAY-BETA"===e.target.tagName){if(this.readonly)return;this.value=e.target.day,e.stopPropagation()}}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}shiftFocusDate(e){if(this.readonly)return;const t=i.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==i.PlainDate.compare(a,u(this.min))?a=u(this.min):this.max&&1==i.PlainDate.compare(a,u(this.max))&&(a=u(this.max)),this.focusDate=a}focusOnFocusDate(){s((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}isInvalidDate(e){return this.min&&-1==i.PlainDate.compare(e,this.min)||this.max&&1==i.PlainDate.compare(e,this.max)}getMonthDays(){const e=i.Now.plainDateISO(),t=i.PlainDate.from({day:1,month:(a=this.focusDate).month,year:a.year});var a;const s=[];let n={dates:[]},r=0;const o=t.month,d=u(this.value);let l=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(s.push(n),n={dates:[]}),n.dates.push({date:i.PlainDate.from(l),disabled:this.isInvalidDate(l),inCurrentMonth:o===l.month,selected:null==d?void 0:d.equals(l),focused:this.focusDate.equals(l),isCurrentDate:l.equals(e)}),r+=1,l=l.add({days:1});return s}isFocusableDay(e){return(e.selected||e.focused)&&!this.disabled}renderPreviousButton(){return this.readonly?null:t("button",{type:"button",class:"gux-left",disabled:this.disabled||this.formDisabled,"aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.focusDate.add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},t("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"}))}renderNextButton(){return this.readonly?null:t("button",{type:"button",class:"gux-right",disabled:this.disabled||this.formDisabled||this.readonly,"aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.focusDate.add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},t("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))}renderHeader(){return t("div",{class:"gux-header"},this.renderPreviousButton(),t("div",{class:"gux-header-month-and-year"},l(this.focusDate,this.locale)),this.renderNextButton())}renderContent(){return t("div",{onKeyDown:e=>{this.onDayKeyDown(e)},onClick:e=>{this.onDayClick(e)}},t("div",{class:"gux-content"},t("div",{class:"gux-week-days"},function(e,t){const a=[],i=new Date(1970,0,4);for(let t=0;t<7;t++){const t=i.toLocaleString(e,{weekday:"narrow"});a.push(t),i.setDate(i.getDate()+1)}return(s=a).concat(s.splice(0,t%s.length));var s}(this.locale,this.startDayOfWeek).map((e=>t("div",{class:"gux-week-day"},e)))),t("div",null,this.getMonthDays().map((e=>t("div",{class:"gux-content-week"},e.dates.map((e=>{const a=e.date.toString();return t("gux-day-beta",{day:a,"aria-current":e.selected?"true":"false","aria-disabled":!e.inCurrentMonth||e.disabled||this.disabled?"true":"false",disabled:!!e.disabled,tabindex:this.isFocusableDay(e)?"2":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${a}\n `})}))))))))}render(){return t("div",{key:"6ac1a0fd8772f9ecc5b7f36b1a9cd69feda35a5a",class:{"gux-calendar-beta":!0,"gux-disabled":this.disabled||this.formDisabled},"aria-disabled":this.disabled||this.formDisabled?"true":"false"},this.renderHeader(),this.renderContent())}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get root(){return a(this)}static get watchers(){return{value:["onValueChange"]}}};c.style=":host{display:inline-block}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:center;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-beta .gux-header .gux-header-month-and-year{flex:1 1 auto;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-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .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-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{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);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{c as gux_calendar_beta}
1
+ import{r as e,h as t,a}from"./p-BUKZ7XoP.js";import{q as s}from"./p-B10WAyAx.js";import{a as i}from"./p-Bg4q97BS.js";import{s as n}from"./p-BMRf5pjV.js";import{g as r,a as o,b as d}from"./p-BsCEssAK.js";import"./p-BFTU3MAI.js";import"./p-Cd4R0amv.js";function l(e,t){return e.toLocaleString(t,{calendar:"gregory",year:"numeric",month:"long"})}function u(e){return e?s.PlainDate.from(e):null}var h={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"};const c=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.locale="en",this.MONTH_DATE_COUNT=42,this.defaultValue=void 0,this.disabled=!1,this.readonly=!1,this.formDisabled=!1,this.focusDate=s.Now.plainDateISO()}onValueChange(e,t){var a;this.isInvalidDate(e)||((null===(a=this.internals)||void 0===a?void 0:a.setFormValue)&&this.internals.setFormValue(e),this.focusDate=u(e)||s.Now.plainDateISO(),this.focusOnFocusDate(),n(this.root,"input"),t!==e&&n(this.root,"change"))}formAssociatedCallback(e){console.info("Form associated:",e)}formDisabledCallback(e){this.formDisabled=e}formResetCallback(){this.value=this.defaultValue}formStateRestoreCallback(e){this.value=e}connectedCallback(){this.defaultValue=this.value}async componentWillLoad(){var e;this.locale=r(this.root),this.startDayOfWeek=this.startDayOfWeek||o(this.locale),this.i18n=await d(this.root,h),(null===(e=this.internals)||void 0===e?void 0:e.setFormValue)&&this.internals.setFormValue(this.value);const t=u(this.value);t&&(this.focusDate=t)}onDayKeyDown(e){switch(e.key){case"ArrowDown":e.preventDefault(),this.shiftFocusDate({weeks:1}),this.focusOnFocusDate();break;case"ArrowUp":e.preventDefault(),this.shiftFocusDate({weeks:-1}),this.focusOnFocusDate();break;case"ArrowLeft":e.preventDefault(),this.shiftFocusDate({days:-1}),this.focusOnFocusDate();break;case"ArrowRight":e.preventDefault(),this.shiftFocusDate({days:1}),this.focusOnFocusDate();break;case"PageUp":e.preventDefault(),this.shiftFocusDate({months:1}),this.focusOnFocusDate();break;case"PageDown":e.preventDefault(),this.shiftFocusDate({months:-1}),this.focusOnFocusDate()}}onDayClick(e){if("GUX-DAY-BETA"===e.target.tagName){if(this.readonly)return;this.value=e.target.day,e.stopPropagation()}}getGuxDayForDate(e){return this.root.shadowRoot.querySelector(`.day-${e}`)}shiftFocusDate(e){if(this.readonly)return;const t=s.Duration.from(e);let a=this.focusDate.add(t);this.min&&-1==s.PlainDate.compare(a,u(this.min))?a=u(this.min):this.max&&1==s.PlainDate.compare(a,u(this.max))&&(a=u(this.max)),this.focusDate=a}focusOnFocusDate(){i((()=>{const e=this.focusDate.toString(),t=this.getGuxDayForDate(e);t&&t.focus()}))}isInvalidDate(e){return this.min&&-1==s.PlainDate.compare(e,this.min)||this.max&&1==s.PlainDate.compare(e,this.max)}getMonthDays(){const e=s.Now.plainDateISO(),t=s.PlainDate.from({day:1,month:(a=this.focusDate).month,year:a.year});var a;const i=[];let n={dates:[]},r=0;const o=t.month,d=u(this.value);let l=function(e,t){let a=t-e.dayOfWeek;return a>0&&(a-=7),e.add({days:a})}(t,this.startDayOfWeek);for(let t=0;t<this.MONTH_DATE_COUNT+1;t+=1)r>0&&r%7==0&&(i.push(n),n={dates:[]}),n.dates.push({date:s.PlainDate.from(l),disabled:this.isInvalidDate(l),inCurrentMonth:o===l.month,selected:null==d?void 0:d.equals(l),focused:this.focusDate.equals(l),isCurrentDate:l.equals(e)}),r+=1,l=l.add({days:1});return i}isFocusableDay(e){return(e.selected||e.focused)&&!this.disabled}renderPreviousButton(){return this.readonly?null:t("button",{type:"button",class:"gux-left",disabled:this.disabled||this.formDisabled,"aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:l(this.focusDate.add({months:-1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:-1})},t("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"}))}renderNextButton(){return this.readonly?null:t("button",{type:"button",class:"gux-right",disabled:this.disabled||this.formDisabled||this.readonly,"aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:l(this.focusDate.add({months:1}),this.locale)}),onClick:()=>this.shiftFocusDate({months:1})},t("gux-icon",{size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))}renderHeader(){return t("div",{class:"gux-header"},this.renderPreviousButton(),t("div",{class:"gux-header-month-and-year"},l(this.focusDate,this.locale)),this.renderNextButton())}renderContent(){return t("div",{onKeyDown:e=>{this.onDayKeyDown(e)},onClick:e=>{this.onDayClick(e)}},t("div",{class:"gux-content"},t("div",{class:"gux-week-days"},function(e,t){const a=[],s=new Date(1970,0,4);for(let t=0;t<7;t++){const t=s.toLocaleString(e,{weekday:"narrow"});a.push(t),s.setDate(s.getDate()+1)}return(i=a).concat(i.splice(0,t%i.length));var i}(this.locale,this.startDayOfWeek).map((e=>t("div",{class:"gux-week-day"},e)))),t("div",null,this.getMonthDays().map((e=>t("div",{class:"gux-content-week"},e.dates.map((e=>{const a=e.date.toString();return t("gux-day-beta",{day:a,"aria-current":e.selected?"true":"false","aria-disabled":!e.inCurrentMonth||e.disabled||this.disabled?"true":"false",disabled:!!e.disabled,tabindex:this.isFocusableDay(e)?"2":"-1",class:`\n ${!e.inCurrentMonth||e.disabled?"gux-muted":""}\n day-${a}\n `})}))))))))}render(){return t("div",{key:"9f7825917f58515282d02c19b75b4e53f55aaccf",class:{"gux-calendar-beta":!0,"gux-disabled":this.disabled||this.formDisabled},"aria-disabled":this.disabled||this.formDisabled?"true":"false"},this.renderHeader(),this.renderContent())}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get root(){return a(this)}static get watchers(){return{value:["onValueChange"]}}};c.style=":host{display:inline-block}.gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-backgroundColor);border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar-beta.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:center;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-beta .gux-header .gux-header-month-and-year{flex:1 1 auto;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-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .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-beta .gux-content{display:flex;flex-direction:column;gap:var(--gse-ui-calendarMenu-dateBody-gap);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-week-days{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);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-range-height);block-size:var(--gse-ui-calendarMenu-day-range-width)}";export{c as gux_calendar_beta}
@@ -1 +1 @@
1
- import{f as n}from"./p-mm833MRp.js";import{w as t}from"./p-kLXvN2m9.js";function u(n){return n.closest("gux-tree-multi-beta")}function o(n){return["GUX-LEAF-MULTI","GUX-BRANCH-MULTI"].includes(n.tagName)}function r(n){return"GUX-BRANCH-MULTI"===n.tagName}function c(n){return Boolean(a(n))}function i(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),r(c)&&n(c)}(n),t}function f(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),"GUX-BRANCH-MULTI"===(r=c).tagName&&r.expanded&&n(c);var r}(n),t}function e(n){return f(n).filter((n=>!n.disabled&&!n.filtered))}function a(n){return f(n).find((n=>n.active))}function s(n){return e(n)[0]}function l(n){const t=e(n);return t[t.length-1]}function m(n,t){n.disabled?b(n):t&&(f(n).forEach((u=>{const o=!u.disabled&&!u.filtered&&u===t;u.active=o,o&&n.setAttribute("aria-activedescendant",u.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){i(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function g(n){const t=function(n){const t=[];return function n(u){for(const o of Array.from(u.children))"GUX-LEAF-MULTI"===o.tagName&&t.push(o),r(o)&&n(o)}(n),t}(n),u=t.filter((n=>n.selected));0===u.length?(n.selected=!1,n.indeterminate=!1):u.length===t.length?(n.selected=!0,n.indeterminate=!1):(n.selected=!1,n.indeterminate=!0)}function x(n,t){for(const u of Array.from(n.children)){if(o(u)){const n=u;n.disabled||n.filtered||(n.selected=t,n.indeterminate=!1)}r(u)&&x(u,t)}}function d(n){m(n,function(n){return f(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||s(n))}function v(n){m(n,s(n))}function h(n){m(n,l(n))}function U(n){m(n,function(n){if(c(n)&&a(n)!==l(n)){const t=e(n),u=a(n),o=t.indexOf(u);return t[o+1]}return s(n)}(n))}function A(n){m(n,function(n){if(c(n)){const t=e(n),u=t.indexOf(a(n));return a(n)===s(n)?l(n):t[u-1]}return s(n)}(n))}function L(n){m(n,a(n).parentElement.closest("gux-branch-multi"))}function p(n){const t=a(n),u=e(n).filter((n=>t.contains(n)));u[0]&&m(n,u[0])}function M(n){return i(n).some((n=>n.selected))}function X(n){let t=n.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset")}return!1}function B(t){i(t).forEach((t=>{n(t)}))}function G(n,t){const u=!t.selected;t.selected=u,t.indeterminate=!1,r(t)&&x(t,u),function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)g(t),t=t.parentElement.closest("gux-branch-multi")}(t),function(n){const t=i(n).filter((n=>n.selected&&n.value));n.value=t.map((n=>n.value)).join(",")}(n),t.scrollIntoView({block:"nearest"})}function I(n,t){const u=t.split(",").map((n=>n.trim())),o=i(n);o.forEach((n=>{n.selected=u.includes(n.value),n.indeterminate=!1})),o.filter((n=>r(n))).forEach((n=>{g(n)}))}function T(n,t){I(n,t),function(n){i(n).forEach((n=>{n.selected&&function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch-multi")}(n)}))}(n)}function k(n){var t;return null===(t=u(n))||void 0===t?void 0:t.size}function y(n){var t;return null===(t=u(n))||void 0===t?void 0:t.alignment}function N({event:n,onLeaf:u,onBranch:o}){let r=!1;t("gux-leaf-multi",n,(n=>{n.value&&(u(n),r=!0)})),r||t("gux-branch-multi",n,(n=>{o(n)}))}export{y as a,M as b,b as c,d,N as e,B as f,k as g,X as h,h as i,v as j,A as k,U as l,T as m,L as n,p as o,I as s,G as t}
1
+ import{f as n}from"./p-BUKZ7XoP.js";import{w as t}from"./p-kLXvN2m9.js";function u(n){return n.closest("gux-tree-multi-beta")}function o(n){return["GUX-LEAF-MULTI","GUX-BRANCH-MULTI"].includes(n.tagName)}function r(n){return"GUX-BRANCH-MULTI"===n.tagName}function c(n){return Boolean(a(n))}function i(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),r(c)&&n(c)}(n),t}function f(n){const t=[];return function n(u){for(const c of Array.from(u.children))o(c)&&t.push(c),"GUX-BRANCH-MULTI"===(r=c).tagName&&r.expanded&&n(c);var r}(n),t}function e(n){return f(n).filter((n=>!n.disabled&&!n.filtered))}function a(n){return f(n).find((n=>n.active))}function s(n){return e(n)[0]}function l(n){const t=e(n);return t[t.length-1]}function m(n,t){n.disabled?b(n):t&&(f(n).forEach((u=>{const o=!u.disabled&&!u.filtered&&u===t;u.active=o,o&&n.setAttribute("aria-activedescendant",u.id)})),t.scrollIntoView({block:"nearest"}))}function b(n){i(n).forEach((n=>{n.active=!1})),n.removeAttribute("aria-activedescendant")}function g(n){const t=function(n){const t=[];return function n(u){for(const o of Array.from(u.children))"GUX-LEAF-MULTI"===o.tagName&&t.push(o),r(o)&&n(o)}(n),t}(n),u=t.filter((n=>n.selected));0===u.length?(n.selected=!1,n.indeterminate=!1):u.length===t.length?(n.selected=!0,n.indeterminate=!1):(n.selected=!1,n.indeterminate=!0)}function x(n,t){for(const u of Array.from(n.children)){if(o(u)){const n=u;n.disabled||n.filtered||(n.selected=t,n.indeterminate=!1)}r(u)&&x(u,t)}}function d(n){m(n,function(n){return f(n).find((n=>n.selected&&!n.disabled&&!n.filtered))}(n)||s(n))}function v(n){m(n,s(n))}function U(n){m(n,l(n))}function h(n){m(n,function(n){if(c(n)&&a(n)!==l(n)){const t=e(n),u=a(n),o=t.indexOf(u);return t[o+1]}return s(n)}(n))}function A(n){m(n,function(n){if(c(n)){const t=e(n),u=t.indexOf(a(n));return a(n)===s(n)?l(n):t[u-1]}return s(n)}(n))}function L(n){m(n,a(n).parentElement.closest("gux-branch-multi"))}function X(n){const t=a(n),u=e(n).filter((n=>t.contains(n)));u[0]&&m(n,u[0])}function B(n){return i(n).some((n=>n.selected))}function p(n){let t=n.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset");for(;t;){if(t.disabled)return!0;t=t.parentElement.closest("gux-branch-multi, gux-tree-multi-beta, fieldset")}return!1}function G(t){i(t).forEach((t=>{n(t)}))}function I(n,t){const u=!t.selected;t.selected=u,t.indeterminate=!1,r(t)&&x(t,u),function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)g(t),t=t.parentElement.closest("gux-branch-multi")}(t),function(n){const t=i(n).filter((n=>n.selected&&n.value));n.value=t.map((n=>n.value)).join(",")}(n),t.scrollIntoView({block:"nearest"})}function M(n,t){const u=t.split(",").map((n=>n.trim())),o=i(n);o.forEach((n=>{n.selected=u.includes(n.value),n.indeterminate=!1})),o.filter((n=>r(n))).forEach((n=>{g(n)}))}function T(n,t){M(n,t),function(n){i(n).forEach((n=>{n.selected&&function(n){let t=n.parentElement.closest("gux-branch-multi");for(;t;)t.expanded=!0,t=t.parentElement.closest("gux-branch-multi")}(n)}))}(n)}function k(n){var t;return null===(t=u(n))||void 0===t?void 0:t.size}function y(n){var t;return null===(t=u(n))||void 0===t?void 0:t.alignment}function N({event:n,onLeaf:u,onBranch:o}){let r=!1;t("gux-leaf-multi",n,(n=>{n.value&&(u(n),r=!0)})),r||t("gux-branch-multi",n,(n=>{o(n)}))}export{y as a,B as b,b as c,d,N as e,G as f,k as g,p as h,U as i,v as j,A as k,h as l,T as m,L as n,X as o,M as s,I as t}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.188.4-878/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.189.0-883/genesys-webcomponents/';
11
11
  const DOMAIN_LIST = [
12
12
  '.inindca.com',
13
13
  '.dev-pure.cloud',
@@ -0,0 +1,7 @@
1
+ import { JSX } from '../../../stencil-public-runtime';
2
+ export declare class GuxAIPoweredBadge {
3
+ private i18n;
4
+ root: HTMLElement;
5
+ componentWillLoad(): Promise<void>;
6
+ render(): JSX.Element;
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare const renderConfigs: {
2
+ description: string;
3
+ html: string;
4
+ }[];
@@ -227,6 +227,8 @@ export namespace Components {
227
227
  "placeholder": string;
228
228
  "setLabeledBy": (id: string) => Promise<void>;
229
229
  }
230
+ interface GuxAiPoweredBadgeBeta {
231
+ }
230
232
  interface GuxAllRowSelect {
231
233
  "disabled": boolean;
232
234
  /**
@@ -2874,6 +2876,12 @@ declare global {
2874
2876
  prototype: HTMLGuxAdvancedDropdownLegacyElement;
2875
2877
  new (): HTMLGuxAdvancedDropdownLegacyElement;
2876
2878
  };
2879
+ interface HTMLGuxAiPoweredBadgeBetaElement extends Components.GuxAiPoweredBadgeBeta, HTMLStencilElement {
2880
+ }
2881
+ var HTMLGuxAiPoweredBadgeBetaElement: {
2882
+ prototype: HTMLGuxAiPoweredBadgeBetaElement;
2883
+ new (): HTMLGuxAiPoweredBadgeBetaElement;
2884
+ };
2877
2885
  interface HTMLGuxAllRowSelectElementEventMap {
2878
2886
  "internalallrowselectchange": any;
2879
2887
  }
@@ -4696,6 +4704,7 @@ declare global {
4696
4704
  "gux-action-toast-legacy": HTMLGuxActionToastLegacyElement;
4697
4705
  "gux-actionable-inline-alert-beta": HTMLGuxActionableInlineAlertBetaElement;
4698
4706
  "gux-advanced-dropdown-legacy": HTMLGuxAdvancedDropdownLegacyElement;
4707
+ "gux-ai-powered-badge-beta": HTMLGuxAiPoweredBadgeBetaElement;
4699
4708
  "gux-all-row-select": HTMLGuxAllRowSelectElement;
4700
4709
  "gux-announce-beta": HTMLGuxAnnounceBetaElement;
4701
4710
  "gux-avatar-beta": HTMLGuxAvatarBetaElement;
@@ -4988,6 +4997,8 @@ declare namespace LocalJSX {
4988
4997
  */
4989
4998
  "placeholder"?: string;
4990
4999
  }
5000
+ interface GuxAiPoweredBadgeBeta {
5001
+ }
4991
5002
  interface GuxAllRowSelect {
4992
5003
  "disabled"?: boolean;
4993
5004
  "onInternalallrowselectchange"?: (event: GuxAllRowSelectCustomEvent<any>) => void;
@@ -7368,6 +7379,7 @@ declare namespace LocalJSX {
7368
7379
  "gux-action-toast-legacy": GuxActionToastLegacy;
7369
7380
  "gux-actionable-inline-alert-beta": GuxActionableInlineAlertBeta;
7370
7381
  "gux-advanced-dropdown-legacy": GuxAdvancedDropdownLegacy;
7382
+ "gux-ai-powered-badge-beta": GuxAiPoweredBadgeBeta;
7371
7383
  "gux-all-row-select": GuxAllRowSelect;
7372
7384
  "gux-announce-beta": GuxAnnounceBeta;
7373
7385
  "gux-avatar-beta": GuxAvatarBeta;
@@ -7566,6 +7578,7 @@ declare module "@stencil/core" {
7566
7578
  "gux-action-toast-legacy": LocalJSX.GuxActionToastLegacy & JSXBase.HTMLAttributes<HTMLGuxActionToastLegacyElement>;
7567
7579
  "gux-actionable-inline-alert-beta": LocalJSX.GuxActionableInlineAlertBeta & JSXBase.HTMLAttributes<HTMLGuxActionableInlineAlertBetaElement>;
7568
7580
  "gux-advanced-dropdown-legacy": LocalJSX.GuxAdvancedDropdownLegacy & JSXBase.HTMLAttributes<HTMLGuxAdvancedDropdownLegacyElement>;
7581
+ "gux-ai-powered-badge-beta": LocalJSX.GuxAiPoweredBadgeBeta & JSXBase.HTMLAttributes<HTMLGuxAiPoweredBadgeBetaElement>;
7569
7582
  "gux-all-row-select": LocalJSX.GuxAllRowSelect & JSXBase.HTMLAttributes<HTMLGuxAllRowSelectElement>;
7570
7583
  "gux-announce-beta": LocalJSX.GuxAnnounceBeta & JSXBase.HTMLAttributes<HTMLGuxAnnounceBetaElement>;
7571
7584
  "gux-avatar-beta": LocalJSX.GuxAvatarBeta & JSXBase.HTMLAttributes<HTMLGuxAvatarBetaElement>;
@@ -1,2 +1,2 @@
1
- export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.188.4-878/genesys-webcomponents/";
1
+ export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.189.0-883/genesys-webcomponents/";
2
2
  export declare function registerElements(): void;