genesys-spark-components 4.112.0 → 4.113.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 (603) hide show
  1. package/dist/cjs/{en-93832113.js → en-b47b8378.js} +23 -1
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  22. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  44. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  45. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  49. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  50. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  58. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  73. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  82. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +56 -0
  96. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -4
  99. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +10 -5
  100. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +132 -0
  101. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +40 -24
  103. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  107. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  139. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  141. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  142. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  145. package/dist/cjs/index-2dd05ef3.js +16 -8
  146. package/dist/cjs/loader.cjs.js +1 -1
  147. package/dist/cjs/{usage-3dcfa17c.js → usage-e8717c7d.js} +1 -1
  148. package/dist/collection/collection-manifest.json +2 -0
  149. 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 +21 -2
  150. 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 +8 -3
  151. 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.css +40 -0
  152. 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 +207 -0
  153. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  154. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.css +48 -0
  155. 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 +134 -0
  156. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.types.js +1 -0
  157. 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
  158. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +39 -23
  159. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  160. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  161. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  162. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  163. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  164. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  165. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  166. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  167. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  168. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  169. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  170. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  171. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  172. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  173. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  174. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  175. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  176. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  177. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  178. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  179. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  180. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  181. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  182. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  183. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  184. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  185. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  186. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  187. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  188. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  189. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  190. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  191. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  192. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  193. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  194. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  195. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  196. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  197. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  198. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  199. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  200. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  201. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  202. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  203. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  204. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  205. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  206. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  207. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  208. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  209. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  210. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  211. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  212. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  213. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  214. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  215. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  216. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  217. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  218. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  219. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  220. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  221. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  222. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  223. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  224. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  225. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  226. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  227. 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
  228. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  229. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  230. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  231. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  232. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  233. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  234. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  235. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  236. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  237. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  238. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  239. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  240. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  241. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  242. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  243. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  244. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  245. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  246. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  247. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  248. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  249. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  250. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  251. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  252. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  253. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  254. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  255. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  256. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  257. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  258. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  259. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  260. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  261. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  262. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  263. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  264. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  265. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  266. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  267. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  268. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  269. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  270. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  271. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  272. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  273. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  274. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  275. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  276. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  277. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  278. package/dist/esm/{en-44ed612e.js → en-d5a4e07d.js} +23 -1
  279. package/dist/esm/genesys-webcomponents.js +1 -1
  280. package/dist/esm/gux-accordion-section.entry.js +5 -5
  281. package/dist/esm/gux-accordion.entry.js +2 -2
  282. package/dist/esm/gux-action-button.entry.js +2 -2
  283. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  284. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  285. package/dist/esm/gux-all-row-select.entry.js +1 -1
  286. package/dist/esm/gux-announce-beta.entry.js +1 -1
  287. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  288. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  289. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  290. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  291. package/dist/esm/gux-avatar-overflow-beta_2.entry.js +1 -1
  292. package/dist/esm/gux-badge.entry.js +2 -2
  293. package/dist/esm/gux-blank-state.entry.js +2 -2
  294. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  295. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  296. package/dist/esm/gux-button-multi.entry.js +2 -2
  297. package/dist/esm/gux-button-slot.entry.js +2 -2
  298. package/dist/esm/gux-button_2.entry.js +5 -5
  299. package/dist/esm/gux-calendar.entry.js +2 -2
  300. package/dist/esm/gux-card.entry.js +3 -3
  301. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  302. package/dist/esm/gux-column-manager.entry.js +2 -2
  303. package/dist/esm/gux-content-search.entry.js +3 -3
  304. package/dist/esm/gux-context-menu.entry.js +3 -3
  305. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  306. package/dist/esm/gux-create-option.entry.js +2 -2
  307. package/dist/esm/gux-date-beta.entry.js +1 -1
  308. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  309. package/dist/esm/gux-datepicker.entry.js +2 -2
  310. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  311. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  312. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  313. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  314. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  315. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  316. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  317. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  318. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  319. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  320. package/dist/esm/gux-form-field-color.entry.js +4 -4
  321. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  322. package/dist/esm/gux-form-field-file.entry.js +2 -2
  323. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  324. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  325. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  326. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  327. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  328. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  329. package/dist/esm/gux-form-field-range.entry.js +3 -3
  330. package/dist/esm/gux-form-field-search.entry.js +4 -4
  331. package/dist/esm/gux-form-field-select.entry.js +4 -4
  332. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  333. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  334. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  335. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  336. package/dist/esm/gux-form-footer.entry.js +1 -1
  337. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  338. package/dist/esm/gux-icon.entry.js +2 -2
  339. package/dist/esm/gux-inline-alert.entry.js +3 -3
  340. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  341. package/dist/esm/gux-link-beta.entry.js +1 -1
  342. package/dist/esm/gux-list-divider.entry.js +1 -1
  343. package/dist/esm/gux-list-item.entry.js +1 -1
  344. package/dist/esm/gux-list.entry.js +2 -2
  345. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  346. package/dist/esm/gux-loading-message.entry.js +2 -2
  347. package/dist/esm/gux-menu-option.entry.js +1 -1
  348. package/dist/esm/gux-menu.entry.js +1 -1
  349. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  350. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  351. package/dist/esm/gux-modal.entry.js +2 -2
  352. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  353. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  354. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  355. package/dist/esm/gux-option-icon.entry.js +2 -2
  356. package/dist/esm/gux-option-multi.entry.js +2 -2
  357. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  358. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  359. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  360. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  361. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  362. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  363. package/dist/esm/gux-pagination.entry.js +2 -2
  364. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  365. package/dist/esm/gux-popover-beta.entry.js +1 -1
  366. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  367. package/dist/esm/gux-popover-list.entry.js +3 -3
  368. package/dist/esm/gux-popup.entry.js +3 -3
  369. package/dist/esm/gux-radial-loading.entry.js +2 -2
  370. package/dist/esm/gux-radial-progress.entry.js +1 -1
  371. package/dist/esm/gux-rating.entry.js +2 -2
  372. package/dist/esm/gux-rich-highlight-list-item.entry.js +52 -0
  373. package/dist/esm/gux-rich-style-list-item.entry.js +2 -2
  374. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  375. package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -4
  376. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +10 -5
  377. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +128 -0
  378. package/dist/esm/gux-rich-text-editor-action.entry.js +2 -2
  379. package/dist/esm/gux-rich-text-editor-list.entry.js +41 -25
  380. package/dist/esm/gux-row-select.entry.js +2 -2
  381. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  382. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  383. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  384. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  385. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  386. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  387. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  388. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  389. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  390. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  391. package/dist/esm/gux-sort-control.entry.js +4 -4
  392. package/dist/esm/gux-submenu.entry.js +3 -3
  393. package/dist/esm/gux-switch-item.entry.js +1 -1
  394. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  395. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  396. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  397. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  398. package/dist/esm/gux-tab-list.entry.js +2 -2
  399. package/dist/esm/gux-tab-panel.entry.js +1 -1
  400. package/dist/esm/gux-tab.entry.js +2 -2
  401. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  402. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  403. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  404. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  405. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  406. package/dist/esm/gux-table.entry.js +2 -2
  407. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  408. package/dist/esm/gux-tabs.entry.js +2 -2
  409. package/dist/esm/gux-tag.entry.js +2 -2
  410. package/dist/esm/gux-text-highlight.entry.js +1 -1
  411. package/dist/esm/gux-time-beta.entry.js +2 -2
  412. package/dist/esm/gux-time-picker.entry.js +2 -2
  413. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  414. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  415. package/dist/esm/gux-toast.entry.js +3 -3
  416. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  417. package/dist/esm/gux-toggle.entry.js +3 -3
  418. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  419. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  420. package/dist/esm/gux-tooltip.entry.js +3 -3
  421. package/dist/esm/gux-truncate.entry.js +3 -3
  422. package/dist/esm/index-feb7be20.js +16 -8
  423. package/dist/esm/loader.js +1 -1
  424. package/dist/esm/{usage-0a3bab03.js → usage-f19643b5.js} +1 -1
  425. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  426. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  427. package/dist/genesys-webcomponents/{p-f93118f2.entry.js → p-003b43e0.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-79e2cb48.entry.js → p-014850fa.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-e9a840b1.entry.js → p-02549899.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-7a8b8425.entry.js → p-0256c902.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-ac8bf5d1.entry.js → p-05fcbcdb.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-f5d6898d.entry.js → p-06e6b290.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-eec256c9.entry.js → p-0a293f2f.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-57a8f97d.entry.js → p-0f4f8045.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-304a008c.entry.js → p-10b7a9e1.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-0a70dd71.entry.js → p-1183585f.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-527736e2.entry.js → p-12d08ca8.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-20d01fb5.entry.js → p-14579d6d.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/p-1462a1d1.entry.js +1 -0
  440. package/dist/genesys-webcomponents/{p-fc2f6581.entry.js → p-149ed4f3.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-9ca9e8f7.entry.js → p-15f467d5.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-1e4a36bf.entry.js → p-16d31feb.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-85022060.entry.js → p-1b3fbb64.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/p-1ecc0446.entry.js +1 -0
  445. package/dist/genesys-webcomponents/{p-9d897ce2.entry.js → p-20eccece.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-b08c574e.entry.js → p-2533e88f.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-8ea59f56.entry.js → p-25cdb2b7.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-dcd16f28.entry.js → p-26b9b506.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-7a6c7985.entry.js → p-2a2faa7d.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-35f46b0d.entry.js → p-30ff76b3.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-a355737d.entry.js → p-38687724.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-a5b3341b.entry.js → p-387905bb.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/p-3aa566e0.entry.js +1 -0
  454. package/dist/genesys-webcomponents/{p-b4c84037.entry.js → p-3c729636.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-619dcdad.entry.js → p-3c9e3dfa.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-4695ff19.entry.js → p-3e3bd2f9.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-2ec8b57c.entry.js → p-3f07a79d.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-f38a8a65.entry.js → p-40241601.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-e9c4e3df.entry.js → p-414eab3f.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-319decc1.entry.js → p-41bb87d6.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/p-4405e4d5.entry.js +1 -0
  462. package/dist/genesys-webcomponents/{p-7f5b37cb.entry.js → p-44786aee.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-83bbcb4d.entry.js → p-46843d60.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/p-49ab8226.entry.js +1 -0
  465. package/dist/genesys-webcomponents/p-4a3e97aa.entry.js +1 -0
  466. package/dist/genesys-webcomponents/{p-8122e80b.entry.js → p-4b064fb5.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-1c31f1f3.entry.js → p-4e14184e.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-44795b31.entry.js → p-544633db.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-ce771f18.entry.js → p-54b4eab6.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-964472aa.entry.js → p-5521226b.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-53b58e0d.entry.js → p-55a1cc30.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/p-5b0867ce.entry.js +1 -0
  473. package/dist/genesys-webcomponents/{p-47942c1a.entry.js → p-5b4beb54.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-35cee3dd.entry.js → p-5e44ef27.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/p-5f1ac336.entry.js +1 -0
  476. package/dist/genesys-webcomponents/{p-892f9fc8.entry.js → p-61967bec.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/p-61f673b9.entry.js +1 -0
  478. package/dist/genesys-webcomponents/{p-fea6b403.entry.js → p-62c63986.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-0a37a23a.entry.js → p-66f7c713.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-80328392.entry.js → p-68788fb9.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-02689daa.entry.js → p-6b26aef0.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-18a79629.entry.js → p-6f7a1179.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/p-7172aaba.entry.js +1 -0
  484. package/dist/genesys-webcomponents/{p-02ed9f39.entry.js → p-7183904b.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-6c03152e.entry.js → p-724e155b.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-a8d68e4b.entry.js → p-7266b063.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-11d24534.entry.js → p-72831fbe.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-edea0e29.entry.js → p-751c61f2.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/p-75bf1516.entry.js +1 -0
  490. package/dist/genesys-webcomponents/{p-c942a09b.entry.js → p-76fa4eb0.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-362946a0.entry.js → p-7a003713.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-d3097924.entry.js → p-7a7e02f7.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-67080341.entry.js → p-7a915b9a.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-1ff408b1.entry.js → p-7bdce1a9.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-b173ec5d.js → p-7c26f60c.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-ba4ec06d.entry.js → p-7db5de2a.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-0beb459e.entry.js → p-8051ad60.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-cdeb4933.entry.js → p-81d0354b.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-1c322a7b.entry.js → p-8296eeb1.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-3ae588a6.entry.js → p-85593b8d.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/p-864d63fe.js +1 -0
  502. package/dist/genesys-webcomponents/{p-906b93e5.entry.js → p-86612ff6.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-b4e4ba65.entry.js → p-86e2c7b7.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-4b49d536.entry.js → p-8725879d.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/p-88b54928.entry.js +1 -0
  506. package/dist/genesys-webcomponents/{p-c9234d25.entry.js → p-88c6fea4.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-40c97ddd.entry.js → p-88e99ac8.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-3583d635.entry.js → p-9307931f.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-42f17d2a.entry.js → p-951a4cee.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-0b0f5532.entry.js → p-95b71a67.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-26fecfaa.entry.js → p-9612eaea.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-8632cd2c.entry.js → p-96ac9919.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-b8f53b13.entry.js → p-980e6f94.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-79d8becc.entry.js → p-98deb610.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-32363959.entry.js → p-98f74967.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-7080aa78.entry.js → p-99a7e5ef.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-ceca55aa.entry.js → p-9b710284.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-64133881.entry.js → p-9e2c5e07.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-119ea418.entry.js → p-9f4d6be4.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-635f1178.entry.js → p-a1035485.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-956a582d.entry.js → p-a1de93b5.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/p-a2e65aa7.entry.js +1 -0
  523. package/dist/genesys-webcomponents/p-a31399b7.entry.js +1 -0
  524. package/dist/genesys-webcomponents/{p-444dde71.entry.js → p-a43e0510.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-0e84a288.entry.js → p-a48e13be.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/p-a4cc0374.entry.js +1 -0
  527. package/dist/genesys-webcomponents/{p-010fa8e8.entry.js → p-a80a6d49.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-173edf48.entry.js → p-a9efd10b.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-ee35a1b3.entry.js → p-ab589c01.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-5678912a.entry.js → p-ad02ac86.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-78f29790.entry.js → p-adb4e579.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-8ea8315d.entry.js → p-ae83f2c0.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-cfe212a0.entry.js → p-af8c8867.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-c9ff7b8e.entry.js → p-b04fec40.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-1fa7e37f.entry.js → p-b18f552b.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-683f176e.entry.js → p-bb9d5fa2.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-e6ae18d2.entry.js → p-bccfe50d.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-69725af7.entry.js → p-c2325b13.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-a836921c.entry.js → p-c2a649d1.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-aeb94c80.entry.js → p-c48866c4.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-d5cbda98.entry.js → p-c570c07d.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-fce1afdd.entry.js → p-c5d5e5bd.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-e3c22891.entry.js → p-c67267ed.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/p-cf5e058a.entry.js +1 -0
  545. package/dist/genesys-webcomponents/{p-1db2525e.entry.js → p-d09a8c78.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-d2a37f33.entry.js → p-d2ad86e2.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-0e1eec70.entry.js → p-d51d88c3.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/p-d552a7a3.entry.js +1 -0
  549. package/dist/genesys-webcomponents/{p-86a2dde7.entry.js → p-d5baaed8.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-519d47e3.entry.js → p-d6a93a09.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/p-d8ec2b5e.entry.js +1 -0
  552. package/dist/genesys-webcomponents/p-dbc7abfb.entry.js +1 -0
  553. package/dist/genesys-webcomponents/{p-0daf3b8a.entry.js → p-dc0337b8.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/p-de5965bb.entry.js +1 -0
  555. package/dist/genesys-webcomponents/{p-5f9d482c.entry.js → p-dfa26ecf.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/p-e0cc5f64.entry.js +1 -0
  557. package/dist/genesys-webcomponents/{p-3d9b1598.entry.js → p-e42f77ce.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-cef83da4.entry.js → p-e44d51a0.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-588f041b.entry.js → p-e5b2307d.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/p-e8219a25.entry.js +1 -0
  561. package/dist/genesys-webcomponents/{p-8205b911.entry.js → p-e9d8c6bf.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/p-ec80cb27.entry.js +1 -0
  563. package/dist/genesys-webcomponents/{p-ace854c3.entry.js → p-ed5ea22d.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-be7854fd.entry.js → p-edbe5703.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-5d72d830.entry.js → p-f6715cb6.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-a1c64b8a.entry.js → p-f7ebde98.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-a9e60211.entry.js → p-f9963072.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-2e9f4d5b.entry.js → p-fa34c71c.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-a77c5458.entry.js → p-fce86fb9.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/p-ff7e2fa6.entry.js +1 -0
  571. package/dist/stencil-wrapper.js +1 -1
  572. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.d.ts +1 -0
  573. package/dist/types/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.d.ts +1 -0
  574. package/dist/types/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.d.ts +28 -0
  575. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.d.ts +14 -0
  576. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.types.d.ts +1 -0
  577. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.d.ts +3 -3
  578. package/dist/types/components.d.ts +56 -0
  579. package/dist/types/stencil-wrapper.d.ts +1 -1
  580. package/package.json +1 -1
  581. package/dist/genesys-webcomponents/p-00fb848e.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-0963c315.entry.js +0 -1
  583. package/dist/genesys-webcomponents/p-10cf94d1.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-18f66ec5.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-1d7d94a4.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-27a81cd0.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-3c55b003.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-651e34f8.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-71a438b7.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-7747f18f.js +0 -1
  591. package/dist/genesys-webcomponents/p-92a204bf.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-952896a6.entry.js +0 -1
  593. package/dist/genesys-webcomponents/p-afe5c214.entry.js +0 -1
  594. package/dist/genesys-webcomponents/p-b3ddb6ac.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-bb7e7eb4.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-bc94702e.entry.js +0 -1
  597. package/dist/genesys-webcomponents/p-cbfb5e61.entry.js +0 -1
  598. package/dist/genesys-webcomponents/p-d4f09656.entry.js +0 -1
  599. package/dist/genesys-webcomponents/p-de201038.entry.js +0 -1
  600. package/dist/genesys-webcomponents/p-f210328a.entry.js +0 -1
  601. package/dist/genesys-webcomponents/p-f6236a37.entry.js +0 -1
  602. package/dist/genesys-webcomponents/p-fc9b86d4.entry.js +0 -1
  603. package/dist/genesys-webcomponents/p-fdb1a11a.entry.js +0 -1
@@ -4,4 +4,4 @@ import{r as t,c as i,d as n,w as e,h as o,g as r}from"./p-78cb19b9.js";import{O
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 f(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 d(t){return d="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},d(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 j,A=/\s+/g;function C(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(A," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(A," ")}}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 L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==L()?(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 f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.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 d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Ut.ghost&&(e||s[r]!==Ut.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Ut.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===Ut.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();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 L();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 L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(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 K(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function U(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function X(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=N(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 $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.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 V.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 V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["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,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft,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,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){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=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,ft,dt,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,At=!1,Ct=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Lt=y,Nt=p||m?"cssFloat":"float",Rt=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),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(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[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Ht=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"==d(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 Wt=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[$].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(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[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(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[$]=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!==Ut.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Rt,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!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},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=N(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&&W(u,a)&&!W(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)),W(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 Xt(t,i,n,e,o,r,s,a){var u,l,c=t[$],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||N(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 $t(){Dt=!1}function Vt(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 qt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_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=H(a),ht=H(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=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,dt=s.group,Ut.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}),Ut.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),C(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),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(Ut.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?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",Kt);var n=this.options;!t&&C(it,n.dragClass,!1),C(it,n.ghostClass,!0),Ut.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[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._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),s=et&&r&&r.a,a=et&&r&&r.d,u=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-Ct[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-Ct[1]:0)/(a||1);if(!Ut.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=N(it,!0,Lt,!0,t),n=this.options;if(Lt){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=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),Ct=P(Ot)}C(et=it.cloneNode(!0),n.ghostClass,!1),C(et,n.fallbackClass,!0),C(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",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.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}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),C(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&C(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,s=t.target,a=this.options,u=a.group,l=Ut.active,c=dt===u,h=a.sort,d=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"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(B(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 L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),L(!0)}else if(g&&function(t,i,n){var e=N(F(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=F(r,0,a,!0);if(m===it)return L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!0)}else if(s.parentNode===r){n=N(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=R(s,"top","top")||R(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,At=!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,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)f=!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(f=f||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,At,Et===s),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return L(!1);Et=s,St=p;var M=s.nextElementSibling,j=!1,A=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==A)return 1!==A&&-1!==A||(j=1===A),Dt=!0,setTimeout($t,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||At||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==d&&(C(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),C(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_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),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),ft=H(it,n.draggable),Ut.eventCanceled||(kt=!1,At=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(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&&C(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),C(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})),Ut.active&&(null!=ct&&-1!==ct||(ct=lt,ft=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=ft=lt=ht=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.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)||Vt(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=q.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[$]=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),Ut.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),Ut.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){(Ut.active||kt)&&t.cancelable&&t.preventDefault()})),Ut.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:K,closest:I,toggleClass:C,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.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&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.6";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((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=L(),c=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var h=0,f=Jt;do{var d=f,v=N(d),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=d.scrollWidth,T=d.scrollHeight,O=D(d),k=d.scrollLeft,M=d.scrollTop;d===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),j=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var A=0;A<=h;A++)oi[A]||(oi[A]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===d||(oi[h].el=d,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Ut.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(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&f!==l&&(f=G(f,!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=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"}),Ut.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(j),j=void 0},nulling:function(){ni=Qt=Jt=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=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(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||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(hi,ci);const fi=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.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 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 Ut(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:"791bc59f2f7f61d700fcace8826fd2d314df595f",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"21104e2f4091950985f4b5d78a34dc7b9904fef9",class:"gux-scrollable-section"},o("div",{key:"91b7d3091d10d34983d2fc85ab43015c3a3bd73a",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"3d79a8d8c667cbee0d0684e2cf30a72bbdcdc633"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}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",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":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",{"icon-name":this.getChevronIconName(t),"screenreader-text":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})],fi.prototype,"onMutation",null),fi.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 .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;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{fi 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 f(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 d(t){return d="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},d(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 j,A=/\s+/g;function C(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(A," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(A," ")}}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 L(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,h;if(t!==window&&t.parentNode&&t!==L()?(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 f=o.getBoundingClientRect();s-=f.top+parseInt(D(o,"border-top-width")),a-=f.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 d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(s/=b)+(c/=b),l=(a/=v)+(h/=v))}return{top:s,left:a,bottom:u,right:l,width:h,height:c}}}function R(t,i,n){for(var e=G(t,!0),o=N(t)[i];e;){var r=N(e)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return e;if(e===L())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Ut.ghost&&(e||s[r]!==Ut.dragged)&&I(s[r],n.draggable,t,!1)){if(o===i)return s[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Ut.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===Ut.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=L();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 L();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 L();if(e||i)return n;e=!0}}}while(n=n.parentNode);return L()}function W(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 K(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function U(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function X(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=N(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 $="Sortable"+(new Date).getTime();var V=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);V.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),V.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";V.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in V.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 V.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 V.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},J=["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,J);q.pluginEvent.bind(Ut)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:st,cloneEl:at,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Ut.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft,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,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[$]){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=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(f({putSortable:vt,cloneEl:at,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,st,at,ut,lt,ct,ht,ft,dt,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,At=!1,Ct=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Lt=y,Nt=p||m?"cssFloat":"float",Rt=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),s=o&&D(o),a=r&&D(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(o).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(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[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Ht=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"==d(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 Wt=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[$].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(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[$]._onDragOver(n)}}var o,r,s},Kt=function(t){it&&it.parentNode[$]._isOutsideThisEl(t.target)};function Ut(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[$]=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!==Ut.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var s in Ht(i),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!i.forceFallback&&Rt,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!==Ut.ghost){e.push({target:t,rect:N(t)});var i=f({},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=N(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&&W(u,a)&&!W(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)),W(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 Xt(t,i,n,e,o,r,s,a){var u,l,c=t[$],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||N(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 $t(){Dt=!1}function Vt(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 qt(t){return clearTimeout(t)}Ut.prototype={constructor:Ut,_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=H(a),ht=H(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=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,st=n,dt=s.group,Ut.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}),Ut.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),C(it,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){z(it,t.trim(),Yt)})),T(a,"dragover",Wt),T(a,"mousemove",Wt),T(a,"touchmove",Wt),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(Ut.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?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",Kt);var n=this.options;!t&&C(it,n.dragClass,!1),C(it,n.ghostClass,!0),Ut.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[$]._isOutsideThisEl(t),i)do{if(i[$]&&i[$]._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),s=et&&r&&r.a,a=et&&r&&r.d,u=Lt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(s||1)+(u?u[0]-Ct[0]:0)/(s||1),c=(o.clientY-bt.clientY+e.y)/(a||1)+(u?u[1]-Ct[1]:0)/(a||1);if(!Ut.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=N(it,!0,Lt,!0,t),n=this.options;if(Lt){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=L()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=L(),Ct=P(Ot)}C(et=it.cloneNode(!0),n.ghostClass,!1),C(et,n.fallbackClass,!0),C(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",Lt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Ut.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}),Ut.eventCanceled?this._onDrop():(Q("setupClone",this),Ut.eventCanceled||((at=X(it)).removeAttribute("id"),at.draggable=!1,at.style["will-change"]="",this._hideClone(),C(at,this.options.chosenClass,!1),Ut.clone=at),n.cloneId=Zt((function(){Q("clone",n),Ut.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(at,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&C(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,s=t.target,a=this.options,u=a.group,l=Ut.active,c=dt===u,h=a.sort,d=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"),Ut.eventCanceled)return b;if(it.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||v._ignoreWhileAnimating===s)return L(!1);if(Mt=!1,l&&!a.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,s),i=N(it),_("dragOverValid"),Ut.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Ut.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),L(!0);var g=B(r,a.draggable);if(!g||function(t,i,n){var e=N(B(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 L(!1);if(g&&r===t.target&&(s=g),s&&(n=N(s)),!1!==Xt(ot,r,it,i,s,n,t,!!s))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),L(!0)}else if(g&&function(t,i,n){var e=N(F(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=F(r,0,a,!0);if(m===it)return L(!1);if(n=N(s=m),!1!==Xt(ot,r,it,i,s,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),L(!0)}else if(s.parentNode===r){n=N(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=R(s,"top","top")||R(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==s&&(w=n[S],jt=!1,At=!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,f=!1;if(!s)if(a&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)f=!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(f=f||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,At,Et===s),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===s)return L(!1);Et=s,St=p;var M=s.nextElementSibling,j=!1,A=Xt(ot,r,it,i,s,n,t,j=1===p);if(!1!==A)return 1!==A&&-1!==A||(j=1===A),Dt=!0,setTimeout($t,30),z(),j&&!M?r.appendChild(it):s.parentNode.insertBefore(it,j?M:s),T&&U(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||At||(Tt=Math.abs(w-N(s)[S])),P(),L(!0)}if(r.contains(it))return L(!1)}return!1}function _(a,u){Q(a,v,f({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:d,target:s,completed:L,onMove:function(n,e){return Xt(ot,r,it,i,n,N(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function L(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==d&&(C(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),C(it,a.ghostClass,!0)),vt!==v&&v!==Ut.active?vt=v:v===Ut.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=s),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===it&&!it.animated||s===r&&!s.animated)&&(Et=null),a.dragoverBubble||t.rootEl||s===document||(it.parentNode[$]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),ft=H(it,a.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Wt),O(document,"mousemove",Wt),O(document,"touchmove",Wt)},_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),ft=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),ft=H(it,n.draggable),Ut.eventCanceled||(kt=!1,At=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(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&&C(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),C(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})),Ut.active&&(null!=ct&&-1!==ct||(ct=lt,ft=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=ft=lt=ht=Et=St=vt=dt=Ut.dragged=Ut.ghost=Ut.clone=Ut.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)||Vt(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=q.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[$]=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),Ut.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),Ut.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){(Ut.active||kt)&&t.cancelable&&t.preventDefault()})),Ut.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:K,closest:I,toggleClass:C,clone:X,index:H,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:$},Ut.get=function(t){return t[$]},Ut.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&&(Ut.utils=f(f({},Ut.utils),t.utils)),q.mount(t)}))},Ut.create=function(t,i){return new Ut(t,i)},Ut.version="1.15.6";var Jt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function si(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function ai(){clearInterval(ei)}var ui=K((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=L(),c=!1;Qt!==n&&(Qt=n,si(),o=i.scrollFn,!0===(Jt=i.scroll)&&(Jt=G(n,!0)));var h=0,f=Jt;do{var d=f,v=N(d),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=d.scrollWidth,T=d.scrollHeight,O=D(d),k=d.scrollLeft,M=d.scrollTop;d===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),j=E&&(Math.abs(g-s)<=a&&M+x<T)-(Math.abs(b-s)<=a&&!!M);if(!oi[h])for(var A=0;A<=h;A++)oi[A]||(oi[A]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===d||(oi[h].el=d,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Ut.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(Ut.dragged.parentNode[$],n,i,t,ni,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&f!==l&&(f=G(f,!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=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"}),Ut.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(j),j=void 0},nulling:function(){ni=Qt=Jt=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=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&ai(),ei=setInterval((function(){var r=G(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||G(r,!0)===L())return void si();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(hi,ci);const fi=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.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 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 Ut(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:"3141c7d26950d26eccfd136d7aee263963f0ef14",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"f5d4ef90168f0e44933ca388d6f49e120cabf26a",class:"gux-scrollable-section"},o("div",{key:"dcffc6d1f7336e040a7ad612789627f4556eadc0",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"4b705d1ce564196a4feaf2698b057acab03b9f8a"})),this.renderAddButton()),this.renderScrollButton("scrollRight"))]}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",{class:"gux-add-button",accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{"icon-name":"fa/plus-regular","screenreader-text":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",{"icon-name":this.getChevronIconName(t),"screenreader-text":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})],fi.prototype,"onMutation",null),fi.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 .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;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{fi as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-78cb19b9.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"ac499898dc480de4a4b81dc88c5479b73d76fe3f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-78cb19b9.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"a0f9286731bb209ca9320ae7c403cd95891fe23f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as r}from"./p-78cb19b9.js";import{t as o}from"./p-7c26f60c.js";import{p as a,n as h,f as n,l}from"./p-8d73b418.js";const c=["gux-rich-style-list-item","gux-rich-highlight-list-item"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.value=void 0,this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));t&&(t.shadowRoot.querySelector("button").tabIndex=0)}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){o(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i={ArrowUp:()=>a(this.root,c),ArrowDown:()=>h(this.root,c),Home:()=>n(this.root,c),End:()=>l(this.root,c)};s.matches("gux-rich-highlight-list-item")&&Object.assign(i,{ArrowLeft:()=>a(this.root,c),ArrowRight:()=>h(this.root,c)});const e=i[t.key];e&&(t.preventDefault(),e())}async guxFocusFirstItem(){n(this.root,c)}async guxFocusLastItem(){l(this.root,c)}render(){return i(e,{key:"a9e2c6054a4069423aab4b7ab97812efe2a3bbd0",role:"list"},i("slot",{key:"8559c06a39a7094a91fcf4ddf8a61769c58df922",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
@@ -1 +1 @@
1
- import{r as t,h as i,H as o,g as e}from"./p-78cb19b9.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-a2f2c0a9.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-b173ec5d.js";import{b as p}from"./p-cf0e7d3b.js";import{o as u}from"./p-2ddeb267.js";import{f as g}from"./p-9b0d3713.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip-base"),this.tooltipId=void 0,this.forElement=void 0,this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l(),u()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:i-this.offsetY+"px",visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"62c065bd60d62b704decec06eb9d823de259b07c",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"dc87764388446b6e77444f8be7df6f5cae486a75",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"0cc4f91c9306efe350c2fd3f81136b0fa2801911",name:"content"})))}get root(){return e(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-offsetX) var(--gse-ui-tooltip-boxShadow-offsetY) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.forElement=void 0,this.role=void 0,this.for=void 0,this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(o,{key:"488a2c659e021488f77b11698f31266ee0e3f5f0",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"6231a0f5639b93a8b777b3b2aeefc2fe7b6ba9f9",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"2184b68a6f7661938c0d3e7ba46773c772e7f2cb",slot:"content"},i("slot",{key:"48852df62ef157c666c77260a78a8591c4971429",name:"content"},i("slot",{key:"cf747e07aa146e863d09351d8d2cb75e54969ade"})))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
1
+ import{r as t,h as i,H as o,g as e}from"./p-78cb19b9.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-a2f2c0a9.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-7c26f60c.js";import{b as p}from"./p-cf0e7d3b.js";import{o as u}from"./p-2ddeb267.js";import{f as g}from"./p-9b0d3713.js";const f=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip-base"),this.tooltipId=void 0,this.forElement=void 0,this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l(),u()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:i-this.offsetY+"px",visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"268001423213ce578dffcff3311505f6fb3de012",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"574b792c9ff1668b32fad2fdf9314eb64e1e57ba",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"c3d4cf2c5879e2ab1b845327b31fc274414219f6",name:"content"})))}get root(){return e(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};f.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-offsetX) var(--gse-ui-tooltip-boxShadow-offsetY) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";const b=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.forElement=void 0,this.role=void 0,this.for=void 0,this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(o,{key:"30b4306234011996e56e73179df457cab4580097",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"7cd729fe08ae89b339e709f166383591b715683e",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"4a4f61468ea54050213898d8b29f2ac1f4be4f2f",slot:"content"},i("slot",{key:"c593d4f870a671e61de732d8c6467ac4f5036032",name:"content"},i("slot",{key:"a0415bb667e0a8e45844f8e9d6edbbed1ad6f78d"})))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};export{f as gux_tooltip_base_beta,b as gux_tooltip_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,g as i}from"./p-78cb19b9.js";import{b as n}from"./p-4b423804.js";import{t as s}from"./p-20fbe34f.js";import{b as r}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const u=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"027881e358a58ea4c1264b7972af5c1a6223938e",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"552ee18fa52cd9997757b75039a1443e3f203b41",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"3143b8e60f8dcbac94a237f771f6e54794139aa4",accent:"ghost","icon-only":!0},a("button",{key:"973dd2dc2702740d3a7450eb6631e1d95d8c7dce",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"fe4925c63146238d5b2c0559d2a8feb87eac7399",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"4213d70714388c863b97922ab66e13716da6ca3f",accent:"ghost","icon-only":!0},a("button",{key:"7c7491aa55b3ee6014553e47fb90f10d7229d72b",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"3f268219cbd6c9cf88ae2a317a5952eb84a4fccb",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"cefc1d9eb37c15de59ed1699b90a7c42f8bfa781",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"c61cf6229e0e0dff99ee629a54b7a6b0e256956c",accent:"ghost","icon-only":!0},a("button",{key:"345d941390b3d12ecb23216da6885fe342d0405b",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"c6878a66fb637d4755e2f6fd59d0f6e69d272b52",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"2885faa05cab550857af7e0d7bf837ad2d8ffbec",accent:"ghost","icon-only":!0},a("button",{key:"19dc8a3aa306eb34b5a1570961589769c4c0e54a",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"c08ccc987e1994d14e224cff805c6b14aa04b380",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"a8a5a199b4281491abdf02d052725c8870ae67fb",class:"gux-pagination-item-counts-container"},a("span",{key:"4e2f9b3a500d06e03d2cb0a11e8703af0f1b756c",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"24fae2bdf5c40fb35d880283711d4bbe48bb38e1",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as a,h as e,g as i}from"./p-78cb19b9.js";import{b as n}from"./p-4b423804.js";import{t as s}from"./p-20fbe34f.js";import{b as r}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"f2c6663b60d31128f7bd6dd20adb5b82c7f80ca7",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"0d952945c1b387b454d33036fc4f71806c4d0ddf",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"0ba6e5b7aba9f5801125bcecb41cd965272a20a8",accent:"ghost","icon-only":!0},e("button",{key:"19441927825cff37a22d5e6b7d43b9ac54099c0d",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"402639e46592e97a4e060c046893c98164ae0fe8",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"463786ba7dcd23d58cbb1a51b10648c8bacd8740",accent:"ghost","icon-only":!0},e("button",{key:"5310d013e36fb4cfa0bec4309576163bdb2dd7b3",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"e96beda65d0f4001d53a16ab84268e6f59b8d686",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"344801696017036161d2335433b1d2b5edc1955a",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"8b5c4b1699edcb0cf5881af6d868c419eae51836",accent:"ghost","icon-only":!0},e("button",{key:"eac8bdb213a9ea6a604957e156ff247adcd555c4",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"28d31e5861870a84d0bbf530efe33bf86b230cb7",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"2d1b16f127176b7412a2757d29584cf1b944cc5d",accent:"ghost","icon-only":!0},e("button",{key:"8d7676989232c08d7bd28d1aa81da4292591dcda",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"a036f94822cb04e34b7afbc3623815864e788c1e",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"ef15f586fd2b9f522a421132e30da5358c166754",class:"gux-pagination-item-counts-container"},e("span",{key:"c6a0351bdeff34ea22ee621d14a206b4d4f1df0b",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"b4a8ad027230d070044e2f1a1e8c5885065857cd",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -1 +1 @@
1
- import{r,h as d,g as e}from"./p-78cb19b9.js";import{t as a}from"./p-b173ec5d.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"048b1825db881e0790fa44599576ae68fdfddfab",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"98058859f5b54c7fdd474493dbdf86931b98f32b"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-offsetX) var(--gse-ui-card-raised-boxShadow-offsetY) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
1
+ import{r,h as d,g as e}from"./p-78cb19b9.js";import{t as a}from"./p-7c26f60c.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"fddfeabae96f3dceb718f2e81f787a607806626c",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"1a47ff002ceb544b37882c381dadc09386d69531"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-offsetX) var(--gse-ui-card-raised-boxShadow-offsetY) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
@@ -1 +1 @@
1
- import{r as e,h as i,g as t}from"./p-78cb19b9.js";import{b as o}from"./p-4b423804.js";import{O as r}from"./p-f4a8d565.js";import{a as l,o as s}from"./p-e5b1cffc.js";import{t as a}from"./p-b173ec5d.js";import{a as n,G as f}from"./p-1d9a9724.js";import{G as h,a as d,b as u}from"./p-bc5a89d8.js";import{h as c}from"./p-6d8b4027.js";import{g as p}from"./p-0268a3e8.js";import{v as g,a as m}from"./p-42f2e889.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"2faf2285935664e9c280134387a706a1c1a944bd",labelPosition:this.computedLabelPosition},i(d,{key:"ec23a5300f9e8c80238e0cdaa6a85e7c3f9ea99a"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(p(this.root,"error"),this.hasError),this.renderText(p(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"5330332f537b8a995bc51446d8a6cc31a8310439",position:this.computedLabelPosition,required:this.required},i("slot",{key:"027707b7360d78f80578421139beb0139f5e8dd7",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"597b43ae4ba13036f30a48842dd91e8b9887652f",variant:this.indicatorMark,required:this.required}),i("slot",{key:"4700b0137ef46b7b426c69ef58a70e736358ea93",name:"label-info"})),i("div",{key:"a51dfbf4a9a859b7e74dc5f90b6f0bc3c06405bd",class:"gux-input-and-error-container"},i("div",{key:"6d18358edd54d2d9b102c6dba7c546b0688a1723",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"705a88162290a982c53eb525ad09709fd72b81f2",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"fc1b8087722c654ce08985e3a287d7acd17d1eac"}))),i(n,{key:"8d0df77c0fd84213ba45c0138e149f97763bcc9f",show:this.hasError},i("slot",{key:"612b08bfb7389bc9f2f8635c19871c2fed54c919",name:"error"})),i(f,{key:"57f241314207da4d7ec5d764bf6c6454386e452e",show:!this.hasError&&this.hasHelp},i("slot",{key:"761b87a8721f60bf917ef2a37304ccd093c9e97a",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
1
+ import{r as e,h as i,g as t}from"./p-78cb19b9.js";import{b as o}from"./p-4b423804.js";import{O as r}from"./p-f4a8d565.js";import{a as l,o as s}from"./p-e5b1cffc.js";import{t as a}from"./p-7c26f60c.js";import{a as n,G as f}from"./p-1d9a9724.js";import{G as h,a as d,b as u}from"./p-bc5a89d8.js";import{h as c}from"./p-6d8b4027.js";import{g as p}from"./p-0268a3e8.js";import{v as g,a as m}from"./p-42f2e889.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"4033587ecc7f9d14a95c6388b5240fc000b35362",labelPosition:this.computedLabelPosition},i(d,{key:"0dbe6f44f64c58b277c504978926a0c189ec69b6"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(p(this.root,"error"),this.hasError),this.renderText(p(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"4212361a7da48e80fb6644e91227475548ceb16d",position:this.computedLabelPosition,required:this.required},i("slot",{key:"4a39db24b9c62b9b287f8f20246eef3e37b79910",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"eef893fe39ecb9d43cc47c1dc20b20b698ccc65c",variant:this.indicatorMark,required:this.required}),i("slot",{key:"8318a51d01a4cf48b01652d0604b2f006072025a",name:"label-info"})),i("div",{key:"a34e3bf2a60b418cbacafd3fc921eb57917b8eeb",class:"gux-input-and-error-container"},i("div",{key:"3c5730f1d80484789345645fd4b216c4502d110b",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"0946b1e552926c2abe69b26f5c8d7c93f80829a7",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"1651c44bda8d5983564143412363207a47d45465"}))),i(n,{key:"45bcb523d3ce076f9c2b92f876812aa08e2ed063",show:this.hasError},i("slot",{key:"75f98de65f93eb22d561c3a6186a6db0f18c16d0",name:"error"})),i(f,{key:"828b128b8457969838561683d2fc98de260105ff",show:!this.hasError&&this.hasHelp},i("slot",{key:"555d9a314841611b848c3e6fa89f811587871de0",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
@@ -1 +1 @@
1
- import{r as e,c as t,h as g,H as l,g as i}from"./p-78cb19b9.js";import{t as o}from"./p-b173ec5d.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-4b423804.js";import"./p-4202e9f2.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.label=void 0,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-regular",decorative:!0}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"1abfd603b7db883004b3a33ac6980b21d82b2aff",class:{"gux-display-inline":this.displayInline}},g("div",{key:"d57b3336c98a2753f4e65bfacd8b9bdf01913dad",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"97a5dcd80c233c1dd3699d75e6fd0ddb6d4715dd",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"87725635106f7c561c71feaccc132fd153d20a96",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"90991c1493de8338de47340551a4bc5ec7b1931e",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-size:var(--gse-ui-toggle-label-fontSize);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
1
+ import{r as e,c as t,h as g,H as l,g as i}from"./p-78cb19b9.js";import{t as o}from"./p-7c26f60c.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-4b423804.js";import"./p-4202e9f2.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.label=void 0,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-regular",decorative:!0}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"a520aa2a6bf8b1dbd4c04fdc8975364baae5c753",class:{"gux-display-inline":this.displayInline}},g("div",{key:"b1a45c7ef17625b08aa5ad846c3686ad35029d3d",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"322f59ef271e8508dc2fada0712bdf2d9ad21db1",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"7f174fe4c252dc22444601b75f00943f410eb8b8",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"3d1b1d7e7ab4daa7c40a0b95a0d368037788f6dd",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-size:var(--gse-ui-toggle-label-fontSize);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-78cb19b9.js";import{b as a}from"./p-4b423804.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-408d5857.js";import"./p-4202e9f2.js";const c=class{constructor(s){e(this,s),this.internalallrowselectchange=t(this,"internalallrowselectchange",7),this.id=o("gux-all-row-select"),this.selected=!1,this.disabled=void 0}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalallrowselectchange.emit(this.selected)}async setIndeterminate(e=!0){this.inputElement.indeterminate=e}async componentWillLoad(){this.i18n=await a(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"01778a896f0621991709301fa4281afa22e5f5f2","label-position":"screenreader"},s("input",{key:"5c33fa3a16a412b9a0582e2bdc3b8545a761b458",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"87a546b18ceed140661f41ec4247047cc5ad2570",slot:"label",htmlFor:this.id},"​",s("span",{key:"ddb659bd9431dbe90f431f363676b27620a8b0ec"},this.i18n("selectAllTableRows"))))}get root(){return i(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}";export{c as gux_all_row_select}
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,g as r}from"./p-78cb19b9.js";import{t as a}from"./p-b173ec5d.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"1800b2ba3ff355461ca245554972bd430275bd21",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"a51e6da5a63bf167e8fed7dfff493e21c9a7b947"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
1
+ import{r as o,h as e,H as t,g as r}from"./p-78cb19b9.js";import{t as a}from"./p-7c26f60c.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"1800b2ba3ff355461ca245554972bd430275bd21",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"a51e6da5a63bf167e8fed7dfff493e21c9a7b947"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
@@ -1 +1 @@
1
- import{r as i,h as o,g as r}from"./p-78cb19b9.js";import{t}from"./p-b173ec5d.js";import{b as a}from"./p-4b423804.js";import"./p-4202e9f2.js";const e={optional:"optional"},l=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,e)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};l.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{l as gux_form_field_label_indicator}
1
+ import{r as i,h as o,g as r}from"./p-78cb19b9.js";import{t}from"./p-7c26f60c.js";import{b as a}from"./p-4b423804.js";import"./p-4202e9f2.js";const l={optional:"optional"},e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
@@ -1 +1 @@
1
- import{r as t,h as s,g as o}from"./p-78cb19b9.js";import{t as i}from"./p-b173ec5d.js";import{b as r}from"./p-4b423804.js";import{t as e}from"./p-7747f18f.js";import{h as n,r as a}from"./p-274517cc.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
1
+ import{r as t,h as s,g as o}from"./p-78cb19b9.js";import{t as i}from"./p-7c26f60c.js";import{b as r}from"./p-4b423804.js";import{t as e}from"./p-864d63fe.js";import{h as n,r as a}from"./p-274517cc.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,g as i}from"./p-78cb19b9.js";import{a as s,c as r,o as a,f as p,s as n,h,b as d}from"./p-a2f2c0a9.js";import{O as c}from"./p-045d724a.js";import{t as l}from"./p-b173ec5d.js";import{g as u}from"./p-1ccc4961.js";import{f as v}from"./p-9b0d3713.js";const g=class{constructor(o){e(this,o),this.guxdismiss=t(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1,this.forElement=void 0}updateForElement(){this.forElement=this.getForElement()}onKeyDown(e){"Escape"===e.key&&this.dismiss()}onFocusout(e){!this.closeOnClickOutside&&this.displayDismissButton||e.relatedTarget&&!this.root.contains(e.relatedTarget)&&this.dismiss()}checkForClickOutside(e){const t=e.composedPath(),o=v(this.root,this.for),i=t.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss(),i&&(this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition())}get titleSlot(){return u(this.root,"title")}getForElement(){if(this.for){const e=v(this.root,this.for);return e||this.logForAttributeError(),e}this.logForAttributeError()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=s(v(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const e=v(this.root,this.for);this.popupElement&&e&&r(e,this.popupElement,{placement:this.position,middleware:[a(7),p(),n(),h(),d({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${e}px`,top:`${t}px`});const s=i.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],p="left"===s||"right"===s?15:13;if(o.arrow){let e=o.arrow.x;const t=o.arrow.y;"left"!==s&&"right"!==s||(e+=4),this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:-p+"px",transform:`rotate(${a}deg)`})}o.hide&&Object.assign(this.popupElement.style,{visibility:o.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}connectedCallback(){this.updateForElement(),l(this.root,{variant:this.position})}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition()))}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return o("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return o("div",{key:"37097ff16c78960e146808147fc29da4b0381693",ref:e=>this.popupElement=e,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual"},o("div",{key:"d351ddc5005bc742d78a3d3421be9d17e5269671",ref:e=>this.arrowElement=e,class:"gux-arrow"},o("div",{key:"4269fca2eaa5072b4797fbc8f7f76e637d4f425c",class:"gux-arrow-caret"})),o("div",{key:"7997ad6bc0a9ce3e5e05f21c532bd309ca71c8bf",class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{key:"d7561c283fed7d1e1412e77b9123e2184c4645d7",name:"title"}),this.renderDismissButton()),o("div",{key:"35ff91d63e2364a3a00656814bb22eaf6da3f9a1",class:"gux-popover-content"},o("slot",{key:"48623dcb0f8bec52b3c17bf1ceb2a587f32a818b"})))}get root(){return i(this)}static get watchers(){return{for:["updateForElement"]}}};(function(e,t,o,i){var s,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(a=(r<3?s(a):r>3?s(t,o,a):s(t,o))||a);r>3&&a&&Object.defineProperty(t,o,a)})([c({triggerEvents:"mousedown"})],g.prototype,"checkForClickOutside",null),g.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;min-inline-size:280px;padding:var(--gse-ui-popover-padding);overflow:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-offsetX) var(--gse-ui-popover-boxShadow-offsetY) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;filter:drop-shadow(var(--gse-ui-popover-boxShadow-offsetX) var(--gse-ui-popover-boxShadow-offsetY) calc(var(--gse-ui-popover-boxShadow-blur) / 2) var(--gse-ui-tooltip-boxShadow-color));border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper gux-dismiss-button{float:inline-end}";export{g as gux_popover_beta}
1
+ import{r as t,c as e,h as o,g as i}from"./p-78cb19b9.js";import{a as s,c as r,o as a,f as p,s as n,h,b as c}from"./p-a2f2c0a9.js";import{O as d}from"./p-045d724a.js";import{t as l}from"./p-7c26f60c.js";import{g as u}from"./p-1ccc4961.js";import{f as v}from"./p-9b0d3713.js";const g=class{constructor(o){t(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1,this.forElement=void 0}updateForElement(){this.forElement=this.getForElement()}onKeyDown(t){"Escape"===t.key&&this.dismiss()}onFocusout(t){!this.closeOnClickOutside&&this.displayDismissButton||t.relatedTarget&&!this.root.contains(t.relatedTarget)&&this.dismiss()}checkForClickOutside(t){const e=t.composedPath(),o=v(this.root,this.for),i=e.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss(),i&&(this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition())}get titleSlot(){return u(this.root,"title")}getForElement(){if(this.for){const t=v(this.root,this.for);return t||this.logForAttributeError(),t}this.logForAttributeError()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=s(v(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=v(this.root,this.for);this.popupElement&&t&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),p(),n(),h(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const s=i.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],p="left"===s||"right"===s?15:13;if(o.arrow){let t=o.arrow.x;const e=o.arrow.y;"left"!==s&&"right"!==s||(t+=4),this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:-p+"px",transform:`rotate(${a}deg)`})}o.hide&&Object.assign(this.popupElement.style,{visibility:o.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}connectedCallback(){this.updateForElement(),l(this.root,{variant:this.position})}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition()))}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return o("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return o("div",{key:"37097ff16c78960e146808147fc29da4b0381693",ref:t=>this.popupElement=t,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual"},o("div",{key:"d351ddc5005bc742d78a3d3421be9d17e5269671",ref:t=>this.arrowElement=t,class:"gux-arrow"},o("div",{key:"4269fca2eaa5072b4797fbc8f7f76e637d4f425c",class:"gux-arrow-caret"})),o("div",{key:"7997ad6bc0a9ce3e5e05f21c532bd309ca71c8bf",class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{key:"d7561c283fed7d1e1412e77b9123e2184c4645d7",name:"title"}),this.renderDismissButton()),o("div",{key:"35ff91d63e2364a3a00656814bb22eaf6da3f9a1",class:"gux-popover-content"},o("slot",{key:"48623dcb0f8bec52b3c17bf1ceb2a587f32a818b"})))}get root(){return i(this)}static get watchers(){return{for:["updateForElement"]}}};(function(t,e,o,i){var s,r=arguments.length,a=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(a=(r<3?s(a):r>3?s(e,o,a):s(e,o))||a);r>3&&a&&Object.defineProperty(e,o,a)})([d({triggerEvents:"mousedown"})],g.prototype,"checkForClickOutside",null),g.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;min-inline-size:280px;padding:var(--gse-ui-popover-padding);overflow:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-offsetX) var(--gse-ui-popover-boxShadow-offsetY) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;filter:drop-shadow(var(--gse-ui-popover-boxShadow-offsetX) var(--gse-ui-popover-boxShadow-offsetY) calc(var(--gse-ui-popover-boxShadow-blur) / 2) var(--gse-ui-tooltip-boxShadow-color));border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper gux-dismiss-button{float:inline-end}";export{g as gux_popover_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,g as o}from"./p-78cb19b9.js";import{t as a}from"./p-b173ec5d.js";import{b as g}from"./p-4b423804.js";import"./p-4202e9f2.js";const i={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"},l=class{constructor(r){e(this,r),this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,i)}render(){return r("div",{key:"edf253557ca4599511a35bb4509e502001b661d4",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};l.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{l as gux_badge}
1
+ import{r as e,h as r,g as o}from"./p-78cb19b9.js";import{t as a}from"./p-7c26f60c.js";import{b as g}from"./p-4b423804.js";import"./p-4202e9f2.js";const i={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"},l=class{constructor(r){e(this,r),this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,i)}render(){return r("div",{key:"d61c4e2e2353b3385d8fbcdc06813fcac52d3105",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};l.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{l as gux_badge}
@@ -1 +1 @@
1
- const t="4.112.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function c(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{c as t}
1
+ const t="4.113.0",e=20,n=3e4,o=[function(t){const[e,n,...o]=t.split(".");return{name:"spark-library",metadata:{fullVersion:`${e}.${n}.${o.join(".")}`,majorVersion:e,minorVersion:`${e}.${n}`}}}(t)];function i(){const t=window.newrelic;if(t){for(let r=0;r<e;r++){if(0==o.length)return void setTimeout(i,n);const e=o.shift();t.addPageAction(e.name,Object.assign(Object.assign({},e.metadata),{queueDepth:o.length}))}setTimeout(i,n)}}let r=!1;function c(e,n){window.newrelic&&(r||(r=!0,i()),document.contains(e)&&o.push({name:"spark-component",metadata:Object.assign(Object.assign({},n),{component:e.tagName.toLowerCase(),version:t})}))}export{c as t}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-78cb19b9.js";import{t as r}from"./p-b173ec5d.js";import{b as n}from"./p-4b423804.js";import{g as e,f as a,t as h}from"./p-b18096eb.js";import"./p-4202e9f2.js";const c=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=e().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,h)}render(){return s(i,{key:"e71634257f5f4bc42538e07c241fba45b0777492"},this.renderZoneDisplay())}get root(){return o(this)}};export{c as gux_time_zone_beta}
1
+ import{r as t,h as s,H as i,g as o}from"./p-78cb19b9.js";import{t as r}from"./p-7c26f60c.js";import{b as n}from"./p-4b423804.js";import{g as e,f as a,t as h}from"./p-b18096eb.js";import"./p-4202e9f2.js";const c=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=e().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,h)}render(){return s(i,{key:"17e41884ee83d41db7a2b6436693da9b863835f3"},this.renderZoneDisplay())}get root(){return o(this)}};export{c as gux_time_zone_beta}