genesys-spark-components 4.0.0-beta.33 → 4.0.0-beta.35

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 (295) hide show
  1. package/dist/cjs/en-14558544.js +24 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-month-calendar.cjs.entry.js +6 -2
  48. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-tab-advanced-legacy.cjs.entry.js +157 -0
  67. package/dist/cjs/gux-tab-advanced-list-legacy.cjs.entry.js +470 -0
  68. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +19 -3038
  69. package/dist/cjs/gux-tab-advanced-panel-legacy.cjs.entry.js +34 -0
  70. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-tabs-advanced-legacy.cjs.entry.js +63 -0
  76. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  86. package/dist/cjs/index-0d0fdb85.js +20 -4
  87. package/dist/cjs/loader.cjs.js +1 -1
  88. package/dist/cjs/sortable.esm-73cf219b.js +3023 -0
  89. package/dist/cjs/{usage-9520c06b.js → usage-7e2e71dc.js} +1 -1
  90. package/dist/collection/collection-manifest.json +4 -0
  91. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +7 -0
  92. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +5 -1
  93. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.css +117 -0
  94. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.js +317 -0
  95. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.css +211 -0
  96. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.js +623 -0
  97. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.css +48 -0
  98. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.js +106 -0
  99. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.css +3 -0
  100. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.js +147 -0
  101. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  102. package/dist/collection/components/stable/gux-icon/icons/custom/face-smile-hearts-regular.svg +1 -0
  103. package/dist/component-specs.json +10 -0
  104. package/dist/deploy-info.json +3 -3
  105. package/dist/esm/en-5b8ff4c7.js +22 -0
  106. package/dist/esm/genesys-webcomponents.js +1 -1
  107. package/dist/esm/gux-accordion.entry.js +1 -1
  108. package/dist/esm/gux-action-button.entry.js +1 -1
  109. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  110. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  111. package/dist/esm/gux-announce-beta.entry.js +1 -1
  112. package/dist/esm/gux-badge.entry.js +1 -1
  113. package/dist/esm/gux-blank-state.entry.js +1 -1
  114. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  115. package/dist/esm/gux-button-multi.entry.js +1 -1
  116. package/dist/esm/gux-button-slot.entry.js +1 -1
  117. package/dist/esm/gux-button.entry.js +1 -1
  118. package/dist/esm/gux-calendar.entry.js +1 -1
  119. package/dist/esm/gux-card.entry.js +1 -1
  120. package/dist/esm/gux-column-manager.entry.js +1 -1
  121. package/dist/esm/gux-content-search.entry.js +1 -1
  122. package/dist/esm/gux-context-menu.entry.js +1 -1
  123. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  124. package/dist/esm/gux-date-beta.entry.js +1 -1
  125. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  126. package/dist/esm/gux-datepicker.entry.js +1 -1
  127. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  128. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  129. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  130. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  131. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  132. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  133. package/dist/esm/gux-form-field-color.entry.js +1 -1
  134. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  135. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  136. package/dist/esm/gux-form-field-number_3.entry.js +1 -1
  137. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  138. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  139. package/dist/esm/gux-form-field-range.entry.js +1 -1
  140. package/dist/esm/gux-form-field-search.entry.js +1 -1
  141. package/dist/esm/gux-form-field-select.entry.js +1 -1
  142. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  143. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  144. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  145. package/dist/esm/gux-icon.entry.js +1 -1
  146. package/dist/esm/gux-inline-alert.entry.js +1 -1
  147. package/dist/esm/gux-list.entry.js +1 -1
  148. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  149. package/dist/esm/gux-loading-message.entry.js +1 -1
  150. package/dist/esm/gux-modal.entry.js +1 -1
  151. package/dist/esm/gux-month-calendar.entry.js +6 -2
  152. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  153. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  154. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  155. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  156. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  157. package/dist/esm/gux-pagination.entry.js +1 -1
  158. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  159. package/dist/esm/gux-popover-list.entry.js +1 -1
  160. package/dist/esm/gux-radial-loading.entry.js +1 -1
  161. package/dist/esm/gux-radial-progress.entry.js +1 -1
  162. package/dist/esm/gux-rating.entry.js +1 -1
  163. package/dist/esm/gux-region-icon.entry.js +1 -1
  164. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  165. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  166. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  167. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  168. package/dist/esm/gux-sort-control.entry.js +1 -1
  169. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  170. package/dist/esm/gux-tab-advanced-legacy.entry.js +153 -0
  171. package/dist/esm/gux-tab-advanced-list-legacy.entry.js +466 -0
  172. package/dist/esm/gux-tab-advanced-list.entry.js +1 -3020
  173. package/dist/esm/gux-tab-advanced-panel-legacy.entry.js +30 -0
  174. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  175. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  176. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  177. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  178. package/dist/esm/gux-table.entry.js +1 -1
  179. package/dist/esm/gux-tabs-advanced-legacy.entry.js +59 -0
  180. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  181. package/dist/esm/gux-tabs.entry.js +1 -1
  182. package/dist/esm/gux-tag.entry.js +1 -1
  183. package/dist/esm/gux-text-highlight.entry.js +1 -1
  184. package/dist/esm/gux-time-beta.entry.js +1 -1
  185. package/dist/esm/gux-time-picker.entry.js +1 -1
  186. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  187. package/dist/esm/gux-toast.entry.js +1 -1
  188. package/dist/esm/gux-toggle.entry.js +1 -1
  189. package/dist/esm/gux-tooltip.entry.js +1 -1
  190. package/dist/esm/index-0b66fe2c.js +20 -4
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/esm/sortable.esm-8c3d5856.js +3021 -0
  193. package/dist/esm/{usage-03c766e9.js → usage-cd252d08.js} +1 -1
  194. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  195. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  196. package/dist/genesys-webcomponents/icons/custom/face-smile-hearts-regular.svg +1 -0
  197. package/dist/genesys-webcomponents/{p-c24ada31.entry.js → p-0249b669.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-ac151156.entry.js → p-078d3c75.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-02a95985.entry.js → p-0ca229eb.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-30f91270.entry.js → p-0d276dc9.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/p-1486d7ea.js +7 -0
  202. package/dist/genesys-webcomponents/{p-fa8b060e.entry.js → p-197d4153.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/p-1e4c80e5.entry.js +1 -0
  204. package/dist/genesys-webcomponents/{p-72dfb14e.entry.js → p-2176b2e3.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-4664b32a.entry.js → p-23ef4850.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-3e77a562.entry.js → p-2795474f.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-d853fc68.entry.js → p-280ec994.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-6078f7ff.entry.js → p-29bb65b6.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-95e92240.entry.js → p-2b46c949.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-7e39ea90.entry.js → p-2c9c3cea.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/{p-d2e1fea1.entry.js → p-3493b6c1.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-cce60954.entry.js → p-359d6b16.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-68fc5577.entry.js → p-39151f6f.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-e3bb70a8.entry.js → p-3d15a15a.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-034e6c4d.entry.js → p-3d3fea51.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-c5b07020.entry.js → p-3fc64f89.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-f5b2d539.entry.js → p-409a2aed.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/p-41617814.entry.js +1 -0
  219. package/dist/genesys-webcomponents/p-44835bc5.entry.js +1 -0
  220. package/dist/genesys-webcomponents/{p-bc563e6a.entry.js → p-45baa064.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-a68578ce.entry.js → p-45bcb54b.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-70df8d96.entry.js → p-53c4a7f7.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/p-572aec19.entry.js +1 -0
  224. package/dist/genesys-webcomponents/{p-24131412.entry.js → p-57c82db9.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-f9acf306.entry.js → p-5a94a9bf.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-e1e7a459.entry.js → p-5bbffb5a.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-7f9936a9.entry.js → p-5f96b474.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-2d3e13f9.js → p-605734cc.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-7a26c6e6.entry.js → p-6081375f.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-060cf9a7.entry.js → p-62456443.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-fc24eed4.entry.js → p-67652427.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-b10ec3d3.entry.js → p-6a62e7d1.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/p-6a8e1026.js +1 -0
  234. package/dist/genesys-webcomponents/{p-33221bb2.entry.js → p-75146c5b.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-928eb0b3.entry.js → p-782c1b84.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-92d41ee7.entry.js → p-7adb14d8.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-03c0c703.entry.js → p-7b3f06e0.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-f3195e5d.entry.js → p-7cecc169.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-58c457f5.entry.js → p-7fa0ebcf.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-634a50a3.entry.js → p-8691acc1.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-83c031b7.entry.js → p-8cfed8ab.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-15162b49.entry.js → p-8ef5755c.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-af4067b6.entry.js → p-8f781185.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-7cb046d5.entry.js → p-906dfed6.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-58ec395c.entry.js → p-9381f1a8.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-c6cc4d09.entry.js → p-94f2e2a4.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-998197a4.entry.js → p-9571e673.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-f6e30e40.entry.js → p-95a4e80e.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-afeb7307.entry.js → p-95fcbe0c.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-fa6ecb44.entry.js → p-97d57a71.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-cdf9859f.entry.js → p-98f69d35.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-f78428d6.entry.js → p-993b03b1.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-2527e7d0.entry.js → p-a2cc1e97.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-efd268e2.entry.js → p-a871a9cd.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/p-ac40bdc8.entry.js +1 -0
  256. package/dist/genesys-webcomponents/{p-f49d4768.entry.js → p-ad9c8e01.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-bc97008d.entry.js → p-b1c23548.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-d5e1b1e3.entry.js → p-b5ee1c41.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-92d50194.entry.js → p-b6ec024f.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-a0bf81e5.entry.js → p-bf36d208.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-a62be169.entry.js → p-c27e3e55.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-89cbb6af.entry.js → p-c6d8e1d8.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-5c1fa7a2.entry.js → p-c743441a.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-3336e979.entry.js → p-d2012304.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-6b076b8b.entry.js → p-d3c907fc.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-0c458b58.entry.js → p-d9a38f04.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-b11b5b21.entry.js → p-dab7466b.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-f67ad756.entry.js → p-dfb9c511.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-63dc1c21.entry.js → p-e078f4fa.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-7620a300.entry.js → p-e1030da3.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-d1dfb11f.entry.js → p-e401da19.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/p-e4d54add.entry.js +1 -0
  273. package/dist/genesys-webcomponents/{p-0a6a6a1c.entry.js → p-e511fb43.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-1d144c4d.entry.js → p-e7cab774.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-f32a9587.entry.js → p-ebede868.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-2ecea73a.entry.js → p-ebfa2805.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-0c5fd266.entry.js → p-f242ce05.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-b9e549f3.entry.js → p-f246861a.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-4cb5da55.entry.js → p-f6913d5e.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/p-f6f9039b.entry.js +1 -0
  281. package/dist/genesys-webcomponents/{p-4719c10d.entry.js → p-fab9ff54.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-f9df9b92.entry.js → p-fbc9566f.entry.js} +1 -1
  283. package/dist/stencil-wrapper.js +1 -1
  284. package/dist/types/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.d.ts +1 -0
  285. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.d.ts +45 -0
  286. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +82 -0
  287. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.d.ts +12 -0
  288. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.d.ts +25 -0
  289. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  290. package/dist/types/components.d.ts +132 -0
  291. package/dist/types/stencil-wrapper.d.ts +1 -1
  292. package/package.json +1 -1
  293. package/dist/genesys-webcomponents/p-4d34cf6e.entry.js +0 -7
  294. package/dist/genesys-webcomponents/p-9872ae5d.entry.js +0 -1
  295. package/dist/genesys-webcomponents/p-f7e9572a.entry.js +0 -1
@@ -872,6 +872,16 @@ export namespace Components {
872
872
  */
873
873
  "tabId": string;
874
874
  }
875
+ interface GuxTabAdvancedLegacy {
876
+ "guxDisabled": boolean;
877
+ "guxFocus": () => Promise<void>;
878
+ "guxGetActive": () => Promise<boolean>;
879
+ "guxSetActive": (active: boolean) => Promise<void>;
880
+ /**
881
+ * unique id for the tab
882
+ */
883
+ "tabId": string;
884
+ }
875
885
  interface GuxTabAdvancedList {
876
886
  /**
877
887
  * Enable tab sorting by drag/drop
@@ -887,10 +897,29 @@ export namespace Components {
887
897
  */
888
898
  "tabLimit": number;
889
899
  }
900
+ interface GuxTabAdvancedListLegacy {
901
+ /**
902
+ * Enable tab sorting by drag/drop
903
+ */
904
+ "allowSort": boolean;
905
+ "guxSetActive": (activeTab: string) => Promise<void>;
906
+ /**
907
+ * Enable new tab button
908
+ */
909
+ "showNewTabButton": boolean;
910
+ /**
911
+ * Maximum number of tabs created
912
+ */
913
+ "tabLimit": number;
914
+ }
890
915
  interface GuxTabAdvancedPanel {
891
916
  "guxSetActive": (active: boolean) => Promise<void>;
892
917
  "tabId": string;
893
918
  }
919
+ interface GuxTabAdvancedPanelLegacy {
920
+ "guxSetActive": (active: boolean) => Promise<void>;
921
+ "tabId": string;
922
+ }
894
923
  interface GuxTabList {
895
924
  "guxSetActive": (activeTab: string) => Promise<void>;
896
925
  }
@@ -978,6 +1007,13 @@ export namespace Components {
978
1007
  "activeTab": string;
979
1008
  "guxActivate": (tabId: string) => Promise<void>;
980
1009
  }
1010
+ interface GuxTabsAdvancedLegacy {
1011
+ /**
1012
+ * tabId of the currently selected tab
1013
+ */
1014
+ "activeTab": string;
1015
+ "guxActivate": (tabId: string) => Promise<void>;
1016
+ }
981
1017
  interface GuxTag {
982
1018
  "accent": GuxTagAccent;
983
1019
  "disabled": boolean;
@@ -1232,14 +1268,26 @@ export interface GuxTabAdvancedCustomEvent<T> extends CustomEvent<T> {
1232
1268
  detail: T;
1233
1269
  target: HTMLGuxTabAdvancedElement;
1234
1270
  }
1271
+ export interface GuxTabAdvancedLegacyCustomEvent<T> extends CustomEvent<T> {
1272
+ detail: T;
1273
+ target: HTMLGuxTabAdvancedLegacyElement;
1274
+ }
1235
1275
  export interface GuxTabAdvancedListCustomEvent<T> extends CustomEvent<T> {
1236
1276
  detail: T;
1237
1277
  target: HTMLGuxTabAdvancedListElement;
1238
1278
  }
1279
+ export interface GuxTabAdvancedListLegacyCustomEvent<T> extends CustomEvent<T> {
1280
+ detail: T;
1281
+ target: HTMLGuxTabAdvancedListLegacyElement;
1282
+ }
1239
1283
  export interface GuxTabAdvancedPanelCustomEvent<T> extends CustomEvent<T> {
1240
1284
  detail: T;
1241
1285
  target: HTMLGuxTabAdvancedPanelElement;
1242
1286
  }
1287
+ export interface GuxTabAdvancedPanelLegacyCustomEvent<T> extends CustomEvent<T> {
1288
+ detail: T;
1289
+ target: HTMLGuxTabAdvancedPanelLegacyElement;
1290
+ }
1243
1291
  export interface GuxTabPanelCustomEvent<T> extends CustomEvent<T> {
1244
1292
  detail: T;
1245
1293
  target: HTMLGuxTabPanelElement;
@@ -1260,6 +1308,10 @@ export interface GuxTabsAdvancedCustomEvent<T> extends CustomEvent<T> {
1260
1308
  detail: T;
1261
1309
  target: HTMLGuxTabsAdvancedElement;
1262
1310
  }
1311
+ export interface GuxTabsAdvancedLegacyCustomEvent<T> extends CustomEvent<T> {
1312
+ detail: T;
1313
+ target: HTMLGuxTabsAdvancedLegacyElement;
1314
+ }
1263
1315
  export interface GuxTagCustomEvent<T> extends CustomEvent<T> {
1264
1316
  detail: T;
1265
1317
  target: HTMLGuxTagElement;
@@ -1865,18 +1917,36 @@ declare global {
1865
1917
  prototype: HTMLGuxTabAdvancedElement;
1866
1918
  new (): HTMLGuxTabAdvancedElement;
1867
1919
  };
1920
+ interface HTMLGuxTabAdvancedLegacyElement extends Components.GuxTabAdvancedLegacy, HTMLStencilElement {
1921
+ }
1922
+ var HTMLGuxTabAdvancedLegacyElement: {
1923
+ prototype: HTMLGuxTabAdvancedLegacyElement;
1924
+ new (): HTMLGuxTabAdvancedLegacyElement;
1925
+ };
1868
1926
  interface HTMLGuxTabAdvancedListElement extends Components.GuxTabAdvancedList, HTMLStencilElement {
1869
1927
  }
1870
1928
  var HTMLGuxTabAdvancedListElement: {
1871
1929
  prototype: HTMLGuxTabAdvancedListElement;
1872
1930
  new (): HTMLGuxTabAdvancedListElement;
1873
1931
  };
1932
+ interface HTMLGuxTabAdvancedListLegacyElement extends Components.GuxTabAdvancedListLegacy, HTMLStencilElement {
1933
+ }
1934
+ var HTMLGuxTabAdvancedListLegacyElement: {
1935
+ prototype: HTMLGuxTabAdvancedListLegacyElement;
1936
+ new (): HTMLGuxTabAdvancedListLegacyElement;
1937
+ };
1874
1938
  interface HTMLGuxTabAdvancedPanelElement extends Components.GuxTabAdvancedPanel, HTMLStencilElement {
1875
1939
  }
1876
1940
  var HTMLGuxTabAdvancedPanelElement: {
1877
1941
  prototype: HTMLGuxTabAdvancedPanelElement;
1878
1942
  new (): HTMLGuxTabAdvancedPanelElement;
1879
1943
  };
1944
+ interface HTMLGuxTabAdvancedPanelLegacyElement extends Components.GuxTabAdvancedPanelLegacy, HTMLStencilElement {
1945
+ }
1946
+ var HTMLGuxTabAdvancedPanelLegacyElement: {
1947
+ prototype: HTMLGuxTabAdvancedPanelLegacyElement;
1948
+ new (): HTMLGuxTabAdvancedPanelLegacyElement;
1949
+ };
1880
1950
  interface HTMLGuxTabListElement extends Components.GuxTabList, HTMLStencilElement {
1881
1951
  }
1882
1952
  var HTMLGuxTabListElement: {
@@ -1943,6 +2013,12 @@ declare global {
1943
2013
  prototype: HTMLGuxTabsAdvancedElement;
1944
2014
  new (): HTMLGuxTabsAdvancedElement;
1945
2015
  };
2016
+ interface HTMLGuxTabsAdvancedLegacyElement extends Components.GuxTabsAdvancedLegacy, HTMLStencilElement {
2017
+ }
2018
+ var HTMLGuxTabsAdvancedLegacyElement: {
2019
+ prototype: HTMLGuxTabsAdvancedLegacyElement;
2020
+ new (): HTMLGuxTabsAdvancedLegacyElement;
2021
+ };
1946
2022
  interface HTMLGuxTagElement extends Components.GuxTag, HTMLStencilElement {
1947
2023
  }
1948
2024
  var HTMLGuxTagElement: {
@@ -2107,8 +2183,11 @@ declare global {
2107
2183
  "gux-switch-legacy": HTMLGuxSwitchLegacyElement;
2108
2184
  "gux-tab": HTMLGuxTabElement;
2109
2185
  "gux-tab-advanced": HTMLGuxTabAdvancedElement;
2186
+ "gux-tab-advanced-legacy": HTMLGuxTabAdvancedLegacyElement;
2110
2187
  "gux-tab-advanced-list": HTMLGuxTabAdvancedListElement;
2188
+ "gux-tab-advanced-list-legacy": HTMLGuxTabAdvancedListLegacyElement;
2111
2189
  "gux-tab-advanced-panel": HTMLGuxTabAdvancedPanelElement;
2190
+ "gux-tab-advanced-panel-legacy": HTMLGuxTabAdvancedPanelLegacyElement;
2112
2191
  "gux-tab-list": HTMLGuxTabListElement;
2113
2192
  "gux-tab-panel": HTMLGuxTabPanelElement;
2114
2193
  "gux-table": HTMLGuxTableElement;
@@ -2120,6 +2199,7 @@ declare global {
2120
2199
  "gux-table-toolbar-menu-button": HTMLGuxTableToolbarMenuButtonElement;
2121
2200
  "gux-tabs": HTMLGuxTabsElement;
2122
2201
  "gux-tabs-advanced": HTMLGuxTabsAdvancedElement;
2202
+ "gux-tabs-advanced-legacy": HTMLGuxTabsAdvancedLegacyElement;
2123
2203
  "gux-tag": HTMLGuxTagElement;
2124
2204
  "gux-text-highlight": HTMLGuxTextHighlightElement;
2125
2205
  "gux-time-beta": HTMLGuxTimeBetaElement;
@@ -2970,6 +3050,14 @@ declare namespace LocalJSX {
2970
3050
  */
2971
3051
  "tabId"?: string;
2972
3052
  }
3053
+ interface GuxTabAdvancedLegacy {
3054
+ "guxDisabled"?: boolean;
3055
+ "onInternalactivatetabpanel"?: (event: GuxTabAdvancedLegacyCustomEvent<string>) => void;
3056
+ /**
3057
+ * unique id for the tab
3058
+ */
3059
+ "tabId"?: string;
3060
+ }
2973
3061
  interface GuxTabAdvancedList {
2974
3062
  /**
2975
3063
  * Enable tab sorting by drag/drop
@@ -2992,10 +3080,36 @@ declare namespace LocalJSX {
2992
3080
  */
2993
3081
  "tabLimit"?: number;
2994
3082
  }
3083
+ interface GuxTabAdvancedListLegacy {
3084
+ /**
3085
+ * Enable tab sorting by drag/drop
3086
+ */
3087
+ "allowSort"?: boolean;
3088
+ /**
3089
+ * Triggers when the new tab button is selected.
3090
+ */
3091
+ "onNewTab"?: (event: GuxTabAdvancedListLegacyCustomEvent<any>) => void;
3092
+ /**
3093
+ * Triggers when the sorting of the tabs is changed.
3094
+ */
3095
+ "onSortChanged"?: (event: GuxTabAdvancedListLegacyCustomEvent<string[]>) => void;
3096
+ /**
3097
+ * Enable new tab button
3098
+ */
3099
+ "showNewTabButton"?: boolean;
3100
+ /**
3101
+ * Maximum number of tabs created
3102
+ */
3103
+ "tabLimit"?: number;
3104
+ }
2995
3105
  interface GuxTabAdvancedPanel {
2996
3106
  "onGuxactivepanelchange"?: (event: GuxTabAdvancedPanelCustomEvent<string>) => void;
2997
3107
  "tabId"?: string;
2998
3108
  }
3109
+ interface GuxTabAdvancedPanelLegacy {
3110
+ "onGuxactivepanelchange"?: (event: GuxTabAdvancedPanelLegacyCustomEvent<string>) => void;
3111
+ "tabId"?: string;
3112
+ }
2999
3113
  interface GuxTabList {
3000
3114
  }
3001
3115
  interface GuxTabPanel {
@@ -3099,6 +3213,16 @@ declare namespace LocalJSX {
3099
3213
  */
3100
3214
  "onGuxactivetabchange"?: (event: GuxTabsAdvancedCustomEvent<string>) => void;
3101
3215
  }
3216
+ interface GuxTabsAdvancedLegacy {
3217
+ /**
3218
+ * tabId of the currently selected tab
3219
+ */
3220
+ "activeTab"?: string;
3221
+ /**
3222
+ * Triggers when the active tab changes.
3223
+ */
3224
+ "onGuxactivetabchange"?: (event: GuxTabsAdvancedLegacyCustomEvent<string>) => void;
3225
+ }
3102
3226
  interface GuxTag {
3103
3227
  "accent"?: GuxTagAccent;
3104
3228
  "disabled"?: boolean;
@@ -3295,8 +3419,11 @@ declare namespace LocalJSX {
3295
3419
  "gux-switch-legacy": GuxSwitchLegacy;
3296
3420
  "gux-tab": GuxTab;
3297
3421
  "gux-tab-advanced": GuxTabAdvanced;
3422
+ "gux-tab-advanced-legacy": GuxTabAdvancedLegacy;
3298
3423
  "gux-tab-advanced-list": GuxTabAdvancedList;
3424
+ "gux-tab-advanced-list-legacy": GuxTabAdvancedListLegacy;
3299
3425
  "gux-tab-advanced-panel": GuxTabAdvancedPanel;
3426
+ "gux-tab-advanced-panel-legacy": GuxTabAdvancedPanelLegacy;
3300
3427
  "gux-tab-list": GuxTabList;
3301
3428
  "gux-tab-panel": GuxTabPanel;
3302
3429
  "gux-table": GuxTable;
@@ -3308,6 +3435,7 @@ declare namespace LocalJSX {
3308
3435
  "gux-table-toolbar-menu-button": GuxTableToolbarMenuButton;
3309
3436
  "gux-tabs": GuxTabs;
3310
3437
  "gux-tabs-advanced": GuxTabsAdvanced;
3438
+ "gux-tabs-advanced-legacy": GuxTabsAdvancedLegacy;
3311
3439
  "gux-tag": GuxTag;
3312
3440
  "gux-text-highlight": GuxTextHighlight;
3313
3441
  "gux-time-beta": GuxTimeBeta;
@@ -3432,8 +3560,11 @@ declare module "@stencil/core" {
3432
3560
  "gux-switch-legacy": LocalJSX.GuxSwitchLegacy & JSXBase.HTMLAttributes<HTMLGuxSwitchLegacyElement>;
3433
3561
  "gux-tab": LocalJSX.GuxTab & JSXBase.HTMLAttributes<HTMLGuxTabElement>;
3434
3562
  "gux-tab-advanced": LocalJSX.GuxTabAdvanced & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedElement>;
3563
+ "gux-tab-advanced-legacy": LocalJSX.GuxTabAdvancedLegacy & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedLegacyElement>;
3435
3564
  "gux-tab-advanced-list": LocalJSX.GuxTabAdvancedList & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedListElement>;
3565
+ "gux-tab-advanced-list-legacy": LocalJSX.GuxTabAdvancedListLegacy & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedListLegacyElement>;
3436
3566
  "gux-tab-advanced-panel": LocalJSX.GuxTabAdvancedPanel & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedPanelElement>;
3567
+ "gux-tab-advanced-panel-legacy": LocalJSX.GuxTabAdvancedPanelLegacy & JSXBase.HTMLAttributes<HTMLGuxTabAdvancedPanelLegacyElement>;
3437
3568
  "gux-tab-list": LocalJSX.GuxTabList & JSXBase.HTMLAttributes<HTMLGuxTabListElement>;
3438
3569
  "gux-tab-panel": LocalJSX.GuxTabPanel & JSXBase.HTMLAttributes<HTMLGuxTabPanelElement>;
3439
3570
  "gux-table": LocalJSX.GuxTable & JSXBase.HTMLAttributes<HTMLGuxTableElement>;
@@ -3445,6 +3576,7 @@ declare module "@stencil/core" {
3445
3576
  "gux-table-toolbar-menu-button": LocalJSX.GuxTableToolbarMenuButton & JSXBase.HTMLAttributes<HTMLGuxTableToolbarMenuButtonElement>;
3446
3577
  "gux-tabs": LocalJSX.GuxTabs & JSXBase.HTMLAttributes<HTMLGuxTabsElement>;
3447
3578
  "gux-tabs-advanced": LocalJSX.GuxTabsAdvanced & JSXBase.HTMLAttributes<HTMLGuxTabsAdvancedElement>;
3579
+ "gux-tabs-advanced-legacy": LocalJSX.GuxTabsAdvancedLegacy & JSXBase.HTMLAttributes<HTMLGuxTabsAdvancedLegacyElement>;
3448
3580
  "gux-tag": LocalJSX.GuxTag & JSXBase.HTMLAttributes<HTMLGuxTagElement>;
3449
3581
  "gux-text-highlight": LocalJSX.GuxTextHighlight & JSXBase.HTMLAttributes<HTMLGuxTextHighlightElement>;
3450
3582
  "gux-time-beta": LocalJSX.GuxTimeBeta & JSXBase.HTMLAttributes<HTMLGuxTimeBetaElement>;
@@ -1,2 +1,2 @@
1
- export declare const CDN_URL = "/spark-components/build-assets/4.0.0-beta.33-35/genesys-webcomponents/";
1
+ export declare const CDN_URL = "/spark-components/build-assets/4.0.0-beta.35-37/genesys-webcomponents/";
2
2
  export declare function registerElements(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "4.0.0-beta.33",
3
+ "version": "4.0.0-beta.35",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -1,7 +0,0 @@
1
- import{r as t,c as i,d as n,w as o,h as e,g as r}from"./p-7d26b2e1.js";import{O as s}from"./p-f34ce7dc.js";import{e as a}from"./p-29e8b184.js";import{a as u}from"./p-091f51f6.js";import{b as l}from"./p-deee079e.js";import{t as c}from"./p-2c3d934a.js";import"./p-8a133b9b.js";
2
- /**!
3
- * Sortable 1.15.0
4
- * @author RubaXa <trash@rubaxa.org>
5
- * @author owenm <owen23355@gmail.com>
6
- * @license MIT
7
- */function d(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,o)}return n}function h(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?d(Object(n),!0).forEach((function(i){b(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function b(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function g(){return g=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},g.apply(this,arguments)}function v(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=v(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=v(/Edge/i),x=v(/firefox/i),w=v(/safari/i)&&!v(/chrome/i)&&!v(/android/i),y=v(/iP(ad|od|hone)/i),E=v(/chrome/i)&&v(/android/i),S={capture:!1,passive:!1};function R(t,i,n){t.addEventListener(i,n,!m&&S)}function T(t,i,n){t.removeEventListener(i,n,!m&&S)}function O(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 k(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function M(t,i,n,o){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&O(t,i):O(t,i))||o&&t===n)return t;if(t===n)break}while(t=k(t))}return null}var I,C=/\s+/g;function j(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var o=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(o+(n?" "+i:"")).replace(C," ")}}function A(t,i,n){var o=t&&t.style;if(o){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 o||-1!==i.indexOf("webkit")||(i="-webkit-"+i),o[i]=n+("string"==typeof n?"":"px")}}function D(t,i){var n="";if("string"==typeof t)n=t;else do{var o=A(t,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!i&&(t=t.parentNode));var e=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return e&&new e(n)}function _(t,i,n){if(t){var o=t.getElementsByTagName(i),e=0,r=o.length;if(n)for(;e<r;e++)n(o[e],e);return o}return[]}function L(){return document.scrollingElement||document.documentElement}function z(t,i,n,o,e){if(t.getBoundingClientRect||t===window){var r,s,a,u,l,c,d;if(t!==window&&t.parentNode&&t!==L()?(s=(r=t.getBoundingClientRect()).top,a=r.left,u=r.bottom,l=r.right,c=r.height,d=r.width):(s=0,a=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(i||n)&&t!==window&&(e=e||t.parentNode,!m))do{if(e&&e.getBoundingClientRect&&("none"!==A(e,"transform")||n&&"static"!==A(e,"position"))){var h=e.getBoundingClientRect();s-=h.top+parseInt(A(e,"border-top-width")),a-=h.left+parseInt(A(e,"border-left-width")),u=s+r.height,l=a+r.width;break}}while(e=e.parentNode);if(o&&t!==window){var f=D(e||t),b=f&&f.a,g=f&&f.d;f&&(u=(s/=g)+(c/=g),l=(a/=b)+(d/=b))}return{top:s,left:a,bottom:u,right:l,width:d,height:c}}}function N(t,i,n){for(var o=W(t,!0),e=z(t)[i];o;){var r=z(o)[n];if(!("top"===n||"left"===n?e>=r:e<=r))return o;if(o===L())break;o=W(o,!1)}return!1}function F(t,i,n,o){for(var e=0,r=0,s=t.children;r<s.length;){if("none"!==s[r].style.display&&s[r]!==Kt.ghost&&(o||s[r]!==Kt.dragged)&&M(s[r],n.draggable,t,!1)){if(e===i)return s[r];e++}r++}return null}function H(t,i){for(var n=t.lastElementChild;n&&(n===Kt.ghost||"none"===A(n,"display")||i&&!O(n,i));)n=n.previousElementSibling;return n||null}function P(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Kt.clone||i&&!O(t,i)||n++;return n}function B(t){var i=0,n=0,o=L();if(t)do{var e=D(t);i+=t.scrollLeft*e.a,n+=t.scrollTop*e.d}while(t!==o&&(t=t.parentNode));return[i,n]}function W(t,i){if(!t||!t.getBoundingClientRect)return L();var n=t,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var e=A(n);if(n.clientWidth<n.scrollWidth&&("auto"==e.overflowX||"scroll"==e.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==e.overflowY||"scroll"==e.overflowY)){if(!n.getBoundingClientRect||n===document.body)return L();if(o||i)return n;o=!0}}}while(n=n.parentNode);return L()}function G(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(!I){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),I=setTimeout((function(){I=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)}var Y="Sortable"+(new Date).getTime();var $=[],V={initializeByDefault:!0},Z={mount:function(t){for(var i in V)V.hasOwnProperty(i)&&!(i in t)&&(t[i]=V[i]);$.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),$.push(t)},pluginEvent:function(t,i,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var e=t+"Global";$.forEach((function(o){i[o.pluginName]&&(i[o.pluginName][e]&&i[o.pluginName][e](h({sortable:i},n)),i.options[o.pluginName]&&i[o.pluginName][t]&&i[o.pluginName][t](h({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var o in $.forEach((function(o){var e=o.pluginName;if(t.options[e]||o.initializeByDefault){var r=new o(t,i,t.options);r.sortable=t,r.options=t.options,t[e]=r,g(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(o)){var e=this.modifyOption(t,o,t.options[o]);void 0!==e&&(t.options[o]=e)}},getEventProperties:function(t,i){var n={};return $.forEach((function(o){"function"==typeof o.eventProperties&&g(n,o.eventProperties.call(i[o.pluginName],t))})),n},modifyOption:function(t,i,n){var o;return $.forEach((function(e){t[e.pluginName]&&e.optionListeners&&"function"==typeof e.optionListeners[i]&&(o=e.optionListeners[i].call(t[e.pluginName],n))})),o}},q=["evt"],J=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.evt,e=function(t,i){if(null==t)return{};var n,o,e=function(t,i){if(null==t)return{};var n,o,e={},r=Object.keys(t);for(o=0;o<r.length;o++)i.indexOf(n=r[o])>=0||(e[n]=t[n]);return e}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)i.indexOf(n=r[o])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(e[n]=t[n])}return e}(n,q);Z.pluginEvent.bind(Kt)(t,i,h({dragEl:tt,parentEl:it,ghostEl:nt,rootEl:ot,nextEl:et,lastDownEl:rt,cloneEl:st,cloneHidden:at,dragStarted:wt,putSortable:ft,activeSortable:Kt.active,originalEvent:o,oldIndex:ut,oldDraggableIndex:ct,newIndex:lt,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Bt,cloneNowHidden:function(){at=!0},cloneNowShown:function(){at=!1},dispatchSortableEvent:function(t){Q({sortable:i,name:t,originalEvent:o})}},e))};function Q(t){!function(t){var i=t.sortable,n=t.rootEl,o=t.name,e=t.targetEl,r=t.cloneEl,s=t.toEl,a=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,d=t.newDraggableIndex,f=t.originalEvent,b=t.putSortable,g=t.extraEventProperties;if(i=i||n&&n[Y]){var v,x=i.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||m||p?(v=document.createEvent("Event")).initEvent(o,!0,!0):v=new CustomEvent(o,{bubbles:!0,cancelable:!0}),v.to=s||n,v.from=a||n,v.item=e||n,v.clone=r,v.oldIndex=u,v.newIndex=l,v.oldDraggableIndex=c,v.newDraggableIndex=d,v.originalEvent=f,v.pullMode=b?b.lastPutMode:void 0;var y=h(h({},g),Z.getEventProperties(o,i));for(var E in y)v[E]=y[E];n&&n.dispatchEvent(v),x[w]&&x[w].call(i,v)}}(h({putSortable:ft,cloneEl:st,targetEl:tt,rootEl:ot,oldIndex:ut,oldDraggableIndex:ct,newIndex:lt,newDraggableIndex:dt},t))}var tt,it,nt,ot,et,rt,st,at,ut,lt,ct,dt,ht,ft,bt,gt,vt,mt,pt,xt,wt,yt,Et,St,Rt,Tt=!1,Ot=!1,kt=[],Mt=!1,It=!1,Ct=[],jt=!1,At=[],Dt="undefined"!=typeof document,_t=y,Lt=p||m?"cssFloat":"float",zt=Dt&&!E&&!y&&"draggable"in document.createElement("div"),Nt=function(){if(Dt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ft=function(t,i){var n=A(t),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),e=F(t,0,i),r=F(t,1,i),s=e&&A(e),a=r&&A(r),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+z(e).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+z(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":e&&s.float&&"none"!==s.float?!r||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":e&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||u>=o&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>o)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(o,e,r,s){if(null==t&&(n||o.options.group.name&&e.options.group.name&&o.options.group.name===e.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(o,e,r,s),n)(o,e,r,s);var a=(n?o:e).options.group.name;return!0===t||"string"==typeof t&&t===a||t.join&&t.indexOf(a)>-1}}var n={},o=t.group;o&&"object"==f(o)||(o={name:o}),n.name=o.name,n.checkPull=i(o.pull,!0),n.checkPut=i(o.put),n.revertClone=o.revertClone,t.group=n},Pt=function(){!Nt&&nt&&A(nt,"display","none")},Bt=function(){!Nt&&nt&&A(nt,"display","")};Dt&&!E&&document.addEventListener("click",(function(t){if(Ot)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Ot=!1,!1}),!0);var Wt=function(t){if(tt){var i=(e=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,kt.some((function(t){var i=t[Y].options.emptyInsertThreshold;if(i&&!H(t)){var n=z(t);return e>=n.left-i&&e<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?s=t:void 0}})),s);if(i){var n={};for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[Y]._onDragOver(n)}}var e,r,s},Gt=function(t){tt&&tt.parentNode[Y]._isOutsideThisEl(t.target)};function Kt(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=g({},i),t[Y]=this;var n,o,e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ft(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Kt.supportPointer&&"PointerEvent"in window&&!w,emptyInsertThreshold:5};for(var r in Z.initializePlugins(this,t,e),e)!(r in i)&&(i[r]=e[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&&zt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?R(t,"pointerdown",this._onTapStart):(R(t,"mousedown",this._onTapStart),R(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(R(t,"dragover",this),R(t,"dragenter",this)),kt.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),g(this,(o=[],{captureAnimationState:function(){o=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==A(t,"display")&&t!==Kt.ghost){o.push({target:t,rect:z(t)});var i=h({},o[o.length-1].rect);if(t.thisAnimationDuration){var n=D(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){o.push(t)},removeAnimationState:function(t){o.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var o in i)if(i.hasOwnProperty(o)&&i[o]===t[n][o])return Number(n);return-1}(o,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var e=!1,r=0;o.forEach((function(t){var n=0,o=t.target,s=o.fromRect,a=z(o),u=o.prevFromRect,l=o.prevToRect,c=t.rect,d=D(o,!0);d&&(a.top-=d.f,a.left-=d.e),o.toRect=a,o.thisAnimationDuration&&G(u,a)&&!G(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(t,i,n,o){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))*o.animation}(c,u,l,i.options)),G(a,s)||(o.prevFromRect=s,o.prevToRect=a,n||(n=i.options.animation),i.animate(o,c,a,n)),n&&(e=!0,r=Math.max(r,n),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),n),o.thisAnimationDuration=n)})),clearTimeout(n),e?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),o=[]},animate:function(t,i,n,o){if(o){A(t,"transition",""),A(t,"transform","");var e=D(this.el),r=(i.left-n.left)/(e&&e.a||1),s=(i.top-n.top)/(e&&e.d||1);t.animatingX=!!r,t.animatingY=!!s,A(t,"transform","translate3d("+r+"px,"+s+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),A(t,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),A(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){A(t,"transition",""),A(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),o)}}}))}function Ut(t,i,n,o,e,r,s,a){var u,l,c=t[Y],d=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=o,u.related=e||i,u.relatedRect=r||z(i),u.willInsertAfter=a,u.originalEvent=s,t.dispatchEvent(u),d&&(l=d.call(c,u,s)),l}function Xt(t){t.draggable=!1}function Yt(){jt=!1}function $t(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,o=0;n--;)o+=i.charCodeAt(n);return o.toString(36)}function Vt(t){return setTimeout(t,0)}function Zt(t){return clearTimeout(t)}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(yt=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,tt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,o=this.options,e=o.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=o.filter;if(function(t){At.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var o=i[n];o.checked&&At.push(o)}}(n),!tt&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||o.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!w||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=M(a,o.draggable,n,!1))&&a.animated||rt===a)){if(ut=P(a),ct=P(a,o.draggable),"function"==typeof l){if(l.call(this,t,a,this))return Q({sortable:i,rootEl:u,name:"filter",targetEl:a,toEl:n,fromEl:n}),J("filter",i,{evt:t}),void(e&&t.cancelable&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(o){if(o=M(u,o.trim(),n,!1))return Q({sortable:i,rootEl:o,name:"filter",targetEl:a,fromEl:n,toEl:n}),J("filter",i,{evt:t}),!0}))))return void(e&&t.cancelable&&t.preventDefault());o.handle&&!M(u,o.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,i,n){var o,e=this,r=e.el,s=e.options,a=r.ownerDocument;if(n&&!tt&&n.parentNode===r){var u=z(n);if(ot=r,it=(tt=n).parentNode,et=tt.nextSibling,rt=n,ht=s.group,Kt.dragged=tt,pt=(bt={target:tt,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,tt.style["will-change"]="all",o=function(){J("delayEnded",e,{evt:t}),Kt.eventCanceled?e._onDrop():(e._disableDelayedDragEvents(),!x&&e.nativeDraggable&&(tt.draggable=!0),e._triggerDragStart(t,i),Q({sortable:e,name:"choose",originalEvent:t}),j(tt,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){_(tt,t.trim(),Xt)})),R(a,"dragover",Wt),R(a,"mousemove",Wt),R(a,"touchmove",Wt),R(a,"mouseup",e._onDrop),R(a,"touchend",e._onDrop),R(a,"touchcancel",e._onDrop),x&&this.nativeDraggable&&(this.options.touchStartThreshold=4,tt.draggable=!0),J("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))o();else{if(Kt.eventCanceled)return void this._onDrop();R(a,"mouseup",e._disableDelayedDrag),R(a,"touchend",e._disableDelayedDrag),R(a,"touchcancel",e._disableDelayedDrag),R(a,"mousemove",e._delayedDragTouchMoveHandler),R(a,"touchmove",e._delayedDragTouchMoveHandler),s.supportPointer&&R(a,"pointermove",e._delayedDragTouchMoveHandler),e._dragStartTimer=setTimeout(o,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(){tt&&Xt(tt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._disableDelayedDrag),T(t,"touchend",this._disableDelayedDrag),T(t,"touchcancel",this._disableDelayedDrag),T(t,"mousemove",this._delayedDragTouchMoveHandler),T(t,"touchmove",this._delayedDragTouchMoveHandler),T(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?R(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(R(tt,"dragend",this),R(ot,"dragstart",this._onDragStart));try{document.selection?Vt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(Tt=!1,ot&&tt){J("dragStarted",this,{evt:i}),this.nativeDraggable&&R(document,"dragover",Gt);var n=this.options;!t&&j(tt,n.dragClass,!1),j(tt,n.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Q({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(tt.parentNode[Y]._isOutsideThisEl(t),i)do{if(i[Y]&&i[Y]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=i.parentNode);Bt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,o=i.fallbackOffset,e=t.touches?t.touches[0]:t,r=nt&&D(nt,!0),s=nt&&r&&r.a,a=nt&&r&&r.d,u=_t&&Rt&&B(Rt),l=(e.clientX-bt.clientX+o.x)/(s||1)+(u?u[0]-Ct[0]:0)/(s||1),c=(e.clientY-bt.clientY+o.y)/(a||1)+(u?u[1]-Ct[1]:0)/(a||1);if(!Kt.active&&!Tt){if(n&&Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(nt){r?(r.e+=l-(vt||0),r.f+=c-(mt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");A(nt,"webkitTransform",d),A(nt,"mozTransform",d),A(nt,"msTransform",d),A(nt,"transform",d),vt=l,mt=c,gt=e}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!nt){var t=this.options.fallbackOnBody?document.body:ot,i=z(tt,!0,_t,!0,t),n=this.options;if(_t){for(Rt=t;"static"===A(Rt,"position")&&"none"===A(Rt,"transform")&&Rt!==document;)Rt=Rt.parentNode;Rt!==document.body&&Rt!==document.documentElement?(Rt===document&&(Rt=L()),i.top+=Rt.scrollTop,i.left+=Rt.scrollLeft):Rt=L(),Ct=B(Rt)}j(nt=tt.cloneNode(!0),n.ghostClass,!1),j(nt,n.fallbackClass,!0),j(nt,n.dragClass,!0),A(nt,"transition",""),A(nt,"transform",""),A(nt,"box-sizing","border-box"),A(nt,"margin",0),A(nt,"top",i.top),A(nt,"left",i.left),A(nt,"width",i.width),A(nt,"height",i.height),A(nt,"opacity","0.8"),A(nt,"position",_t?"absolute":"fixed"),A(nt,"zIndex","100000"),A(nt,"pointerEvents","none"),Kt.ghost=nt,t.appendChild(nt),A(nt,"transform-origin",pt/parseInt(nt.style.width)*100+"% "+xt/parseInt(nt.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,o=t.dataTransfer,e=n.options;J("dragStart",this,{evt:t}),Kt.eventCanceled?this._onDrop():(J("setupClone",this),Kt.eventCanceled||((st=X(tt)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),j(st,this.options.chosenClass,!1),Kt.clone=st),n.cloneId=Vt((function(){J("clone",n),Kt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,tt),n._hideClone(),Q({sortable:n,name:"clone"}))})),!i&&j(tt,e.dragClass,!0),i?(Ot=!0,n._loopId=setInterval(n._emulateDragOver,50)):(T(document,"mouseup",n._onDrop),T(document,"touchend",n._onDrop),T(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",e.setData&&e.setData.call(n,o,tt)),R(document,"drop",n),A(tt,"transform","translateZ(0)")),Tt=!0,n._dragStartId=Vt(n._dragStarted.bind(n,i,t)),R(document,"selectstart",n),wt=!0,w&&A(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,o,e,r=this.el,s=t.target,a=this.options,u=a.group,l=Kt.active,c=ht===u,d=a.sort,f=ft||l,b=this,g=!1;if(!jt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=M(s,a.draggable,r,!0),D("dragOver"),Kt.eventCanceled)return g;if(tt.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||b._ignoreWhileAnimating===s)return L(!1);if(Ot=!1,l&&!a.disabled&&(c?d||(o=it!==ot):ft===this||(this.lastPutMode=ht.checkPull(this,l,tt,t))&&u.checkPut(this,l,tt,t))){if(e="vertical"===this._getDirection(t,s),i=z(tt),D("dragOverValid"),Kt.eventCanceled)return g;if(o)return it=ot,_(),this._hideClone(),D("revert"),Kt.eventCanceled||(et?ot.insertBefore(tt,et):ot.appendChild(tt)),L(!0);var v=H(r,a.draggable);if(!v||function(t,i,n){var o=z(H(n.el,n.options.draggable));return i?t.clientX>o.right+10||t.clientX<=o.right&&t.clientY>o.bottom&&t.clientX>=o.left:t.clientX>o.right&&t.clientY>o.top||t.clientX<=o.right&&t.clientY>o.bottom+10}(t,e,this)&&!v.animated){if(v===tt)return L(!1);if(v&&r===t.target&&(s=v),s&&(n=z(s)),!1!==Ut(ot,r,tt,i,s,n,t,!!s))return _(),v&&v.nextSibling?r.insertBefore(tt,v.nextSibling):r.appendChild(tt),it=r,B(),L(!0)}else if(v&&function(t,i,n){var o=z(F(n.el,0,n.options,!0));return i?t.clientX<o.left-10||t.clientY<o.top&&t.clientX<o.right:t.clientY<o.top-10||t.clientY<o.bottom&&t.clientX<o.left}(t,e,this)){var m=F(r,0,a,!0);if(m===tt)return L(!1);if(n=z(s=m),!1!==Ut(ot,r,tt,i,s,n,t,!1))return _(),r.insertBefore(tt,m),it=r,B(),L(!0)}else if(s.parentNode===r){n=z(s);var p,x,w,y=tt.parentNode!==r,E=!function(t,i,n){var o=n?t.left:t.top,e=n?i.left:i.top;return o===e||(n?t.right:t.bottom)===(n?i.right:i.bottom)||o+(n?t.width:t.height)/2===e+(n?i.width:i.height)/2}(tt.animated&&tt.toRect||i,s.animated&&s.toRect||n,e),S=e?"top":"left",R=N(s,"top","top")||N(tt,"top","top"),T=R?R.scrollTop:void 0;if(yt!==s&&(x=n[S],Mt=!1,It=!E&&a.invertSwap||y),p=function(t,i,n,o,e,r,s,a){var u=o?t.clientY:t.clientX,l=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,h=!1;if(!s)if(a&&St<l*e){if(!Mt&&(1===Et?u>c+l*r/2:u<d-l*r/2)&&(Mt=!0),Mt)h=!0;else if(1===Et?u<c+St:u>d-St)return-Et}else if(u>c+l*(1-e)/2&&u<d-l*(1-e)/2)return function(t){return P(tt)<P(t)?1:-1}(i);return(h=h||s)&&(u<c+l*r/2||u>d-l*r/2)?u>c+l/2?1:-1:0}(t,s,n,e,E?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,It,yt===s),0!==p){var O=P(tt);do{w=it.children[O-=p]}while(w&&("none"===A(w,"display")||w===nt))}if(0===p||w===s)return L(!1);yt=s,Et=p;var k=s.nextElementSibling,I=!1,C=Ut(ot,r,tt,i,s,n,t,I=1===p);if(!1!==C)return 1!==C&&-1!==C||(I=1===C),jt=!0,setTimeout(Yt,30),_(),I&&!k?r.appendChild(tt):s.parentNode.insertBefore(tt,I?k:s),R&&U(R,0,T-R.scrollTop),it=tt.parentNode,void 0===x||It||(St=Math.abs(x-z(s)[S])),B(),L(!0)}if(r.contains(tt))return L(!1)}return!1}function D(a,u){J(a,b,h({evt:t,isOwner:c,axis:e?"vertical":"horizontal",revert:o,dragRect:i,targetRect:n,canSort:d,fromSortable:f,target:s,completed:L,onMove:function(n,o){return Ut(ot,r,tt,i,n,z(n),t,o)},changed:B},u))}function _(){D("dragOverAnimationCapture"),b.captureAnimationState(),b!==f&&f.captureAnimationState()}function L(i){return D("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(b),b!==f&&(j(tt,ft?ft.options.ghostClass:l.options.ghostClass,!1),j(tt,a.ghostClass,!0)),ft!==b&&b!==Kt.active?ft=b:b===Kt.active&&ft&&(ft=null),f===b&&(b._ignoreWhileAnimating=s),b.animateAll((function(){D("dragOverAnimationComplete"),b._ignoreWhileAnimating=null})),b!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===tt&&!tt.animated||s===r&&!s.animated)&&(yt=null),a.dragoverBubble||t.rootEl||s===document||(tt.parentNode[Y]._isOutsideThisEl(t.target),!i&&Wt(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),g=!0}function B(){lt=P(tt),dt=P(tt,a.draggable),Q({sortable:b,name:"change",toEl:r,newIndex:lt,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){T(document,"mousemove",this._onTouchMove),T(document,"touchmove",this._onTouchMove),T(document,"pointermove",this._onTouchMove),T(document,"dragover",Wt),T(document,"mousemove",Wt),T(document,"touchmove",Wt)},_offUpEvents:function(){var t=this.el.ownerDocument;T(t,"mouseup",this._onDrop),T(t,"touchend",this._onDrop),T(t,"pointerup",this._onDrop),T(t,"touchcancel",this._onDrop),T(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;lt=P(tt),dt=P(tt,n.draggable),J("drop",this,{evt:t}),it=tt&&tt.parentNode,lt=P(tt),dt=P(tt,n.draggable),Kt.eventCanceled||(Tt=!1,It=!1,Mt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Zt(this.cloneId),Zt(this._dragStartId),this.nativeDraggable&&(T(document,"drop",this),T(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),w&&A(document.body,"user-select",""),A(tt,"transform",""),t&&(wt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),nt&&nt.parentNode&&nt.parentNode.removeChild(nt),(ot===it||ft&&"clone"!==ft.lastPutMode)&&st&&st.parentNode&&st.parentNode.removeChild(st),tt&&(this.nativeDraggable&&T(tt,"dragend",this),Xt(tt),tt.style["will-change"]="",wt&&!Tt&&j(tt,ft?ft.options.ghostClass:this.options.ghostClass,!1),j(tt,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:it,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==it?(lt>=0&&(Q({rootEl:it,name:"add",toEl:it,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"remove",toEl:it,originalEvent:t}),Q({rootEl:it,name:"sort",toEl:it,fromEl:ot,originalEvent:t}),Q({sortable:this,name:"sort",toEl:it,originalEvent:t})),ft&&ft.save()):lt!==ut&&lt>=0&&(Q({sortable:this,name:"update",toEl:it,originalEvent:t}),Q({sortable:this,name:"sort",toEl:it,originalEvent:t})),Kt.active&&(null!=lt&&-1!==lt||(lt=ut,dt=ct),Q({sortable:this,name:"end",toEl:it,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),ot=tt=it=nt=et=st=rt=at=bt=gt=wt=lt=dt=ut=ct=yt=Et=ft=ht=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,At.forEach((function(t){t.checked=!0})),At.length=vt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":tt&&(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,o=0,e=n.length,r=this.options;o<e;o++)M(t=n[o],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||$t(t));return i},sort:function(t,i){var n={},o=this.el;this.toArray().forEach((function(t,i){var e=o.children[i];M(e,this.options.draggable,o,!1)&&(n[t]=e)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(o.removeChild(n[t]),o.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return M(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var o=Z.modifyOption(this,t,i);n[t]=void 0!==o?o:i,"group"===t&&Ht(n)},destroy:function(){J("destroy",this);var t=this.el;t[Y]=null,T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart),T(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),kt.splice(kt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!at){if(J("hideClone",this),Kt.eventCanceled)return;A(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),at=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(at){if(J("showClone",this),Kt.eventCanceled)return;tt.parentNode!=ot||this.options.group.revertClone?et?ot.insertBefore(st,et):ot.appendChild(st):ot.insertBefore(st,tt),this.options.group.revertClone&&this.animate(tt,st),A(st,"display",""),at=!1}}else this._hideClone()}},Dt&&R(document,"touchmove",(function(t){(Kt.active||Tt)&&t.cancelable&&t.preventDefault()})),Kt.utils={on:R,off:T,css:A,find:_,is:function(t,i){return!!M(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:M,toggleClass:j,clone:X,index:P,nextTick:Vt,cancelNextTick:Zt,detectDirection:Ft,getChild:F},Kt.get=function(t){return t[Y]},Kt.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&&(Kt.utils=h(h({},Kt.utils),t.utils)),Z.mount(t)}))},Kt.create=function(t,i){return new Kt(t,i)},Kt.version="1.15.0";var qt,Jt,Qt,ti,ii,ni,oi=[],ei=!1;function ri(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ni)}var ai=K((function(t,i,n,o){if(i.scroll){var e,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;Jt!==n&&(Jt=n,ri(),e=i.scrollFn,!0===(qt=i.scroll)&&(qt=W(n,!0)));var d=0,h=qt;do{var f=h,b=z(f),g=b.top,v=b.bottom,m=b.left,p=b.right,x=b.width,w=b.height,y=void 0,E=void 0,S=f.scrollWidth,R=f.scrollHeight,T=A(f),O=f.scrollLeft,k=f.scrollTop;f===l?(y=x<S&&("auto"===T.overflowX||"scroll"===T.overflowX||"visible"===T.overflowX),E=w<R&&("auto"===T.overflowY||"scroll"===T.overflowY||"visible"===T.overflowY)):(y=x<S&&("auto"===T.overflowX||"scroll"===T.overflowX),E=w<R&&("auto"===T.overflowY||"scroll"===T.overflowY));var M=y&&(Math.abs(p-r)<=a&&O+x<S)-(Math.abs(m-r)<=a&&!!O),I=E&&(Math.abs(v-s)<=a&&k+w<R)-(Math.abs(g-s)<=a&&!!k);if(!oi[d])for(var C=0;C<=d;C++)oi[C]||(oi[C]={});oi[d].vx==M&&oi[d].vy==I&&oi[d].el===f||(oi[d].el=f,oi[d].vx=M,oi[d].vy=I,clearInterval(oi[d].pid),0==M&&0==I||(c=!0,oi[d].pid=setInterval(function(){o&&0===this.layer&&Kt.active._onTouchMove(ii);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 e&&"continue"!==e.call(Kt.dragged.parentNode[Y],n,i,t,ii,oi[this.layer].el)||U(oi[this.layer].el,n,i)}.bind({layer:d}),24))),d++}while(i.bubbleScroll&&h!==l&&(h=W(h,!1)));ei=c}}),30),ui=function(t){var i=t.originalEvent,n=t.putSortable,o=t.dragEl,e=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)&&(e("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function li(){}function ci(){}li.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 o=F(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(i,o):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:ui},g(li,{pluginName:"revertOnSpill"}),ci.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:ui},g(ci,{pluginName:"removeOnSpill"}),Kt.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?R(document,"dragover",this._handleAutoScroll):R(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?T(document,"dragover",this._handleAutoScroll):(T(document,"pointermove",this._handleFallbackAutoScroll),T(document,"touchmove",this._handleFallbackAutoScroll),T(document,"mousemove",this._handleFallbackAutoScroll)),si(),ri(),clearTimeout(I),I=void 0},nulling:function(){ii=Jt=qt=ei=ni=Qt=ti=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,o=(t.touches?t.touches[0]:t).clientX,e=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(o,e);if(ii=t,i||this.options.forceAutoScrollFallback||p||m||w){ai(t,this.options,r,i);var s=W(r,!0);!ei||ni&&o===Qt&&e===ti||(ni&&si(),ni=setInterval((function(){var r=W(document.elementFromPoint(o,e),!0);r!==s&&(s=r,ri()),ai(t,n.options,r,i)}),10),Qt=o,ti=e)}else{if(!this.options.bubbleScroll||W(r,!0)===L())return void ri();ai(t,this.options,W(r,!1),!1)}}},g(t,{pluginName:"scroll",initializeByDefault:!0})}),Kt.mount(ci,li);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.tabTriggers=void 0,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.sortTarget=void 0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&a(".gux-scrollable-section",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-scrollable-section").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-scrollable-section"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let o;o=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,o),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-scrollable-section"),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-scrollable-section").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.parentNode.parentNode,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 o=i.tabId===t;i.guxSetActive(o),o&&(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 Kt(this.root.querySelector(".gux-scrollable-section"),{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(){o((()=>{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(){o((()=>{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");o((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");o((()=>{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[e("span",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):""),e("div",{class:"gux-tab-container"},e("div",{class:"action-button-container"},this.renderScrollButton("scrollLeft")),e("div",{role:"tablist",class:"gux-scrollable-section "+(this.keyboardSort?"gux-tab-sorting":""),"aria-owns":this.triggerIds},e("slot",null)),e("div",{class:"action-button-container"},this.renderScrollButton("scrollRight"),this.showNewTabButton?e((t=>e("button",{title:this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"),class:"add-tab-button",onClick:()=>t.onClick(),disabled:this.disableAddTabButton},e("slot",{name:"add-tab"},e("gux-icon",{"icon-name":"add",decorative:!0})))),{onClick:()=>this.newTab.emit()}):null))]}renderScrollButton(t){return e("div",{class:"gux-scroll-button-container"},this.hasScrollbar?e("button",{tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},e("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"chevron-left";case"scrollRight":return"chevron-right"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,o){var e,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,n,o);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(s=(r<3?e(s):r>3?e(i,n,s):e(i,n))||s);r>3&&s&&Object.defineProperty(i,n,s)})([s({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-icon-anchor gux-icon{padding-right:var(--gse-ui-links-inLine-padding)}gux-tab-advanced-list .gux-tab-container{display:flex;align-items:flex-end;width:100%;height:50px;margin-bottom:16px;overflow-x:auto;overflow-y:hidden;background-color:#f6f7f9;border-bottom:1px solid #d7dce5;border-radius:4px 4px 0 0}gux-tab-advanced-list .gux-tab-container .action-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button{min-width:35px;height:50px;padding:0;margin-left:2px;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot=add-tab]{display:inline-flex;align-items:center;padding:0 12px;white-space:nowrap;font-family:var(--gse-core-fontFamily-body), sans-serif;font-weight:var(--gse-core-fontWeight-bold)}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button [slot=add-tab] gux-icon{padding-right:8px}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:disabled{opacity:0.5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button:focus-visible{border-radius:5px;outline:none;box-shadow:inset 0 0 0 3px #aac9ff}gux-tab-advanced-list .gux-tab-container .action-button-container .add-tab-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container{display:flex;border-radius:4px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:50px;padding:0;color:#2e394c;background-color:#e2e6ee;border:none;border-radius:4px;transition:color 0.25s}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{border:3px solid #aac9ff;outline:none}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:hover{background-color:#d7dce5}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:active{background-color:#c8cfda}gux-tab-advanced-list .gux-tab-container .action-button-container .gux-scroll-button-container .gux-scroll-button:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section{display:flex;align-items:flex-end;height:50px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}gux-tab-advanced-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tab-advanced-list .gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-7d26b2e1.js";import{t as e}from"./p-2d3e13f9.js";const r=class{constructor(o){t(this,o)}componentWillLoad(){e(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};r.style=".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}";export{r as gux_screen_reader_beta}
@@ -1 +0,0 @@
1
- import{r as e,h as a,g as t}from"./p-7d26b2e1.js";import{b as r,g as n}from"./p-deee079e.js";import{s}from"./p-d176c2ae.js";import{b as i}from"./p-091f51f6.js";import{g as o,b as h,a as u}from"./p-955a1e6a.js";import"./p-8a133b9b.js";const c={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},d=class{constructor(a){e(this,a),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0}onValueUpdate(e){const{year:a}=o(e);this.year=a}async guxFocus(e){e=e||h();const{year:a}=o(e);this.year=a,i((()=>{const a=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);a&&a.focus()}))}async componentWillLoad(){this.i18n=await r(this.root,c),this.locale=n(this.root),this.year=this.value?o(this.value).year:o(h()).year}updateValue(e){this.value=e,s(this.root,"input"),s(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}getMonthAriaLabel(e){const{year:a,month:t}=o(e);return new Date(Number(a),Number(t)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){this.year=(parseInt(this.year)+e).toString()}isPreviousYearLessThanMinYear(e,a){return(parseInt(e)-1).toString()<(a&&o(a).year)}isNextYearGreaterThanMaxYear(e,a){return(parseInt(e)+1).toString()>(a&&o(a).year)}getMonthShortName(e,a){return new Date(Number(e),Number(a)-1).toLocaleDateString(this.locale,{month:"short"})}doFocusTrap(){this.previousYearElement.disabled||this.previousYearElement.focus(),this.nextYearElement.disabled||this.nextYearElement.focus(),this.monthListElement.focus()}renderHeader(){return a("div",{class:"gux-year-header"},a("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},a("gux-icon",{"icon-name":"chevron-small-left","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1})})),a("div",null,this.getYearLabel(this.year)),a("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e},a("gux-icon",{"icon-name":"chevron-small-right","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1})})))}renderMonths(){const e=Array.from(new Array(12),((e,a)=>String(a+1).padStart(2,"0"))).map((e=>{const t=u(this.year,e);return a("gux-month-list-item",{value:t,selected:this.isSelectedMonth(t),"aria-selected":this.isAriaSelectedMonth(t),"aria-label":this.getMonthAriaLabel(t),onClick:()=>this.onMonthClick(t),disabled:this.isOutOfBounds(t)},this.getMonthShortName(this.year,e))}));return a("gux-month-list",{tabIndex:1,ref:e=>this.monthListElement=e},e)}renderTrapFocusEl(){return a("span",{onFocus:()=>this.doFocusTrap(),tabindex:"0"})}render(){return a("div",{class:"gux-month-calendar"},this.renderHeader(),this.renderMonths(),this.renderTrapFocusEl())}static get delegatesFocus(){return!0}get root(){return t(this)}static get watchers(){return{value:["onValueUpdate"]}}};d.style=".gux-month-calendar{flex-wrap:wrap;width:var(--gse-ui-calendarMenu-width);height:var(--gse-ui-calendarMenu-height);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{color:inherit;cursor:pointer;background:none;border:none;outline:none;padding:8px}.gux-month-calendar .gux-year-header button:focus-visible{outline:var(--gse-semantic-focusRing-width) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset))}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}";export{d as gux_month_calendar}