@getflip/swirl-components-react 0.42.2 → 0.43.1

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 (161) hide show
  1. package/dist/{file-manager.entry.ddf5b8ee.js → file-manager.entry.8354dc2e.js} +1 -1
  2. package/dist/{index.050f274b.js → index.bac4db77.js} +2 -2
  3. package/dist/{swirl-action-list-section.entry.12e1e193.js → swirl-action-list-section.entry.a38cc6ed.js} +1 -1
  4. package/dist/{swirl-action-list_3.entry.61bf26ba.js → swirl-action-list_3.entry.f1f79ab4.js} +1 -1
  5. package/dist/{swirl-app-bar.entry.e67f72a6.js → swirl-app-bar.entry.c58ec8ce.js} +1 -1
  6. package/dist/{swirl-app-icon.entry.edf1e5e3.js → swirl-app-icon.entry.7f269b5c.js} +1 -1
  7. package/dist/{swirl-app-layout_7.entry.182542ac.js → swirl-app-layout_7.entry.0d24034f.js} +1 -1
  8. package/dist/{swirl-autocomplete.entry.3ebfe0f7.js → swirl-autocomplete.entry.2a88372b.js} +1 -1
  9. package/dist/{swirl-avatar-group.entry.5d08d0f7.js → swirl-avatar-group.entry.5ab71ea8.js} +1 -1
  10. package/dist/{swirl-avatar.entry.18bf86d4.js → swirl-avatar.entry.4e15832f.js} +1 -1
  11. package/dist/{swirl-badge.entry.a5e6e81b.js → swirl-badge.entry.45fc1143.js} +1 -1
  12. package/dist/{swirl-banner.entry.7bb318df.js → swirl-banner.entry.7749075a.js} +1 -1
  13. package/dist/{swirl-button-group.entry.6774c45e.js → swirl-button-group.entry.04d69e18.js} +1 -1
  14. package/dist/{swirl-button.entry.68d81b66.js → swirl-button.entry.e07e9ab6.js} +1 -1
  15. package/dist/{swirl-card.entry.303babb7.js → swirl-card.entry.bf9fbd5d.js} +1 -1
  16. package/dist/{swirl-carousel-slide.entry.bab60b49.js → swirl-carousel-slide.entry.5b9f68ad.js} +1 -1
  17. package/dist/{swirl-carousel.entry.2f2ce8db.js → swirl-carousel.entry.5103ebca.js} +1 -1
  18. package/dist/{swirl-checkbox.entry.da5392f9.js → swirl-checkbox.entry.880ca7cf.js} +1 -1
  19. package/dist/{swirl-chip.entry.ee1da515.js → swirl-chip.entry.161cd0a2.js} +1 -1
  20. package/dist/{swirl-columns.entry.c91ace70.js → swirl-columns.entry.1a4d7c21.js} +1 -1
  21. package/dist/swirl-components-react.js +1 -1
  22. package/dist/swirl-components-react.umd.cjs +32 -32
  23. package/dist/{swirl-console-layout.entry.0bf2d489.js → swirl-console-layout.entry.ca6e7e59.js} +1 -1
  24. package/dist/{swirl-date-input.entry.52333745.js → swirl-date-input.entry.50e09854.js} +1 -1
  25. package/dist/{swirl-date-picker_2.entry.6fed37a6.js → swirl-date-picker_2.entry.709a2301.js} +1 -1
  26. package/dist/{swirl-description-list-item.entry.9942d98d.js → swirl-description-list-item.entry.26dfc5a5.js} +1 -1
  27. package/dist/{swirl-description-list.entry.12535ff5.js → swirl-description-list.entry.00ed1cfa.js} +1 -1
  28. package/dist/{swirl-dialog.entry.8ec8a3c1.js → swirl-dialog.entry.c090aee2.js} +1 -1
  29. package/dist/{swirl-file-uploader.entry.c5b60f86.js → swirl-file-uploader.entry.a7576c8c.js} +1 -1
  30. package/dist/{swirl-file-viewer_7.entry.dfe92b3d.js → swirl-file-viewer_7.entry.11855cb3.js} +1 -1
  31. package/dist/{swirl-form-control.entry.20f4ab75.js → swirl-form-control.entry.2c12a79f.js} +1 -1
  32. package/dist/{swirl-form-group.entry.a5b3c272.js → swirl-form-group.entry.259b48e4.js} +1 -1
  33. package/dist/{swirl-heading.entry.38e09b19.js → swirl-heading.entry.f8a4ae93.js} +1 -1
  34. package/dist/{swirl-icon-add-photo.entry.d5f64ec8.js → swirl-icon-add-photo.entry.34c8ab56.js} +1 -1
  35. package/dist/{swirl-icon-add_6.entry.c72b3897.js → swirl-icon-add_6.entry.ad76b182.js} +1 -1
  36. package/dist/{swirl-icon-admin-panel-settings.entry.0704c9eb.js → swirl-icon-admin-panel-settings.entry.0c708162.js} +1 -1
  37. package/dist/{swirl-icon-arrow-back.entry.5a37def3.js → swirl-icon-arrow-back.entry.a6dd6d5d.js} +1 -1
  38. package/dist/{swirl-icon-arrow-downward_2.entry.128a384c.js → swirl-icon-arrow-downward_2.entry.e54df08a.js} +1 -1
  39. package/dist/{swirl-icon-arrow-forward.entry.fbb3b2d0.js → swirl-icon-arrow-forward.entry.22c50fbf.js} +1 -1
  40. package/dist/{swirl-icon-arrow-left_4.entry.a19f6dd3.js → swirl-icon-arrow-left_4.entry.425d8243.js} +1 -1
  41. package/dist/{swirl-icon-arrow-right-small.entry.e2e36d49.js → swirl-icon-arrow-right-small.entry.9b24e24f.js} +1 -1
  42. package/dist/{swirl-icon-attachment.entry.0cad8857.js → swirl-icon-attachment.entry.a6cec6f7.js} +1 -1
  43. package/dist/{swirl-icon-block.entry.d6fabf9a.js → swirl-icon-block.entry.f2cc0169.js} +1 -1
  44. package/dist/{swirl-icon-bookmark.entry.f3966b23.js → swirl-icon-bookmark.entry.b0fafe5d.js} +1 -1
  45. package/dist/{swirl-icon-cancel_4.entry.f5d61372.js → swirl-icon-cancel_4.entry.c266b36f.js} +1 -1
  46. package/dist/{swirl-icon-chat-bubble.entry.3fd7dcf3.js → swirl-icon-chat-bubble.entry.6e363565.js} +1 -1
  47. package/dist/{swirl-icon-chats-filled.entry.320029b5.js → swirl-icon-chats-filled.entry.89471380.js} +1 -1
  48. package/dist/{swirl-icon-chats-outlined.entry.a70975fc.js → swirl-icon-chats-outlined.entry.25f898ce.js} +1 -1
  49. package/dist/{swirl-icon-check-circle_3.entry.7acea032.js → swirl-icon-check-circle_3.entry.b5d231f9.js} +1 -1
  50. package/dist/{swirl-icon-check-small_4.entry.dbd1603d.js → swirl-icon-check-small_4.entry.34ba824e.js} +1 -1
  51. package/dist/{swirl-icon-check-strong.entry.74467e39.js → swirl-icon-check-strong.entry.9669d7d5.js} +1 -1
  52. package/dist/{swirl-icon-check.entry.3a78d635.js → swirl-icon-check.entry.b9faeab6.js} +1 -1
  53. package/dist/{swirl-icon-chevron-left.entry.4a906947.js → swirl-icon-chevron-left.entry.53d4079c.js} +1 -1
  54. package/dist/{swirl-icon-chevron-right.entry.d1c4f2bf.js → swirl-icon-chevron-right.entry.b4898d0f.js} +1 -1
  55. package/dist/{swirl-icon-close-small.entry.decb0b9c.js → swirl-icon-close-small.entry.daab11d9.js} +1 -1
  56. package/dist/{swirl-icon-close.entry.ad6d8fbf.js → swirl-icon-close.entry.7c16a604.js} +1 -1
  57. package/dist/{swirl-icon-cloud-upload.entry.404cd922.js → swirl-icon-cloud-upload.entry.b3f3e112.js} +1 -1
  58. package/dist/{swirl-icon-column.entry.1b3b3154.js → swirl-icon-column.entry.f3b71e5a.js} +1 -1
  59. package/dist/{swirl-icon-comment.entry.dd53686c.js → swirl-icon-comment.entry.77c9ed04.js} +1 -1
  60. package/dist/{swirl-icon-copy.entry.3f0b463e.js → swirl-icon-copy.entry.f48a1ed4.js} +1 -1
  61. package/dist/{swirl-icon-date-range.entry.927de7f3.js → swirl-icon-date-range.entry.bf70f6df.js} +1 -1
  62. package/dist/{swirl-icon-delete.entry.6900a6f1.js → swirl-icon-delete.entry.20100afa.js} +1 -1
  63. package/dist/{swirl-icon-description.entry.f55cabb1.js → swirl-icon-description.entry.25c644cf.js} +1 -1
  64. package/dist/{swirl-icon-double-arrow-left.entry.4b3ff78d.js → swirl-icon-double-arrow-left.entry.3e7ec4de.js} +1 -1
  65. package/dist/{swirl-icon-double-arrow-right.entry.6f137e13.js → swirl-icon-double-arrow-right.entry.13430d4d.js} +1 -1
  66. package/dist/{swirl-icon-download.entry.dee7a39f.js → swirl-icon-download.entry.3abe3070.js} +1 -1
  67. package/dist/{swirl-icon-edit.entry.fb92f6ce.js → swirl-icon-edit.entry.9d67bfa0.js} +1 -1
  68. package/dist/{swirl-icon-emoji-mood.entry.c8cd4166.js → swirl-icon-emoji-mood.entry.6fc2269b.js} +1 -1
  69. package/dist/{swirl-icon-emoji-satisfied.entry.0b05fb15.js → swirl-icon-emoji-satisfied.entry.de76ae8b.js} +1 -1
  70. package/dist/{swirl-icon-error_3.entry.d5d49509.js → swirl-icon-error_3.entry.ecac46c9.js} +1 -1
  71. package/dist/{swirl-icon-expand-more.entry.69e07f85.js → swirl-icon-expand-more.entry.a273af5e.js} +1 -1
  72. package/dist/{swirl-icon-filter.entry.f9a88489.js → swirl-icon-filter.entry.674f3c42.js} +1 -1
  73. package/dist/{swirl-icon-folder.entry.f2dc1cd8.js → swirl-icon-folder.entry.9840bbce.js} +1 -1
  74. package/dist/{swirl-icon-group-assign.entry.999f7ace.js → swirl-icon-group-assign.entry.3e729d96.js} +1 -1
  75. package/dist/{swirl-icon-groups-custom.entry.1dc35aa2.js → swirl-icon-groups-custom.entry.cb361939.js} +1 -1
  76. package/dist/{swirl-icon-groups-filled.entry.9714443e.js → swirl-icon-groups-filled.entry.8b82cd38.js} +1 -1
  77. package/dist/{swirl-icon-groups-outlined.entry.84d62fb7.js → swirl-icon-groups-outlined.entry.c87405fa.js} +1 -1
  78. package/dist/{swirl-icon-groups.entry.39b3c4b1.js → swirl-icon-groups.entry.920499f4.js} +1 -1
  79. package/dist/{swirl-icon-help.entry.d4412328.js → swirl-icon-help.entry.1507f692.js} +1 -1
  80. package/dist/{swirl-icon-image.entry.75e35483.js → swirl-icon-image.entry.973f160f.js} +1 -1
  81. package/dist/{swirl-icon-inventory.entry.fe80f5fb.js → swirl-icon-inventory.entry.dcf674cc.js} +1 -1
  82. package/dist/{swirl-icon-like.entry.1ce7471a.js → swirl-icon-like.entry.23ea3b03.js} +1 -1
  83. package/dist/{swirl-icon-link.entry.94bef29a.js → swirl-icon-link.entry.bd090bb6.js} +1 -1
  84. package/dist/{swirl-icon-lock.entry.06cbde20.js → swirl-icon-lock.entry.8400f85e.js} +1 -1
  85. package/dist/{swirl-icon-logout.entry.3a56127d.js → swirl-icon-logout.entry.9ab0be28.js} +1 -1
  86. package/dist/{swirl-icon-mail.entry.73b21fc3.js → swirl-icon-mail.entry.02b68003.js} +1 -1
  87. package/dist/{swirl-icon-manage-accounts.entry.cd9f9654.js → swirl-icon-manage-accounts.entry.4ec14793.js} +1 -1
  88. package/dist/{swirl-icon-mention.entry.9d0fd534.js → swirl-icon-mention.entry.98d0bb3b.js} +1 -1
  89. package/dist/{swirl-icon-menu-filled.entry.59362a89.js → swirl-icon-menu-filled.entry.077d5bd7.js} +1 -1
  90. package/dist/{swirl-icon-menu-outlined.entry.bdd7973a.js → swirl-icon-menu-outlined.entry.2303ab54.js} +1 -1
  91. package/dist/{swirl-icon-menu.entry.958afcc7.js → swirl-icon-menu.entry.f975419a.js} +1 -1
  92. package/dist/{swirl-icon-message.entry.376573ac.js → swirl-icon-message.entry.cd564578.js} +1 -1
  93. package/dist/{swirl-icon-more-horizontal.entry.e60a0dde.js → swirl-icon-more-horizontal.entry.cc7a4089.js} +1 -1
  94. package/dist/{swirl-icon-news-filled.entry.56751f9f.js → swirl-icon-news-filled.entry.d4c33731.js} +1 -1
  95. package/dist/{swirl-icon-news-outlined.entry.5f99dae0.js → swirl-icon-news-outlined.entry.054c51f5.js} +1 -1
  96. package/dist/{swirl-icon-notifications-active.entry.24bdd5f0.js → swirl-icon-notifications-active.entry.702037b0.js} +1 -1
  97. package/dist/{swirl-icon-notifications-off.entry.2fcbb274.js → swirl-icon-notifications-off.entry.225fdcc7.js} +1 -1
  98. package/dist/{swirl-icon-notifications.entry.0b4d0602.js → swirl-icon-notifications.entry.92695d97.js} +1 -1
  99. package/dist/{swirl-icon-open-in-new.entry.eb7a85b0.js → swirl-icon-open-in-new.entry.d2f1fb76.js} +1 -1
  100. package/dist/{swirl-icon-people-alt.entry.ec41825f.js → swirl-icon-people-alt.entry.9597077c.js} +1 -1
  101. package/dist/{swirl-icon-person-off.entry.863a5560.js → swirl-icon-person-off.entry.564b7abd.js} +1 -1
  102. package/dist/{swirl-icon-person.entry.2e4c894b.js → swirl-icon-person.entry.6673a992.js} +1 -1
  103. package/dist/{swirl-icon-phone.entry.be23de8f.js → swirl-icon-phone.entry.55c79d6c.js} +1 -1
  104. package/dist/{swirl-icon-poll.entry.cc8e2b69.js → swirl-icon-poll.entry.763f5bd1.js} +1 -1
  105. package/dist/{swirl-icon-print.entry.f89bf131.js → swirl-icon-print.entry.f8034378.js} +1 -1
  106. package/dist/{swirl-icon-recieved.entry.e73413a6.js → swirl-icon-recieved.entry.4e8d5ed1.js} +1 -1
  107. package/dist/{swirl-icon-search-strong.entry.b04b2c6e.js → swirl-icon-search-strong.entry.2de67345.js} +1 -1
  108. package/dist/{swirl-icon-search.entry.6186ceb9.js → swirl-icon-search.entry.5807dc9d.js} +1 -1
  109. package/dist/{swirl-icon-send.entry.f2e898e7.js → swirl-icon-send.entry.6bcbd9ce.js} +1 -1
  110. package/dist/{swirl-icon-settings.entry.5af010db.js → swirl-icon-settings.entry.4388cf66.js} +1 -1
  111. package/dist/{swirl-icon-sync.entry.e245bc5f.js → swirl-icon-sync.entry.c0c5eebe.js} +1 -1
  112. package/dist/{swirl-icon-tasks-filled.entry.366cc34d.js → swirl-icon-tasks-filled.entry.9782833b.js} +1 -1
  113. package/dist/{swirl-icon-tasks-outlined.entry.6023ad48.js → swirl-icon-tasks-outlined.entry.2b600178.js} +1 -1
  114. package/dist/{swirl-icon-time-filled.entry.27bd3e31.js → swirl-icon-time-filled.entry.56b06943.js} +1 -1
  115. package/dist/{swirl-icon-time-outlined.entry.2da70575.js → swirl-icon-time-outlined.entry.1f571c8f.js} +1 -1
  116. package/dist/{swirl-icon-user-assign.entry.a6e9f0b2.js → swirl-icon-user-assign.entry.a09b4791.js} +1 -1
  117. package/dist/{swirl-icon-video-camera.entry.a6376e16.js → swirl-icon-video-camera.entry.75cb3f08.js} +1 -1
  118. package/dist/{swirl-inline-notification.entry.e64f8800.js → swirl-inline-notification.entry.ff061e6c.js} +1 -1
  119. package/dist/{swirl-lightbox.entry.a39808fc.js → swirl-lightbox.entry.155c84cc.js} +1 -1
  120. package/dist/{swirl-link.entry.ac5931db.js → swirl-link.entry.8bbaee55.js} +1 -1
  121. package/dist/{swirl-list.entry.d28f1b9e.js → swirl-list.entry.2ac96091.js} +1 -1
  122. package/dist/swirl-modal.entry.2a319eb2.js +532 -0
  123. package/dist/{swirl-option-list-section.entry.e4f09f77.js → swirl-option-list-section.entry.1a0a01f7.js} +1 -1
  124. package/dist/{swirl-pagination.entry.6cb9a968.js → swirl-pagination.entry.e6349323.js} +1 -1
  125. package/dist/{swirl-pdf-reader.entry.987a3cc2.js → swirl-pdf-reader.entry.c6773edd.js} +1 -1
  126. package/dist/{swirl-popover.entry.80124ff8.js → swirl-popover.entry.084ec2f7.js} +1 -1
  127. package/dist/{swirl-progress-indicator.entry.2dce55b4.js → swirl-progress-indicator.entry.bfe02d3c.js} +1 -1
  128. package/dist/{swirl-radio-group.entry.c9e58817.js → swirl-radio-group.entry.524522c1.js} +1 -1
  129. package/dist/{swirl-radio.entry.7d40dfd2.js → swirl-radio.entry.81c965fd.js} +1 -1
  130. package/dist/{swirl-resource-list-file-item.entry.0488a7d1.js → swirl-resource-list-file-item.entry.7da40636.js} +1 -1
  131. package/dist/{swirl-search.entry.c37c94c7.js → swirl-search.entry.ccefc879.js} +1 -1
  132. package/dist/{swirl-select.entry.29601a7c.js → swirl-select.entry.f0611d29.js} +1 -1
  133. package/dist/{swirl-shell-layout.entry.c4a9d5cd.js → swirl-shell-layout.entry.89ee0bbe.js} +1 -1
  134. package/dist/{swirl-shell-navigation-item.entry.2dad2451.js → swirl-shell-navigation-item.entry.5fa2dda6.js} +1 -1
  135. package/dist/{swirl-skeleton-box.entry.6d944e75.js → swirl-skeleton-box.entry.11e0e848.js} +1 -1
  136. package/dist/{swirl-skeleton-text.entry.4869b679.js → swirl-skeleton-text.entry.c7c34f82.js} +1 -1
  137. package/dist/{swirl-stack.entry.432f1e14.js → swirl-stack.entry.1e3c492e.js} +1 -1
  138. package/dist/{swirl-switch.entry.083b1ab2.js → swirl-switch.entry.9cc1c46f.js} +1 -1
  139. package/dist/{swirl-tab-bar.entry.151a05d4.js → swirl-tab-bar.entry.5b08734c.js} +1 -1
  140. package/dist/{swirl-tab.entry.26e8bf1f.js → swirl-tab.entry.0a2bfba6.js} +1 -1
  141. package/dist/{swirl-table-cell.entry.1801d440.js → swirl-table-cell.entry.5a552068.js} +1 -1
  142. package/dist/{swirl-table-column.entry.2beaf629.js → swirl-table-column.entry.e76cfabd.js} +9 -4
  143. package/dist/{swirl-table-row-group.entry.0b84f9e4.js → swirl-table-row-group.entry.25502d9f.js} +1 -1
  144. package/dist/swirl-table-row.entry.109b197c.js +27 -0
  145. package/dist/swirl-table.entry.d360da64.js +131 -0
  146. package/dist/{swirl-tabs.entry.fc9867f7.js → swirl-tabs.entry.c6f2d5bc.js} +1 -1
  147. package/dist/{swirl-tag.entry.6da1b1a3.js → swirl-tag.entry.037aa101.js} +1 -1
  148. package/dist/{swirl-text-input.entry.740221bb.js → swirl-text-input.entry.21cc16c1.js} +1 -1
  149. package/dist/{swirl-text.entry.16b12c73.js → swirl-text.entry.a2d4ade8.js} +1 -1
  150. package/dist/{swirl-theme-provider.entry.d85716ea.js → swirl-theme-provider.entry.e101f366.js} +1 -1
  151. package/dist/{swirl-toast-provider.entry.e3c4b577.js → swirl-toast-provider.entry.3e4245e6.js} +1 -1
  152. package/dist/{swirl-toast.entry.87ccd241.js → swirl-toast.entry.ea3eb59c.js} +1 -1
  153. package/dist/{swirl-tooltip.entry.aeee4d70.js → swirl-tooltip.entry.e23c89fd.js} +1 -1
  154. package/dist/{swirl-tree-navigation-item.entry.5905545a.js → swirl-tree-navigation-item.entry.25363225.js} +1 -1
  155. package/dist/{swirl-video-thumbnail.entry.716c5d54.js → swirl-video-thumbnail.entry.dde0f6dd.js} +1 -1
  156. package/dist/{swirl-visually-hidden.entry.fc6f61cd.js → swirl-visually-hidden.entry.86bfeb76.js} +1 -1
  157. package/dist/{wc-datepicker.entry.8ad23683.js → wc-datepicker.entry.a349b6d8.js} +1 -1
  158. package/package.json +2 -2
  159. package/dist/swirl-modal.entry.ecd74412.js +0 -531
  160. package/dist/swirl-table-row.entry.0dd4a2de.js +0 -19
  161. package/dist/swirl-table.entry.f093c201.js +0 -153
@@ -0,0 +1,532 @@
1
+ import { r as oe, c as N, h as p, H as ne, g as se } from "./index.bac4db77.js";
2
+ import { d as le, e as de } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
3
+ import { c as ce } from "./index-d280dafb.186cdb0e.js";
4
+ import "react";
5
+ import "react-dom";
6
+ /*!
7
+ * tabbable 6.0.1
8
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
9
+ */
10
+ var Z = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(slot)", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])', "details>summary:first-of-type", "details"], A = /* @__PURE__ */ Z.join(","), X = typeof Element > "u", T = X ? function() {
11
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, R = !X && Element.prototype.getRootNode ? function(n) {
12
+ return n.getRootNode();
13
+ } : function(n) {
14
+ return n.ownerDocument;
15
+ }, J = function(e, a, t) {
16
+ var s = Array.prototype.slice.apply(e.querySelectorAll(A));
17
+ return a && T.call(e, A) && s.unshift(e), s = s.filter(t), s;
18
+ }, Q = function n(e, a, t) {
19
+ for (var s = [], l = Array.from(e); l.length; ) {
20
+ var r = l.shift();
21
+ if (r.tagName === "SLOT") {
22
+ var c = r.assignedElements(), u = c.length ? c : r.children, m = n(u, !0, t);
23
+ t.flatten ? s.push.apply(s, m) : s.push({
24
+ scopeParent: r,
25
+ candidates: m
26
+ });
27
+ } else {
28
+ var S = T.call(r, A);
29
+ S && t.filter(r) && (a || !e.includes(r)) && s.push(r);
30
+ var w = r.shadowRoot || typeof t.getShadowRoot == "function" && t.getShadowRoot(r), C = !t.shadowRootFilter || t.shadowRootFilter(r);
31
+ if (w && C) {
32
+ var y = n(w === !0 ? r.children : w.children, !0, t);
33
+ t.flatten ? s.push.apply(s, y) : s.push({
34
+ scopeParent: r,
35
+ candidates: y
36
+ });
37
+ } else
38
+ l.unshift.apply(l, r.children);
39
+ }
40
+ }
41
+ return s;
42
+ }, ee = function(e, a) {
43
+ return e.tabIndex < 0 && (a || /^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || e.isContentEditable) && isNaN(parseInt(e.getAttribute("tabindex"), 10)) ? 0 : e.tabIndex;
44
+ }, ue = function(e, a) {
45
+ return e.tabIndex === a.tabIndex ? e.documentOrder - a.documentOrder : e.tabIndex - a.tabIndex;
46
+ }, ae = function(e) {
47
+ return e.tagName === "INPUT";
48
+ }, fe = function(e) {
49
+ return ae(e) && e.type === "hidden";
50
+ }, he = function(e) {
51
+ var a = e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(t) {
52
+ return t.tagName === "SUMMARY";
53
+ });
54
+ return a;
55
+ }, be = function(e, a) {
56
+ for (var t = 0; t < e.length; t++)
57
+ if (e[t].checked && e[t].form === a)
58
+ return e[t];
59
+ }, me = function(e) {
60
+ if (!e.name)
61
+ return !0;
62
+ var a = e.form || R(e), t = function(c) {
63
+ return a.querySelectorAll('input[type="radio"][name="' + c + '"]');
64
+ }, s;
65
+ if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
66
+ s = t(window.CSS.escape(e.name));
67
+ else
68
+ try {
69
+ s = t(e.name);
70
+ } catch (r) {
71
+ return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", r.message), !1;
72
+ }
73
+ var l = be(s, e.form);
74
+ return !l || l === e;
75
+ }, ve = function(e) {
76
+ return ae(e) && e.type === "radio";
77
+ }, pe = function(e) {
78
+ return ve(e) && !me(e);
79
+ }, ge = function(e) {
80
+ for (var a, t = R(e).host, s = !!((a = t) !== null && a !== void 0 && a.ownerDocument.contains(t) || e.ownerDocument.contains(e)); !s && t; ) {
81
+ var l;
82
+ t = R(t).host, s = !!((l = t) !== null && l !== void 0 && l.ownerDocument.contains(t));
83
+ }
84
+ return s;
85
+ }, q = function(e) {
86
+ var a = e.getBoundingClientRect(), t = a.width, s = a.height;
87
+ return t === 0 && s === 0;
88
+ }, we = function(e, a) {
89
+ var t = a.displayCheck, s = a.getShadowRoot;
90
+ if (getComputedStyle(e).visibility === "hidden")
91
+ return !0;
92
+ var l = T.call(e, "details>summary:first-of-type"), r = l ? e.parentElement : e;
93
+ if (T.call(r, "details:not([open]) *"))
94
+ return !0;
95
+ if (!t || t === "full" || t === "legacy-full") {
96
+ if (typeof s == "function") {
97
+ for (var c = e; e; ) {
98
+ var u = e.parentElement, m = R(e);
99
+ if (u && !u.shadowRoot && s(u) === !0)
100
+ return q(e);
101
+ e.assignedSlot ? e = e.assignedSlot : !u && m !== e.ownerDocument ? e = m.host : e = u;
102
+ }
103
+ e = c;
104
+ }
105
+ if (ge(e))
106
+ return !e.getClientRects().length;
107
+ if (t !== "legacy-full")
108
+ return !0;
109
+ } else if (t === "non-zero-area")
110
+ return q(e);
111
+ return !1;
112
+ }, ye = function(e) {
113
+ if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
114
+ for (var a = e.parentElement; a; ) {
115
+ if (a.tagName === "FIELDSET" && a.disabled) {
116
+ for (var t = 0; t < a.children.length; t++) {
117
+ var s = a.children.item(t);
118
+ if (s.tagName === "LEGEND")
119
+ return T.call(a, "fieldset[disabled] *") ? !0 : !s.contains(e);
120
+ }
121
+ return !0;
122
+ }
123
+ a = a.parentElement;
124
+ }
125
+ return !1;
126
+ }, O = function(e, a) {
127
+ return !(a.disabled || fe(a) || we(a, e) || he(a) || ye(a));
128
+ }, B = function(e, a) {
129
+ return !(pe(a) || ee(a) < 0 || !O(e, a));
130
+ }, ke = function(e) {
131
+ var a = parseInt(e.getAttribute("tabindex"), 10);
132
+ return !!(isNaN(a) || a >= 0);
133
+ }, Se = function n(e) {
134
+ var a = [], t = [];
135
+ return e.forEach(function(s, l) {
136
+ var r = !!s.scopeParent, c = r ? s.scopeParent : s, u = ee(c, r), m = r ? n(s.candidates) : c;
137
+ u === 0 ? r ? a.push.apply(a, m) : a.push(c) : t.push({
138
+ documentOrder: l,
139
+ tabIndex: u,
140
+ item: s,
141
+ isScope: r,
142
+ content: m
143
+ });
144
+ }), t.sort(ue).reduce(function(s, l) {
145
+ return l.isScope ? s.push.apply(s, l.content) : s.push(l.content), s;
146
+ }, []).concat(a);
147
+ }, Ce = function(e, a) {
148
+ a = a || {};
149
+ var t;
150
+ return a.getShadowRoot ? t = Q([e], a.includeContainer, {
151
+ filter: B.bind(null, a),
152
+ flatten: !1,
153
+ getShadowRoot: a.getShadowRoot,
154
+ shadowRootFilter: ke
155
+ }) : t = J(e, a.includeContainer, B.bind(null, a)), Se(t);
156
+ }, Te = function(e, a) {
157
+ a = a || {};
158
+ var t;
159
+ return a.getShadowRoot ? t = Q([e], a.includeContainer, {
160
+ filter: O.bind(null, a),
161
+ flatten: !0,
162
+ getShadowRoot: a.getShadowRoot
163
+ }) : t = J(e, a.includeContainer, O.bind(null, a)), t;
164
+ }, x = function(e, a) {
165
+ if (a = a || {}, !e)
166
+ throw new Error("No node provided");
167
+ return T.call(e, A) === !1 ? !1 : B(a, e);
168
+ }, _e = /* @__PURE__ */ Z.concat("iframe").join(","), P = function(e, a) {
169
+ if (a = a || {}, !e)
170
+ throw new Error("No node provided");
171
+ return T.call(e, _e) === !1 ? !1 : O(a, e);
172
+ };
173
+ /*!
174
+ * focus-trap 7.1.0
175
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
176
+ */
177
+ function U(n, e) {
178
+ var a = Object.keys(n);
179
+ if (Object.getOwnPropertySymbols) {
180
+ var t = Object.getOwnPropertySymbols(n);
181
+ e && (t = t.filter(function(s) {
182
+ return Object.getOwnPropertyDescriptor(n, s).enumerable;
183
+ })), a.push.apply(a, t);
184
+ }
185
+ return a;
186
+ }
187
+ function W(n) {
188
+ for (var e = 1; e < arguments.length; e++) {
189
+ var a = arguments[e] != null ? arguments[e] : {};
190
+ e % 2 ? U(Object(a), !0).forEach(function(t) {
191
+ Ee(n, t, a[t]);
192
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : U(Object(a)).forEach(function(t) {
193
+ Object.defineProperty(n, t, Object.getOwnPropertyDescriptor(a, t));
194
+ });
195
+ }
196
+ return n;
197
+ }
198
+ function Ee(n, e, a) {
199
+ return e in n ? Object.defineProperty(n, e, {
200
+ value: a,
201
+ enumerable: !0,
202
+ configurable: !0,
203
+ writable: !0
204
+ }) : n[e] = a, n;
205
+ }
206
+ var Fe = [], V = {
207
+ activateTrap: function(e, a) {
208
+ if (e.length > 0) {
209
+ var t = e[e.length - 1];
210
+ t !== a && t.pause();
211
+ }
212
+ var s = e.indexOf(a);
213
+ s === -1 || e.splice(s, 1), e.push(a);
214
+ },
215
+ deactivateTrap: function(e, a) {
216
+ var t = e.indexOf(a);
217
+ t !== -1 && e.splice(t, 1), e.length > 0 && e[e.length - 1].unpause();
218
+ }
219
+ }, Ne = function(e) {
220
+ return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
221
+ }, xe = function(e) {
222
+ return e.key === "Escape" || e.key === "Esc" || e.keyCode === 27;
223
+ }, De = function(e) {
224
+ return e.key === "Tab" || e.keyCode === 9;
225
+ }, $ = function(e) {
226
+ return setTimeout(e, 0);
227
+ }, Y = function(e, a) {
228
+ var t = -1;
229
+ return e.every(function(s, l) {
230
+ return a(s) ? (t = l, !1) : !0;
231
+ }), t;
232
+ }, E = function(e) {
233
+ for (var a = arguments.length, t = new Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++)
234
+ t[s - 1] = arguments[s];
235
+ return typeof e == "function" ? e.apply(void 0, t) : e;
236
+ }, D = function(e) {
237
+ return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
238
+ }, Ae = function(e, a) {
239
+ var t = (a == null ? void 0 : a.document) || document, s = (a == null ? void 0 : a.trapStack) || Fe, l = W({
240
+ returnFocusOnDeactivate: !0,
241
+ escapeDeactivates: !0,
242
+ delayInitialFocus: !0
243
+ }, a), r = {
244
+ containers: [],
245
+ containerGroups: [],
246
+ tabbableGroups: [],
247
+ nodeFocusedBeforeActivation: null,
248
+ mostRecentlyFocusedNode: null,
249
+ active: !1,
250
+ paused: !1,
251
+ delayInitialFocusTimer: void 0
252
+ }, c, u = function(i, o, d) {
253
+ return i && i[o] !== void 0 ? i[o] : l[d || o];
254
+ }, m = function(i) {
255
+ return r.containerGroups.findIndex(function(o) {
256
+ var d = o.container, b = o.tabbableNodes;
257
+ return d.contains(i) || b.find(function(f) {
258
+ return f === i;
259
+ });
260
+ });
261
+ }, S = function(i) {
262
+ var o = l[i];
263
+ if (typeof o == "function") {
264
+ for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), f = 1; f < d; f++)
265
+ b[f - 1] = arguments[f];
266
+ o = o.apply(void 0, b);
267
+ }
268
+ if (o === !0 && (o = void 0), !o) {
269
+ if (o === void 0 || o === !1)
270
+ return o;
271
+ throw new Error("`".concat(i, "` was specified but was not a node, or did not return a node"));
272
+ }
273
+ var v = o;
274
+ if (typeof o == "string" && (v = t.querySelector(o), !v))
275
+ throw new Error("`".concat(i, "` as selector refers to no known node"));
276
+ return v;
277
+ }, w = function() {
278
+ var i = S("initialFocus");
279
+ if (i === !1)
280
+ return !1;
281
+ if (i === void 0)
282
+ if (m(t.activeElement) >= 0)
283
+ i = t.activeElement;
284
+ else {
285
+ var o = r.tabbableGroups[0], d = o && o.firstTabbableNode;
286
+ i = d || S("fallbackFocus");
287
+ }
288
+ if (!i)
289
+ throw new Error("Your focus-trap needs to have at least one focusable element");
290
+ return i;
291
+ }, C = function() {
292
+ if (r.containerGroups = r.containers.map(function(i) {
293
+ var o = Ce(i, l.tabbableOptions), d = Te(i, l.tabbableOptions);
294
+ return {
295
+ container: i,
296
+ tabbableNodes: o,
297
+ focusableNodes: d,
298
+ firstTabbableNode: o.length > 0 ? o[0] : null,
299
+ lastTabbableNode: o.length > 0 ? o[o.length - 1] : null,
300
+ nextTabbableNode: function(f) {
301
+ var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, g = d.findIndex(function(k) {
302
+ return k === f;
303
+ });
304
+ if (!(g < 0))
305
+ return v ? d.slice(g + 1).find(function(k) {
306
+ return x(k, l.tabbableOptions);
307
+ }) : d.slice(0, g).reverse().find(function(k) {
308
+ return x(k, l.tabbableOptions);
309
+ });
310
+ }
311
+ };
312
+ }), r.tabbableGroups = r.containerGroups.filter(function(i) {
313
+ return i.tabbableNodes.length > 0;
314
+ }), r.tabbableGroups.length <= 0 && !S("fallbackFocus"))
315
+ throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
316
+ }, y = function h(i) {
317
+ if (i !== !1 && i !== t.activeElement) {
318
+ if (!i || !i.focus) {
319
+ h(w());
320
+ return;
321
+ }
322
+ i.focus({
323
+ preventScroll: !!l.preventScroll
324
+ }), r.mostRecentlyFocusedNode = i, Ne(i) && i.select();
325
+ }
326
+ }, H = function(i) {
327
+ var o = S("setReturnFocus", i);
328
+ return o || (o === !1 ? !1 : i);
329
+ }, F = function(i) {
330
+ var o = D(i);
331
+ if (!(m(o) >= 0)) {
332
+ if (E(l.clickOutsideDeactivates, i)) {
333
+ c.deactivate({
334
+ returnFocus: l.returnFocusOnDeactivate && !P(o, l.tabbableOptions)
335
+ });
336
+ return;
337
+ }
338
+ E(l.allowOutsideClick, i) || i.preventDefault();
339
+ }
340
+ }, j = function(i) {
341
+ var o = D(i), d = m(o) >= 0;
342
+ d || o instanceof Document ? d && (r.mostRecentlyFocusedNode = o) : (i.stopImmediatePropagation(), y(r.mostRecentlyFocusedNode || w()));
343
+ }, te = function(i) {
344
+ var o = D(i);
345
+ C();
346
+ var d = null;
347
+ if (r.tabbableGroups.length > 0) {
348
+ var b = m(o), f = b >= 0 ? r.containerGroups[b] : void 0;
349
+ if (b < 0)
350
+ i.shiftKey ? d = r.tabbableGroups[r.tabbableGroups.length - 1].lastTabbableNode : d = r.tabbableGroups[0].firstTabbableNode;
351
+ else if (i.shiftKey) {
352
+ var v = Y(r.tabbableGroups, function(I) {
353
+ var L = I.firstTabbableNode;
354
+ return o === L;
355
+ });
356
+ if (v < 0 && (f.container === o || P(o, l.tabbableOptions) && !x(o, l.tabbableOptions) && !f.nextTabbableNode(o, !1)) && (v = b), v >= 0) {
357
+ var g = v === 0 ? r.tabbableGroups.length - 1 : v - 1, k = r.tabbableGroups[g];
358
+ d = k.lastTabbableNode;
359
+ }
360
+ } else {
361
+ var _ = Y(r.tabbableGroups, function(I) {
362
+ var L = I.lastTabbableNode;
363
+ return o === L;
364
+ });
365
+ if (_ < 0 && (f.container === o || P(o, l.tabbableOptions) && !x(o, l.tabbableOptions) && !f.nextTabbableNode(o)) && (_ = b), _ >= 0) {
366
+ var re = _ === r.tabbableGroups.length - 1 ? 0 : _ + 1, ie = r.tabbableGroups[re];
367
+ d = ie.firstTabbableNode;
368
+ }
369
+ }
370
+ } else
371
+ d = S("fallbackFocus");
372
+ d && (i.preventDefault(), y(d));
373
+ }, M = function(i) {
374
+ if (xe(i) && E(l.escapeDeactivates, i) !== !1) {
375
+ i.preventDefault(), c.deactivate();
376
+ return;
377
+ }
378
+ if (De(i)) {
379
+ te(i);
380
+ return;
381
+ }
382
+ }, G = function(i) {
383
+ var o = D(i);
384
+ m(o) >= 0 || E(l.clickOutsideDeactivates, i) || E(l.allowOutsideClick, i) || (i.preventDefault(), i.stopImmediatePropagation());
385
+ }, K = function() {
386
+ if (!!r.active)
387
+ return V.activateTrap(s, c), r.delayInitialFocusTimer = l.delayInitialFocus ? $(function() {
388
+ y(w());
389
+ }) : y(w()), t.addEventListener("focusin", j, !0), t.addEventListener("mousedown", F, {
390
+ capture: !0,
391
+ passive: !1
392
+ }), t.addEventListener("touchstart", F, {
393
+ capture: !0,
394
+ passive: !1
395
+ }), t.addEventListener("click", G, {
396
+ capture: !0,
397
+ passive: !1
398
+ }), t.addEventListener("keydown", M, {
399
+ capture: !0,
400
+ passive: !1
401
+ }), c;
402
+ }, z = function() {
403
+ if (!!r.active)
404
+ return t.removeEventListener("focusin", j, !0), t.removeEventListener("mousedown", F, !0), t.removeEventListener("touchstart", F, !0), t.removeEventListener("click", G, !0), t.removeEventListener("keydown", M, !0), c;
405
+ };
406
+ return c = {
407
+ get active() {
408
+ return r.active;
409
+ },
410
+ get paused() {
411
+ return r.paused;
412
+ },
413
+ activate: function(i) {
414
+ if (r.active)
415
+ return this;
416
+ var o = u(i, "onActivate"), d = u(i, "onPostActivate"), b = u(i, "checkCanFocusTrap");
417
+ b || C(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = t.activeElement, o && o();
418
+ var f = function() {
419
+ b && C(), K(), d && d();
420
+ };
421
+ return b ? (b(r.containers.concat()).then(f, f), this) : (f(), this);
422
+ },
423
+ deactivate: function(i) {
424
+ if (!r.active)
425
+ return this;
426
+ var o = W({
427
+ onDeactivate: l.onDeactivate,
428
+ onPostDeactivate: l.onPostDeactivate,
429
+ checkCanReturnFocus: l.checkCanReturnFocus
430
+ }, i);
431
+ clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, z(), r.active = !1, r.paused = !1, V.deactivateTrap(s, c);
432
+ var d = u(o, "onDeactivate"), b = u(o, "onPostDeactivate"), f = u(o, "checkCanReturnFocus"), v = u(o, "returnFocus", "returnFocusOnDeactivate");
433
+ d && d();
434
+ var g = function() {
435
+ $(function() {
436
+ v && y(H(r.nodeFocusedBeforeActivation)), b && b();
437
+ });
438
+ };
439
+ return v && f ? (f(H(r.nodeFocusedBeforeActivation)).then(g, g), this) : (g(), this);
440
+ },
441
+ pause: function() {
442
+ return r.paused || !r.active ? this : (r.paused = !0, z(), this);
443
+ },
444
+ unpause: function() {
445
+ return !r.paused || !r.active ? this : (r.paused = !1, C(), K(), this);
446
+ },
447
+ updateContainerElements: function(i) {
448
+ var o = [].concat(i).filter(Boolean);
449
+ return r.containers = o.map(function(d) {
450
+ return typeof d == "string" ? t.querySelector(d) : d;
451
+ }), r.active && C(), this;
452
+ }
453
+ }, c.updateContainerElements(e), c;
454
+ };
455
+ const Re = ':host{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);display:block}:host *{box-sizing:border-box}.modal{position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.modal[aria-hidden="true"]{display:none}.modal--variant-default.modal--closing{-webkit-animation:0.15s modal-fade-out;animation:0.15s modal-fade-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{-webkit-animation:none;animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{-webkit-animation:0.15s modal-backdrop-fade-in;animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{-webkit-animation:none;animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{-webkit-animation:0.15s modal-scale-in;animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{-webkit-animation:none;animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{-webkit-animation:0.15s modal-drawer-slide-out;animation:0.15s modal-drawer-slide-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{-webkit-animation:none;animation:none}}.modal--variant-drawer.modal--hide-label .modal__content{padding-top:calc(3.5rem + var(--s-space-8))}.modal--variant-drawer .modal__backdrop{background-color:transparent;-webkit-animation:none;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;-webkit-animation:0.15s modal-drawer-slide-in;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{-webkit-animation:none;animation:none}}.modal--variant-drawer .modal__close-button{right:auto;left:var(--s-space-8)}@media (min-width: 768px){.modal--variant-drawer .modal__close-button{left:var(--s-space-16)}}.modal--variant-drawer .modal__header{padding-left:calc(var(--s-space-8) + 2.5rem + var(--s-space-8));padding-right:var(--s-space-16)}@media (min-width: 768px){.modal--variant-drawer .modal__header{padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-left:calc(var(--s-space-16) + 2.5rem + var(--s-space-8))}}.modal--padded .modal__content{padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-24);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal--padded .modal__content{padding-top:0;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal--scrolled .modal__header{border-bottom-color:var(--s-border-default)}}.modal__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.modal__body{position:relative;z-index:var(--s-z-40);display:flex;overflow:hidden;width:100vw;max-width:40rem;height:100vh;background-color:var(--s-surface-overlay-default);flex-direction:column}@media (min-width: 768px){.modal__body{width:90vw;height:auto;max-height:90vh;border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}.modal__close-button{position:absolute;top:var(--s-space-8);left:var(--s-space-8)}@media (min-width: 768px){.modal__close-button{top:var(--s-space-16);right:var(--s-space-16);left:auto}}.modal__header{display:flex;height:3.5rem;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:calc(var(--s-space-8) + 2.5rem + var(--s-space-8));flex-shrink:0;align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);gap:var(--s-space-16)}@media (min-width: 768px){.modal__header{height:4.125rem;padding-top:var(--s-space-24);padding-right:calc(var(--s-space-16) + 2.5rem + var(--s-space-8));padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);border-bottom:var(--s-border-width-default) solid transparent}}.modal__custom-header{flex-shrink:0;border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.modal__heading{overflow:hidden}.modal__heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.modal__content{overflow-x:hidden;overflow-y:auto;flex-grow:1;line-height:var(--s-line-height-base)}.modal__content ::slotted(*){margin:0}.modal__controls{display:flex;padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-shrink:0;justify-content:flex-end}@-webkit-keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@-webkit-keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@-webkit-keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@-webkit-keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}@keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}', Oe = class {
456
+ constructor(n) {
457
+ oe(this, n), this.modalClose = N(this, "modalClose", 7), this.modalOpen = N(this, "modalOpen", 7), this.primaryAction = N(this, "primaryAction", 7), this.secondaryAction = N(this, "secondaryAction", 7), this.onKeyDown = (e) => {
458
+ e.code === "Escape" && this.close();
459
+ }, this.onBackdropClick = () => {
460
+ this.close();
461
+ }, this.onCloseButtonClick = () => {
462
+ this.close();
463
+ }, this.onPrimaryAction = (e) => {
464
+ this.primaryAction.emit(e);
465
+ }, this.onSecondaryAction = (e) => {
466
+ this.secondaryAction.emit(e);
467
+ }, this.onCustomHeaderSlotChange = () => {
468
+ this.hasCustomHeader = this.customHeaderSlot.assignedElements().length > 0;
469
+ }, this.determineScrollStatus = () => {
470
+ var e, a, t, s, l, r;
471
+ const c = ((e = this.scrollContainer) === null || e === void 0 ? void 0 : e.scrollTop) > 0, u = Math.ceil(((a = this.scrollContainer) === null || a === void 0 ? void 0 : a.scrollTop) + ((t = this.scrollContainer) === null || t === void 0 ? void 0 : t.offsetHeight)) >= ((s = this.scrollContainer) === null || s === void 0 ? void 0 : s.scrollHeight), m = ((l = this.scrollContainer) === null || l === void 0 ? void 0 : l.scrollHeight) > ((r = this.scrollContainer) === null || r === void 0 ? void 0 : r.offsetHeight);
472
+ c !== this.scrolled && (this.scrolled = c), u !== this.scrolledDown && (this.scrolledDown = u), m !== this.scrollable && (this.scrollable = m);
473
+ }, this.closeButtonLabel = "Close modal", this.hideCloseButton = void 0, this.hideLabel = void 0, this.label = void 0, this.maxWidth = void 0, this.padded = !0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.variant = "default", this.isOpen = !1, this.closing = !1, this.hasCustomHeader = void 0, this.scrollable = !1, this.scrolled = !1, this.scrolledDown = !1;
474
+ }
475
+ componentDidLoad() {
476
+ this.focusTrap = Ae(this.modalEl, {
477
+ allowOutsideClick: !0,
478
+ tabbableOptions: {
479
+ getShadowRoot: (n) => n.shadowRoot
480
+ }
481
+ }), this.determineScrollStatus();
482
+ }
483
+ disconnectedCallback() {
484
+ this.focusTrap.deactivate(), this.unlockBodyScroll();
485
+ }
486
+ onWindowResize() {
487
+ this.determineScrollStatus();
488
+ }
489
+ watchIsOpen() {
490
+ this.isOpen ? setTimeout(() => {
491
+ this.focusTrap.activate();
492
+ }, 200) : this.focusTrap.deactivate();
493
+ }
494
+ async open() {
495
+ this.isOpen = !0, this.modalOpen.emit(), this.lockBodyScroll(), this.determineScrollStatus();
496
+ }
497
+ async close() {
498
+ this.closing || (this.closing = !0, this.unlockBodyScroll(), setTimeout(() => {
499
+ this.isOpen = !1, this.modalClose.emit(), this.closing = !1;
500
+ }, 150));
501
+ }
502
+ lockBodyScroll() {
503
+ le(this.scrollContainer);
504
+ }
505
+ unlockBodyScroll() {
506
+ de(this.scrollContainer);
507
+ }
508
+ render() {
509
+ const n = Boolean(this.primaryActionLabel) || Boolean(this.secondaryActionLabel), e = ce("modal", `modal--variant-${this.variant}`, {
510
+ "modal--closing": this.closing,
511
+ "modal--has-custom-header": this.hasCustomHeader,
512
+ "modal--hide-label": this.hideLabel,
513
+ "modal--padded": this.padded,
514
+ "modal--scrollable": this.scrollable,
515
+ "modal--scrolled": this.scrolled,
516
+ "modal--scrolled-down": this.scrolledDown
517
+ });
518
+ return p(ne, null, p("section", { "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: e, onKeyDown: this.onKeyDown, role: "dialog", ref: (a) => this.modalEl = a }, p("div", { class: "modal__backdrop", onClick: this.onBackdropClick }), p("div", { class: "modal__body", style: { maxWidth: this.maxWidth } }, !this.hideCloseButton && p("swirl-button", { class: "modal__close-button", hideLabel: !0, icon: this.variant === "default" ? "<swirl-icon-close></swirl-icon-close>" : "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick }), p("header", { class: "modal__custom-header" }, p("slot", { name: "custom-header", onSlotchange: this.onCustomHeaderSlotChange, ref: (a) => this.customHeaderSlot = a })), !this.hideLabel && p("header", { class: "modal__header" }, p("swirl-heading", { as: "h2", class: "modal__heading", level: 3, text: this.label })), p("div", { class: "modal__content", onScroll: this.determineScrollStatus, ref: (a) => this.scrollContainer = a }, p("slot", null)), n && p("footer", { class: "modal__controls" }, p("swirl-button-group", { wrap: !0 }, this.secondaryActionLabel && p("swirl-button", { label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && p("swirl-button", { intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))));
519
+ }
520
+ get el() {
521
+ return se(this);
522
+ }
523
+ static get watchers() {
524
+ return {
525
+ isOpen: ["watchIsOpen"]
526
+ };
527
+ }
528
+ };
529
+ Oe.style = Re;
530
+ export {
531
+ Oe as swirl_modal
532
+ };
@@ -1,4 +1,4 @@
1
- import { r as s, h as t, H as e } from "./index.050f274b.js";
1
+ import { r as s, h as t, H as e } from "./index.bac4db77.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const o = ":host{display:block}:host *{box-sizing:border-box}.option-list-section{background-color:var(--s-surface-overlay-default)}.option-list-section__label{display:block;width:100%;padding:var(--s-space-8) var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default);color:var(--s-text-subdued);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-section__label{padding:var(--s-space-8) var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", l = class {
@@ -1,4 +1,4 @@
1
- import { r, c as s, h as e, H as p } from "./index.050f274b.js";
1
+ import { r, c as s, h as e, H as p } from "./index.bac4db77.js";
2
2
  import { c as g } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as l, h as e, H as n, g as d } from "./index.050f274b.js";
1
+ import { r as l, h as e, H as n, g as d } from "./index.bac4db77.js";
2
2
  import { A as c } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
3
3
  import { d as h, e as p } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
4
4
  import { c as r } from "./index-d280dafb.186cdb0e.js";
@@ -1,4 +1,4 @@
1
- import { r as h, c as r, h as n, H as m, g as v } from "./index.050f274b.js";
1
+ import { r as h, c as r, h as n, H as m, g as v } from "./index.bac4db77.js";
2
2
  import { o as p, s as l, f, c as u, a as g } from "./floating-ui.dom.esm-b9f28f6d.15013ef7.js";
3
3
  import { d as b, e as y } from "./bodyScrollLock.esm-ce6356d8.2c600fb9.js";
4
4
  import { c as k } from "./index-d280dafb.186cdb0e.js";
@@ -1,4 +1,4 @@
1
- import { r as t, h as s, H as n } from "./index.050f274b.js";
1
+ import { r as t, h as s, H as n } from "./index.bac4db77.js";
2
2
  import { c } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as a, c as o, h as i, H as l, g as n } from "./index.050f274b.js";
1
+ import { r as a, c as o, h as i, H as l, g as n } from "./index.bac4db77.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const u = ".sc-swirl-radio-group-h{display:block}.sc-swirl-radio-group-h *.sc-swirl-radio-group{box-sizing:border-box}.radio-group.sc-swirl-radio-group{display:flex;flex-direction:column;gap:var(--s-space-12)}", d = class {
@@ -1,4 +1,4 @@
1
- import { r as e, c as l, h as i, H as c } from "./index.050f274b.js";
1
+ import { r as e, c as l, h as i, H as c } from "./index.bac4db77.js";
2
2
  import { c as t } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as n, c as a, h as s, H as c } from "./index.050f274b.js";
1
+ import { r as n, c as a, h as s, H as c } from "./index.bac4db77.js";
2
2
  import { c as d } from "./index-d280dafb.186cdb0e.js";
3
3
  import { a as h } from "./utils-61f188cc.4a43deab.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { r as i, c as r, h as a, H as t } from "./index.050f274b.js";
1
+ import { r as i, c as r, h as a, H as t } from "./index.bac4db77.js";
2
2
  import { c } from "./index-d280dafb.186cdb0e.js";
3
3
  import { a as l } from "./utils-61f188cc.4a43deab.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { r as a, c as r, h as e, H as c, g as d } from "./index.050f274b.js";
1
+ import { r as a, c as r, h as e, H as c, g as d } from "./index.bac4db77.js";
2
2
  import { c as h } from "./index-d280dafb.186cdb0e.js";
3
3
  import { q as p } from "./utils-61f188cc.4a43deab.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { r as o, h as e, H as t } from "./index.050f274b.js";
1
+ import { r as o, h as e, H as t } from "./index.bac4db77.js";
2
2
  import { c as i } from "./index-d280dafb.186cdb0e.js";
3
3
  import { a as r, g as d } from "./utils-61f188cc.4a43deab.js";
4
4
  import "react";
@@ -1,4 +1,4 @@
1
- import { r as t, h as n, H as a, g as s } from "./index.050f274b.js";
1
+ import { r as t, h as n, H as a, g as s } from "./index.bac4db77.js";
2
2
  import { c as o } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as t, h as s, H as i } from "./index.050f274b.js";
1
+ import { r as t, h as s, H as i } from "./index.bac4db77.js";
2
2
  import { c as o } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as l, h as t, H as a } from "./index.050f274b.js";
1
+ import { r as l, h as t, H as a } from "./index.bac4db77.js";
2
2
  import { c as s } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as i, h as s, H as e } from "./index.050f274b.js";
1
+ import { r as i, h as s, H as e } from "./index.bac4db77.js";
2
2
  import { c as n } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as h, c as n, h as e, H as a, g as l } from "./index.050f274b.js";
1
+ import { r as h, c as n, h as e, H as a, g as l } from "./index.bac4db77.js";
2
2
  import { c as o } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as s, c as i, h as e, H as r } from "./index.050f274b.js";
1
+ import { r as s, c as i, h as e, H as r } from "./index.bac4db77.js";
2
2
  import { c as b } from "./index-d280dafb.186cdb0e.js";
3
3
  import "react";
4
4
  import "react-dom";