@getflip/swirl-components-react 0.96.0 → 0.96.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{file-manager.entry.6e9a585e.js → file-manager.entry.9936137d.js} +1 -1
- package/dist/{index.69b5cc8f.js → index.8efbed95.js} +267 -267
- package/dist/{swirl-action-list-section.entry.8f61550d.js → swirl-action-list-section.entry.aed4d279.js} +1 -1
- package/dist/{swirl-action-list_3.entry.fea7d78f.js → swirl-action-list_3.entry.6dd03977.js} +1 -1
- package/dist/{swirl-app-bar.entry.0642bfb7.js → swirl-app-bar.entry.efcf5202.js} +1 -1
- package/dist/{swirl-app-icon.entry.7a9e6cb0.js → swirl-app-icon.entry.648f92c9.js} +1 -1
- package/dist/{swirl-app-layout_7.entry.a9e618f1.js → swirl-app-layout_7.entry.9610b84c.js} +1 -1
- package/dist/{swirl-autocomplete.entry.9a60950f.js → swirl-autocomplete.entry.e70f3c28.js} +1 -1
- package/dist/{swirl-avatar-group.entry.0d5643a0.js → swirl-avatar-group.entry.ad5ebf20.js} +1 -1
- package/dist/{swirl-avatar.entry.db40ab6a.js → swirl-avatar.entry.8e5a0e98.js} +1 -1
- package/dist/{swirl-badge.entry.5efed87f.js → swirl-badge.entry.77ea53f2.js} +1 -1
- package/dist/{swirl-banner.entry.7a71d4a2.js → swirl-banner.entry.721acb99.js} +1 -1
- package/dist/{swirl-button-group.entry.cfb70c45.js → swirl-button-group.entry.2362be87.js} +1 -1
- package/dist/{swirl-button.entry.907a4e56.js → swirl-button.entry.e10f44a4.js} +1 -1
- package/dist/{swirl-card.entry.e020aaac.js → swirl-card.entry.e9830db1.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.1be76f21.js → swirl-carousel-slide.entry.747b1134.js} +1 -1
- package/dist/{swirl-carousel.entry.0dbd08b9.js → swirl-carousel.entry.52458e49.js} +1 -1
- package/dist/{swirl-checkbox.entry.74aef66d.js → swirl-checkbox.entry.7c48b7e9.js} +1 -1
- package/dist/{swirl-chip.entry.d56b6c49.js → swirl-chip.entry.d9e8295e.js} +1 -1
- package/dist/{swirl-columns.entry.01b8e634.js → swirl-columns.entry.7e45575a.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +3 -3
- package/dist/{swirl-console-layout.entry.369a72e2.js → swirl-console-layout.entry.124063f9.js} +1 -1
- package/dist/{swirl-date-input.entry.cc2256bd.js → swirl-date-input.entry.623886ab.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.685191bc.js → swirl-date-picker_2.entry.65274a46.js} +1 -1
- package/dist/{swirl-description-list-item.entry.2780862e.js → swirl-description-list-item.entry.2770c39b.js} +1 -1
- package/dist/{swirl-description-list.entry.bbc8bf8a.js → swirl-description-list.entry.4536689c.js} +1 -1
- package/dist/{swirl-dialog.entry.df73b5b6.js → swirl-dialog.entry.e8b0ab7c.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.f1785396.js → swirl-emoji-clap.entry.cac42566.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.91c60f92.js → swirl-emoji-happy.entry.05374dca.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.41b64c29.js → swirl-emoji-idea.entry.77e02a6d.js} +1 -1
- package/dist/{swirl-emoji-love.entry.79f0e375.js → swirl-emoji-love.entry.75fc3ef5.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.09f7bb52.js → swirl-emoji-sad.entry.7ea8ed9b.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.56866716.js → swirl-emoji-thumbs-up.entry.2009110c.js} +1 -1
- package/dist/{swirl-emoji.entry.1e617a27.js → swirl-emoji.entry.93ad21e5.js} +1 -1
- package/dist/{swirl-file-uploader.entry.c7b1f7c7.js → swirl-file-uploader.entry.f6e43a3d.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.bde4bf33.js → swirl-file-viewer_7.entry.b6f0817e.js} +1 -1
- package/dist/{swirl-form-control.entry.3ff4fee8.js → swirl-form-control.entry.17646b92.js} +1 -1
- package/dist/{swirl-form-group.entry.5e935a57.js → swirl-form-group.entry.d033645c.js} +1 -1
- package/dist/{swirl-heading.entry.72945ab2.js → swirl-heading.entry.42205a57.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.315565d2.js → swirl-icon-add-photo.entry.20c161bb.js} +1 -1
- package/dist/{swirl-icon-add-reaction.entry.09fd742d.js → swirl-icon-add-reaction.entry.894cf9b8.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.6e8f91f2.js → swirl-icon-add_6.entry.33bf77ca.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.79c41acd.js → swirl-icon-admin-panel-settings.entry.38e818e9.js} +1 -1
- package/dist/{swirl-icon-ai.entry.25c84fc7.js → swirl-icon-ai.entry.9e1b24bc.js} +1 -1
- package/dist/{swirl-icon-apps.entry.bd63bed9.js → swirl-icon-apps.entry.1c93a988.js} +1 -1
- package/dist/{swirl-icon-arrow-back.entry.5a431aef.js → swirl-icon-arrow-back.entry.517c3358.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.1fe853e6.js → swirl-icon-arrow-downward_2.entry.c53192c6.js} +1 -1
- package/dist/{swirl-icon-arrow-forward.entry.5e5f243b.js → swirl-icon-arrow-forward.entry.739eadbf.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.5ad99e1c.js → swirl-icon-arrow-left_4.entry.739fb3b6.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.2577c4c6.js → swirl-icon-arrow-right-small.entry.9c2e47f2.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.492a5153.js → swirl-icon-attachment.entry.d558b724.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.0a3540e8.js → swirl-icon-bar-chart.entry.d514e3cc.js} +1 -1
- package/dist/{swirl-icon-block.entry.06b197c0.js → swirl-icon-block.entry.b38b58cb.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.ff31a83e.js → swirl-icon-bookmark.entry.cebc1536.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.c89ca265.js → swirl-icon-cancel_4.entry.2287b657.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.4a33758d.js → swirl-icon-chat-bubble.entry.30e13173.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.5772ab02.js → swirl-icon-chats-filled.entry.c098e8bf.js} +1 -1
- package/dist/{swirl-icon-chats-outlined.entry.4e960ee1.js → swirl-icon-chats-outlined.entry.0d18776b.js} +1 -1
- package/dist/{swirl-icon-check-circle_3.entry.590bbdb4.js → swirl-icon-check-circle_3.entry.30a7b9c4.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.6be66b52.js → swirl-icon-check-small_3.entry.1b89f8a1.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.6965ef97.js → swirl-icon-check-strong.entry.e6f2233f.js} +1 -1
- package/dist/{swirl-icon-check.entry.0a0a80ca.js → swirl-icon-check.entry.d970f2b9.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.8794eb73.js → swirl-icon-chevron-left.entry.3dcd6183.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.b5980c0c.js → swirl-icon-chevron-right.entry.1a869db0.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.54385894.js → swirl-icon-close-small.entry.3255fbcd.js} +1 -1
- package/dist/{swirl-icon-close.entry.751687a4.js → swirl-icon-close.entry.88f235cf.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.61d5a841.js → swirl-icon-cloud-upload.entry.5ce7e499.js} +1 -1
- package/dist/{swirl-icon-column.entry.c0cda546.js → swirl-icon-column.entry.84a443fe.js} +1 -1
- package/dist/{swirl-icon-comment.entry.08a7aaff.js → swirl-icon-comment.entry.699fa91e.js} +1 -1
- package/dist/{swirl-icon-copy.entry.c48035ec.js → swirl-icon-copy.entry.941736fd.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.4fb61890.js → swirl-icon-date-range.entry.d30e602e.js} +1 -1
- package/dist/{swirl-icon-delete.entry.a50003e2.js → swirl-icon-delete.entry.daa61071.js} +1 -1
- package/dist/{swirl-icon-description.entry.157dfeb5.js → swirl-icon-description.entry.a20fecfe.js} +1 -1
- package/dist/{swirl-icon-double-arrow-left.entry.0c93fb0e.js → swirl-icon-double-arrow-left.entry.20c694cf.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.4100612d.js → swirl-icon-double-arrow-right.entry.1cc61569.js} +1 -1
- package/dist/{swirl-icon-download.entry.def3ece5.js → swirl-icon-download.entry.69a69e83.js} +1 -1
- package/dist/{swirl-icon-edit.entry.33997ec3.js → swirl-icon-edit.entry.ee3dbe8a.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.4669c0fc.js → swirl-icon-emoji-mood.entry.91e4dce6.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.c1df5acb.js → swirl-icon-emoji-satisfied.entry.f6457a75.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.1aba11cf.js → swirl-icon-error_3.entry.97a7651c.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.4c18db77.js → swirl-icon-expand-more.entry.f1cd5ecb.js} +1 -1
- package/dist/{swirl-icon-filter.entry.8d1beedf.js → swirl-icon-filter.entry.f6b537c4.js} +1 -1
- package/dist/{swirl-icon-folder.entry.a782b5a8.js → swirl-icon-folder.entry.c9970fb9.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.264a0065.js → swirl-icon-format-h-one.entry.50d4815c.js} +1 -1
- package/dist/{swirl-icon-gif.entry.f833146a.js → swirl-icon-gif.entry.8b2fc12f.js} +1 -1
- package/dist/{swirl-icon-group-add.entry.57c16b90.js → swirl-icon-group-add.entry.57777192.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.df0f5fdb.js → swirl-icon-group-assign.entry.a390204c.js} +1 -1
- package/dist/{swirl-icon-groups-custom.entry.b6cc73e2.js → swirl-icon-groups-custom.entry.543343d8.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.634a1a7f.js → swirl-icon-groups-filled.entry.80e3dc3b.js} +1 -1
- package/dist/{swirl-icon-groups-outlined.entry.19987c33.js → swirl-icon-groups-outlined.entry.fa581889.js} +1 -1
- package/dist/{swirl-icon-groups.entry.e1e12dc4.js → swirl-icon-groups.entry.48f9b750.js} +1 -1
- package/dist/{swirl-icon-help.entry.512e0a5d.js → swirl-icon-help.entry.ab81bba7.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.e21d0a49.js → swirl-icon-highlight.entry.8d72edf2.js} +1 -1
- package/dist/{swirl-icon-home.entry.c28df9a7.js → swirl-icon-home.entry.29f95adf.js} +1 -1
- package/dist/{swirl-icon-image.entry.77b402b4.js → swirl-icon-image.entry.58137f43.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.9451f944.js → swirl-icon-improve-text.entry.146d3b91.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.80386594.js → swirl-icon-insert-below.entry.92ad44ce.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.2de7fa78.js → swirl-icon-insert-on-top.entry.41a31186.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.bb276c75.js → swirl-icon-inventory.entry.655526f8.js} +1 -1
- package/dist/{swirl-icon-like.entry.d11b5d74.js → swirl-icon-like.entry.d16c6308.js} +1 -1
- package/dist/{swirl-icon-link.entry.0291877c.js → swirl-icon-link.entry.e3fd5699.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.d297631b.js → swirl-icon-lock-person.entry.9de04d95.js} +1 -1
- package/dist/{swirl-icon-lock.entry.d87d11ee.js → swirl-icon-lock.entry.08b69415.js} +1 -1
- package/dist/{swirl-icon-logout.entry.736b9279.js → swirl-icon-logout.entry.811a5350.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.ee7aff40.js → swirl-icon-long-text.entry.f5aeb49f.js} +1 -1
- package/dist/{swirl-icon-mail.entry.b9b66050.js → swirl-icon-mail.entry.4b00d9e1.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.e43bd809.js → swirl-icon-manage-accounts.entry.ce810c49.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.07447b82.js → swirl-icon-mark-chat-read.entry.adcd943e.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.cfa506d5.js → swirl-icon-mark-chat-unread.entry.12289c0f.js} +1 -1
- package/dist/{swirl-icon-mention.entry.e997fccd.js → swirl-icon-mention.entry.14534882.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.c3051e8a.js → swirl-icon-menu-filled.entry.06310e28.js} +1 -1
- package/dist/{swirl-icon-menu-outlined.entry.b9ee29b4.js → swirl-icon-menu-outlined.entry.96486ed9.js} +1 -1
- package/dist/{swirl-icon-menu.entry.06cfd177.js → swirl-icon-menu.entry.931db9ea.js} +1 -1
- package/dist/{swirl-icon-message.entry.e620b64e.js → swirl-icon-message.entry.85f93ac0.js} +1 -1
- package/dist/{swirl-icon-mic.entry.37400fd4.js → swirl-icon-mic.entry.920b67d6.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.1cefd0cd.js → swirl-icon-more-horizontal.entry.a1a132c8.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.9f379cb4.js → swirl-icon-news-filled.entry.ecebac9c.js} +1 -1
- package/dist/{swirl-icon-news-outlined.entry.6ba03f8d.js → swirl-icon-news-outlined.entry.c9833b9e.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.ae125727.js → swirl-icon-notifications-active.entry.ece1a7d9.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.6bf112d8.js → swirl-icon-notifications-off.entry.837fc7b2.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.49a2c4c8.js → swirl-icon-notifications.entry.96269134.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.7566e643.js → swirl-icon-open-in-full.entry.7eeb9458.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.c84c0d4e.js → swirl-icon-open-in-new.entry.184e8aa1.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.5fb0953b.js → swirl-icon-pause-circle.entry.ed08d5a1.js} +1 -1
- package/dist/{swirl-icon-pause.entry.ffa58e0c.js → swirl-icon-pause.entry.112e9c2a.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.c0a579f6.js → swirl-icon-people-alt.entry.ee883e51.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.13ffe4cd.js → swirl-icon-person-off.entry.c0ff7d97.js} +1 -1
- package/dist/{swirl-icon-person.entry.e2e453c3.js → swirl-icon-person.entry.1241c074.js} +1 -1
- package/dist/{swirl-icon-phone.entry.1476ea62.js → swirl-icon-phone.entry.5011c6a4.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.86f1eae0.js → swirl-icon-play-arrow.entry.4bd0c1fe.js} +1 -1
- package/dist/{swirl-icon-poll.entry.33c37de9.js → swirl-icon-poll.entry.4c653543.js} +1 -1
- package/dist/{swirl-icon-print.entry.5a0b063f.js → swirl-icon-print.entry.24ff74ba.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.1af80b36.js → swirl-icon-recieved.entry.ad5f829f.js} +1 -1
- package/dist/{swirl-icon-reply.entry.1a219903.js → swirl-icon-reply.entry.79ab2ab1.js} +1 -1
- package/dist/{swirl-icon-report.entry.01f49c37.js → swirl-icon-report.entry.971bd842.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.724d13d1.js → swirl-icon-roadmap.entry.9a240e54.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.30698dc6.js → swirl-icon-search-strong.entry.b22018fa.js} +1 -1
- package/dist/{swirl-icon-search.entry.8949f01a.js → swirl-icon-search.entry.13b9511e.js} +1 -1
- package/dist/{swirl-icon-secure.entry.ebc43c91.js → swirl-icon-secure.entry.56d5f9c3.js} +1 -1
- package/dist/{swirl-icon-send.entry.f1bfc881.js → swirl-icon-send.entry.590912d0.js} +1 -1
- package/dist/{swirl-icon-settings.entry.79afe404.js → swirl-icon-settings.entry.1ae1ad5f.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.cb0c0bab.js → swirl-icon-short-text.entry.cee766b3.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.1dc18f02.js → swirl-icon-simplify.entry.54308303.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.69afe9dd.js → swirl-icon-spellcheck.entry.383be948.js} +1 -1
- package/dist/{swirl-icon-stop.entry.6f79300c.js → swirl-icon-stop.entry.7b624d9b.js} +1 -1
- package/dist/{swirl-icon-sync.entry.c7e65f63.js → swirl-icon-sync.entry.1664cee9.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.bc8cc242.js → swirl-icon-tasks-filled.entry.9a5511f0.js} +1 -1
- package/dist/{swirl-icon-tasks-outlined.entry.8d21af31.js → swirl-icon-tasks-outlined.entry.061dcf9c.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.91b4e96c.js → swirl-icon-time-filled.entry.3734aae4.js} +1 -1
- package/dist/{swirl-icon-time-outlined.entry.7022af30.js → swirl-icon-time-outlined.entry.0842c35b.js} +1 -1
- package/dist/{swirl-icon-translate.entry.d5daece7.js → swirl-icon-translate.entry.f428c6c6.js} +1 -1
- package/dist/{swirl-icon-tree-structure.entry.23e8daab.js → swirl-icon-tree-structure.entry.cb1ce747.js} +1 -1
- package/dist/{swirl-icon-undo.entry.246187b0.js → swirl-icon-undo.entry.204fa95d.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.365a37d3.js → swirl-icon-unlock-person.entry.4f899730.js} +1 -1
- package/dist/{swirl-icon-user-add.entry.ffd19bcf.js → swirl-icon-user-add.entry.cbb7e941.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.5c9a864d.js → swirl-icon-user-assign.entry.178a5888.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.45a90802.js → swirl-icon-video-camera.entry.ac8ef61f.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.54d5f4bd.js → swirl-icon-video-library.entry.6795819b.js} +1 -1
- package/dist/{swirl-icon-voice.entry.2b3f6606.js → swirl-icon-voice.entry.82842b89.js} +1 -1
- package/dist/{swirl-icon.entry.3a1e92e4.js → swirl-icon.entry.34522f59.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.c69fe7e0.js → swirl-image-grid-item.entry.8bb27a0a.js} +1 -1
- package/dist/{swirl-image-grid.entry.a2c0ba57.js → swirl-image-grid.entry.8d0423f6.js} +1 -1
- package/dist/{swirl-inline-notification.entry.c4c6a1b9.js → swirl-inline-notification.entry.00c3e71a.js} +1 -1
- package/dist/{swirl-inline-status.entry.a03bed2a.js → swirl-inline-status.entry.fb3db1ba.js} +1 -1
- package/dist/{swirl-lightbox.entry.da0b948a.js → swirl-lightbox.entry.edc60375.js} +1 -1
- package/dist/{swirl-link.entry.f18c117d.js → swirl-link.entry.1e25aff1.js} +1 -1
- package/dist/{swirl-list.entry.4007c469.js → swirl-list.entry.eb86bc28.js} +1 -1
- package/dist/{swirl-menu-item.entry.49ef5fe8.js → swirl-menu-item.entry.beb3fdd0.js} +1 -1
- package/dist/{swirl-menu.entry.7d6a2b20.js → swirl-menu.entry.09886fd1.js} +1 -1
- package/dist/{swirl-modal.entry.65c4b26a.js → swirl-modal.entry.131e27a4.js} +1 -1
- package/dist/{swirl-option-list-section.entry.cc55f3b0.js → swirl-option-list-section.entry.c5e4822d.js} +1 -1
- package/dist/{swirl-option-list_2.entry.4818e950.js → swirl-option-list_2.entry.3e02578a.js} +2 -2
- package/dist/{swirl-pagination.entry.a68b7079.js → swirl-pagination.entry.1981ba3e.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.25a97a2d.js → swirl-pdf-reader.entry.15bce208.js} +1 -1
- package/dist/{swirl-popover_2.entry.7e92982c.js → swirl-popover_2.entry.732d2635.js} +2 -2
- package/dist/{swirl-progress-indicator.entry.bbf4c688.js → swirl-progress-indicator.entry.a994dc4d.js} +1 -1
- package/dist/{swirl-radio-group.entry.3d028a8a.js → swirl-radio-group.entry.984f76cd.js} +1 -1
- package/dist/{swirl-radio.entry.33178d43.js → swirl-radio.entry.71262c9f.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.26f1f388.js → swirl-resource-list-file-item.entry.f314605a.js} +1 -1
- package/dist/{swirl-search.entry.fa927f74.js → swirl-search.entry.770466d4.js} +1 -1
- package/dist/{swirl-select.entry.e14a73f4.js → swirl-select.entry.870f6c65.js} +18 -6
- package/dist/{swirl-shell-layout.entry.f131c894.js → swirl-shell-layout.entry.31903be2.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.4a25fd8c.js → swirl-shell-navigation-item.entry.63b5d131.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.993df924.js → swirl-skeleton-box.entry.2d49e241.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.791b84ce.js → swirl-skeleton-text.entry.2d6d6ef6.js} +1 -1
- package/dist/{swirl-stack.entry.0374b119.js → swirl-stack.entry.b53e0a1c.js} +1 -1
- package/dist/{swirl-status-indicator.entry.8c9c34e8.js → swirl-status-indicator.entry.b223abed.js} +1 -1
- package/dist/{swirl-switch.entry.dbd83245.js → swirl-switch.entry.f5471c68.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.f1c73654.js → swirl-symbol-account-circle.entry.70ec3b4c.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.aec32cd6.js → swirl-symbol-alternate-email.entry.891955b5.js} +1 -1
- package/dist/{swirl-symbol-android.entry.499d615e.js → swirl-symbol-android.entry.a7774e48.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.eaf884b7.js → swirl-symbol-announcement.entry.d7e18cdd.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.45e301ff.js → swirl-symbol-backup.entry.80356ac2.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.ad0e34d2.js → swirl-symbol-beach-access.entry.c0c0295d.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.73e9e56a.js → swirl-symbol-bookmark.entry.1a820cf9.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.10c9e7f9.js → swirl-symbol-cloud.entry.a958bc4c.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.2c104f41.js → swirl-symbol-coronavirus.entry.bfff10c5.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.feb9ef54.js → swirl-symbol-desktop-windows.entry.f262bc4d.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.096bae30.js → swirl-symbol-directions-car-filled.entry.69b6fd66.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.e8aebdd1.js → swirl-symbol-edit-calendar.entry.2fa3b3c9.js} +1 -1
- package/dist/{swirl-symbol-email.entry.853c8751.js → swirl-symbol-email.entry.a382df6b.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.e2c0c8ee.js → swirl-symbol-emoji-food-beverage.entry.ce658c5a.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.dc65022d.js → swirl-symbol-event-menu.entry.b14529e6.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.6a7d9278.js → swirl-symbol-facebook.entry.fcd6cea2.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.077e558b.js → swirl-symbol-favorite.entry.26d9fcdf.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.dfd36fd9.js → swirl-symbol-fitness-center.entry.92b55aac.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.d879896f.js → swirl-symbol-flag.entry.9d83c7fe.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.2f46f43d.js → swirl-symbol-folder.entry.34ce146f.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.222fcbb5.js → swirl-symbol-globe.entry.81dbf2e7.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.24cfdec6.js → swirl-symbol-groups.entry.1fe8380b.js} +1 -1
- package/dist/{swirl-symbol-help.entry.b642a6a0.js → swirl-symbol-help.entry.d7e46a78.js} +1 -1
- package/dist/{swirl-symbol-image.entry.7f76fff9.js → swirl-symbol-image.entry.b241ba7e.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.59b4cdc5.js → swirl-symbol-info-menu.entry.3ca082a3.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.d4997ced.js → swirl-symbol-instagram.entry.27448ead.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.67ea6042.js → swirl-symbol-ios.entry.1592a236.js} +1 -1
- package/dist/{swirl-symbol-language.entry.941c2e5b.js → swirl-symbol-language.entry.990650a6.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.b04761ed.js → swirl-symbol-leaderboard.entry.61861950.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.b11f9fb6.js → swirl-symbol-lightbulb.entry.ba5324ee.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.cf827f8c.js → swirl-symbol-linkedin.entry.c2432260.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.be106fe3.js → swirl-symbol-location-on.entry.abc74e76.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.95d2528c.js → swirl-symbol-loyalty.entry.261365c2.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.9332a684.js → swirl-symbol-maps-home-work.entry.7304cf1b.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.832c0701.js → swirl-symbol-notifications.entry.96ced847.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.77458078.js → swirl-symbol-open-in-new.entry.8c2e512e.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.e9c1080c.js → swirl-symbol-pedal-bike.entry.b946b1dc.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.8c176969.js → swirl-symbol-pinterest.entry.074ce678.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.c0040232.js → swirl-symbol-policy.entry.6bd4fd9b.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.2523a745.js → swirl-symbol-push-pin.entry.b2f17037.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.a2e4e920.js → swirl-symbol-redeem.entry.d3889122.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.9180cbc5.js → swirl-symbol-report-problem.entry.12b7aba4.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.5f04b085.js → swirl-symbol-restaurant.entry.96a318c9.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.1f86556e.js → swirl-symbol-roadmap.entry.0673e4f3.js} +1 -1
- package/dist/{swirl-symbol-room.entry.f49fbcd2.js → swirl-symbol-room.entry.e454a833.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.a18bfd2e.js → swirl-symbol-savings.entry.6db232fd.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.3b52557f.js → swirl-symbol-settings-voice.entry.42f2d30f.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.dae2e94f.js → swirl-symbol-shopping-cart.entry.0d8e0268.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.56f58bef.js → swirl-symbol-smartphone.entry.ba8af033.js} +1 -1
- package/dist/{swirl-symbol-star.entry.815d15da.js → swirl-symbol-star.entry.25e666c9.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.fac710c4.js → swirl-symbol-supervisor-account.entry.ff889d83.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.3c2df366.js → swirl-symbol-thumbs-up-down.entry.d8083770.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.21b50542.js → swirl-symbol-twitter.entry.24726d97.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.5f924306.js → swirl-symbol-wb-sunny.entry.b4dd4173.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.99479824.js → swirl-symbol-wechat.entry.86b359b9.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.5df9edce.js → swirl-symbol-weibo.entry.986f6cc8.js} +1 -1
- package/dist/{swirl-symbol-work.entry.9f132a2b.js → swirl-symbol-work.entry.73490b91.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.5f94d109.js → swirl-symbol-xing.entry.3ded45be.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.a2519ae0.js → swirl-symbol-youtube.entry.2d36f1e7.js} +1 -1
- package/dist/{swirl-symbol.entry.44e00f4e.js → swirl-symbol.entry.7839c93f.js} +1 -1
- package/dist/{swirl-tab-bar.entry.038f7b8b.js → swirl-tab-bar.entry.5d662450.js} +1 -1
- package/dist/{swirl-tab.entry.331573ce.js → swirl-tab.entry.7e4c2954.js} +1 -1
- package/dist/{swirl-table-cell.entry.26ae416d.js → swirl-table-cell.entry.c23029bf.js} +1 -1
- package/dist/{swirl-table-column.entry.52ed2533.js → swirl-table-column.entry.7c8648ed.js} +1 -1
- package/dist/{swirl-table-row-group.entry.6ae38987.js → swirl-table-row-group.entry.019a9bd6.js} +1 -1
- package/dist/{swirl-table-row.entry.3d241099.js → swirl-table-row.entry.aa1a1724.js} +1 -1
- package/dist/{swirl-table.entry.a8d9659f.js → swirl-table.entry.451d5f00.js} +1 -1
- package/dist/{swirl-tabs.entry.cf254fa8.js → swirl-tabs.entry.2cafdb39.js} +1 -1
- package/dist/{swirl-text-input.entry.e4300343.js → swirl-text-input.entry.6c9dd9e8.js} +1 -1
- package/dist/{swirl-text.entry.9578204b.js → swirl-text.entry.1a4386c2.js} +1 -1
- package/dist/{swirl-theme-provider.entry.e4c96b79.js → swirl-theme-provider.entry.2b651d87.js} +1 -1
- package/dist/{swirl-time-input.entry.955cc723.js → swirl-time-input.entry.79d74533.js} +1 -1
- package/dist/{swirl-toast-provider.entry.73c6aea4.js → swirl-toast-provider.entry.c7629a65.js} +1 -1
- package/dist/{swirl-toast.entry.2a9a8d26.js → swirl-toast.entry.de334a99.js} +1 -1
- package/dist/{swirl-toolbar.entry.84065c76.js → swirl-toolbar.entry.2add2055.js} +1 -1
- package/dist/{swirl-tooltip.entry.be5068b5.js → swirl-tooltip.entry.dd7fa75b.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.9ba358a6.js → swirl-tree-navigation-item.entry.1e905516.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.2f1f02af.js → swirl-video-thumbnail.entry.4f0823b2.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.49d48a53.js → swirl-visually-hidden.entry.958193ec.js} +1 -1
- package/dist/{wc-datepicker.entry.250f1007.js → wc-datepicker.entry.9863561d.js} +1 -1
- package/package.json +2 -2
|
@@ -155,7 +155,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
155
155
|
);--swirl-modal-height:auto;--swirl-modal-max-height:90vh;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{animation:0.15s modal-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-default.modal--closing{animation:none}}.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:0.15s modal-backdrop-fade-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__backdrop{animation:none}}.modal--variant-default:not(.modal--closing) .modal__body{animation:0.15s modal-scale-in}@media (prefers-reduced-motion){.modal--variant-default:not(.modal--closing) .modal__body{animation:none}}.modal--variant-drawer{justify-content:end;align-items:stretch}.modal--variant-drawer.modal--closing{animation:0.15s modal-drawer-slide-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.modal--variant-drawer.modal--closing{animation:none}}@media (min-width: 768px){.modal--variant-drawer.modal--hide-label .modal__header-bar{height:auto;padding-top:var(--s-space-4);padding-bottom:var(--s-space-4)}}.modal--variant-drawer .modal__backdrop{background-color:transparent;animation:none}.modal--variant-drawer .modal__body{height:100%;max-height:none;border-radius:0;animation:0.15s modal-drawer-slide-in;box-shadow:var(--s-shadow-level-3)}@media (prefers-reduced-motion){.modal--variant-drawer .modal__body{animation:none}}.modal--variant-drawer .modal__header-bar{background-color:var(--s-surface-overlay-default)}.modal--variant-drawer .modal__header-bar .modal__close-button{margin-left:calc(-1 * var(--s-space-8))}@media (min-width: 768px){.modal--variant-drawer .modal__header-bar{flex-direction:row}}@media (min-width: 768px){.modal--variant-drawer.modal--padded .modal__content{padding-top: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)}}@media (min-width: 768px){.modal--scrollable .modal__content{padding-bottom:0}}.modal--scrollable:not(.modal--scrolled-down).modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--scrollable:not(.modal--scrolled-down):not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-custom-header .modal__content{padding-top:var(--s-space-16)}.modal--has-custom-footer .modal__custom-footer{padding-top:var(--s-space-16);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24)}.modal--has-header-tools .modal__header{border-bottom-color:transparent}.modal--has-header-tools .modal__header-tools{display:block}.modal--has-secondary-content .modal__body{max-width:64rem}.modal--has-secondary-content:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-header-tools .modal__header-tools{border-bottom-color:var(--s-border-default)}.modal--has-secondary-content.modal--has-custom-footer .modal__custom-footer{border-top:var(--s-border-width-default) solid var(--s-border-default)}.modal--has-secondary-content:not(.modal--has-custom-footer) .modal__controls{border-top:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 992px){.modal--has-secondary-content .modal__header-tools,.modal--has-secondary-content .modal__content{padding-right:0}}.modal--has-secondary-content .modal__primary-content{overflow:visible;max-height:60%;flex-basis:auto}@media (min-width: 992px){.modal--has-secondary-content .modal__primary-content{max-width:calc(100% - 24rem);max-height:none;flex-basis:calc(100% - 24rem)}}.modal--has-secondary-content .modal__secondary-content{display:block}@media (min-width: 768px){.modal--scrolled:not(.modal--has-header-tools) .modal__header{border-bottom-color:var(--s-border-default)}.modal--scrolled.modal--has-header-tools .modal__header-tools{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;max-height:var(--swirl-modal-max-height);border-radius:var(--s-border-radius-base);box-shadow:var(--s-shadow-level-3)}}@media (min-width: 992px){.modal__body{height:var(--swirl-modal-height)}}.modal__header{border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header{border-bottom:var(--s-border-width-default) solid transparent}}.modal__header-bar{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:var(--s-space-16);flex-shrink:0;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.modal__header-bar{height:4.125rem;padding-top:var(--s-space-24);padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:var(--s-space-24);flex-direction:row-reverse;gap:var(--s-space-16)}}.modal__header-tools{display:none;padding-right:var(--s-space-16);padding-left:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}@media (min-width: 768px){.modal__header-tools{padding-right:var(--s-space-24);padding-left:var(--s-space-24);border-bottom-color: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-container{display:flex;overflow:hidden;flex-grow:1;flex-direction:column;gap:var(--s-space-24)}@media (min-width: 992px){.modal__content-container{flex-direction:row}}.modal__primary-content{display:flex;overflow:hidden;flex-basis:100%;flex-direction:column}.modal__content{overflow-x:hidden;overflow-y:auto}.modal__content ::slotted(*){margin:0}.modal__secondary-content{display:none;overflow:visible;overflow-x:hidden;overflow-y:auto;max-width:none;max-height:40%;padding-right:var(--s-space-16);padding-left:var(--s-space-16)}@media (min-width: 768px){.modal__secondary-content{padding-left:var(--s-space-24)}}@media (min-width: 992px){.modal__secondary-content{overflow-x:hidden;overflow-y:auto;max-width:24rem;max-height:none;padding-right:var(--s-space-24);padding-bottom:var(--s-space-16);padding-left:0;flex-basis:50%}}.modal__custom-footer{flex-shrink: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}@keyframes modal-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes modal-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes modal-fade-out{from{opacity:1}to{opacity:0}}@keyframes modal-drawer-slide-in{from{transform:translate3d(100%, 0, 0)}to{transform:translate3d(0, 0, 0)}}@keyframes modal-drawer-slide-out{from{transform:translate3d(0, 0, 0)}to{transform:translate3d(100%, 0, 0)}}`,$c=class{constructor(e){ne(this,e),this.modalClose=Qe(this,"modalClose",7),this.modalOpen=Qe(this,"modalOpen",7),this.primaryAction=Qe(this,"primaryAction",7),this.requestModalClose=Qe(this,"requestModalClose",7),this.secondaryAction=Qe(this,"secondaryAction",7),this.onKeyDown=t=>{t.code==="Escape"&&this.close()},this.onBackdropClick=()=>{this.close()},this.onCloseButtonClick=()=>{this.close()},this.onPrimaryAction=t=>{this.primaryAction.emit(t)},this.onSecondaryAction=t=>{this.secondaryAction.emit(t)},this.determineScrollStatus=()=>{var s,c,o,u,a,d;const t=((s=this.scrollContainer)==null?void 0:s.scrollTop)>0,i=Math.ceil(((c=this.scrollContainer)==null?void 0:c.scrollTop)+((o=this.scrollContainer)==null?void 0:o.offsetHeight))>=((u=this.scrollContainer)==null?void 0:u.scrollHeight),n=((a=this.scrollContainer)==null?void 0:a.scrollHeight)>((d=this.scrollContainer)==null?void 0:d.offsetHeight);t!==this.scrolled&&(this.scrolled=t),i!==this.scrolledDown&&(this.scrolledDown=i),n!==this.scrollable&&(this.scrollable=n)},this.closable=!0,this.closeButtonLabel="Close modal",this.height=void 0,this.hideCloseButton=void 0,this.hideLabel=void 0,this.label=void 0,this.maxHeight=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.hasCustomFooter=void 0,this.hasHeaderTools=void 0,this.hasSecondaryContent=void 0,this.scrollable=!1,this.scrolled=!1,this.scrolledDown=!1}componentDidLoad(){this.focusTrap=tT(this.modalEl,{allowOutsideClick:!0,tabbableOptions:{getShadowRoot:e=>e.shadowRoot}}),this.determineScrollStatus(),queueMicrotask(()=>{this.updateCustomFooterStatus(),this.updateCustomHeaderStatus(),this.updateHeaderToolsStatus(),this.updateSecondaryContentStatus()})}disconnectedCallback(){var e;(e=this.focusTrap)==null||e.deactivate(),this.unlockBodyScroll()}onWindowResize(){this.determineScrollStatus()}watchIsOpen(){this.isOpen?setTimeout(()=>{this.focusTrap.activate(),this.handleAutoFocus()},200):this.focusTrap.deactivate()}async open(){this.isOpen=!0,this.modalOpen.emit(),this.lockBodyScroll(),this.determineScrollStatus()}async close(e){this.closing||(this.requestModalClose.emit(),!(!this.closable&&!e)&&(this.closing=!0,this.unlockBodyScroll(),setTimeout(()=>{this.isOpen=!1,this.modalClose.emit(),this.closing=!1},150)))}updateCustomFooterStatus(){this.hasCustomFooter=Boolean(this.el.querySelector('[slot="custom-footer"]'))}updateCustomHeaderStatus(){this.hasCustomHeader=Boolean(this.el.querySelector('[slot="custom-header"]'))}updateHeaderToolsStatus(){this.hasHeaderTools=Boolean(this.el.querySelector('[slot="header-tools"]'))}updateSecondaryContentStatus(){this.hasSecondaryContent=Boolean(this.el.querySelector('[slot="secondary-content"]'))}handleAutoFocus(){var e;(e=this.modalEl.querySelector("input[autofocus]"))==null||e.focus()}lockBodyScroll(){hs(this.scrollContainer)}unlockBodyScroll(){fs(this.scrollContainer)}render(){const e=Boolean(this.primaryActionLabel)||Boolean(this.secondaryActionLabel),t=ce("modal",`modal--variant-${this.variant}`,{"modal--closing":this.closing,"modal--has-custom-footer":this.hasCustomFooter,"modal--has-custom-header":this.hasCustomHeader,"modal--has-header-tools":this.hasHeaderTools,"modal--has-secondary-content":this.hasSecondaryContent,"modal--hide-label":this.hideLabel,"modal--padded":this.padded,"modal--scrollable":this.scrollable,"modal--scrolled":this.scrolled,"modal--scrolled-down":this.scrolledDown});return r(Ge,null,r("section",{"aria-hidden":String(!this.isOpen),"aria-label":this.label,"aria-modal":"true",class:t,onKeyDown:this.onKeyDown,role:"dialog",ref:i=>this.modalEl=i},r("div",{class:"modal__backdrop",onClick:this.onBackdropClick}),r("div",{class:"modal__body",style:{"--swirl-modal-max-height":this.maxHeight,"--swirl-modal-height":this.height,maxWidth:this.maxWidth}},r("header",{class:"modal__custom-header"},r("slot",{name:"custom-header"})),(!this.hideLabel||!this.hideCloseButton)&&r("header",{class:"modal__header"},r("div",{class:"modal__header-bar"},!this.hideCloseButton&&r("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}),!this.hideLabel&&r("swirl-heading",{as:"h2",class:"modal__heading",level:3,text:this.label}))),r("div",{class:"modal__content-container"},r("div",{class:"modal__primary-content"},r("div",{class:"modal__header-tools"},r("slot",{name:"header-tools"})),r("div",{class:"modal__content",onScroll:this.determineScrollStatus,ref:i=>this.scrollContainer=i},r("slot",null))),r("div",{class:"modal__secondary-content"},r("slot",{name:"secondary-content"}))),r("div",{class:"modal__custom-footer"},r("slot",{name:"custom-footer"})),e&&r("footer",{class:"modal__controls"},r("swirl-button-group",{wrap:!0},this.secondaryActionLabel&&r("swirl-button",{label:this.secondaryActionLabel,onClick:this.onSecondaryAction}),this.primaryActionLabel&&r("swirl-button",{intent:"primary",label:this.primaryActionLabel,onClick:this.onPrimaryAction,variant:"flat"}))))))}get el(){return ht(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};$c.style=iT;const Rc=Object.freeze(Object.defineProperty({__proto__:null,swirl_modal:$c},Symbol.toStringTag,{value:"Module"})),rT=":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)}}",Hc=class{constructor(e){ne(this,e),this.label=void 0}render(){return r(Ge,null,r("div",{"aria-labelledby":"label",class:"option-list-section",role:"group"},r("span",{class:"option-list-section__label",id:"label",part:"option-list-section__label"},this.label),r("div",{class:"option-list-section__items"},r("slot",null))))}};Hc.style=rT;const Dc=Object.freeze(Object.defineProperty({__proto__:null,swirl_option_list_section:Hc},Symbol.toStringTag,{value:"Module"})),nT=":host{display:block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}:host *{box-sizing:border-box}.pagination{display:block;width:100%}.pagination--variant-simple .pagination__list{gap:0}.pagination__list{display:flex;margin:0;padding:0;justify-content:flex-start;align-items:center;line-height:var(--s-line-height-base);list-style:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__list{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.pagination__page-size-selection{display:flex;padding-right:var(--s-space-24);flex-shrink:0;align-items:center;color:var(--s-interactive-primary-default);white-space:nowrap;gap:var(--s-space-8)}.pagination__page-size-select-container{position:relative}.pagination__page-size-select{padding-right:calc(1rem + var(--s-space-4));border:none;color:var(--s-interactive-primary-default);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.pagination__page-size-select:focus:not(:focus-visible){outline:none}.pagination__page-size-select:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__page-size-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.pagination__page-size-select-icon{position:absolute;top:50%;right:0;transform:translateY(-50%);pointer-events:none}.pagination__page-label{padding-right:var(--s-space-8);padding-left:var(--s-space-8)}.pagination__advanced-label{display:flex;align-items:center;white-space:nowrap;gap:var(--s-space-8)}.pagination__page-input{display:inline-flex;width:3.25rem;padding-top:var(--s-space-8);padding-right:var(--s-space-8);padding-bottom:var(--s-space-8);padding-left:var(--s-space-8);border:none;border-radius:var(--s-border-radius-sm);background-color:transparent;font:inherit;line-height:var(--s-line-height-base);text-align:center;box-shadow:inset 0 0 0 var(--s-border-width-default) var(--s-border-strong)}.pagination__page-input:focus:not(:focus-visible){outline:none}.pagination__page-input:focus-visible{outline-color:var(--s-focus-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.pagination__page-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}",Vc=class{constructor(e){ne(this,e),this.setPage=Qe(this,"setPage",7),this.setPageSize=Qe(this,"setPageSize",7),this.onFocusPageInput=t=>{t.target.select()},this.onFirstPageButtonClick=()=>{this.page!==1&&this.setPage.emit(1)},this.onLastPageButtonClick=()=>{this.page!==this.pages&&this.setPage.emit(this.pages)},this.onPrevButtonClick=()=>{const t=Math.max(this.page-1,1);this.page!==t&&this.setPage.emit(t)},this.onNextButtonClick=()=>{const t=Math.min(this.page+1,this.pages);this.page!==t&&this.setPage.emit(t)},this.onPageInput=()=>{let t=+this.pageInput.value;isNaN(t)?(t=this.page,this.pageInput.value=String(t)):t>this.pages?(t=this.pages,this.pageInput.value=String(t)):t<1&&(t=1,this.pageInput.value=String(t)),this.page!==t&&this.onPageUpdate(t)},this.onPageUpdate=Ki(t=>{this.setPage.emit(t)},500),this.onPageSizeSelect=t=>{const i=+t.target.value;this.pageSize!==i&&this.setPageSize.emit(i)},this.firstPageButtonLabel="First page",this.lastPageButtonLabel="Last page",this.label=void 0,this.nextButtonLabel="Next page",this.page=void 0,this.pageLabel="out of",this.pages=void 0,this.pageSelectLabel="Select a page",this.pageSize=10,this.pageSizeOptions=[10,25,50],this.pageSizeSelectLabel="Items per page:",this.prevButtonLabel="Previous page",this.showPageSizeSelect=void 0,this.variant="default"}render(){const e=this.variant!=="simple",t=this.variant==="advanced",i=`${this.page.toLocaleString()} ${this.pageLabel} ${this.pages.toLocaleString()}`,n=ce("pagination",`pagination--variant-${this.variant}`);return r(Ge,null,r("nav",{"aria-label":this.label,class:n},r("ul",{class:"pagination__list",part:"pagination__list"},this.showPageSizeSelect&&r("li",{class:"pagination__list-item"},r("label",{class:"pagination__page-size-selection"},r("swirl-text",null,this.pageSizeSelectLabel),r("swirl-stack",{align:"center",class:"pagination__page-size-select-container",orientation:"horizontal"},r("select",{class:"pagination__page-size-select",onChange:this.onPageSizeSelect},this.pageSizeOptions.map(s=>r("option",{key:s,selected:s===this.pageSize,value:s},s))),r("swirl-icon-expand-more",{"aria-hidden":"true",class:"pagination__page-size-select-icon",size:16})))),r("li",{class:"pagination__list-item"},r("swirl-button",{class:"pagination__first-page-button",disabled:this.page<=1,hideLabel:!0,icon:"<swirl-icon-double-arrow-left></swirl-icon-double-arrow-left>",intent:"primary",label:this.firstPageButtonLabel,onClick:this.onFirstPageButtonClick})),r("li",{class:"pagination__list-item"},r("swirl-button",{class:"pagination__prev-button",disabled:this.page<=1,hideLabel:!0,icon:"<swirl-icon-chevron-left></swirl-icon-chevron-left>",intent:"primary",label:this.prevButtonLabel,onClick:this.onPrevButtonClick})),e?r("li",{class:"pagination__list-item pagination__page-label"},r("span",null,t?r("span",{"aria-current":"page",class:"pagination__advanced-label"},r("input",{"aria-label":this.pageSelectLabel,class:"pagination__page-input",onFocus:this.onFocusPageInput,onInput:this.onPageInput,ref:s=>this.pageInput=s,type:"text",value:this.page}),r("span",{"aria-hidden":"true"},this.pageLabel," ",this.pages.toLocaleString())):r("span",{"aria-current":"page"},i))):r("li",{class:"pagination__list-item"},r("swirl-visually-hidden",null,r("span",{"aria-current":"page"},i))),r("li",{class:"pagination__list-item"},r("swirl-button",{class:"pagination__next-button",disabled:this.page>=this.pages,hideLabel:!0,icon:"<swirl-icon-chevron-right></swirl-icon-chevron-right>",iconPosition:"end",intent:"primary",label:this.nextButtonLabel,onClick:this.onNextButtonClick})),r("li",{class:"pagination__list-item"},r("swirl-button",{class:"pagination__last-page-button",disabled:this.page>=this.pages,hideLabel:!0,icon:"<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>",intent:"primary",label:this.lastPageButtonLabel,onClick:this.onLastPageButtonClick})))))}};Vc.style=nT;const Bc=Object.freeze(Object.defineProperty({__proto__:null,swirl_pagination:Vc},Symbol.toStringTag,{value:"Module"})),sT=`:host{--thumbnails-width:7rem;display:block}:host *{box-sizing:border-box}.pdf-reader{position:fixed;z-index:var(--s-z-40);background-color:var(--s-surface-raised-default);inset:0;touch-action:pan-x pan-y}.pdf-reader[aria-hidden="true"]{display:none}.pdf-reader:not(.pdf-reader--closing) .pdf-reader__body{animation:0.15s pdf-reader-fade-in}@media (prefers-reduced-motion){.pdf-reader:not(.pdf-reader--closing) .pdf-reader__body{animation:none}}.pdf-reader--closing{animation:0.15s pdf-reader-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.pdf-reader--closing{animation:none}}.pdf-reader--show-thumbnails .pdf-reader__thumbnails{max-width:var(--thumbnails-width)}.pdf-reader--show-thumbnails .pdf-reader__floating-tools{left:calc(var(--s-space-16) + var(--thumbnails-width))}.pdf-reader__body{position:relative;width:100%;height:100%}.pdf-reader__header{display:flex;height:4rem;padding-right:var(--s-space-16);padding-left:var(--s-space-16);align-items:center;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);gap:var(--s-space-8)}.pdf-reader__header-left,.pdf-reader__header-right{display:flex;flex-grow:1;align-items:center;gap:var(--s-space-8)}@media (min-width: 768px){.pdf-reader__header-left,.pdf-reader__header-right{flex-basis:calc(100 / 3 * 1%);flex-grow:0}}.pdf-reader__header-right{justify-content:flex-end}.pdf-reader__header-center{display:none;flex-grow:1;justify-content:center;align-items:center;gap:var(--s-space-16)}@media (min-width: 768px){.pdf-reader__header-center{display:flex}}.pdf-reader__label{overflow:hidden;flex-grow:1;font-weight:var(--s-font-weight-semibold);white-space:nowrap;text-overflow:ellipsis}.pdf-reader__zoom-button-container{display:flex;align-items:center;gap:var(--s-space-8)}.pdf-reader__zoom-button-container>*:not(:last-child){position:relative}.pdf-reader__zoom-button-container>*:not(:last-child):after{position:absolute;top:50%;right:calc(-1 * var(--s-space-4));width:var(--s-border-width-default);height:1.5rem;background-color:var(--s-border-default);content:"";transform:translate3d(50%, -50%, 0)}.pdf-reader__zoom-select-container{position:relative}.pdf-reader__zoom-select{display:inline-flex;height:2.5rem;padding-right:var(--s-space-12);padding-right:calc(var(--s-space-8) + 1.5rem + var(--s-space-12));padding-left:var(--s-space-12);justify-content:flex-start;align-items:center;border:var(--s-border-width-default) solid var(--s-border-default);border-radius:var(--s-border-radius-sm);color:var(--s-interactive-neutral-default);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-medium);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.pdf-reader__zoom-select:focus:not(:focus-visible){outline:none}.pdf-reader__zoom-select:focus-visible{outline-color:var(--s-focus-default)}.pdf-reader__zoom-select-icon{position:absolute;top:50%;right:var(--s-space-8);display:inline-flex;transform:translateY(-50%);pointer-events:none}.pdf-reader__content{display:flex;width:100%;height:calc(100% - 4rem)}.pdf-reader__thumbnails{display:flex;overflow-x:hidden;overflow-y:auto;max-width:0;height:100%;padding-top:var(--s-space-16);padding-bottom:var(--s-space-16);flex-basis:var(--thumbnails-width);flex-grow:0;flex-shrink:0;align-items:center;background-color:var(--s-background-default);flex-direction:column;transition:max-width 0.2s linear;box-shadow:inset calc(-1 * var(--s-border-width-default)) 0 0 0
|
|
156
156
|
var(--s-border-default);gap:var(--s-space-4)}.pdf-reader__thumbnail{width:5rem;margin:0;padding:0;border:var(--s-border-width-default) solid var(--s-border-default);background-color:transparent;cursor:pointer}.pdf-reader__thumbnail>img{display:inline-flex;width:100%}.pdf-reader__thumbnail--active{border-width:0.125rem;border-color:var(--s-border-highlight)}.pdf-reader__viewer{flex-grow:1}.pdf-reader__mobile-zoom-controls{position:absolute;z-index:1;right:var(--s-space-16);bottom:var(--s-space-32);display:flex;padding-bottom:var(--s-space-4);flex-direction:column;gap:var(--s-space-8)}@media (min-width: 768px){.pdf-reader__mobile-zoom-controls{display:none}}.pdf-reader__mobile-zoom-button{display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-on-image);background-color:rgba(0, 0, 0, 0.6);cursor:pointer;transition:opacity 0.15s;pointer-events:auto}.pdf-reader__mobile-zoom-button:disabled{cursor:default}.pdf-reader__floating-tools{position:fixed;z-index:1;bottom:var(--s-space-16);left:var(--s-space-16);display:none;flex-direction:column;transition:left 0.2s linear;gap:var(--s-space-12)}@media (min-width: 768px){.pdf-reader__floating-tools{display:flex}}.pdf-reader__floating-tool-button{display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-on-image);background-color:rgba(0, 0, 0, 0.6);cursor:pointer}.pdf-reader__meta{display:flex;padding-top:var(--s-space-4);padding-right:var(--s-space-16);padding-bottom:var(--s-space-4);padding-left:var(--s-space-8);align-items:center;gap:var(--s-space-12)}@media (min-width: 768px){.pdf-reader__meta{max-width:18rem}}.pdf-reader__file-icon{display:inline-flex;padding-left:var(--s-space-4);flex-shrink:0}.pdf-reader__file-info{display:flex;min-width:0;flex-grow:1;flex-direction:column}@keyframes pdf-reader-fade-in{from{opacity:0}to{opacity:1}}@keyframes pdf-reader-fade-out{from{opacity:1}to{opacity:0}}`,Fc=class{constructor(e){ne(this,e),this.desktopZoomSteps=[.5,.75,1,1.25,1.5,2,3,4],this.mobileZoomSteps=[.5,.75,1,1.25,1.5],this.toggleViewMode=()=>{this.viewMode==="single"?this.viewMode="side-by-side":this.viewMode="single"},this.toggleThumbnals=()=>{this.showThumbnails=!this.showThumbnails},this.onKeyDown=t=>{t.code==="Escape"&&this.close()},this.onActivate=async t=>{this.pdfViewer=t.detail,this.lockBodyScroll(),this.generateThumbnails()},this.onVisiblePagesChange=async t=>{this.visiblePages=t.detail},this.onCloseButtonClick=()=>{this.close()},this.onPrintButtonClick=()=>{this.pdfViewer.print(),this.menu.close()},this.onDownloadButtonClick=async()=>{this.downloading=!0,await this.viewer.download(),this.downloading=!1,this.menu.close()},this.onZoomInButtonClick=()=>{const t=this.zoomSteps.indexOf(+this.zoom);this.zoom=t===-1?1:this.zoomSteps[Math.min(this.zoomSteps.length-1,t+1)]},this.onZoomOutButtonClick=()=>{const t=this.zoomSteps.indexOf(+this.zoom);this.zoom=t===-1?1:this.zoomSteps[Math.max(0,t-1)]},this.onZoomAutoButtonClick=()=>{this.zoom=this.zoom==="auto"?1:"auto"},this.onZoomChange=t=>{const i=t.target.value;this.zoom=i==="auto"?i:+i},this.onThumbnailClick=t=>()=>{var n;const i=(n=Zt(this.el,`[data-page-number="${t+1}"]`))==null?void 0:n[0];i==null||i.scrollIntoView()},this.autoZoomLabel="Full width",this.closeButtonLabel="Close PDF viewer",this.downloadButtonLabel="Download PDF",this.file=void 0,this.fileTypeLabel="PDF Document",this.label=void 0,this.menuLabel="File menu",this.menuTriggerLabel="Open file menu",this.printButtonLabel="Print PDF",this.sideBySideButtonLabel="Toggle side by side view",this.thumbnailButtonLabel="Scroll to page",this.thumbnailsButtonLabel="Toggle thumbnails",this.thumbnailsLabel="Page thumbnails",this.zoomInButtonLabel="Zoom in",this.zoomOutButtonLabel="Zoom out",this.zoomSelectLabel="Select zoom",this.active=!1,this.closing=!1,this.downloading=!1,this.thumbnails=[],this.showThumbnails=void 0,this.viewMode="single",this.visiblePages=[],this.zoom=void 0,this.zoomSteps=void 0}componentWillLoad(){this.updateZoomSteps(),this.zoom=Qt()?"auto":1}componentDidLoad(){this.modal=new o1(this.modalEl)}disconnectedCallback(){var e;this.unlockBodyScroll(),(e=this.modal)==null||e.destroy()}onWindowResize(){!Boolean(this.pdfViewer)||(this.updateZoomSteps(),this.zoom=Qt()?"auto":1)}async open(){this.modal.show(),this.active=!0}async close(){this.closing||(this.closing=!0,this.unlockBodyScroll(),setTimeout(()=>{this.modal.hide(),this.closing=!1,this.active=!1},150))}lockBodyScroll(){const e=this.pdfViewer.shadowRoot.querySelector(".file-viewer-pdf__pages");Boolean(e)&&hs(e)}unlockBodyScroll(){const e=this.pdfViewer.shadowRoot.querySelector(".file-viewer-pdf__pages");Boolean(e)&&fs(e)}async generateThumbnails(){this.thumbnails=await this.pdfViewer.getThumbnails()}updateZoomSteps(){this.zoomSteps=Qt()?this.mobileZoomSteps:this.desktopZoomSteps}render(){const e=ce("pdf-reader",{"pdf-reader--closing":this.closing,"pdf-reader--show-thumbnails":this.showThumbnails});return r(Ge,null,r("section",{"aria-hidden":"true","aria-label":this.label,class:e,id:"pdf-reader",onKeyDown:this.onKeyDown,ref:t=>this.modalEl=t},r("div",{class:"pdf-reader__body",role:"document"},r("header",{class:"pdf-reader__header"},r("span",{class:"pdf-reader__header-left"},r("swirl-button",{class:"pdf-reader__close-button",hideLabel:!0,icon:"<swirl-icon-close></swirl-icon-close>",label:this.closeButtonLabel,onClick:this.onCloseButtonClick}),r("span",{class:"pdf-reader__label"},this.label)),r("span",{class:"pdf-reader__header-center"},r("span",{class:"pdf-reader__zoom-button-container"},r("swirl-button",{class:"pdf-reader__zoom-button",disabled:this.zoom===this.zoomSteps[0],hideLabel:!0,icon:"<swirl-icon-remove></swirl-icon-remove>",label:this.zoomOutButtonLabel,onClick:this.onZoomOutButtonClick}),r("swirl-button",{class:"pdf-reader__zoom-button",disabled:this.zoom===this.zoomSteps[this.zoomSteps.length-1],hideLabel:!0,icon:"<swirl-icon-add></swirl-icon-add>",label:this.zoomInButtonLabel,onClick:this.onZoomInButtonClick})),r("span",{class:"pdf-reader__zoom-select-container"},r("select",{"aria-label":this.zoomSelectLabel,class:"pdf-reader__zoom-select",name:"zoom-select",id:"zoom-select",onChange:this.onZoomChange},r("option",{selected:this.zoom==="auto",value:"auto"},this.autoZoomLabel),this.zoomSteps.map(t=>r("option",{key:t,selected:this.zoom===t,value:t},t*100,"%"))),r("swirl-icon-expand-more",{class:"pdf-reader__zoom-select-icon"}))),r("span",{class:"pdf-reader__header-right"},r("swirl-popover-trigger",{popover:this.menu},r("swirl-button",{class:"pdf-reader__menu-button",hideLabel:!0,icon:"<swirl-icon-more-vertikal></swirl-icon-more-vertikal>",label:this.menuTriggerLabel}))),r("span",{class:"pdf-reader__floating-tools"},r("button",{"aria-label":this.sideBySideButtonLabel,class:"pdf-reader__floating-tool-button",onClick:this.toggleViewMode,type:"button"},r("swirl-icon-menu-book",null)),r("button",{"aria-controls":"thumbnails","aria-expanded":String(Boolean(this.showThumbnails)),"aria-label":this.thumbnailsButtonLabel,class:"pdf-reader__floating-tool-button",onClick:this.toggleThumbnals,type:"button"},r("swirl-icon-file-copy",null)))),r("div",{class:"pdf-reader__content"},r("nav",{"aria-label":this.thumbnailsLabel,class:"pdf-reader__thumbnails",id:"thumbnails"},this.thumbnails.map((t,i)=>{const n=ce("pdf-reader__thumbnail",{"pdf-reader__thumbnail--active":this.visiblePages[0]===i+1});return r("button",{"aria-label":`${this.thumbnailButtonLabel} ${i+1}`,class:n,onClick:this.onThumbnailClick(i),type:"button"},r("img",{src:t.toDataURL("image/png"),alt:""}))})),r("swirl-file-viewer",{active:this.active,class:"pdf-reader__viewer",file:this.file,onActivate:this.onActivate,onVisiblePagesChange:this.onVisiblePagesChange,ref:t=>this.viewer=t,type:"application/pdf",viewMode:this.viewMode,zoom:this.zoom}),r("div",{class:"pdf-reader__mobile-zoom-controls"},r("button",{"aria-label":this.autoZoomLabel,class:"pdf-reader__mobile-zoom-button",onClick:this.onZoomAutoButtonClick,type:"button"},this.zoom==="auto"?r("swirl-icon-fullscreen-exit",null):r("swirl-icon-fullscreen",null)),r("button",{"aria-label":this.zoomInButtonLabel,class:"pdf-reader__mobile-zoom-button",disabled:this.zoom===this.zoomSteps[this.zoomSteps.length-1],onClick:this.onZoomInButtonClick,type:"button"},r("swirl-icon-add",null)),r("button",{"aria-label":this.zoomOutButtonLabel,class:"pdf-reader__mobile-zoom-button",disabled:this.zoom===this.zoomSteps[0],onClick:this.onZoomOutButtonClick,type:"button"},r("swirl-icon-remove",null))))),r("swirl-popover",{animation:"scale-in-y",disableScrollLock:!0,id:"menu",label:this.menuLabel,placement:"bottom-end",ref:t=>this.menu=t},r("swirl-stack",null,r("div",{class:"pdf-reader__meta"},r("div",{class:"pdf-reader__file-icon"},r("svg",{fill:"none",height:"36",viewBox:"0 0 24 36",width:"24"},r("path",{d:"M7.01755 21.6V15.192H8.39455C8.64655 15.192 8.86855 15.225 9.06055 15.291C9.25255 15.357 9.42655 15.474 9.58255 15.642C9.73855 15.81 9.84655 16.008 9.90655 16.236C9.96655 16.458 9.99655 16.761 9.99655 17.145C9.99655 17.433 9.97855 17.676 9.94255 17.874C9.91255 18.072 9.84355 18.258 9.73555 18.432C9.60955 18.642 9.44155 18.807 9.23155 18.927C9.02155 19.041 8.74555 19.098 8.40355 19.098H7.93555V21.6H7.01755ZM7.93555 16.056V18.234H8.37655C8.56255 18.234 8.70655 18.207 8.80855 18.153C8.91055 18.099 8.98555 18.024 9.03355 17.928C9.08155 17.838 9.10855 17.727 9.11455 17.595C9.12655 17.463 9.13255 17.316 9.13255 17.154C9.13255 17.004 9.12955 16.863 9.12355 16.731C9.11755 16.593 9.09055 16.473 9.04255 16.371C8.99455 16.269 8.92255 16.191 8.82655 16.137C8.73055 16.083 8.59255 16.056 8.41255 16.056H7.93555Z",fill:"white"}),r("path",{d:"M10.6826 21.6V15.192H12.0416C12.5696 15.192 12.9686 15.336 13.2386 15.624C13.5146 15.912 13.6526 16.32 13.6526 16.848V19.845C13.6526 20.445 13.5056 20.889 13.2116 21.177C12.9236 21.459 12.5066 21.6 11.9606 21.6H10.6826ZM11.6006 16.056V20.736H12.0236C12.2816 20.736 12.4646 20.673 12.5726 20.547C12.6806 20.415 12.7346 20.211 12.7346 19.935V16.848C12.7346 16.596 12.6836 16.401 12.5816 16.263C12.4796 16.125 12.2936 16.056 12.0236 16.056H11.6006Z",fill:"white"}),r("path",{d:"M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z",fill:"white"}),r("path",{d:"M3.59961 9.00001C3.59961 8.0059 4.4055 7.20001 5.39961 7.20001H14.854C15.3314 7.20001 15.7893 7.38965 16.1268 7.72722L19.8724 11.4728C20.21 11.8104 20.3996 12.2682 20.3996 12.7456V27C20.3996 27.9941 19.5937 28.8 18.5996 28.8H5.39961C4.4055 28.8 3.59961 27.9941 3.59961 27V9.00001Z",fill:"#FF574D"}),r("path",{d:"M15.5996 7.36166V10.2C15.5996 11.1941 16.4055 12 17.3996 12H20.2379C20.3237 12.1884 20.3768 12.3913 20.3937 12.6H17.3996C16.0785 12.6 15.0067 11.5325 14.9996 10.213L14.9996 7.20587C15.2083 7.2228 15.4112 7.27593 15.5996 7.36166Z",fill:"white"}),r("path",{d:"M7.01755 21.6V15.192H8.39455C8.64655 15.192 8.86855 15.225 9.06055 15.291C9.25255 15.357 9.42655 15.474 9.58255 15.642C9.73855 15.81 9.84655 16.008 9.90655 16.236C9.96655 16.458 9.99655 16.761 9.99655 17.145C9.99655 17.433 9.97855 17.676 9.94255 17.874C9.91255 18.072 9.84355 18.258 9.73555 18.432C9.60955 18.642 9.44155 18.807 9.23155 18.927C9.02155 19.041 8.74555 19.098 8.40355 19.098H7.93555V21.6H7.01755ZM7.93555 16.056V18.234H8.37655C8.56255 18.234 8.70655 18.207 8.80855 18.153C8.91055 18.099 8.98555 18.024 9.03355 17.928C9.08155 17.838 9.10855 17.727 9.11455 17.595C9.12655 17.463 9.13255 17.316 9.13255 17.154C9.13255 17.004 9.12955 16.863 9.12355 16.731C9.11755 16.593 9.09055 16.473 9.04255 16.371C8.99455 16.269 8.92255 16.191 8.82655 16.137C8.73055 16.083 8.59255 16.056 8.41255 16.056H7.93555Z",fill:"white"}),r("path",{d:"M10.6826 21.6V15.192H12.0416C12.5696 15.192 12.9686 15.336 13.2386 15.624C13.5146 15.912 13.6526 16.32 13.6526 16.848V19.845C13.6526 20.445 13.5056 20.889 13.2116 21.177C12.9236 21.459 12.5066 21.6 11.9606 21.6H10.6826ZM11.6006 16.056V20.736H12.0236C12.2816 20.736 12.4646 20.673 12.5726 20.547C12.6806 20.415 12.7346 20.211 12.7346 19.935V16.848C12.7346 16.596 12.6836 16.401 12.5816 16.263C12.4796 16.125 12.2936 16.056 12.0236 16.056H11.6006Z",fill:"white"}),r("path",{d:"M14.5146 21.6V15.192H17.2506V16.056H15.4326V18H17.0166V18.864H15.4326V21.6H14.5146Z",fill:"white"}))),r("div",{class:"pdf-reader__file-info"},r("swirl-text",{truncate:!0,weight:"semibold"},this.label),r("swirl-text",{color:"subdued",size:"sm",truncate:!0},this.fileTypeLabel))),r("swirl-separator",null),r("swirl-action-list",null,r("swirl-action-list-item",{class:"pdf-reader__print-button",icon:"<swirl-icon-print></swirl-icon-print>",label:this.printButtonLabel,onClick:this.onPrintButtonClick}),r("swirl-action-list-item",{class:"pdf-reader__download-button",disabled:this.downloading,icon:this.downloading?'<swirl-spinner size="xs"></swirl-spinner>':"<swirl-icon-download></swirl-icon-download>",label:this.downloadButtonLabel,onClick:this.onDownloadButtonClick}),r("slot",{name:"menu-items"}))))))}get el(){return ht(this)}};Fc.style=sT;const Nc=Object.freeze(Object.defineProperty({__proto__:null,swirl_pdf_reader:Fc},Symbol.toStringTag,{value:"Module"})),oT=`.sc-swirl-radio-h{display:inline-flex}.sc-swirl-radio-h *.sc-swirl-radio{box-sizing:border-box}.radio.sc-swirl-radio{display:inline-flex;line-height:var(--s-line-height-base);cursor:pointer}.radio.sc-swirl-radio:focus-within .radio__box.sc-swirl-radio{box-shadow:0 0 0 0.0625rem var(--s-background-default),
|
|
157
157
|
0 0 0 0.1875rem var(--s-focus-default)}.radio--variant-card.sc-swirl-radio{width:100%;padding:var(--s-space-16);border:0.0625rem solid var(--s-border-default);border-radius:var(--s-border-radius-sm);background-color:var(--s-surface)}.radio--variant-card.sc-swirl-radio:focus-within{box-shadow:0 0 0 0.125rem var(--s-background-default),
|
|
158
|
-
0 0 0 0.25rem var(--s-focus-default)}.radio--variant-card.sc-swirl-radio:focus-within .radio__box.sc-swirl-radio{box-shadow:none}.radio--variant-card.sc-swirl-radio:hover:not(.radio--disabled){background-color:var(--s-surface-hovered)}.radio--variant-card.sc-swirl-radio:active:not(.radio--disabled){background-color:var(--s-surface-pressed)}.radio--variant-card.radio--checked.sc-swirl-radio:not(.radio--disabled){border-color:var(--s-border-highlight)}.radio--variant-card.radio--invalid.sc-swirl-radio:not(.radio--disabled){border-color:var(--s-border-critical)}.radio--checked.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{border-color:var(--s-interactive-primary-hovered);background-color:var(--s-interactive-primary-hovered)}.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio{position:relative;border-color:var(--s-icon-highlight);background-color:var(--s-icon-highlight)}.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio:after{position:absolute;top:50%;left:50%;width:0.5rem;height:0.5rem;border-radius:50%;background-color:var(--s-background-default);content:"";transform:translate3d(-50%, -50%, 0)}.radio--invalid.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio,.radio--invalid.radio--indeterminate.sc-swirl-radio .radio__box.sc-swirl-radio{background-color:var(--s-icon-critical)}.radio--invalid.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-critical)}.radio--disabled.sc-swirl-radio{cursor:default}.radio--disabled.radio--checked.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled);background-color:transparent}.radio--disabled.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled);background-color:var(--s-background-default)}.radio--disabled.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio:after{background-color:var(--s-icon-disabled)}.radio--disabled.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{background-color:transparent}.radio--disabled.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled)}.radio--disabled.sc-swirl-radio .radio__description.sc-swirl-radio,.radio--disabled.sc-swirl-radio .radio__label.sc-swirl-radio{color:var(--s-text-disabled)}.radio__control.sc-swirl-radio{position:relative;display:inline-flex;width:1.5rem;height:1.5rem;padding:var(--s-space-2);flex-shrink:0}.radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{background-color:var(--s-action-neutral-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__control.sc-swirl-radio{width:1.375rem;height:1.375rem}}.radio__box.sc-swirl-radio{position:relative;display:flex;width:100%;height:100%;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:50%}.radio__label-container.sc-swirl-radio{display:inline-flex;margin-left:var(--s-space-8);padding-top:var(--s-space-2);flex-direction:column}.radio__label.sc-swirl-radio{font-weight:var(--s-font-weight-medium)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__label.sc-swirl-radio{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.radio__description.sc-swirl-radio{color:var(--s-text-subdued)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__description.sc-swirl-radio{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}`,jc=class{constructor(e){ne(this,e),this.valueChange=Qe(this,"valueChange",7),this.onChange=()=>{this.checked=!0,this.valueChange.emit(this.value)},this.checked=!1,this.description=void 0,this.disabled=!1,this.inputId=void 0,this.inputName=void 0,this.invalid=void 0,this.label=void 0,this.value=void 0,this.variant="default"}getAriaCheckedLabel(e,t){return e?"true":t?"false":"mixed"}render(){const e=this.checked===!1||this.checked==="false",t=this.checked===!0||this.checked==="true",i=this.getAriaCheckedLabel(t,e),n=this.invalid,s=ce("radio",`radio--variant-${this.variant}`,{"radio--checked":t,"radio--disabled":this.disabled,"radio--invalid":this.invalid,"radio--unchecked":e});return r(Ge,{style:{width:this.variant==="card"?"100%":void 0}},r("label",{class:s,htmlFor:this.inputId},r("span",{class:"radio__control"},r("swirl-visually-hidden",null,r("input",{"aria-checked":i,"aria-invalid":n,checked:t,class:"radio__input",disabled:this.disabled,id:this.inputId,name:this.inputName,onChange:this.onChange,type:"radio",value:this.value})),r("span",{"aria-hidden":"true",class:"radio__box"})),r("span",{class:"radio__label-container"},this.label&&r("span",{class:"radio__label"},this.label),this.description&&r("span",{class:"radio__description",innerHTML:this.description}))))}};jc.style=oT;const Zc=Object.freeze(Object.defineProperty({__proto__:null,swirl_radio:jc},Symbol.toStringTag,{value:"Module"})),aT=".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)}",Wc=class{constructor(e){ne(this,e),this.valueChange=Qe(this,"valueChange",7),this.swirlAriaDescribedby=void 0,this.value=void 0}componentDidLoad(){this.radioButtons=Array.from(this.el.querySelectorAll("swirl-radio")),this.initValue(),this.handleValueChanges()}initValue(){if(this.value===void 0)return;const e=this.radioButtons.find(t=>t.value===this.value);!Boolean(e)||(e.checked=!0)}handleValueChanges(){for(const[e,t]of Object.entries(this.radioButtons))t.addEventListener("valueChange",i=>{i.stopPropagation(),(t.checked===!0||t.checked==="true")&&(this.valueChange.emit(t.value),this.value=t.value,this.radioButtons.forEach((n,s)=>{String(s)!==e&&(n.checked=!1)}))})}render(){return r(Ge,{"aria-describedby":this.swirlAriaDescribedby,role:"radiogroup"},r("div",{class:"radio-group"},r("slot",null)))}get el(){return ht(this)}};Wc.style=aT;const Uc=Object.freeze(Object.defineProperty({__proto__:null,swirl_radio_group:Wc},Symbol.toStringTag,{value:"Module"})),lT='.sc-swirl-resource-list-file-item-h{display:block;width:100%}.sc-swirl-resource-list-file-item-h *.sc-swirl-resource-list-file-item{box-sizing:border-box}.resource-list-file-item.sc-swirl-resource-list-file-item{position:relative;display:flex;width:100%;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-background-default);line-height:var(--s-line-height-base);gap:var(--s-space-12)}.resource-list-file-item.sc-swirl-resource-list-file-item:focus{outline:none}.resource-list-file-item.sc-swirl-resource-list-file-item:focus-visible{background-color:var(--s-background-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-file-item.sc-swirl-resource-list-file-item{padding:var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-file-item--has-control.sc-swirl-resource-list-file-item .resource-list-file-item__label-container.sc-swirl-resource-list-file-item{padding-right:calc(var(--s-space-12) + 2.5rem)}.resource-list-file-item__icon.sc-swirl-resource-list-file-item{color:var(--s-icon-highlight)}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item{position:relative;display:flex;min-width:0;min-height:2.875rem;flex-grow:1;justify-content:center;flex-direction:column}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item:after{position:absolute;right:0;bottom:calc(-1 * var(--s-space-12));left:0;height:0.0625rem;background-color:var(--s-border-default);content:""}.resource-list-file-item__label.sc-swirl-resource-list-file-item{overflow:hidden;font-weight:var(--s-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__description.sc-swirl-resource-list-file-item{overflow:hidden;margin-top:var(--s-space-2);color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__error-message.sc-swirl-resource-list-file-item{margin-top:var(--s-space-2)}.resource-list-file-item__remove-button.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-16);display:inline-flex;transform:translateY(-50%)}.resource-list-file-item__spinner.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-24);display:inline-flex;transform:translateY(-50%)}',Gc=class{constructor(e){ne(this,e),this.remove=Qe(this,"remove",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.description=void 0,this.errorMessage=void 0,this.icon="<swirl-icon-file></swirl-icon-file>",this.label=void 0,this.loading=void 0,this.removable=void 0,this.removeButtonLabel="Remove file"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];t==null||t.setAttribute("size",e?"20":"24")}render(){const e=Boolean(this.errorMessage),t=!e&&Boolean(this.description),i=!e&&this.loading,n=this.removable&&!i,s=ce("resource-list-file-item",{"resource-list-file-item--has-control":i||n});return r(Ge,{role:"row"},r("div",{class:s,part:"resource-list-file-item",role:"gridcell"},r("span",{class:"resource-list-file-item__icon",innerHTML:this.icon,ref:c=>this.iconEl=c}),r("span",{class:"resource-list-file-item__label-container"},r("span",{class:"resource-list-file-item__label",id:"label"},this.label),t&&r("span",{class:"resource-list-file-item__description"},this.description),e&&r("span",{"aria-live":"polite",class:"resource-list-file-item__error-message"},r("swirl-inline-error",{message:this.errorMessage,size:"s"}))),i&&r("span",{class:"resource-list-file-item__spinner"},r("swirl-spinner",{size:"s"})),n&&r("span",{class:"resource-list-file-item__remove-button"},r("swirl-button",{hideLabel:!0,icon:"<swirl-icon-close></swirl-icon-close>",label:this.removeButtonLabel,onClick:this.remove.emit}))))}};Gc.style=lT;const Yc=Object.freeze(Object.defineProperty({__proto__:null,swirl_resource_list_file_item:Gc},Symbol.toStringTag,{value:"Module"})),cT=".sc-swirl-search-h{display:flex;width:100%}.sc-swirl-search-h *.sc-swirl-search{box-sizing:border-box}.search.sc-swirl-search{position:relative;display:flex;width:100%}.search--variant-outline.sc-swirl-search .search__input.sc-swirl-search{background-color:transparent;box-shadow:inset 0 0 0 var(--s-border-width-default) var(--s-border-strong)}.search--disabled.sc-swirl-search .search__icon.sc-swirl-search{color:var(--s-icon-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search{color:var(--s-text-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search::-moz-placeholder{color:var(--s-text-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search::placeholder{color:var(--s-text-disabled)}.search__icon.sc-swirl-search{position:absolute;top:50%;left:var(--s-space-12);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}.search__input.sc-swirl-search{width:100%;height:2.5rem;padding-top:var(--s-space-8);padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));padding-bottom:var(--s-space-8);padding-left:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));border:none;border-radius:var(--s-border-radius-base);color:var(--s-text-default);background-color:var(--s-surface-raised-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.search__input.sc-swirl-search:focus:not(:focus-visible){outline:none}.search__input.sc-swirl-search:focus-visible{outline-color:var(--s-focus-default)}.search__input.sc-swirl-search::-moz-placeholder{color:var(--s-text-subdued)}.search__input.sc-swirl-search::placeholder{color:var(--s-text-subdued)}.search__input.sc-swirl-search::-webkit-search-decoration,.search__input.sc-swirl-search::-webkit-search-cancel-button,.search__input.sc-swirl-search::-webkit-search-results-button,.search__input.sc-swirl-search::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}.search__input.sc-swirl-search:not(:-moz-placeholder-shown)+.search__clear-button.sc-swirl-search{display:inline-flex}.search__input.sc-swirl-search:not(:placeholder-shown)+.search__clear-button.sc-swirl-search{display:inline-flex}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.search__input.sc-swirl-search{height:2.25rem;padding-left:calc(var(--s-space-8) + 1.5rem + var(--s-space-8));font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.search__clear-button.sc-swirl-search{position:absolute;top:50%;right:var(--s-space-12);display:none;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer;transform:translateY(-50%)}",qc=class{constructor(e){ne(this,e),this.inputBlur=Qe(this,"inputBlur",7),this.inputFocus=Qe(this,"inputFocus",7),this.inputInput=Qe(this,"inputInput",7),this.valueChange=Qe(this,"valueChange",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.clear=()=>{this.input.value="",this.input.focus(),this.valueChange.emit("")},this.onBlur=t=>{this.inputBlur.emit(t)},this.onChange=t=>{this.valueChange.emit(t.target.value)},this.onFocus=t=>{this.inputFocus.emit(t)},this.onInput=t=>{this.inputInput.emit(t.target.value)},this.autoFocus=void 0,this.clearButtonLabel="Clear search term",this.disabled=void 0,this.inputName=void 0,this.inputId=void 0,this.label=void 0,this.placeholder="Search \u2026",this.value=void 0,this.variant="filled"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler,this.autoFocus&&setTimeout(()=>{this.input.focus()})}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];t==null||t.setAttribute("size",e?"20":"24")}onKeyDown(e){(e.code==="KeyK"||e.code==="Slash")&&(e.ctrlKey||e.metaKey)&&this.input.focus()}render(){const e=ce("search",`search--variant-${this.variant}`,{"search--disabled":this.disabled});return r(Ge,null,r("span",{class:e,ref:t=>this.iconEl=t},r("swirl-icon-search",{class:"search__icon"}),r("input",{"aria-disabled":this.disabled?"true":void 0,"aria-label":this.label,autoComplete:"off",autoFocus:this.autoFocus,class:"search__input",disabled:this.disabled,id:this.inputId,inputMode:"search",name:this.inputName,onBlur:this.onBlur,onChange:this.onChange,onFocus:this.onFocus,onInput:this.onInput,placeholder:this.placeholder,ref:t=>this.input=t,type:"search",value:this.value}),!this.disabled&&r("button",{"aria-label":this.clearButtonLabel,class:"search__clear-button",onClick:this.clear,type:"button"},r("swirl-icon-cancel",null))))}};qc.style=cT;const Xc=Object.freeze(Object.defineProperty({__proto__:null,swirl_search:qc},Symbol.toStringTag,{value:"Module"})),uT=".sc-swirl-select-h{display:block;width:100%}.sc-swirl-select-h *.sc-swirl-select{box-sizing:border-box}.select.sc-swirl-select{position:relative;display:flex;width:100%}.select.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:var(--s-space-16)}.select--placement-top-start.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:-2.25rem}.select--multi.sc-swirl-select .select__input.sc-swirl-select{position:absolute;width:100%;height:100%;pointer-events:none;opacity:0}.select--multi.sc-swirl-select .select__multi-select-values.sc-swirl-select{display:flex}.select--disabled.sc-swirl-select .select__input.sc-swirl-select{color:var(--s-text-disabled)}.select--disabled.sc-swirl-select .select__indicator.sc-swirl-select{color:var(--s-icon-disabled)}.select--inline.sc-swirl-select .select__indicator.sc-swirl-select{transform:translateY(-50%)}.select--search-loading.sc-swirl-select .select__search-input.sc-swirl-select{padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8))}.select__input.sc-swirl-select{display:block;overflow:hidden;width:100%;height:1.25rem;margin:0;padding:0;padding-right:calc(1.5rem + var(--s-space-8));border:none;background-color:transparent;font:inherit;line-height:var(--s-line-height-base);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:default}.select__input.sc-swirl-select:focus{outline:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__multi-select-values.sc-swirl-select{display:none;overflow:hidden;width:100%;min-height:1.25rem;padding-right:calc(1.5rem + var(--s-space-8));flex-wrap:wrap;gap:var(--s-space-8)}.select__multi-select-values.sc-swirl-select .sc-swirl-select::part(tag){height:1.25rem;padding:0 var(--s-space-4)}.select__indicator.sc-swirl-select{position:absolute;top:50%;right:0;display:inline-flex;color:var(--s-icon-default);transform:translateY(calc(-50% - var(--s-space-8)))}.select__search.sc-swirl-select{position:relative;display:flex;width:100%;padding:0.0625rem var(--s-space-8);border-bottom:0.0625rem solid var(--s-border-default)}@media (min-width: 768px){.select__search.sc-swirl-select{padding:0.0625rem}}.select__search-icon.sc-swirl-select{position:absolute;top:50%;left:calc(var(--s-space-8) * 2);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}@media (min-width: 768px){.select__search-icon.sc-swirl-select{left:var(--s-space-12);padding:0.0625rem}}.select__search-input.sc-swirl-select{width:100%;height:2.5rem;padding-right:var(--s-space-12);padding-left:calc(var(--s-space-12) + 1.25rem + var(--s-space-8));align-items:center;border:none;color:var(--s-text-default);background-color:var(--s-surface-overlay-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.select__search-input.sc-swirl-select:focus:not(:focus-visible){outline:none}.select__search-input.sc-swirl-select:focus-visible{outline-color:var(--s-focus-default)}.select__search-input.sc-swirl-select::-moz-placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::-webkit-search-decoration,.select__search-input.sc-swirl-select::-webkit-search-cancel-button,.select__search-input.sc-swirl-select::-webkit-search-results-button,.select__search-input.sc-swirl-select::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__search-input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__search-spinner.sc-swirl-select{position:absolute;top:50%;right:var(--s-space-12);display:inline-flex;transform:translateY(-50%)}.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) 0}.select__empty-list-label.sc-swirl-select:not(:only-child){display:none}@media (min-width: 768px){.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) var(--s-space-8)}}",Kc=class{constructor(e){ne(this,e),this.searchChange=Qe(this,"searchChange",7),this.valueChange=Qe(this,"valueChange",7),this.select=t=>{this.value=t.detail,this.valueChange.emit(this.value),this.multiSelect||this.popover.close()},this.unselectOption=t=>{!this.allowDeselect||(this.value=this.value.filter(i=>i!==t),this.valueChange.emit(this.value))},this.onSlotChange=()=>{this.updateOptions()},this.onOpen=t=>{var i,n;this.placement=(i=t.detail.position)==null?void 0:i.placement,this.open=!0,this.withSearch&&Boolean(this.searchInput)?this.searchInput.focus():(n=this.optionList.querySelector('[tabIndex="0"]'))==null||n.focus()},this.onClose=()=>{Boolean(this.searchInput)&&(this.searchInput.value="",this.searchChange.emit("")),this.open=!1,this.input.focus()},this.onKeyDown=t=>{var i;if(t.code==="Space"||t.code==="Enter"){if(t.target===this.searchInput)return;t.preventDefault(),this.popover.open(this.el)}else t.code==="ArrowDown"&&t.target===this.searchInput&&((i=this.optionList.querySelector('[tabIndex="0"]'))==null||i.focus())},this.onSearchInput=t=>{this.searchChange.emit(t.target.value)},this.allowDeselect=!0,this.disabled=void 0,this.emptyListLabel="No results found.",this.inline=void 0,this.invalid=void 0,this.label=void 0,this.multiSelect=void 0,this.required=void 0,this.searchInputLabel="Search options",this.searchLoading=void 0,this.searchPlaceholder=void 0,this.selectId=Math.round(Math.random()*1e6).toString(),this.swirlAriaDescribedby=void 0,this.value=void 0,this.withSearch=void 0,this.options=[],this.open=void 0,this.placement=void 0}componentWillLoad(){queueMicrotask(()=>{this.updateOptions()})}onWindowFocusIn(e){e.target===this.el.querySelector("input")&&e.stopImmediatePropagation()}updateOptions(){this.options=Zt(this.el,"swirl-option-list-item")}render(){var c,o,u;const e=Boolean(this.value)?(c=this.value)==null?void 0:c.map(a=>{var d;return(d=this.options.find(p=>p.value===a))==null?void 0:d.label}).join(", "):"",t=this.invalid===!0||this.invalid===!1?String(this.invalid):void 0,i=this.el.closest("swirl-form-control"),n=(i==null?void 0:i.inline)||(i==null?void 0:i.labelPosition)==="outside"?-12:-16,s=ce("select",`select--placement-${this.placement}`,{"select--disabled":this.disabled,"select--inline":this.inline,"select--multi":this.multiSelect,"select--search-loading":this.searchLoading});return r(Ge,{onKeyDown:this.onKeyDown},r("div",{class:s},r("swirl-popover-trigger",{popover:this.popover,setAriaAttributes:!1},r("input",{"aria-describedby":this.swirlAriaDescribedby,"aria-disabled":this.disabled?"true":void 0,"aria-invalid":t,class:"select__input",disabled:this.disabled,readOnly:!0,ref:a=>this.input=a,type:"text",value:e})),r("span",{class:"select__multi-select-values"},(u=(o=this.value)==null?void 0:o.map(a=>this.options.find(d=>d.value===a)))==null?void 0:u.map(a=>r("swirl-tag",{"aria-hidden":"true",label:a==null?void 0:a.label,onRemove:()=>this.unselectOption(a==null?void 0:a.value),removable:!this.disabled&&this.allowDeselect}))),r("span",{class:"select__indicator"},this.open?r("swirl-icon-expand-less",null):r("swirl-icon-expand-more",null)),r("swirl-popover",{animation:"scale-in-y",class:"select__popover",id:`select-options-${this.selectId}`,label:this.label,offset:[0,n],onPopoverClose:this.onClose,onPopoverOpen:this.onOpen,ref:a=>this.popover=a,useContainerWidth:"swirl-form-control"},this.withSearch&&r("div",{class:"select__search"},r("swirl-icon-search",{class:"select__search-icon",size:20}),r("input",{"aria-label":this.searchInputLabel,class:"select__search-input",onInput:this.onSearchInput,placeholder:this.searchPlaceholder,ref:a=>this.searchInput=a,type:"search"}),this.searchLoading&&r("swirl-spinner",{class:"select__search-spinner",size:"s"})),r("swirl-option-list",{allowDeselect:this.allowDeselect,onValueChange:this.select,multiSelect:this.multiSelect,ref:a=>this.optionList=a,value:this.value},!this.searchLoading&&r("div",{"aria-disabled":"true",class:"select__empty-list-label",role:"option"},r("swirl-text",{color:"subdued",weight:"medium"},this.emptyListLabel)),r("slot",{onSlotchange:this.onSlotChange})))))}get el(){return ht(this)}};Kc.style=uT;const Qc=Object.freeze(Object.defineProperty({__proto__:null,swirl_select:Kc},Symbol.toStringTag,{value:"Module"})),dT=`:host{--extended-sidebar-width:17rem;--collapsed-sidebar-width:4rem;display:flex;width:100%;height:100%}:host *{box-sizing:border-box}.shell-layout{display:grid;width:100%;min-height:100%;transition:grid-template-columns 0.2s;grid-template-columns:0 1fr;grid-template-rows:auto 1fr;grid-template-areas:"banner banner"
|
|
158
|
+
0 0 0 0.25rem var(--s-focus-default)}.radio--variant-card.sc-swirl-radio:focus-within .radio__box.sc-swirl-radio{box-shadow:none}.radio--variant-card.sc-swirl-radio:hover:not(.radio--disabled){background-color:var(--s-surface-hovered)}.radio--variant-card.sc-swirl-radio:active:not(.radio--disabled){background-color:var(--s-surface-pressed)}.radio--variant-card.radio--checked.sc-swirl-radio:not(.radio--disabled){border-color:var(--s-border-highlight)}.radio--variant-card.radio--invalid.sc-swirl-radio:not(.radio--disabled){border-color:var(--s-border-critical)}.radio--checked.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{border-color:var(--s-interactive-primary-hovered);background-color:var(--s-interactive-primary-hovered)}.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio{position:relative;border-color:var(--s-icon-highlight);background-color:var(--s-icon-highlight)}.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio:after{position:absolute;top:50%;left:50%;width:0.5rem;height:0.5rem;border-radius:50%;background-color:var(--s-background-default);content:"";transform:translate3d(-50%, -50%, 0)}.radio--invalid.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio,.radio--invalid.radio--indeterminate.sc-swirl-radio .radio__box.sc-swirl-radio{background-color:var(--s-icon-critical)}.radio--invalid.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-critical)}.radio--disabled.sc-swirl-radio{cursor:default}.radio--disabled.radio--checked.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled);background-color:transparent}.radio--disabled.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled);background-color:var(--s-background-default)}.radio--disabled.radio--checked.sc-swirl-radio .radio__box.sc-swirl-radio:after{background-color:var(--s-icon-disabled)}.radio--disabled.sc-swirl-radio .radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{background-color:transparent}.radio--disabled.sc-swirl-radio .radio__box.sc-swirl-radio{border-color:var(--s-icon-disabled)}.radio--disabled.sc-swirl-radio .radio__description.sc-swirl-radio,.radio--disabled.sc-swirl-radio .radio__label.sc-swirl-radio{color:var(--s-text-disabled)}.radio__control.sc-swirl-radio{position:relative;display:inline-flex;width:1.5rem;height:1.5rem;padding:var(--s-space-2);flex-shrink:0}.radio__control.sc-swirl-radio:hover .radio__box.sc-swirl-radio{background-color:var(--s-action-neutral-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__control.sc-swirl-radio{width:1.375rem;height:1.375rem}}.radio__box.sc-swirl-radio{position:relative;display:flex;width:100%;height:100%;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:50%}.radio__label-container.sc-swirl-radio{display:inline-flex;margin-left:var(--s-space-8);padding-top:var(--s-space-2);flex-direction:column}.radio__label.sc-swirl-radio{font-weight:var(--s-font-weight-medium)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__label.sc-swirl-radio{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.radio__description.sc-swirl-radio{color:var(--s-text-subdued)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.radio__description.sc-swirl-radio{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}`,jc=class{constructor(e){ne(this,e),this.valueChange=Qe(this,"valueChange",7),this.onChange=()=>{this.checked=!0,this.valueChange.emit(this.value)},this.checked=!1,this.description=void 0,this.disabled=!1,this.inputId=void 0,this.inputName=void 0,this.invalid=void 0,this.label=void 0,this.value=void 0,this.variant="default"}getAriaCheckedLabel(e,t){return e?"true":t?"false":"mixed"}render(){const e=this.checked===!1||this.checked==="false",t=this.checked===!0||this.checked==="true",i=this.getAriaCheckedLabel(t,e),n=this.invalid,s=ce("radio",`radio--variant-${this.variant}`,{"radio--checked":t,"radio--disabled":this.disabled,"radio--invalid":this.invalid,"radio--unchecked":e});return r(Ge,{style:{width:this.variant==="card"?"100%":void 0}},r("label",{class:s,htmlFor:this.inputId},r("span",{class:"radio__control"},r("swirl-visually-hidden",null,r("input",{"aria-checked":i,"aria-invalid":n,checked:t,class:"radio__input",disabled:this.disabled,id:this.inputId,name:this.inputName,onChange:this.onChange,type:"radio",value:this.value})),r("span",{"aria-hidden":"true",class:"radio__box"})),r("span",{class:"radio__label-container"},this.label&&r("span",{class:"radio__label"},this.label),this.description&&r("span",{class:"radio__description",innerHTML:this.description}))))}};jc.style=oT;const Zc=Object.freeze(Object.defineProperty({__proto__:null,swirl_radio:jc},Symbol.toStringTag,{value:"Module"})),aT=".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)}",Wc=class{constructor(e){ne(this,e),this.valueChange=Qe(this,"valueChange",7),this.swirlAriaDescribedby=void 0,this.value=void 0}componentDidLoad(){this.radioButtons=Array.from(this.el.querySelectorAll("swirl-radio")),this.initValue(),this.handleValueChanges()}initValue(){if(this.value===void 0)return;const e=this.radioButtons.find(t=>t.value===this.value);!Boolean(e)||(e.checked=!0)}handleValueChanges(){for(const[e,t]of Object.entries(this.radioButtons))t.addEventListener("valueChange",i=>{i.stopPropagation(),(t.checked===!0||t.checked==="true")&&(this.valueChange.emit(t.value),this.value=t.value,this.radioButtons.forEach((n,s)=>{String(s)!==e&&(n.checked=!1)}))})}render(){return r(Ge,{"aria-describedby":this.swirlAriaDescribedby,role:"radiogroup"},r("div",{class:"radio-group"},r("slot",null)))}get el(){return ht(this)}};Wc.style=aT;const Uc=Object.freeze(Object.defineProperty({__proto__:null,swirl_radio_group:Wc},Symbol.toStringTag,{value:"Module"})),lT='.sc-swirl-resource-list-file-item-h{display:block;width:100%}.sc-swirl-resource-list-file-item-h *.sc-swirl-resource-list-file-item{box-sizing:border-box}.resource-list-file-item.sc-swirl-resource-list-file-item{position:relative;display:flex;width:100%;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-background-default);line-height:var(--s-line-height-base);gap:var(--s-space-12)}.resource-list-file-item.sc-swirl-resource-list-file-item:focus{outline:none}.resource-list-file-item.sc-swirl-resource-list-file-item:focus-visible{background-color:var(--s-background-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-file-item.sc-swirl-resource-list-file-item{padding:var(--s-space-12);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-file-item--has-control.sc-swirl-resource-list-file-item .resource-list-file-item__label-container.sc-swirl-resource-list-file-item{padding-right:calc(var(--s-space-12) + 2.5rem)}.resource-list-file-item__icon.sc-swirl-resource-list-file-item{color:var(--s-icon-highlight)}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item{position:relative;display:flex;min-width:0;min-height:2.875rem;flex-grow:1;justify-content:center;flex-direction:column}.resource-list-file-item__label-container.sc-swirl-resource-list-file-item:after{position:absolute;right:0;bottom:calc(-1 * var(--s-space-12));left:0;height:0.0625rem;background-color:var(--s-border-default);content:""}.resource-list-file-item__label.sc-swirl-resource-list-file-item{overflow:hidden;font-weight:var(--s-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__description.sc-swirl-resource-list-file-item{overflow:hidden;margin-top:var(--s-space-2);color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-file-item__error-message.sc-swirl-resource-list-file-item{margin-top:var(--s-space-2)}.resource-list-file-item__remove-button.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-16);display:inline-flex;transform:translateY(-50%)}.resource-list-file-item__spinner.sc-swirl-resource-list-file-item{position:absolute;top:50%;right:var(--s-space-24);display:inline-flex;transform:translateY(-50%)}',Gc=class{constructor(e){ne(this,e),this.remove=Qe(this,"remove",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.description=void 0,this.errorMessage=void 0,this.icon="<swirl-icon-file></swirl-icon-file>",this.label=void 0,this.loading=void 0,this.removable=void 0,this.removeButtonLabel="Remove file"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];t==null||t.setAttribute("size",e?"20":"24")}render(){const e=Boolean(this.errorMessage),t=!e&&Boolean(this.description),i=!e&&this.loading,n=this.removable&&!i,s=ce("resource-list-file-item",{"resource-list-file-item--has-control":i||n});return r(Ge,{role:"row"},r("div",{class:s,part:"resource-list-file-item",role:"gridcell"},r("span",{class:"resource-list-file-item__icon",innerHTML:this.icon,ref:c=>this.iconEl=c}),r("span",{class:"resource-list-file-item__label-container"},r("span",{class:"resource-list-file-item__label",id:"label"},this.label),t&&r("span",{class:"resource-list-file-item__description"},this.description),e&&r("span",{"aria-live":"polite",class:"resource-list-file-item__error-message"},r("swirl-inline-error",{message:this.errorMessage,size:"s"}))),i&&r("span",{class:"resource-list-file-item__spinner"},r("swirl-spinner",{size:"s"})),n&&r("span",{class:"resource-list-file-item__remove-button"},r("swirl-button",{hideLabel:!0,icon:"<swirl-icon-close></swirl-icon-close>",label:this.removeButtonLabel,onClick:this.remove.emit}))))}};Gc.style=lT;const Yc=Object.freeze(Object.defineProperty({__proto__:null,swirl_resource_list_file_item:Gc},Symbol.toStringTag,{value:"Module"})),cT=".sc-swirl-search-h{display:flex;width:100%}.sc-swirl-search-h *.sc-swirl-search{box-sizing:border-box}.search.sc-swirl-search{position:relative;display:flex;width:100%}.search--variant-outline.sc-swirl-search .search__input.sc-swirl-search{background-color:transparent;box-shadow:inset 0 0 0 var(--s-border-width-default) var(--s-border-strong)}.search--disabled.sc-swirl-search .search__icon.sc-swirl-search{color:var(--s-icon-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search{color:var(--s-text-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search::-moz-placeholder{color:var(--s-text-disabled)}.search--disabled.sc-swirl-search .search__input.sc-swirl-search::placeholder{color:var(--s-text-disabled)}.search__icon.sc-swirl-search{position:absolute;top:50%;left:var(--s-space-12);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}.search__input.sc-swirl-search{width:100%;height:2.5rem;padding-top:var(--s-space-8);padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));padding-bottom:var(--s-space-8);padding-left:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));border:none;border-radius:var(--s-border-radius-base);color:var(--s-text-default);background-color:var(--s-surface-raised-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.search__input.sc-swirl-search:focus:not(:focus-visible){outline:none}.search__input.sc-swirl-search:focus-visible{outline-color:var(--s-focus-default)}.search__input.sc-swirl-search::-moz-placeholder{color:var(--s-text-subdued)}.search__input.sc-swirl-search::placeholder{color:var(--s-text-subdued)}.search__input.sc-swirl-search::-webkit-search-decoration,.search__input.sc-swirl-search::-webkit-search-cancel-button,.search__input.sc-swirl-search::-webkit-search-results-button,.search__input.sc-swirl-search::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}.search__input.sc-swirl-search:not(:-moz-placeholder-shown)+.search__clear-button.sc-swirl-search{display:inline-flex}.search__input.sc-swirl-search:not(:placeholder-shown)+.search__clear-button.sc-swirl-search{display:inline-flex}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.search__input.sc-swirl-search{height:2.25rem;padding-left:calc(var(--s-space-8) + 1.5rem + var(--s-space-8));font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.search__clear-button.sc-swirl-search{position:absolute;top:50%;right:var(--s-space-12);display:none;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer;transform:translateY(-50%)}",qc=class{constructor(e){ne(this,e),this.inputBlur=Qe(this,"inputBlur",7),this.inputFocus=Qe(this,"inputFocus",7),this.inputInput=Qe(this,"inputInput",7),this.valueChange=Qe(this,"valueChange",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.clear=()=>{this.input.value="",this.input.focus(),this.valueChange.emit("")},this.onBlur=t=>{this.inputBlur.emit(t)},this.onChange=t=>{this.valueChange.emit(t.target.value)},this.onFocus=t=>{this.inputFocus.emit(t)},this.onInput=t=>{this.inputInput.emit(t.target.value)},this.autoFocus=void 0,this.clearButtonLabel="Clear search term",this.disabled=void 0,this.inputName=void 0,this.inputId=void 0,this.label=void 0,this.placeholder="Search \u2026",this.value=void 0,this.variant="filled"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler,this.autoFocus&&setTimeout(()=>{this.input.focus()})}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];t==null||t.setAttribute("size",e?"20":"24")}onKeyDown(e){(e.code==="KeyK"||e.code==="Slash")&&(e.ctrlKey||e.metaKey)&&this.input.focus()}render(){const e=ce("search",`search--variant-${this.variant}`,{"search--disabled":this.disabled});return r(Ge,null,r("span",{class:e,ref:t=>this.iconEl=t},r("swirl-icon-search",{class:"search__icon"}),r("input",{"aria-disabled":this.disabled?"true":void 0,"aria-label":this.label,autoComplete:"off",autoFocus:this.autoFocus,class:"search__input",disabled:this.disabled,id:this.inputId,inputMode:"search",name:this.inputName,onBlur:this.onBlur,onChange:this.onChange,onFocus:this.onFocus,onInput:this.onInput,placeholder:this.placeholder,ref:t=>this.input=t,type:"search",value:this.value}),!this.disabled&&r("button",{"aria-label":this.clearButtonLabel,class:"search__clear-button",onClick:this.clear,type:"button"},r("swirl-icon-cancel",null))))}};qc.style=cT;const Xc=Object.freeze(Object.defineProperty({__proto__:null,swirl_search:qc},Symbol.toStringTag,{value:"Module"})),uT=".sc-swirl-select-h{display:block;width:100%}.sc-swirl-select-h *.sc-swirl-select{box-sizing:border-box}.select.sc-swirl-select{position:relative;display:flex;width:100%}.select.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:var(--s-space-16)}@media (min-width: 768px){.select.sc-swirl-select .sc-swirl-select::part(popover__scroll-container){padding-top:0}}.select--placement-top-start.sc-swirl-select .sc-swirl-select::part(popover__content){margin-top:-2.25rem}.select--multi.sc-swirl-select .select__input.sc-swirl-select{position:absolute;width:100%;height:100%;pointer-events:none;opacity:0}.select--multi.sc-swirl-select .select__multi-select-values.sc-swirl-select{display:flex}.select--disabled.sc-swirl-select .select__input.sc-swirl-select{color:var(--s-text-disabled)}.select--disabled.sc-swirl-select .select__indicator.sc-swirl-select{color:var(--s-icon-disabled)}.select--inline.sc-swirl-select .select__indicator.sc-swirl-select{transform:translateY(-50%)}.select--search-loading.sc-swirl-select .select__search-input.sc-swirl-select{padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8))}.select__input.sc-swirl-select{display:block;overflow:hidden;width:100%;height:1.25rem;margin:0;padding:0;padding-right:calc(1.5rem + var(--s-space-8));border:none;background-color:transparent;font:inherit;line-height:var(--s-line-height-base);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:default}.select__input.sc-swirl-select:focus{outline:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__multi-select-values.sc-swirl-select{display:none;overflow:hidden;width:100%;min-height:1.25rem;padding-right:calc(1.5rem + var(--s-space-8));flex-wrap:wrap;gap:var(--s-space-8)}.select__multi-select-values.sc-swirl-select .sc-swirl-select::part(tag){height:1.25rem;padding:0 var(--s-space-4)}.select__indicator.sc-swirl-select{position:absolute;top:50%;right:0;display:inline-flex;color:var(--s-icon-default);transform:translateY(calc(-50% - var(--s-space-8)))}.select__search.sc-swirl-select{position:relative;display:flex;width:100%;padding:0.0625rem var(--s-space-8);border-bottom:0.0625rem solid var(--s-border-default);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.select__search.sc-swirl-select{position:sticky;z-index:1;top:0;padding-top:var(--s-space-8);padding-right:0.0625rem;padding-left:0.0625rem}}.select__search-icon.sc-swirl-select{position:absolute;top:50%;left:calc(var(--s-space-8) * 2);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}@media (min-width: 768px){.select__search-icon.sc-swirl-select{left:var(--s-space-12);margin-top:var(--s-space-4);padding:0.0625rem}}.select__search-input.sc-swirl-select{width:100%;height:2.5rem;padding-right:var(--s-space-12);padding-left:calc(var(--s-space-12) + 1.25rem + var(--s-space-8));align-items:center;border:none;color:var(--s-text-default);background-color:var(--s-surface-overlay-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.select__search-input.sc-swirl-select:focus:not(:focus-visible){outline:none}.select__search-input.sc-swirl-select:focus-visible{outline-color:var(--s-focus-default)}.select__search-input.sc-swirl-select::-moz-placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::placeholder{color:var(--s-text-subdued)}.select__search-input.sc-swirl-select::-webkit-search-decoration,.select__search-input.sc-swirl-select::-webkit-search-cancel-button,.select__search-input.sc-swirl-select::-webkit-search-results-button,.select__search-input.sc-swirl-select::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.select__search-input.sc-swirl-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.select__search-spinner.sc-swirl-select{position:absolute;top:50%;right:var(--s-space-12);display:inline-flex;transform:translateY(-50%)}@media (min-width: 768px){.select__search-spinner.sc-swirl-select{margin-top:var(--s-space-4)}}.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) 0}.select__empty-list-label.sc-swirl-select:not(:only-child){display:none}@media (min-width: 768px){.select__empty-list-label.sc-swirl-select{padding:var(--s-space-12) var(--s-space-12) var(--s-space-8)}}",Kc=class{constructor(e){ne(this,e),this.searchChange=Qe(this,"searchChange",7),this.valueChange=Qe(this,"valueChange",7),this.select=t=>{this.value=t.detail,this.valueChange.emit(this.value),this.multiSelect||this.popover.close()},this.unselectOption=t=>{!this.allowDeselect||(this.value=this.value.filter(i=>i!==t),this.valueChange.emit(this.value))},this.onSlotChange=()=>{this.updateOptions()},this.onOpen=t=>{var i,n;this.placement=(i=t.detail.position)==null?void 0:i.placement,this.open=!0,this.withSearch&&Boolean(this.searchInput)?this.searchInput.focus():(n=this.optionList.querySelector('[tabIndex="0"]'))==null||n.focus()},this.onClose=()=>{Boolean(this.searchInput)&&(this.searchInput.value="",this.searchChange.emit("")),this.open=!1,this.input.focus()},this.onKeyDown=t=>{var i;if(t.code==="Space"||t.code==="Enter"){if(t.target===this.searchInput)return;t.preventDefault(),this.popover.open(this.el)}else t.code==="ArrowDown"&&t.target===this.searchInput&&((i=this.optionList.querySelector('[tabIndex="0"]'))==null||i.focus())},this.onSearchInput=t=>{this.searchChange.emit(t.target.value)},this.allowDeselect=!0,this.disabled=void 0,this.emptyListLabel="No results found.",this.inline=void 0,this.invalid=void 0,this.label=void 0,this.multiSelect=void 0,this.required=void 0,this.searchInputLabel="Search options",this.searchLoading=void 0,this.searchPlaceholder=void 0,this.selectId=Math.round(Math.random()*1e6).toString(),this.swirlAriaDescribedby=void 0,this.value=void 0,this.withSearch=void 0,this.options=[],this.open=void 0,this.placement=void 0}componentWillLoad(){queueMicrotask(()=>{this.updateOptions(),this.observeSlotChanges()})}disconnectedCallback(){var e;(e=this.observer)==null||e.disconnect()}onWindowFocusIn(e){e.target===this.el.querySelector("input")&&e.stopImmediatePropagation()}observeSlotChanges(){this.observer=new MutationObserver(()=>{this.updateOptions()}),this.observer.observe(this.el,{childList:!0,subtree:!0})}updateOptions(){this.options=Zt(this.el,"swirl-option-list-item")}render(){var c,o,u;const e=Boolean(this.value)?(c=this.value)==null?void 0:c.map(a=>{var d;return(d=this.options.find(p=>p.value===a))==null?void 0:d.label}).join(", "):"",t=this.invalid===!0||this.invalid===!1?String(this.invalid):void 0,i=this.el.closest("swirl-form-control"),n=(i==null?void 0:i.inline)||(i==null?void 0:i.labelPosition)==="outside"?-12:-16,s=ce("select",`select--placement-${this.placement}`,{"select--disabled":this.disabled,"select--inline":this.inline,"select--multi":this.multiSelect,"select--search-loading":this.searchLoading});return r(Ge,{onKeyDown:this.onKeyDown},r("div",{class:s},r("swirl-popover-trigger",{popover:this.popover,setAriaAttributes:!1},r("input",{"aria-describedby":this.swirlAriaDescribedby,"aria-disabled":this.disabled?"true":void 0,"aria-invalid":t,class:"select__input",disabled:this.disabled,readOnly:!0,ref:a=>this.input=a,type:"text",value:e})),r("span",{class:"select__multi-select-values"},(u=(o=this.value)==null?void 0:o.map(a=>this.options.find(d=>d.value===a)))==null?void 0:u.map(a=>r("swirl-tag",{"aria-hidden":"true",label:a==null?void 0:a.label,onRemove:()=>this.unselectOption(a==null?void 0:a.value),removable:!this.disabled&&this.allowDeselect}))),r("span",{class:"select__indicator"},this.open?r("swirl-icon-expand-less",null):r("swirl-icon-expand-more",null)),r("swirl-popover",{animation:"scale-in-y",class:"select__popover",id:`select-options-${this.selectId}`,label:this.label,offset:[0,n],onPopoverClose:this.onClose,onPopoverOpen:this.onOpen,ref:a=>this.popover=a,useContainerWidth:"swirl-form-control"},this.withSearch&&r("div",{class:"select__search"},r("swirl-icon-search",{class:"select__search-icon",size:20}),r("input",{"aria-label":this.searchInputLabel,class:"select__search-input",onInput:this.onSearchInput,placeholder:this.searchPlaceholder,ref:a=>this.searchInput=a,type:"search"}),this.searchLoading&&r("swirl-spinner",{class:"select__search-spinner",size:"s"})),r("swirl-option-list",{allowDeselect:this.allowDeselect,onValueChange:this.select,multiSelect:this.multiSelect,ref:a=>this.optionList=a,value:this.value},!this.searchLoading&&r("div",{"aria-disabled":"true",class:"select__empty-list-label",role:"option"},r("swirl-text",{color:"subdued",weight:"medium"},this.emptyListLabel)),r("slot",{onSlotchange:this.onSlotChange})))))}get el(){return ht(this)}};Kc.style=uT;const Qc=Object.freeze(Object.defineProperty({__proto__:null,swirl_select:Kc},Symbol.toStringTag,{value:"Module"})),dT=`:host{--extended-sidebar-width:17rem;--collapsed-sidebar-width:4rem;display:flex;width:100%;height:100%}:host *{box-sizing:border-box}.shell-layout{display:grid;width:100%;min-height:100%;transition:grid-template-columns 0.2s;grid-template-columns:0 1fr;grid-template-rows:auto 1fr;grid-template-areas:"banner banner"
|
|
159
159
|
"sidebar main"}@media (min-width: 992px){.shell-layout{grid-template-columns:var(--extended-sidebar-width) 1fr}}.shell-layout--collapsed-sidebar{grid-template-columns:0 1fr}@media (min-width: 992px){.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper.shell-layout__sidebar-wrapper--hovered .shell-layout__sidebar,.shell-layout--collapsed-sidebar:not(.shell-layout--collapsing) .shell-layout__sidebar-wrapper:focus-within .shell-layout__sidebar{width:var(--extended-sidebar-width);box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
|
|
160
160
|
0 0.25rem 0.75rem rgba(25, 26, 28, 0.08)}}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{transform:translate3d(-100%, 0, 0)}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper .shell-layout__sidebar{width:100%;box-shadow:none}@media (min-width: 992px){.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper{max-width:var(--collapsed-sidebar-width);flex-basis:var(--collapsed-sidebar-width);transform:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__sidebar{box-shadow:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__collapsed-logo{display:inline-flex;justify-content:center;align-items:center}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__expanded-logo{display:none}.shell-layout--collapsed-sidebar .shell-layout__sidebar-wrapper:not(.shell-layout__sidebar-wrapper--hovered):not(:focus-within) .shell-layout__toggle{display:none}}@media (min-width: 992px){.shell-layout--collapsed-sidebar{grid-template-columns:var(--collapsed-sidebar-width) 1fr}}.shell-layout--hide-sidebar{grid-template-columns:1fr;grid-template-areas:"banner"
|
|
161
161
|
"main"}@media (min-width: 992px){.shell-layout--hide-sidebar{grid-template-columns:1fr}}.shell-layout__banner{grid-area:banner}.shell-layout__sidebar-wrapper{position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;max-width:var(--extended-sidebar-width);min-height:0;flex-basis:var(--extended-sidebar-width);flex-shrink:0;transition:max-width 0.2s, transform 0.2s;grid-area:sidebar}@media (min-width: 992px){.shell-layout__sidebar-wrapper{position:relative;inset:auto}}.shell-layout__sidebar{display:flex;width:var(--extended-sidebar-width);height:100%;border-right:var(--s-border-width-default) solid var(--s-border-default);flex-direction:column;transition:box-shadow 0.2s, width 0.2s;box-shadow:0 0.75rem 2rem rgba(25, 26, 28, 0.12),
|
|
@@ -449,8 +449,8 @@ License: MIT
|
|
|
449
449
|
`;for(const c of e)i+=`<img src="${c.toDataURL()}">`;i+=`
|
|
450
450
|
</body>
|
|
451
451
|
</html>
|
|
452
|
-
`;const n=document.createElement("iframe");this.el.append(n);const s=n.contentWindow;s.document.write(i),s.focus(),await new Promise(c=>setTimeout(c,100)),s.print(),n.remove()}getScale(e){var i;const t=Qt()?0:32;return this.zoom==="auto"?(((i=this.scrollContainer)==null?void 0:i.clientWidth)-t)/e.view[2]:isNaN(this.zoom)?1:this.zoom}restoreScrollPosition(){var e,t;this.scrollContainer.scrollTop=this.recentScrollPosition.y*((e=this.scrollContainer)==null?void 0:e.scrollHeight),this.scrollContainer.scrollLeft=this.recentScrollPosition.x*((t=this.scrollContainer)==null?void 0:t.scrollWidth)}render(){const e=!this.error&&!this.loading&&this.visiblePages.length>0,t=this.scrolledDown&&!this.singlePageMode?this.pages.length-1:this.visiblePages[0],i=this.loading,n=ce("file-viewer-pdf",`file-viewer-pdf--view-mode-${this.viewMode}`);return r(Ge,{class:n,exportparts:"file-viewer-pdf__pagination"},this.error&&r("swirl-inline-error",{class:"file-viewer-pdf__error",message:this.errorMessage}),r("div",{"aria-describedby":"pagination",class:"file-viewer-pdf__pages",onScroll:this.onScroll,ref:s=>this.scrollContainer=s},this.pages.map(s=>{const c=s.getViewport({scale:this.getScale(s)}),o=c.height,u=c.width,a=this.renderedPages.includes(s.pageNumber);return r("div",{"aria-label":s.pageNumber,class:"file-viewer-pdf__page","data-page-number":s.pageNumber,hidden:!this.singlePageMode||s.pageNumber===this.singlePageModePage?void 0:!0,id:`page-${s.pageNumber}`,key:s.pageNumber,role:"region",style:{width:`${u}px`,height:`${o}px`},tabIndex:0},!a&&r("swirl-spinner",{class:"file-viewer-pdf__page-spinner"}),r("canvas",{class:"file-viewer-pdf__canvas",style:{opacity:a?"1":"0"}}),r("div",{class:"file-viewer-pdf__text-container"}))})),e&&r("span",{class:"file-viewer-pdf__pagination",id:"pagination",part:"file-viewer-pdf__pagination"},r("span",{"aria-current":"page"},t)," / ",this.doc.numPages),i&&r("div",{class:"file-viewer-pdf__spinner"},r("swirl-spinner",null)))}get el(){return ht(this)}static get watchers(){return{file:["watchProps"],viewMode:["watchViewMode"],zoom:["watchZoom"]}}};_h.style=gI;const vI=":host{position:relative;display:inline-flex;width:100%;max-height:100%}:host *{box-sizing:border-box}.file-viewer-text__text{overflow:auto;width:100%;max-height:100%;margin:0;padding:0;padding:var(--s-space-16);background-color:var(--s-background-default);font-family:var(--s-font-family-code)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-text__text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-text__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-text__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}",Sh=class{constructor(e){ne(this,e),this.activate=Qe(this,"activate",7),this.errorMessage="File could not be loaded.",this.file=void 0,this.error=void 0,this.loading=void 0,this.text=void 0}componentWillLoad(){this.updateText()}componentDidLoad(){this.activate.emit(this.el)}async updateText(){this.error=!1,this.loading=!0;try{const e=await fetch(this.file);this.text=await e.text(),this.loading=!1}catch{this.loading=!1,this.error=!0}}render(){return r(Ge,{class:"file-viewer-text",exportparts:"file-viewer-text__text"},this.error&&r("swirl-inline-error",{class:"file-viewer-text__error",message:this.errorMessage}),r("pre",{class:"file-viewer-text__text",part:"file-viewer-text__text",tabIndex:0},this.text),this.loading&&r("div",{class:"file-viewer-text__spinner"},r("swirl-spinner",null)))}get el(){return ht(this)}static get watchers(){return{file:["updateText"]}}};Sh.style=vI;const wI=":host{display:inline-flex;width:100%;max-height:100%}:host *{box-sizing:border-box}.file-viewer-video__video{width:100%;background-color:rgba(0, 0, 0, 1)}",xh=class{constructor(e){ne(this,e),this.activate=Qe(this,"activate",7),this.autoplay=void 0,this.file=void 0,this.type=void 0}componentDidLoad(){this.activate.emit(this.el)}render(){return r(Ge,{class:"file-viewer-video"},r("video",{autoplay:this.autoplay,class:"file-viewer-video__video",controls:!0},r("source",{src:this.file,type:this.type})))}get el(){return ht(this)}};xh.style=wI;const kh=Object.freeze(Object.defineProperty({__proto__:null,swirl_file_viewer:gh,swirl_file_viewer_audio:vh,swirl_file_viewer_csv:wh,swirl_file_viewer_image:yh,swirl_file_viewer_pdf:_h,swirl_file_viewer_text:Sh,swirl_file_viewer_video:xh},Symbol.toStringTag,{value:"Module"})),yI=":host{display:inline-flex}",zh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M12.5333 13.6167L8.83333 9.91669C8.5 10.1722 8.11666 10.3778 7.68333 10.5334C7.25 10.6889 6.78889 10.7667 6.3 10.7667C5.06666 10.7667 4.02222 10.336 3.16666 9.47469C2.31111 8.6138 1.88333 7.56669 1.88333 6.33336C1.88333 5.10002 2.31111 4.05269 3.16666 3.19136C4.02222 2.33047 5.06666 1.90002 6.3 1.90002C7.53333 1.90002 8.58066 2.33047 9.442 3.19136C10.3029 4.05269 10.7333 5.10002 10.7333 6.33336C10.7333 6.82225 10.6584 7.28336 10.5087 7.71669C10.3584 8.15002 10.1556 8.5278 9.9 8.85002L13.6167 12.5834C13.75 12.7167 13.8167 12.8862 13.8167 13.092C13.8167 13.2974 13.7444 13.4722 13.6 13.6167C13.4556 13.7611 13.2751 13.8334 13.0587 13.8334C12.8418 13.8334 12.6667 13.7611 12.5333 13.6167ZM6.3 9.23336C7.11111 9.23336 7.8 8.95269 8.36667 8.39136C8.93333 7.83047 9.21666 7.14447 9.21666 6.33336C9.21666 5.52225 8.93333 4.83602 8.36667 4.27469C7.8 3.7138 7.11111 3.43336 6.3 3.43336C5.48889 3.43336 4.80289 3.7138 4.242 4.27469C3.68066 4.83602 3.4 5.52225 3.4 6.33336C3.4 7.14447 3.68066 7.83047 4.242 8.39136C4.80289 8.95269 5.48889 9.23336 6.3 9.23336Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M18.8 20.425L13.25 14.875C12.75 15.2583 12.175 15.5666 11.525 15.8C10.875 16.0333 10.1833 16.15 9.45001 16.15C7.60001 16.15 6.03335 15.504 4.75001 14.212C3.46668 12.9206 2.82501 11.35 2.82501 9.49998C2.82501 7.64998 3.46668 6.07898 4.75001 4.78698C6.03335 3.49564 7.60001 2.84998 9.45001 2.84998C11.3 2.84998 12.871 3.49564 14.163 4.78698C15.4543 6.07898 16.1 7.64998 16.1 9.49998C16.1 10.2333 15.9877 10.925 15.763 11.575C15.5377 12.225 15.2333 12.7916 14.85 13.275L20.425 18.875C20.625 19.075 20.725 19.3293 20.725 19.638C20.725 19.946 20.6167 20.2083 20.4 20.425C20.1833 20.6416 19.9127 20.75 19.588 20.75C19.2627 20.75 19 20.6416 18.8 20.425ZM9.45001 13.85C10.6667 13.85 11.7 13.429 12.55 12.587C13.4 11.7456 13.825 10.7166 13.825 9.49998C13.825 8.28331 13.4 7.25398 12.55 6.41198C11.7 5.57064 10.6667 5.14998 9.45001 5.14998C8.23335 5.14998 7.20435 5.57064 6.36301 6.41198C5.52101 7.25398 5.10001 8.28331 5.10001 9.49998C5.10001 10.7166 5.52101 11.7456 6.36301 12.587C7.20435 13.429 8.23335 13.85 9.45001 13.85Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M21.9333 23.8292L15.4583 17.3542C14.875 17.8014 14.2042 18.1611 13.4458 18.4333C12.6875 18.7056 11.8806 18.8417 11.025 18.8417C8.86667 18.8417 7.03889 18.088 5.54167 16.5807C4.04445 15.0741 3.29584 13.2417 3.29584 11.0833C3.29584 8.92501 4.04445 7.09218 5.54167 5.58485C7.03889 4.07829 8.86667 3.32501 11.025 3.32501C13.1833 3.32501 15.0162 4.07829 16.5235 5.58485C18.0301 7.09218 18.7833 8.92501 18.7833 11.0833C18.7833 11.9389 18.6523 12.7458 18.3902 13.5042C18.1273 14.2625 17.7722 14.9236 17.325 15.4875L23.8292 22.0208C24.0625 22.2542 24.1792 22.5509 24.1792 22.911C24.1792 23.2703 24.0528 23.5764 23.8 23.8292C23.5472 24.082 23.2314 24.2083 22.8527 24.2083C22.4731 24.2083 22.1667 24.082 21.9333 23.8292ZM11.025 16.1583C12.4444 16.1583 13.65 15.6672 14.6417 14.6848C15.6333 13.7033 16.1292 12.5028 16.1292 11.0833C16.1292 9.6639 15.6333 8.46301 14.6417 7.48068C13.65 6.49912 12.4444 6.00835 11.025 6.00835C9.60556 6.00835 8.40506 6.49912 7.4235 7.48068C6.44117 8.46301 5.95 9.6639 5.95 11.0833C5.95 12.5028 6.44117 13.7033 7.4235 14.6848C8.40506 15.6672 9.60556 16.1583 11.025 16.1583Z",fill:"currentColor"})))}};zh.style=yI;const Mh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_search:zh},Symbol.toStringTag,{value:"Module"})),_I=":host{display:inline-flex}",Ph=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 1.33337C4.31334 1.33337 1.33334 4.31337 1.33334 8.00004C1.33334 11.6867 4.31334 14.6667 8 14.6667C11.6867 14.6667 14.6667 11.6867 14.6667 8.00004C14.6667 4.31337 11.6867 1.33337 8 1.33337ZM10.8667 10.8667C10.6067 11.1267 10.1867 11.1267 9.92667 10.8667L8 8.94004L6.07334 10.8667C5.81334 11.1267 5.39334 11.1267 5.13334 10.8667C4.87334 10.6067 4.87334 10.1867 5.13334 9.92671L7.06 8.00004L5.13334 6.07337C4.87334 5.81337 4.87334 5.39337 5.13334 5.13337C5.39334 4.87337 5.81334 4.87337 6.07334 5.13337L8 7.06004L9.92667 5.13337C10.1867 4.87337 10.6067 4.87337 10.8667 5.13337C11.1267 5.39337 11.1267 5.81337 10.8667 6.07337L8.94 8.00004L10.8667 9.92671C11.12 10.18 11.12 10.6067 10.8667 10.8667Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM16.3 16.3C15.91 16.69 15.28 16.69 14.89 16.3L12 13.41L9.11 16.3C8.72 16.69 8.09 16.69 7.7 16.3C7.31 15.91 7.31 15.28 7.7 14.89L10.59 12L7.7 9.11C7.31 8.72 7.31 8.09 7.7 7.7C8.09 7.31 8.72 7.31 9.11 7.7L12 10.59L14.89 7.7C15.28 7.31 15.91 7.31 16.3 7.7C16.69 8.09 16.69 8.72 16.3 9.11L13.41 12L16.3 14.89C16.68 15.27 16.68 15.91 16.3 16.3Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 2.33337C7.54834 2.33337 2.33334 7.54837 2.33334 14C2.33334 20.4517 7.54834 25.6667 14 25.6667C20.4517 25.6667 25.6667 20.4517 25.6667 14C25.6667 7.54837 20.4517 2.33337 14 2.33337ZM19.0167 19.0167C18.5617 19.4717 17.8267 19.4717 17.3717 19.0167L14 15.645L10.6283 19.0167C10.1733 19.4717 9.43834 19.4717 8.98334 19.0167C8.52834 18.5617 8.52834 17.8267 8.98334 17.3717L12.355 14L8.98334 10.6284C8.52834 10.1734 8.52834 9.43837 8.98334 8.98337C9.43834 8.52837 10.1733 8.52837 10.6283 8.98337L14 12.355L17.3717 8.98337C17.8267 8.52837 18.5617 8.52837 19.0167 8.98337C19.4717 9.43837 19.4717 10.1734 19.0167 10.6284L15.645 14L19.0167 17.3717C19.46 17.815 19.46 18.5617 19.0167 19.0167Z",fill:"currentColor"})))}};Ph.style=_I;const SI=":host{display:inline-flex}",Ah=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M4.39999 9.85C4.25554 9.70556 4.18332 9.52778 4.18332 9.31667C4.18332 9.10556 4.25554 8.92778 4.39999 8.78333L7.46665 5.71667C7.54443 5.63889 7.62776 5.58333 7.71665 5.55C7.80554 5.51667 7.89999 5.5 7.99999 5.5C8.09999 5.5 8.19443 5.51667 8.28332 5.55C8.37221 5.58333 8.45554 5.63889 8.53332 5.71667L11.6167 8.8C11.7611 8.94444 11.8307 9.11667 11.8253 9.31667C11.8195 9.51667 11.7444 9.69444 11.6 9.85C11.4555 9.98333 11.2778 10.05 11.0667 10.05C10.8555 10.05 10.6778 9.98333 10.5333 9.85L7.99999 7.3L5.44999 9.86667C5.30554 10 5.13332 10.0667 4.93332 10.0667C4.73332 10.0667 4.55554 9.99444 4.39999 9.85V9.85Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M6.59999 14.775C6.38333 14.5583 6.27499 14.2917 6.27499 13.975C6.27499 13.6583 6.38333 13.3917 6.59999 13.175L11.2 8.575C11.3167 8.45833 11.4417 8.375 11.575 8.325C11.7083 8.275 11.85 8.25 12 8.25C12.15 8.25 12.2917 8.275 12.425 8.325C12.5583 8.375 12.6833 8.45833 12.8 8.575L17.425 13.2C17.6417 13.4167 17.746 13.675 17.738 13.975C17.7293 14.275 17.6167 14.5417 17.4 14.775C17.1833 14.975 16.9167 15.075 16.6 15.075C16.2833 15.075 16.0167 14.975 15.8 14.775L12 10.95L8.17499 14.8C7.95833 15 7.69999 15.1 7.39999 15.1C7.09999 15.1 6.83333 14.9917 6.59999 14.775Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M7.7 17.2375C7.44722 16.9847 7.32083 16.6736 7.32083 16.3042C7.32083 15.9347 7.44722 15.6236 7.7 15.3708L13.0667 10.0042C13.2028 9.86806 13.3486 9.77083 13.5042 9.7125C13.6597 9.65417 13.825 9.625 14 9.625C14.175 9.625 14.3403 9.65417 14.4958 9.7125C14.6514 9.77083 14.7972 9.86806 14.9333 10.0042L20.3292 15.4C20.5819 15.6528 20.7037 15.9542 20.6943 16.3042C20.6842 16.6542 20.5528 16.9653 20.3 17.2375C20.0472 17.4708 19.7361 17.5875 19.3667 17.5875C18.9972 17.5875 18.6861 17.4708 18.4333 17.2375L14 12.775L9.5375 17.2667C9.28472 17.5 8.98333 17.6167 8.63333 17.6167C8.28333 17.6167 7.97222 17.4903 7.7 17.2375V17.2375Z",fill:"currentColor"})))}};Ah.style=SI;const xI=":host{display:inline-flex}",Th=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 3C4.66666 3 1.82 5.07333 0.666664 8C1.82 10.9267 4.66666 13 8 13C11.3333 13 14.18 10.9267 15.3333 8C14.18 5.07333 11.3333 3 8 3ZM8 11.3333C6.16 11.3333 4.66666 9.84 4.66666 8C4.66666 6.16 6.16 4.66667 8 4.66667C9.84 4.66667 11.3333 6.16 11.3333 8C11.3333 9.84 9.84 11.3333 8 11.3333ZM8 6C6.89333 6 6 6.89333 6 8C6 9.10667 6.89333 10 8 10C9.10666 10 10 9.10667 10 8C10 6.89333 9.10666 6 8 6Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 5.25C8.16666 5.25 3.185 8.87833 1.16666 14C3.185 19.1217 8.16666 22.75 14 22.75C19.8333 22.75 24.815 19.1217 26.8333 14C24.815 8.87833 19.8333 5.25 14 5.25ZM14 19.8333C10.78 19.8333 8.16666 17.22 8.16666 14C8.16666 10.78 10.78 8.16667 14 8.16667C17.22 8.16667 19.8333 10.78 19.8333 14C19.8333 17.22 17.22 19.8333 14 19.8333ZM14 10.5C12.0633 10.5 10.5 12.0633 10.5 14C10.5 15.9367 12.0633 17.5 14 17.5C15.9367 17.5 17.5 15.9367 17.5 14C17.5 12.0633 15.9367 10.5 14 10.5Z",fill:"currentColor"})))}};Th.style=xI;const kI=":host{display:inline-flex}",Lh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M7.99999 4.31339C9.83999 4.31339 11.3333 5.80672 11.3333 7.64672C11.3333 7.98672 11.2667 8.31339 11.1733 8.62006L13.2133 10.6601C14.14 9.84006 14.8733 8.81339 15.3333 7.64006C14.18 4.72006 11.3333 2.64672 7.99999 2.64672C7.15332 2.64672 6.33999 2.78006 5.57332 3.02672L7.01999 4.47339C7.33332 4.38006 7.65999 4.31339 7.99999 4.31339ZM1.80666 2.08672C1.54666 2.34672 1.54666 2.76672 1.80666 3.02672L3.11999 4.34006C2.03999 5.20006 1.17999 6.33339 0.666656 7.64672C1.81999 10.5734 4.66666 12.6467 7.99999 12.6467C9.01332 12.6467 9.97999 12.4467 10.8733 12.1001L12.6867 13.9134C12.9467 14.1734 13.3667 14.1734 13.6267 13.9134C13.8867 13.6534 13.8867 13.2334 13.6267 12.9734L2.75332 2.08672C2.49332 1.82672 2.06666 1.82672 1.80666 2.08672ZM7.99999 10.9801C6.15999 10.9801 4.66666 9.48672 4.66666 7.64672C4.66666 7.13339 4.78666 6.64672 4.99332 6.22006L6.03999 7.26672C6.01999 7.38672 5.99999 7.51339 5.99999 7.64672C5.99999 8.75339 6.89332 9.64672 7.99999 9.64672C8.13332 9.64672 8.25332 9.62672 8.37999 9.60006L9.42666 10.6467C8.99332 10.8601 8.51332 10.9801 7.99999 10.9801ZM9.97999 7.42672C9.87999 6.49339 9.14666 5.76672 8.21999 5.66672L9.97999 7.42672Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 6.47002C14.76 6.47002 17 8.71002 17 11.47C17 11.98 16.9 12.47 16.76 12.93L19.82 15.99C21.21 14.76 22.31 13.22 23 11.46C21.27 7.08002 17 3.97002 12 3.97002C10.73 3.97002 9.51 4.17002 8.36 4.54002L10.53 6.71002C11 6.57002 11.49 6.47002 12 6.47002ZM2.71 3.13002C2.32 3.52002 2.32 4.15002 2.71 4.54002L4.68 6.51002C3.06 7.80002 1.77 9.50002 1 11.47C2.73 15.86 7 18.97 12 18.97C13.52 18.97 14.97 18.67 16.31 18.15L19.03 20.87C19.42 21.26 20.05 21.26 20.44 20.87C20.83 20.48 20.83 19.85 20.44 19.46L4.13 3.13002C3.74 2.74002 3.1 2.74002 2.71 3.13002ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 7.54834C17.22 7.54834 19.8333 10.1617 19.8333 13.3817C19.8333 13.9767 19.7167 14.5483 19.5533 15.085L23.1233 18.655C24.745 17.22 26.0283 15.4233 26.8333 13.37C24.815 8.26001 19.8333 4.63167 14 4.63167C12.5183 4.63167 11.095 4.86501 9.75332 5.29667L12.285 7.82834C12.8333 7.66501 13.405 7.54834 14 7.54834ZM3.16166 3.65167C2.70666 4.10667 2.70666 4.84167 3.16166 5.29667L5.45999 7.59501C3.56999 9.10001 2.06499 11.0833 1.16666 13.3817C3.18499 18.5033 8.16666 22.1317 14 22.1317C15.7733 22.1317 17.465 21.7817 19.0283 21.175L22.2017 24.3483C22.6567 24.8033 23.3917 24.8033 23.8467 24.3483C24.3017 23.8933 24.3017 23.1583 23.8467 22.7033L4.81832 3.65167C4.36332 3.19667 3.61666 3.19667 3.16166 3.65167ZM14 19.215C10.78 19.215 8.16666 16.6017 8.16666 13.3817C8.16666 12.4833 8.37666 11.6317 8.73832 10.885L10.57 12.7167C10.535 12.9267 10.5 13.1483 10.5 13.3817C10.5 15.3183 12.0633 16.8817 14 16.8817C14.2333 16.8817 14.4433 16.8467 14.665 16.8L16.4967 18.6317C15.7383 19.005 14.8983 19.215 14 19.215ZM17.465 12.9967C17.29 11.3633 16.0067 10.0917 14.385 9.91667L17.465 12.9967Z",fill:"currentColor"})))}};Lh.style=kI;const Eh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_cancel:Ph,swirl_icon_expand_less:Ah,swirl_icon_visibility:Th,swirl_icon_visibility_off:Lh},Symbol.toStringTag,{value:"Module"})),zI=".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-swirl-option-list{box-sizing:border-box}",Ih=class{constructor(e){ne(this,e),this.itemDrop=Qe(this,"itemDrop",7),this.valueChange=Qe(this,"valueChange",7),this.onClick=t=>{t.preventDefault();const i=t.target,n=i==null?void 0:i.closest("swirl-option-list-item"),s=t.composedPath()[0],c=Boolean(d1(s,'[role="option"]'));if(!Boolean(n)||!c){t.preventDefault();return}this.selectItem(this.items.findIndex(o=>o.value===n.value))},this.onKeyDown=t=>{if(t.code==="ArrowDown")t.preventDefault(),Boolean(this.dragging)?this.moveDraggedItemDown():this.focusNextItem();else if(t.code==="ArrowUp")t.preventDefault(),Boolean(this.dragging)?this.moveDraggedItemUp():this.focusPreviousItem();else if(t.code==="Space"||t.code==="Enter"){if(!t.target.classList.contains("option-list-item__drag-handle")&&Boolean(this.dragging)){t.preventDefault(),this.stopDrag(this.dragging);return}const n=t.composedPath()[0];if(!Boolean(d1(n,'[role="option"]')))return;t.preventDefault(),Boolean(this.dragging)?this.stopDrag(this.dragging):this.selectFocusedItem()}else t.code==="Home"?(t.preventDefault(),this.focusItem(0)):t.code==="End"?(t.preventDefault(),this.focusItem(this.items.length-1)):t.code==="KeyA"&&(t.metaKey||t.ctrlKey)&&this.multiSelect?(t.preventDefault(),this.selectAllItems()):t.code==="Tab"&&Boolean(this.dragging)&&t.preventDefault()},this.toggleDrag=t=>{const i=t.detail;Boolean(this.dragging)?this.stopDrag(i):this.startDrag(i)},this.startDrag=t=>{this.dragging=t,this.draggingStartIndex=this.getItemIndex(this.dragging),t.setAttribute("dragging","true");const i=this.getItemIndex(this.dragging);this.focusItem(i),this.assistiveText=this.assistiveTextItemGrabbed},this.stopDrag=t=>{this.dragging=void 0,t.removeAttribute("dragging");const i=this.getActiveItemIndex();this.assistiveText=`${this.assistiveTextItemMoved} ${i+1}`,this.itemDrop.emit({item:t,oldIndex:this.draggingStartIndex,newIndex:i}),this.draggingStartIndex=void 0,this.focusItem(i)},this.allowDeselect=!0,this.allowDrag=void 0,this.assistiveTextItemGrabbed="Item grabbed. Use arrow keys to move item up or down. Use spacebar to save position.",this.assistiveTextItemMoving="Current position:",this.assistiveTextItemMoved="Item moved. New position:",this.disabled=void 0,this.label=void 0,this.optionListId=void 0,this.multiSelect=void 0,this.value=[],this.assistiveText=void 0}componentDidLoad(){this.updateItems(),this.observeSlotChanges(),this.setItemAllowDragState(),this.setItemDisabledState(),this.setItemContext(),this.syncItemsWithValue(),this.setupDragDrop()}componentDidRender(){this.setupDragDrop()}disconnectedCallback(){var e,t;(e=this.observer)==null||e.disconnect(),(t=this.sortable)==null||t.destroy()}watchAllowDrag(){this.setItemAllowDragState(),this.setupDragDrop()}watchDisabled(){this.setItemDisabledState()}watchMultiSelect(){this.setItemContext()}watchValue(){this.syncItemsWithValue()}observeSlotChanges(){this.observer=new MutationObserver(()=>{this.updateItems(),this.setItemAllowDragState(),this.setItemDisabledState(),this.setItemContext(),this.syncItemsWithValue()}),this.observer.observe(this.listboxEl,{childList:!0})}updateItems(){var t;this.items=Zt(this.el,"swirl-option-list-item"),this.items.forEach(i=>{var n;return(n=i.querySelector('[role="option"]'))==null?void 0:n.removeAttribute("tabIndex")});const e=(t=this.items[0])==null?void 0:t.querySelector('[role="option"]');!Boolean(e)||e.setAttribute("tabIndex","0")}setItemDisabledState(){this.disabled&&this.items.forEach(e=>e.disabled=!0)}setItemContext(){this.multiSelect?this.items.forEach(e=>e.context="multi-select"):(this.items.forEach(e=>e.context="single-select"),this.value.length>1&&this.updateValue([this.value[0]]))}setupDragDrop(){Boolean(this.sortable)&&this.sortable.destroy(),this.allowDrag&&(this.sortable=dt.create(this.listboxEl,{animation:150,draggable:"swirl-option-list-item",handle:".option-list-item__drag-handle",onEnd:e=>{this.itemDrop.emit({item:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex})}}))}setItemAllowDragState(){if(this.allowDrag&&!this.multiSelect){console.error("[SwirlOptionList] Drag can only be allowed for multi select lists.");return}const e=Zt(this.el,"swirl-option-list-section");if(this.allowDrag&&e.length>0){console.error("[SwirlOptionList] Drag can only be allowed for lists without sections.");return}this.allowDrag?this.items.forEach(t=>{t.setAttribute("allow-drag","true"),t.addEventListener("toggleDrag",this.toggleDrag)}):this.items.forEach(t=>{t.removeAttribute("allow-drag"),t.removeEventListener("toggleDrag",this.toggleDrag)})}selectItem(e){if(this.disabled)return;const t=this.items[e];if(t.disabled)return;const i=this.value.includes(t.value);i&&!this.allowDeselect||(this.multiSelect||(this.value=[]),i?this.updateValue(this.value.filter(n=>n!==t.value)):this.updateValue([...this.value,t.value]),this.focusItem(e))}updateValue(e){this.value=e,this.valueChange.emit(this.value)}selectFocusedItem(){this.disabled||this.getActiveItemIndex()===-1||this.selectItem(this.getActiveItemIndex())}selectAllItems(){if(this.disabled)return;this.items.every(t=>this.value.includes(t.value))?this.updateValue([]):this.updateValue(this.items.map(t=>t.value))}syncItemsWithValue(){var e;(e=this.items)==null||e.forEach(t=>t.selected=this.value.includes(t.value))}focusItem(e){var i;if(this.disabled)return;this.items.forEach(n=>n.querySelector('[role="option"]').removeAttribute("tabIndex"));const t=(i=this.items[e])==null?void 0:i.querySelector('[role="option"]');!Boolean(t)||(t.setAttribute("tabIndex","0"),t.focus(),this.focusedItem=t)}focusNextItem(){if(this.disabled)return;const e=this.getActiveItemIndex(),t=Math.min(e+1,this.items.length-1);this.focusItem(t)}focusPreviousItem(){const e=this.getActiveItemIndex(),t=Math.max(e-1,0);this.focusItem(t)}getActiveItemIndex(){return Boolean(this.focusedItem)?this.items.map(e=>e.querySelector('[role="option"]')).findIndex(e=>e===this.focusedItem):0}getItemIndex(e){return this.items.map(t=>t).findIndex(t=>t===e)}moveDraggedItemDown(){const e=this.dragging.nextElementSibling;!Boolean(e)||(e.after(this.dragging),this.updateItems(),this.listboxEl.focus(),this.assistiveText=`${this.assistiveTextItemMoving} ${this.getActiveItemIndex()+1}`)}moveDraggedItemUp(){const e=this.dragging.previousElementSibling;!Boolean(e)||(e.before(this.dragging),this.updateItems(),this.listboxEl.focus(),this.assistiveText=`${this.assistiveTextItemMoving} ${this.getItemIndex(this.dragging)+1}`)}render(){const e=this.multiSelect?"true":void 0,t=Boolean(this.dragging)?0:void 0;return r(Ge,null,r("swirl-visually-hidden",{role:"alert"},this.assistiveText),r("div",{"aria-label":this.label,"aria-multiselectable":e,class:"option-list",id:this.optionListId,onClick:this.onClick,onKeyDown:this.onKeyDown,ref:i=>this.listboxEl=i,role:"listbox",tabIndex:t},r("slot",null)))}get el(){return ht(this)}static get watchers(){return{allowDrag:["watchAllowDrag"],disabled:["watchDisabled"],multiSelect:["watchMultiSelect"],value:["watchValue"]}}};Ih.style=zI;const MI=":host{display:inline-flex;max-width:100%}:host *{box-sizing:border-box}.tag{display:inline-flex;max-width:100%;padding:var(--s-space-2) var(--s-space-8);align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-default);background-color:var(--s-surface-neutral-subdued);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;gap:var(--s-space-4)}.tag--intent-info{color:var(--s-text-info);background-color:var(--s-surface-info-subdued)}.tag--intent-info .tag__removal-button{color:var(--icon-info)}.tag--intent-critical{color:var(--s-text-critical);background-color:var(--s-surface-critical-subdued)}.tag--intent-critical .tag__removal-button{color:var(--icon-critical)}.tag--intent-warning{color:var(--s-text-warning);background-color:var(--s-surface-warning-subdued)}.tag--intent-warning .tag__removal-button{color:var(--icon-warning)}.tag--intent-success{color:var(--s-text-success);background-color:var(--s-surface-success-subdued)}.tag--intent-success .tag__removal-button{color:var(--icon-success)}.tag__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis}.tag__removal-button{display:inline-flex;margin-right:calc(-1 * var(--s-space-4));padding:0;border:none;color:var(--s-icon-strong);background-color:transparent;cursor:pointer}.tag__removal-button:focus:not(:focus-visible){outline:none}.tag__removal-button:focus-visible{outline-color:var(--s-focus-default)}",Oh=class{constructor(e){ne(this,e),this.remove=Qe(this,"remove",7),this.onRemove=t=>{var i;(i=this.remove)==null||i.emit(t)},this.intent="default",this.label=void 0,this.removable=void 0,this.removalButtonLabel="Remove"}render(){const e=ce("tag",`tag--intent-${this.intent}`);return r(Ge,null,r("span",{class:e,part:"tag"},r("span",{class:"tag__label"},this.label),this.removable&&r("button",{"aria-label":this.removalButtonLabel,class:"tag__removal-button",onClick:this.onRemove,tabIndex:this.el.ariaHidden==="true"?-1:void 0,type:"button"},r("swirl-icon-close",{size:16}))))}get el(){return ht(this)}};Oh.style=MI;const $h=Object.freeze(Object.defineProperty({__proto__:null,swirl_option_list:Ih,swirl_tag:Oh},Symbol.toStringTag,{value:"Module"}));function Rh(e,t){const i=new Date(e);return i.setDate(i.getDate()+t),i}function PI(e,t,i){const n=[],s=c3(e),c=s.getDay()===0?7:s.getDay(),o=Hh(e),u=o.getDay()===0?7:o.getDay(),a=i===1?7:i-1,d=[],p=[];if(t){let A=(7-i+c)%7,_=u3(s);for(;A>0;)d.push(_),_=u3(_),A-=1;d.reverse();let k=(7-u+a)%7,N=Rs(o);for(;k>0;)p.push(N),N=Rs(N),k-=1}let b=s;for(;b.getMonth()===e.getMonth();)n.push(b),b=Rs(b);return[...d,...n,...p]}function c3(e){return mi(new Date(`${jh(e)}-${String(Dh(e)).padStart(2,"0")}-01`))}function Ci(e){if(e instanceof Date)return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function Hh(e){const t=c3(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t}function Dh(e){return e.getMonth()+1}function AI(e){return new Array(12).fill(void 0).map((t,i)=>{const n=mi(new Date(`2006-${String(i+1).padStart(2,"0")}-01`));return Intl.DateTimeFormat(e,{month:"long"}).format(n)})}function Rs(e){return Rh(e,1)}function Vh(e){const t=new Date(e);return t.setMonth(t.getMonth()+1),t}function Bh(e){const t=new Date(e);return t.setFullYear(t.getFullYear()+1),t}function u3(e){return Zh(e,1)}function Fh(e){const t=new Date(e);return t.setMonth(t.getMonth()-1),t}function Nh(e){const t=new Date(e);return t.setFullYear(t.getFullYear()-1),t}function TI(e,t){return new Array(7).fill(void 0).map((i,n)=>(e+n)%7+1).map(i=>{const n=mi(new Date(`2006-01-0${i}`));return[Intl.DateTimeFormat(t,{weekday:"short"}).format(n),Intl.DateTimeFormat(t,{weekday:"long"}).format(n)]})}function jh(e){return e.getFullYear()}function LI(e,t){if(!e||!t||!t.from||!t.to)return!1;const i=t.from<t.to?t.from:t.to,n=t.from<t.to?t.to:t.from;return e>=i&&e<=n}function G1(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function mi(e){const t=new Date(e);return t.setMinutes(t.getMinutes()+t.getTimezoneOffset()),t}function Zh(e,t){const i=new Date(e);return i.setDate(i.getDate()-t),i}const EI=".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}",II={clearButton:"Clear value",monthSelect:"Select month",nextMonthButton:"Next month",nextYearButton:"Next year",picker:"Choose date",previousMonthButton:"Previous month",previousYearButton:"Previous year",todayButton:"Show today",yearSelect:"Select year"},Wh=class{constructor(e){ne(this,e),this.selectDate=Qe(this,"selectDate",7),this.changeMonth=Qe(this,"changeMonth",7),this.disabled=!1,this.disableDate=()=>!1,this.elementClassName="wc-datepicker",this.firstDayOfWeek=0,this.labels=II,this.locale=(navigator==null?void 0:navigator.language)||"en-US",this.showClearButton=!1,this.showMonthStepper=!0,this.showTodayButton=!1,this.showYearStepper=!1,this.startDate=Ci(new Date),this.init=()=>{this.currentDate=this.startDate?mi(new Date(this.startDate)):new Date,this.updateWeekdays()},this.nextMonth=()=>{this.updateCurrentDate(Vh(this.currentDate))},this.nextYear=()=>{this.updateCurrentDate(Bh(this.currentDate))},this.previousMonth=()=>{this.updateCurrentDate(Fh(this.currentDate))},this.previousYear=()=>{this.updateCurrentDate(Nh(this.currentDate))},this.showToday=()=>{this.updateCurrentDate(new Date)},this.clear=()=>{this.value=void 0,this.selectDate.emit(void 0)},this.onClick=t=>{if(this.disabled)return;const i=t.target.closest("[data-date]");if(!Boolean(i))return;const n=mi(new Date(i.dataset.date));this.updateCurrentDate(n),this.onSelectDate(n)},this.onMonthSelect=t=>{const i=+t.target.value-1,n=new Date(this.currentDate);n.setMonth(i),this.updateCurrentDate(n)},this.onYearSelect=t=>{const i=+t.target.value,n=new Date(this.currentDate);n.setFullYear(i),this.updateCurrentDate(n)},this.onKeyDown=t=>{this.disabled||(t.code==="ArrowLeft"?(t.preventDefault(),this.updateCurrentDate(u3(this.currentDate),!0)):t.code==="ArrowRight"?(t.preventDefault(),this.updateCurrentDate(Rs(this.currentDate),!0)):t.code==="ArrowUp"?(t.preventDefault(),this.updateCurrentDate(Zh(this.currentDate,7),!0)):t.code==="ArrowDown"?(t.preventDefault(),this.updateCurrentDate(Rh(this.currentDate,7),!0)):t.code==="PageUp"?(t.preventDefault(),t.shiftKey?this.updateCurrentDate(Nh(this.currentDate),!0):this.updateCurrentDate(Fh(this.currentDate),!0)):t.code==="PageDown"?(t.preventDefault(),t.shiftKey?this.updateCurrentDate(Bh(this.currentDate),!0):this.updateCurrentDate(Vh(this.currentDate),!0)):t.code==="Home"?(t.preventDefault(),this.updateCurrentDate(c3(this.currentDate),!0)):t.code==="End"?(t.preventDefault(),this.updateCurrentDate(Hh(this.currentDate),!0)):(t.code==="Space"||t.code==="Enter")&&(t.preventDefault(),this.onSelectDate(this.currentDate)))},this.onMouseEnter=t=>{if(this.disabled)return;const i=mi(new Date(t.target.closest("td").dataset.date));this.hoveredDate=i},this.onMouseLeave=()=>{this.hoveredDate=void 0}}componentWillLoad(){this.init()}watchFirstDayOfWeek(){this.updateWeekdays()}watchLocale(){Boolean(this.locale)||(this.locale=(navigator==null?void 0:navigator.language)||"en-US"),this.updateWeekdays()}watchRange(){this.value=void 0,this.selectDate.emit(void 0)}watchStartDate(){this.currentDate=this.startDate?mi(new Date(this.startDate)):new Date}watchValue(){Boolean(this.value)&&(Array.isArray(this.value)&&this.value.length>=1?this.currentDate=this.value[0]:this.value instanceof Date&&(this.currentDate=this.value))}componentDidRender(){this.moveFocusAfterMonthChanged&&(this.focusDate(this.currentDate),this.moveFocusAfterMonthChanged=!1)}updateWeekdays(){this.weekdays=TI(this.firstDayOfWeek===0?7:this.firstDayOfWeek,this.locale)}getClassName(e){return Boolean(e)?`${this.elementClassName}__${e}`:this.elementClassName}getCalendarRows(){const e=PI(this.currentDate,!0,this.firstDayOfWeek===0?7:this.firstDayOfWeek),t=[];for(let i=0;i<e.length;i+=7){const n=e.slice(i,i+7);t.push(n)}return t}getTitle(){if(!!Boolean(this.currentDate))return Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.currentDate)}focusDate(e){var t;(t=this.el.querySelector(`[data-date="${Ci(e)}"]`))===null||t===void 0||t.focus()}updateCurrentDate(e,t){const i=e.getMonth(),n=e.getFullYear();(i!==this.currentDate.getMonth()||n!==this.currentDate.getFullYear())&&(this.changeMonth.emit({month:Dh(e),year:jh(e)}),t&&(this.moveFocusAfterMonthChanged=!0)),this.currentDate=e,t&&this.focusDate(this.currentDate)}onSelectDate(e){var t,i;if(!this.disableDate(e))if(this.isRangeValue(this.value)){const n=((t=this.value)===null||t===void 0?void 0:t[0])===void 0||this.value.length===2?[e]:[this.value[0],e];n.length===2&&n[0]>n[1]&&n.reverse();const s=n[1]===void 0?[Ci(n[0])]:[Ci(n[0]),Ci(n[1])];this.value=n,this.selectDate.emit(s)}else{if(((i=this.value)===null||i===void 0?void 0:i.getTime())===e.getTime())return;this.value=e,this.selectDate.emit(Ci(e))}}isRangeValue(e){return this.range}render(){const e=this.showTodayButton||this.showClearButton;return r(Ge,null,r("div",{"aria-disabled":String(this.disabled),"aria-label":this.labels.picker,class:{[this.getClassName()]:!0,[`${this.getClassName()}--disabled`]:this.disabled},role:"group"},r("div",{class:this.getClassName("header")},r("span",{"aria-atomic":"true","aria-live":"polite",class:"visually-hidden"},this.getTitle()),this.showYearStepper&&r("button",{"aria-label":this.labels.previousYearButton,class:this.getClassName("previous-year-button"),disabled:this.disabled,innerHTML:this.previousYearButtonContent||void 0,onClick:this.previousYear,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"11 17 6 12 11 7"}),r("polyline",{points:"18 17 13 12 18 7"}))),this.showMonthStepper&&r("button",{"aria-label":this.labels.previousMonthButton,class:this.getClassName("previous-month-button"),disabled:this.disabled,innerHTML:this.previousMonthButtonContent||void 0,onClick:this.previousMonth,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"15 18 9 12 15 6"}))),r("span",{class:this.getClassName("current-month")},r("select",{"aria-label":this.labels.monthSelect,class:this.getClassName("month-select"),disabled:this.disabled,name:"month",onChange:this.onMonthSelect},AI(this.locale).map((t,i)=>r("option",{key:t,selected:this.currentDate.getMonth()===i,value:i+1},t))),r("input",{"aria-label":this.labels.yearSelect,class:this.getClassName("year-select"),disabled:this.disabled,max:9999,min:1,name:"year",onChange:this.onYearSelect,type:"number",value:this.currentDate.getFullYear()})),this.showMonthStepper&&r("button",{"aria-label":this.labels.nextMonthButton,class:this.getClassName("next-month-button"),disabled:this.disabled,innerHTML:this.nextMonthButtonContent||void 0,onClick:this.nextMonth,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"9 18 15 12 9 6"}))),this.showYearStepper&&r("button",{"aria-label":this.labels.nextYearButton,class:this.getClassName("next-year-button"),disabled:this.disabled,innerHTML:this.nextYearButtonContent||void 0,onClick:this.nextYear,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"13 17 18 12 13 7"}),r("polyline",{points:"6 17 11 12 6 7"})))),r("div",{class:this.getClassName("body")},r("table",{class:this.getClassName("calendar"),onKeyDown:this.onKeyDown,role:"grid"},r("thead",{class:this.getClassName("calendar-header")},r("tr",{class:this.getClassName("weekday-row")},this.weekdays.map(t=>r("th",{abbr:t[1],class:this.getClassName("weekday"),key:t[0],scope:"col"},r("span",null,t[0]))))),r("tbody",null,this.getCalendarRows().map(t=>{const i=`row-${t[0].getMonth()}-${t[0].getDate()}`;return r("tr",{class:this.getClassName("calendar-row"),key:i},t.map(n=>{var s,c,o,u,a;const d=G1(n,this.currentDate),p=n.getMonth()!==this.currentDate.getMonth(),b=Array.isArray(this.value)?G1(n,this.value[0])||G1(n,this.value[1]):G1(n,this.value),M=this.isRangeValue?LI(n,{from:(s=this.value)===null||s===void 0?void 0:s[0],to:((c=this.value)===null||c===void 0?void 0:c[1])||this.hoveredDate||this.currentDate}):!1,A=Boolean((o=this.value)===null||o===void 0?void 0:o[0])?[(u=this.value)===null||u===void 0?void 0:u[0],((a=this.value)===null||a===void 0?void 0:a[1])||this.hoveredDate].sort((S,I)=>S-I):[],_=this.range&&G1(A[0],n),g=this.range&&G1(A[1],n),k=G1(n,new Date),N=this.disableDate(n),h=`cell-${n.getMonth()}-${n.getDate()}`,v={[this.getClassName("date")]:!0,[this.getClassName("date--current")]:d,[this.getClassName("date--disabled")]:N,[this.getClassName("date--overflowing")]:p,[this.getClassName("date--today")]:k,[this.getClassName("date--selected")]:b,[this.getClassName("date--in-range")]:M,[this.getClassName("date--start")]:_,[this.getClassName("date--end")]:g},O=b?"strong":k?"em":"span";return r("td",{"aria-disabled":String(N),"aria-selected":b?"true":void 0,class:v,"data-date":Ci(n),key:h,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"gridcell",tabIndex:G1(n,this.currentDate)&&!this.disabled?0:-1},r(O,{"aria-hidden":"true"},n.getDate()),r("span",{class:"visually-hidden"},Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long"}).format(n)))}))})))),e&&r("div",{class:this.getClassName("footer")},this.showTodayButton&&r("button",{class:this.getClassName("today-button"),disabled:this.disabled,innerHTML:this.todayButtonContent||void 0,onClick:this.showToday,type:"button"},this.labels.todayButton),this.showClearButton&&r("button",{class:this.getClassName("clear-button"),disabled:this.disabled,innerHTML:this.clearButtonContent||void 0,onClick:this.clear,type:"button"},this.labels.clearButton))))}get el(){return ht(this)}static get watchers(){return{firstDayOfWeek:["watchFirstDayOfWeek"],locale:["watchLocale"],range:["watchRange"],startDate:["watchStartDate"],value:["watchValue"]}}};Wh.style=EI;const Uh=Object.freeze(Object.defineProperty({__proto__:null,wc_datepicker:Wh},Symbol.toStringTag,{value:"Module"})),OI=":host{display:inline-flex}",Gh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4142 4.91924C12.8047 5.30976 12.8047 5.94293 12.4142 6.33345L7.08086 11.6667C6.69033 12.0572 6.05717 12.0572 5.66664 11.6667L3.70711 9.70707C3.31658 9.31655 3.31658 8.68338 3.70711 8.29286C4.09763 7.90233 4.7308 7.90233 5.12132 8.29286L6.37375 9.54539L11 4.91924C11.3905 4.52871 12.0237 4.52871 12.4142 4.91924Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.6213 7.37879C19.2071 7.96458 19.2071 8.91433 18.6213 9.50011L10.6213 17.5C10.0355 18.0858 9.08577 18.0858 8.49998 17.5L5.56068 14.5605C4.97489 13.9748 4.97489 13.025 5.56068 12.4392C6.14646 11.8534 7.09621 11.8534 7.682 12.4392L9.56064 14.318L16.5 7.37879C17.0858 6.79301 18.0355 6.79301 18.6213 7.37879Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.7248 8.60863C22.4083 9.29205 22.4083 10.4001 21.7248 11.0835L12.3915 20.4167C11.7081 21.1001 10.6001 21.1001 9.91663 20.4167L6.48744 16.9873C5.80403 16.3039 5.80403 15.1959 6.48744 14.5125C7.17086 13.8291 8.2789 13.8291 8.96232 14.5125L11.1541 16.7044L19.25 8.60863C19.9334 7.92521 21.0414 7.92521 21.7248 8.60863Z",fill:"currentColor"})))}};Gh.style=OI;const $I=":host{display:inline-flex}",Yh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("rect",{x:"9",y:"3",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"9",y:"7",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"9",y:"11",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"3",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"7",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"11",width:"2",height:"2",rx:"1",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("rect",{x:"13.5",y:"4.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"13.5",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"13.5",y:"16.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"4.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"16.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"})),this.size===28&&r(V,null,r("rect",{x:"15.75",y:"5.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"15.75",y:"12.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"15.75",y:"19.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"5.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"12.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"19.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"})))}};Yh.style=$I;const RI=`.sc-swirl-option-list-item-h{position:relative;display:inline-flex;width:100%}.sc-swirl-option-list-item-h *.sc-swirl-option-list-item{box-sizing:border-box}.option-list-item.sc-swirl-option-list-item{display:inline-flex;width:100%;min-width:15rem;min-height:3rem;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-surface-overlay-default);cursor:pointer;gap:var(--s-space-12)}.option-list-item.sc-swirl-option-list-item:hover:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-hovered)}.option-list-item.sc-swirl-option-list-item:active:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.option-list-item.sc-swirl-option-list-item:focus{outline:none}.option-list-item.sc-swirl-option-list-item:focus-visible{background-color:var(--s-surface-overlay-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item.sc-swirl-option-list-item{min-height:0;padding:var(--s-space-8) var(--s-space-12);gap:var(--s-space-8)}}.option-list-item--draggable.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{padding-right:calc(var(--s-space-16) + 1.5rem)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item--draggable.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{padding-right:calc(var(--s-space-16) + 1rem)}}.option-list-item--dragging.sc-swirl-option-list-item{z-index:1;border-radius:var(--s-border-radius-s);background-color:var(--s-surface-overlay-pressed);box-shadow:0 0.0625rem 0.125rem rgba(25, 26, 28, 0.08),
|
|
453
|
-
0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.option-list-item--dragging.sc-swirl-option-list-item:hover:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{color:var(--s-text-highlight)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__icon.sc-swirl-option-list-item{color:var(--s-icon-highlight)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{border-color:var(--s-icon-highlight);color:var(--s-text-on-status);background-color:var(--s-icon-highlight)}.option-list-item--disabled.sc-swirl-option-list-item{cursor:default}.option-list-item--disabled.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{background-color:var(--s-icon-disabled)}.option-list-item--disabled.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-icon.sc-swirl-option-list-item{color:var(--s-text-on-status)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{color:var(--s-text-disabled)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__icon.sc-swirl-option-list-item,.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__selection-icon.sc-swirl-option-list-item,.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__checkbox-icon.sc-swirl-option-list-item{color:var(--s-icon-disabled)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-surface-overlay-default)}.option-list-item__label.sc-swirl-option-list-item{flex-grow:1;color:var(--s-text-default);font-size:var(--s-font-size-base);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-item__label.sc-swirl-option-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.option-list-item__icon.sc-swirl-option-list-item{display:inline-flex;flex-shrink:0;color:var(--s-icon-default)}.option-list-item__selection-icon.sc-swirl-option-list-item{display:inline-flex;flex-shrink:0;color:var(--s-icon-highlight)}.option-list-item__checkbox.sc-swirl-option-list-item{display:inline-flex;width:1.5rem;height:1.5rem;padding:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item__checkbox.sc-swirl-option-list-item{width:1.375rem;height:1.375rem}}.option-list-item__checkbox-box.sc-swirl-option-list-item{display:inline-flex;width:100%;height:100%;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s)}.option-list-item__checkbox-icon.sc-swirl-option-list-item{display:inline-flex}.option-list-item__drag-handle.sc-swirl-option-list-item{position:absolute;z-index:1;top:50%;right:var(--s-space-4);display:inline-flex;margin:0;padding:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.option-list-item__drag-handle.sc-swirl-option-list-item:active{cursor:grabbing}.option-list-item__drag-handle.sc-swirl-option-list-item:focus:not(:focus-visible){outline:none}.option-list-item__drag-handle.sc-swirl-option-list-item:focus-visible{outline-color:var(--s-focus-default)}`,qh=class{constructor(e){ne(this,e),this.toggleDrag=Qe(this,"toggleDrag",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches),this.updateIconSize(t.matches)},this.onDragHandleKeyDown=t=>{(t.code==="Space"||t.code==="Enter")&&(t.preventDefault(),this.toggleDrag.emit(this.el))},this.onBlur=()=>{this.focused=!1},this.onFocus=()=>{this.focused=!0},this.allowDrag=void 0,this.context="single-select",this.disabled=void 0,this.dragging=void 0,this.dragHandleDescription="Press spacebar to toggle grab",this.dragHandleLabel="Move option",this.icon=void 0,this.label=void 0,this.selected=!1,this.swirlAriaRole="option",this.value=void 0,this.iconSize=24,this.focused=void 0}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.updateIconSize(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){var i;const t=(i=this.iconEl)==null?void 0:i.children[0];t==null||t.setAttribute("size",e?"20":"24")}updateIconSize(e){this.iconSize=e?20:24}render(){const e=this.disabled?"true":void 0,t=String(this.selected),i=this.context==="multi-select",n=Boolean(this.icon)&&this.context==="single-select",s=this.selected&&this.context==="single-select",c=ce("option-list-item",`option-list-item--context-${this.context}`,{"option-list-item--disabled":this.disabled,"option-list-item--draggable":this.allowDrag,"option-list-item--dragging":this.dragging,"option-list-item--selected":this.selected});return r(Ge,null,r("div",{"aria-checked":this.swirlAriaRole==="menuitemradio"?t:void 0,"aria-disabled":e,"aria-selected":this.swirlAriaRole==="option"?t:void 0,class:c,onBlur:this.onBlur,onFocus:this.onFocus,part:"option-list-item",role:this.swirlAriaRole},n&&r("span",{class:"option-list-item__icon",innerHTML:this.icon,ref:o=>this.iconEl=o}),i&&r("span",{class:"option-list-item__checkbox"},r("span",{class:"option-list-item__checkbox-box"},this.selected&&r("swirl-icon-check-strong",{class:"option-list-item__checkbox-icon",size:16}))),r("span",{class:"option-list-item__label",part:"option-list-item__label"},this.label),s&&r("span",{class:"option-list-item__selection-icon"},r("swirl-icon-check-small",{size:this.iconSize}))),this.allowDrag&&r("button",{"aria-describedby":this.dragHandleDescription,"aria-label":`${this.dragHandleLabel} "${this.label}"`,class:"option-list-item__drag-handle",onKeyDown:this.onDragHandleKeyDown,tabIndex:this.focused?0:-1,type:"button"},r("swirl-icon-drag-handle",{size:this.iconSize})))}get el(){return ht(this)}};qh.style=RI;const Xh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_check_small:Gh,swirl_icon_drag_handle:Yh,swirl_option_list_item:qh},Symbol.toStringTag,{value:"Module"})),HI=":host{display:block;width:100%}:host *{box-sizing:border-box}:host(.circle){display:inline-flex;width:auto}.progress-indicator--variant-bar{display:block;width:100%;height:0.25rem;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.progress-indicator--variant-bar::-webkit-progress-bar{border-radius:0.125rem;background-color:var(--s-surface-raised-default)}.progress-indicator--variant-bar::-webkit-progress-value{border-radius:0.125rem;background-color:var(--s-border-highlight);-webkit-transition:width 0.25s;transition:width 0.25s}.progress-indicator--variant-bar::-moz-progress-bar{height:0.25rem;border-radius:0.125rem;background-color:var(--s-border-highlight);-moz-transition:width 0.25s;transition:width 0.25s}@media (prefers-reduced-motion){.progress-indicator--variant-bar::-moz-progress-bar{-moz-transition:none;transition:none}}.progress-indicator--variant-bar.progress-indicator--size-s{height:0.125rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-bar{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-value{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-moz-progress-bar{height:0.125rem;border-radius:0.0625rem}.progress-indicator--variant-circle{position:relative;display:inline-flex;overflow:hidden;width:3rem;height:3rem}.progress-indicator--variant-circle.progress-indicator--size-s{width:1.5rem;height:1.5rem}.progress-indicator__circle{position:absolute;width:100%;height:100%;transform:rotate(-90deg);inset:0}.progress-indicator__circle-background{stroke:var(--s-border-default);stroke-linecap:round}.progress-indicator__circle-value{transition:stroke-dashoffset 0.25s;stroke:var(--s-interactive-primary-default);stroke-linecap:round}@media (prefers-reduced-motion){.progress-indicator__circle-value{transition:none}}",Kh=class{constructor(e){ne(this,e),this.label=void 0,this.size="m",this.value=0,this.variant="bar"}render(){const e=ce("progress-indicator",`progress-indicator--size-${this.size}`,`progress-indicator--variant-${this.variant}`),t=this.size==="m"?4:2,i=this.size==="m"?20:10,n=Math.round(i*2*Math.PI),s=Math.round(n*((100-this.value)/100));return r(Ge,{class:this.variant},this.variant==="bar"&&r("progress",{"aria-label":this.label,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":this.value,class:e,max:100,value:this.value}),this.variant==="circle"&&r("span",{role:"progressbar","aria-label":this.label,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":this.value,class:e},r("svg",{class:"progress-indicator__circle",focusable:"false",viewBox:`0 0 ${(i+t)*2} ${(i+t)*2}`},r("circle",{class:"progress-indicator__circle-background",cx:i+t,cy:i+t,r:i,fill:"none","stroke-width":t}),r("circle",{class:"progress-indicator__circle-value",cx:i+t,cy:i+t,r:i,fill:"none","stroke-width":t,"stroke-dasharray":n,"stroke-dashoffset":s}))))}};Kh.style=HI;const Qh=Object.freeze(Object.defineProperty({__proto__:null,swirl_progress_indicator:Kh},Symbol.toStringTag,{value:"Module"})),DI=":host{display:inline-flex}",Jh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M7.99999 10.05C7.89999 10.05 7.80554 10.0334 7.71665 10C7.62777 9.9667 7.54443 9.9167 7.46665 9.85003L4.38332 6.7667C4.23888 6.62225 4.16954 6.44714 4.17532 6.24137C4.18065 6.03603 4.25554 5.86114 4.39999 5.7167C4.54443 5.57225 4.72221 5.50003 4.93332 5.50003C5.14443 5.50003 5.32221 5.57225 5.46665 5.7167L7.99999 8.25003L10.55 5.70003C10.6944 5.55559 10.8695 5.48625 11.0753 5.49203C11.2807 5.49737 11.4555 5.57225 11.6 5.7167C11.7444 5.86114 11.8167 6.03892 11.8167 6.25003C11.8167 6.46114 11.7444 6.63892 11.6 6.78337L8.53332 9.85003C8.45554 9.9167 8.37221 9.9667 8.28332 10C8.19443 10.0334 8.09999 10.05 7.99999 10.05V10.05Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 15.075C11.85 15.075 11.7083 15.05 11.575 15C11.4417 14.95 11.3167 14.875 11.2 14.775L6.57501 10.15C6.35835 9.93338 6.25435 9.67072 6.26301 9.36205C6.27101 9.05405 6.38335 8.79172 6.60001 8.57505C6.81668 8.35838 7.08335 8.25005 7.40001 8.25005C7.71668 8.25005 7.98335 8.35838 8.20001 8.57505L12 12.375L15.825 8.55005C16.0417 8.33338 16.3043 8.22938 16.613 8.23805C16.921 8.24605 17.1833 8.35838 17.4 8.57505C17.6167 8.79172 17.725 9.05838 17.725 9.37505C17.725 9.69172 17.6167 9.95838 17.4 10.175L12.8 14.775C12.6833 14.875 12.5583 14.95 12.425 15C12.2917 15.05 12.15 15.075 12 15.075Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 17.5876C13.825 17.5876 13.6597 17.5584 13.5042 17.5001C13.3486 17.4417 13.2028 17.3542 13.0667 17.2376L7.67083 11.8417C7.41805 11.5889 7.29672 11.2825 7.30683 10.9224C7.31616 10.5631 7.44722 10.257 7.69999 10.0042C7.95277 9.75145 8.26388 9.62506 8.63333 9.62506C9.00277 9.62506 9.31388 9.75145 9.56666 10.0042L14 14.4376L18.4625 9.97506C18.7153 9.72228 19.0217 9.60095 19.3818 9.61106C19.7412 9.62039 20.0472 9.75145 20.3 10.0042C20.5528 10.257 20.6792 10.5681 20.6792 10.9376C20.6792 11.307 20.5528 11.6181 20.3 11.8709L14.9333 17.2376C14.7972 17.3542 14.6514 17.4417 14.4958 17.5001C14.3403 17.5584 14.175 17.5876 14 17.5876V17.5876Z",fill:"currentColor"})))}};Jh.style=DI;const ef=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_expand_more:Jh},Symbol.toStringTag,{value:"Module"})),VI=":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:host *{box-sizing:border-box}.popover--active:not(.popover--closing) .popover__backdrop{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__backdrop{animation:none}}.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-slide-in}@media (min-width: 768px){.popover--active:not(.popover--closing) .popover__content{transform-origin:top left;animation:0.15s popover-fade-scale-in-xy}}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--closing .popover__backdrop{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--closing .popover__backdrop{animation:none}}.popover--closing .popover__content{animation:0.15s popover-slide-out;animation-fill-mode:forwards}@media (min-width: 768px){.popover--closing .popover__content{animation:0.15s popover-fade-out}}@media (prefers-reduced-motion){.popover--closing .popover__content{animation:none}}.popover--inactive .popover__content{display:none}@media (max-width: 767px){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:none}}.popover--fullscreen-bottom-sheet .popover__backdrop{display:none}.popover--fullscreen-bottom-sheet .popover__content{top:0;border-top-left-radius:0;border-top-right-radius:0}.popover--fullscreen-bottom-sheet .popover__scroll-container{height:100%;max-height:none;padding-top:0;padding-bottom:0}.popover--fullscreen-bottom-sheet .popover__handle{display:none}}@media (min-width: 768px){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-scale-in-y}}@media (prefers-reduced-motion){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover__backdrop{position:fixed;z-index:0;background-color:rgba(0, 0, 0, 0.2);animation:0.15s popover-backdrop-fade-in;inset:0}@media (prefers-reduced-motion){.popover__backdrop{animation:none}}@media (min-width: 768px){.popover__backdrop{display:none}}.popover__content{position:fixed;z-index:2;right:0;bottom:0;left:0;overflow:hidden;border-top-left-radius:var(--s-border-radius-xl);border-top-right-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.popover__content{right:unset;bottom:unset;left:unset;max-width:22.5rem;border-radius:var(--s-border-radius-sm);animation:none;box-shadow:var(--s-shadow-level-1)}}.popover__scroll-container{overflow-x:hidden;overflow-y:auto;width:100%;max-height:90vh;padding-top:var(--s-space-24);padding-bottom:var(--s-space-24);overscroll-behavior:contain}@media (min-width: 768px){.popover__scroll-container{max-height:22rem;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8)}}.popover__handle{position:absolute;top:var(--s-space-8);left:50%;width:2.5rem;height:0.375rem;border-radius:0.1875rem;background-color:var(--s-border-default);transform:translatex(-50%)}@media (min-width: 768px){.popover__handle{display:none}}@keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@keyframes popover-fade-scale-in-xy{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes popover-fade-scale-in-y{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}",tf=class{constructor(e){ne(this,e),this.popoverClose=Qe(this,"popoverClose",7),this.popoverOpen=Qe(this,"popoverOpen",7),this.toggle=t=>{t.stopPropagation(),this.active?this.close():this.open()},this.onKeydown=t=>{t.code==="Escape"&&this.active&&(t.stopPropagation(),this.close())},this.reposition=async()=>{const t=Qt();if(!Boolean(this.triggerEl)||!Boolean(this.contentContainer))return;if(t){this.position=void 0;return}const i=typeof this.offset=="number"?{mainAxis:this.offset,crossAxis:0}:{mainAxis:this.offset[0],crossAxis:this.offset[1]},n=this.enableFlip?[qi(i),go(),bo()]:[qi(i),go()];this.position=await Zr(this.triggerEl,this.contentContainer,{middleware:n,placement:this.placement,strategy:"fixed"})},this.onCloseButtonClick=()=>{this.close()},this.animation="scale-in-xy",this.disableScrollLock=void 0,this.enableFlip=!0,this.fullscreenBottomSheet=void 0,this.label=void 0,this.maxHeight="22rem",this.offset=8,this.popoverId=void 0,this.placement="bottom-start",this.trigger=void 0,this.triggerContainer=void 0,this.useContainerWidth=void 0,this.active=!1,this.closing=!1,this.position=void 0}componentDidLoad(){this.connectTrigger(),this.updateTriggerAttributes(),Boolean(this.trigger)&&console.warn('[Swirl] The "trigger" prop of swirl-popover is deprecated and will be removed with the next major release. Please use the swirl-popover-trigger component instead. https://swirl-storybook.flip-app.dev/?path=/docs/components-swirlpopovertrigger--docs')}disconnectedCallback(){this.unlockBodyScroll()}onWindowFocusIn(e){var o;if(!this.active)return;const t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),i=e.target,n=e.relatedTarget,s=ii();!this.el.contains(i)&&!this.el.contains(s)&&i!==this.triggerEl&&!((o=this.triggerEl)!=null&&o.contains(i))&&(!t||t&&!this.el.contains(n||i)&&n!==this.el)&&this.close()}onWindowClick(e){if(!this.active)return;const t=e.target,i=this.el.contains(t),n=e.composedPath().some(c=>Boolean(c)&&c instanceof Node?this.el.contains(c):!1),s=t===this.triggerEl;!i&&!n&&!s&&this.close()}async close(){var e;this.closing||!this.active||(this.popoverClose.emit(),this.disableAutoUpdate&&this.disableAutoUpdate(),this.closing=!0,setTimeout(()=>{this.active=!1,this.closing=!1,this.updateTriggerAttributes()},150),this.unlockBodyScroll(),(e=this.getNativeTriggerElement())==null||e.focus())}async open(e){if(this.triggerEl=e||this.triggerEl,this.active||!Boolean(this.triggerEl))return;this.adjustWidth(),this.active=!0,this.updateTriggerAttributes();const t=this.getFocusableChildren();requestAnimationFrame(async()=>{await this.reposition(),this.popoverOpen.emit({position:this.position}),t.length>0?t[0].focus():this.contentContainer.focus(),this.disableAutoUpdate&&this.disableAutoUpdate(),this.disableAutoUpdate=jr(this.triggerEl,this.contentContainer,()=>this.reposition()),this.scrollContainer.scrollTop=0,this.lockBodyScroll()})}connectTrigger(){if(!Boolean(this.trigger)){this.triggerEl=void 0;return}this.triggerEl=typeof this.trigger=="string"?Zt(this.triggerContainer||document.body,`#${this.trigger}`)[0]:this.trigger,Boolean(this.triggerEl)&&this.triggerEl.addEventListener("click",e=>{this.toggle(e)})}getNativeTriggerElement(){var e,t,i,n;return(e=this.triggerEl)!=null&&e.tagName.startsWith("SWIRL-")?((t=this.triggerEl)==null?void 0:t.children[0])||((n=(i=this.triggerEl)==null?void 0:i.shadowRoot)==null?void 0:n.children[0])||this.triggerEl:this.triggerEl}updateTriggerAttributes(){if(!Boolean(this.triggerEl))return;const e=this.getNativeTriggerElement();e.setAttribute("aria-controls",this.el.id),e.setAttribute("aria-expanded",String(this.active)),e.setAttribute("aria-haspopup","dialog")}getFocusableChildren(){return Zt(this.el,'[role="menuitem"], [role="listbox"]')}adjustWidth(){let e=this.useContainerWidth;[!0,"true"].includes(this.useContainerWidth)?e=!0:[!1,"false"].includes(this.useContainerWidth)&&(e=!1);const t=!window.matchMedia("(min-width: 768px)").matches;if(Boolean(e)&&!t){const i=typeof e=="string"?this.el.closest(e)||this.el.parentElement:this.el.parentElement;this.contentContainer.style.maxWidth="none",this.contentContainer.style.width=i.getBoundingClientRect().width+"px"}else this.contentContainer.style.maxWidth="",this.contentContainer.style.width=""}lockBodyScroll(){!Qt()||this.disableScrollLock||hs(this.scrollContainer)}unlockBodyScroll(){!Qt()||this.disableScrollLock||fs(this.scrollContainer)}render(){var i,n,s;const e=!window.matchMedia("(min-width: 768px)").matches,t=ce("popover",`popover--animation-${this.animation}`,`popover--placement-${(i=this.position)==null?void 0:i.placement}`,{"popover--closing":this.closing,"popover--active":this.active,"popover--fullscreen-bottom-sheet":this.fullscreenBottomSheet,"popover--inactive":!this.active});return r(Ge,null,r("div",{class:t,onKeyDown:this.onKeydown},r("div",{"aria-hidden":this.active?"false":"true","aria-label":this.label,class:"popover__content",id:this.popoverId,part:"popover__content",role:"dialog",ref:c=>this.contentContainer=c,style:{top:Boolean(this.position)?`${(n=this.position)==null?void 0:n.y}px`:"",left:Boolean(this.position)?`${(s=this.position)==null?void 0:s.x}px`:""},tabindex:"-1"},r("span",{class:"popover__handle"}),r("div",{class:"popover__scroll-container",ref:c=>this.scrollContainer=c,style:{maxHeight:!e&&Boolean(this.maxHeight)?this.maxHeight:void 0}},r("slot",null))),this.active&&r("div",{class:"popover__backdrop",onClick:this.onCloseButtonClick})))}get el(){return ht(this)}};tf.style=VI;const BI=".sc-swirl-popover-trigger-h{display:contents}",rf=class{constructor(e){ne(this,e),this.popoverOpen=!1,this.onClick=t=>{t.stopPropagation();const i=this.getPopoverEl();if(!Boolean(i))return;if(this.popoverOpen){i.close();return}const n=this.getTriggerEl();!Boolean(n)||(i.open(n),i.addEventListener("popoverOpen",()=>{this.popoverOpen=!0,this.updateTriggerElAriaAttributes(!0)},{once:!0}),i.addEventListener("popoverClose",()=>{this.popoverOpen=!1,this.updateTriggerElAriaAttributes(!1)},{once:!0}))},this.updateTriggerElAriaAttributes=t=>{var s;if(!this.setAriaAttributes)return;const i=this.getTriggerEl(),n=typeof this.popover=="string"?this.popover:(s=this.popover)==null?void 0:s.id;i.tagName.startsWith("SWIRL-")?(i.setAttribute("swirl-aria-controls",n),i.setAttribute("swirl-aria-expanded",String(t||"false")),i.setAttribute("swirl-aria-haspopup","dialog")):(i.setAttribute("aria-controls",n),i.setAttribute("aria-expanded",String(t||"false")),i.setAttribute("aria-haspopup","dialog"))},this.popover=void 0,this.setAriaAttributes=!0}componentDidLoad(){this.updateTriggerElAriaAttributes()}watchPopover(){this.updateTriggerElAriaAttributes()}getPopoverEl(){return typeof this.popover=="string"?document.querySelector(`#${this.popover}`):this.popover}getTriggerEl(){return this.el.children.length!==1&&console.warn('[Swirl] The "swirl-popover-trigger" component expects exactly one child element.'),this.el.children[0]}render(){return r(Ge,{onClick:this.onClick},r("slot",null))}get el(){return ht(this)}static get watchers(){return{popover:["watchPopover"]}}};rf.style=BI;const nf=Object.freeze(Object.defineProperty({__proto__:null,swirl_popover:tf,swirl_popover_trigger:rf},Symbol.toStringTag,{value:"Module"}));var sf=B1(function(e){(function(t,i){e.exports?e.exports=i():t.balanceText=i()})(t1,()=>{let t,i,n;const s={sel:[],el:[]};let c=!1,o=!1;function u(){}function a(P,B){Array.prototype.forEach.call(P,B)}function d(P){document.readyState!=="loading"?P():document.addEventListener?document.addEventListener("DOMContentLoaded",P):document.attachEvent("onreadystatechange",()=>{document.readyState!=="loading"&&P()})}function p(P,B,D,...ae){let ee;return function(){const de=this;function he(){D||P.apply(de,ae),ee=null}ee?clearTimeout(ee):D&&P.apply(de,ae),ee=setTimeout(he,B||100)}}function b(){if(typeof window>"u")return!1;const{style:P}=document.documentElement;return P.textWrap||P.WebkitTextWrap||P.MozTextWrap||P.MsTextWrap}function M(){this.reset()}M.prototype.reset=function(){this.index=0,this.width=0};function A(P){return i.some(B=>B.start<P&&P<B.end)}function _(P,B){if(P.nodeType===P.ELEMENT_NODE)if(window.getComputedStyle(P).whiteSpace==="nowrap"){const ae=P.outerHTML.length;i.push({start:n,end:n+ae}),n+=ae}else a(P.childNodes,ae=>{_(ae,!0)}),B&&(n+=P.outerHTML.length-P.innerHTML.length);else P.nodeType===P.COMMENT_NODE?n+=P.length+7:P.nodeType===P.PROCESSING_INSTRUCTION_NODE?n+=P.length+2:n+=P.length}function g(P,B,D){if(D===0)P.style.whiteSpace=B,n=0,i=[],_(P,!1),P.style.whiteSpace="nowrap";else{const ae=[];i.forEach(ee=>{ee.start>D&&ae.push({start:ee.start-D,end:ee.end-D})}),i=ae}}function k(P){let B=P.querySelectorAll('br[data-owner="balance-text-hyphen"]');a(B,ae=>{ae.outerHTML=""}),B=P.querySelectorAll('br[data-owner="balance-text"]'),a(B,ae=>{ae.outerHTML=" "});let D=P.querySelectorAll('span[data-owner="balance-text-softhyphen"]');if(D.length>0&&a(D,ae=>{const ee=document.createTextNode("\xAD");ae.parentNode.insertBefore(ee,ae),ae.parentNode.removeChild(ae)}),D=P.querySelectorAll('span[data-owner="balance-text-justify"]'),D.length>0){let ae="";a(D,ee=>{ae+=ee.textContent,ee.parentNode.removeChild(ee)}),P.innerHTML=ae}}const N=function(P){return(P.currentStyle||window.getComputedStyle(P,null)).textAlign==="justify"};function h(P,B,D){B=B.trim();const ae=B.split(" ").length;if(B=`${B} `,ae<2)return B;const ee=document.createElement("span");ee.innerHTML=B,P.appendChild(ee);const de=ee.offsetWidth;ee.parentNode.removeChild(ee);const he=Math.floor((D-de)/(ae-1));ee.style.wordSpacing=`${he}px`,ee.setAttribute("data-owner","balance-text-justify");const Y=document.createElement("div");return Y.appendChild(ee),Y.innerHTML}function v(P,B){const D=/([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;let ae;if(!t)for(t=[],ae=D.exec(P);ae!==null;)A(ae.index)||t.push(ae.index),ae=D.exec(P);return t.indexOf(B)!==-1}function O(P,B){return B===0||B===P.length||v(P,B-1)&&!v(P,B)}function S(P,B,D,ae,ee,de,he){let Y;if(B&&typeof B=="string")for(;;){for(;!O(B,de);)de+=ee;if(P.innerHTML=B.substr(0,de),Y=P.offsetWidth,ee<0){if(Y<=ae||Y<=0||de===0)break}else if(ae<=Y||D<=Y||de===B.length)break;de+=ee}he.index=de,he.width=Y}function I(P,B){const D=document.createElement("div");D.style.display="block",D.style.position="absolute",D.style.bottom=0,D.style.right=0,D.style.width=0,D.style.height=0,D.style.margin=0,D.style.padding=0,D.style.visibility="hidden",D.style.overflow="hidden";const ae=document.createElement("span");ae.style.fontSize="2000px",ae.innerHTML=" ",D.appendChild(ae),P.appendChild(D);const ee=ae.getBoundingClientRect();D.parentNode.removeChild(D);const de=ee.height/ee.width;return B/de}function $(P){return P?typeof P=="string"?document.querySelectorAll(P):P.tagName&&P.querySelectorAll?[P]:P:[]}function y(P){a($(P),B=>{k(B);const ae=B.style.whiteSpace,ee=B.style.float,de=B.style.display,he=B.style.position,Y=B.style.lineHeight;B.style.lineHeight="normal";const q=B.offsetWidth,X=B.offsetHeight;B.style.whiteSpace="nowrap",B.style.float="none",B.style.display="inline",B.style.position="static";let W=B.offsetWidth;const Ce=B.offsetHeight,_e=ae==="pre-wrap"?0:I(B,Ce);if(q>0&&W>q&&W<5e3){let Pe=B.innerHTML,Ae="",ie="";const F=N(B);let G=Math.round(X/Ce),K=0,w,L,H,j,U,oe,me;for(;G>1;)t=null,g(B,ae,K),w=Math.round((W+_e)/G-_e),L=Math.round((Pe.length+1)/G)-1,H=new M,S(B,Pe,q,w,-1,L,H),j=new M,L=H.index,S(B,Pe,q,w,1,L,j),H.reset(),L=j.index,S(B,Pe,q,w,-1,L,H),H.index===0?U=j.index:q<j.width||H.index===j.index?U=H.index:U=Math.abs(w-H.width)<Math.abs(j.width-w)?H.index:j.index,ie=Pe.substr(0,U).replace(/\s$/,""),me=Boolean(ie.match(/\u00ad$/)),me&&(ie=ie.replace(/\u00ad$/,'<span data-owner="balance-text-softhyphen">-</span>')),F?Ae+=h(B,ie,q):(Ae+=ie,oe=me||Boolean(ie.match(/(-|\u2014|\u2013)$/)),Ae+=oe?'<br data-owner="balance-text-hyphen" />':'<br data-owner="balance-text" aria-hidden="true" />'),Pe=Pe.substr(U),K=U,G--,B.innerHTML=Pe,W=B.offsetWidth;F?B.innerHTML=Ae+h(B,Pe,q):B.innerHTML=Ae+Pe}B.style.whiteSpace=ae,B.style.float=ee,B.style.display=de,B.style.position=he,B.style.lineHeight=Y})}function T(){const P=s.sel.join(","),B=$(P),D=Array.prototype.concat.apply(s.el,B);y(D)}function x(){c||(d(T),window.addEventListener("load",T),window.addEventListener("resize",p(T)),c=!0)}function f(P){typeof P=="string"?s.sel.push(P):a($(P),B=>{s.el.push(B)}),x(),T()}function C(P){typeof P=="string"?s.sel=s.sel.filter(B=>B!==P):(P=$(P),s.el=s.el.filter(B=>P.indexOf(B)===-1))}function z(){o||(s.sel.push(".balance-text"),x(),o=!0)}function E(P,B){P?B&&B.watch===!0?f(P):B&&B.watch===!1?C(P):y(P):z()}return E.updateWatched=T,b()?(u.updateWatched=u,u):E})});const FI=".sc-swirl-heading-h{display:block;width:100%}.sc-swirl-heading-h *.sc-swirl-heading{box-sizing:border-box}.heading.sc-swirl-heading{display:block;width:100%;margin:0;padding:0;text-align:start}.heading--align-start.sc-swirl-heading{text-align:start}.heading--align-center.sc-swirl-heading{text-align:center}.heading--align-end.sc-swirl-heading{text-align:end}.heading--level-1.sc-swirl-heading{font-size:var(--s-font-size-2xl);font-weight:var(--s-font-weight-bold);line-height:var(--s-line-height-2xl);letter-spacing:var(--s-letter-spacing-tight)}.heading--level-2.sc-swirl-heading{font-size:var(--s-font-size-xl);font-weight:var(--s-font-weight-bold);line-height:var(--s-line-height-xl)}.heading--level-3.sc-swirl-heading{font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}.heading--level-4.sc-swirl-heading{font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-base)}.heading--level-5.sc-swirl-heading,.heading--level-6.sc-swirl-heading{font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-sm)}.heading--truncate.sc-swirl-heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",of=class{constructor(e){ne(this,e),this.align="start",this.as=void 0,this.balance=!0,this.headingId=void 0,this.level=1,this.lines=void 0,this.text=void 0,this.truncate=void 0}componentDidRender(){this.rebalance()}onWindowResize(){this.rebalance()}rebalance(){!this.balance||!Boolean(this.headingEl)||Boolean(this.lines)||sf(this.headingEl)}render(){const e=this.as||`h${this.level}`,t=Boolean(this.lines)?{display:"-webkit-box",overflow:"hidden","-webkit-line-clamp":String(this.lines),"-webkit-box-orient":"vertical",whiteSpace:"normal"}:void 0,i=ce("heading",`heading--align-${this.align}`,`heading--level-${this.level}`,{"heading--truncate":this.truncate});return r(Ge,null,r(e,{class:i,id:this.headingId,ref:n=>this.headingEl=n,style:t},this.text))}};of.style=FI;const af=Object.freeze(Object.defineProperty({__proto__:null,swirl_heading:of},Symbol.toStringTag,{value:"Module"})),NI=":host{display:inline-flex}",lf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.0404 4.29289C13.431 4.68342 13.431 5.31658 13.0404 5.70711L6.7071 12.0404C6.31657 12.431 5.68341 12.431 5.29288 12.0404L2.95955 9.70711C2.56903 9.31658 2.56903 8.68342 2.95955 8.29289C3.35007 7.90237 3.98324 7.90237 4.37376 8.29289L5.99999 9.91912L11.6262 4.29289C12.0167 3.90237 12.6499 3.90237 13.0404 4.29289Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5607 6.43934C20.1464 7.02513 20.1464 7.97487 19.5607 8.56066L10.0607 18.0607C9.47487 18.6464 8.52513 18.6464 7.93934 18.0607L4.43934 14.5607C3.85355 13.9749 3.85355 13.0251 4.43934 12.4393C5.02513 11.8536 5.97487 11.8536 6.56066 12.4393L9 14.8787L17.4393 6.43934C18.0251 5.85355 18.9749 5.85355 19.5607 6.43934Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.8208 7.51256C23.5042 8.19598 23.5042 9.30402 22.8208 9.98744L11.7374 21.0708C11.054 21.7542 9.94597 21.7542 9.26255 21.0708L5.17922 16.9874C4.4958 16.304 4.4958 15.196 5.17922 14.5126C5.86264 13.8291 6.97068 13.8291 7.65409 14.5126L10.5 17.3585L20.3459 7.51256C21.0293 6.82915 22.1373 6.82915 22.8208 7.51256Z",fill:"currentColor"})))}};lf.style=NI;const cf=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_check_strong:lf},Symbol.toStringTag,{value:"Module"})),jI=":host{display:inline-flex}",uf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 9.06672L4.8 12.2667C4.65555 12.4112 4.47777 12.4834 4.26666 12.4834C4.05555 12.4834 3.87777 12.4112 3.73333 12.2667C3.58888 12.1223 3.51666 11.9445 3.51666 11.7334C3.51666 11.5223 3.58888 11.3445 3.73333 11.2001L6.93333 8.00006L3.73333 4.80006C3.58888 4.65561 3.51666 4.47783 3.51666 4.26672C3.51666 4.05561 3.58888 3.87783 3.73333 3.73339C3.87777 3.58895 4.05555 3.51672 4.26666 3.51672C4.47777 3.51672 4.65555 3.58895 4.8 3.73339L8 6.93339L11.2 3.73339C11.3444 3.58895 11.5222 3.51672 11.7333 3.51672C11.9444 3.51672 12.1222 3.58895 12.2667 3.73339C12.4111 3.87783 12.4833 4.05561 12.4833 4.26672C12.4833 4.47783 12.4111 4.65561 12.2667 4.80006L9.06666 8.00006L12.2667 11.2001C12.4111 11.3445 12.4833 11.5223 12.4833 11.7334C12.4833 11.9445 12.4111 12.1223 12.2667 12.2667C12.1222 12.4112 11.9444 12.4834 11.7333 12.4834C11.5222 12.4834 11.3444 12.4112 11.2 12.2667L8 9.06672Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 13.6L7.19999 18.4C6.98333 18.6167 6.71666 18.725 6.39999 18.725C6.08333 18.725 5.81666 18.6167 5.59999 18.4C5.38333 18.1834 5.27499 17.9167 5.27499 17.6C5.27499 17.2834 5.38333 17.0167 5.59999 16.8L10.4 12L5.59999 7.20002C5.38333 6.98336 5.27499 6.71669 5.27499 6.40002C5.27499 6.08336 5.38333 5.81669 5.59999 5.60002C5.81666 5.38336 6.08333 5.27502 6.39999 5.27502C6.71666 5.27502 6.98333 5.38336 7.19999 5.60002L12 10.4L16.8 5.60002C17.0167 5.38336 17.2833 5.27502 17.6 5.27502C17.9167 5.27502 18.1833 5.38336 18.4 5.60002C18.6167 5.81669 18.725 6.08336 18.725 6.40002C18.725 6.71669 18.6167 6.98336 18.4 7.20002L13.6 12L18.4 16.8C18.6167 17.0167 18.725 17.2834 18.725 17.6C18.725 17.9167 18.6167 18.1834 18.4 18.4C18.1833 18.6167 17.9167 18.725 17.6 18.725C17.2833 18.725 17.0167 18.6167 16.8 18.4L12 13.6Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 15.8667L8.40001 21.4667C8.14723 21.7195 7.83612 21.8458 7.46667 21.8458C7.09723 21.8458 6.78612 21.7195 6.53334 21.4667C6.28056 21.2139 6.15417 20.9028 6.15417 20.5333C6.15417 20.1639 6.28056 19.8528 6.53334 19.6L12.1333 14L6.53334 8.40001C6.28056 8.14723 6.15417 7.83612 6.15417 7.46667C6.15417 7.09723 6.28056 6.78612 6.53334 6.53334C6.78612 6.28056 7.09723 6.15417 7.46667 6.15417C7.83612 6.15417 8.14723 6.28056 8.40001 6.53334L14 12.1333L19.6 6.53334C19.8528 6.28056 20.1639 6.15417 20.5333 6.15417C20.9028 6.15417 21.2139 6.28056 21.4667 6.53334C21.7195 6.78612 21.8458 7.09723 21.8458 7.46667C21.8458 7.83612 21.7195 8.14723 21.4667 8.40001L15.8667 14L21.4667 19.6C21.7195 19.8528 21.8458 20.1639 21.8458 20.5333C21.8458 20.9028 21.7195 21.2139 21.4667 21.4667C21.2139 21.7195 20.9028 21.8458 20.5333 21.8458C20.1639 21.8458 19.8528 21.7195 19.6 21.4667L14 15.8667Z",fill:"currentColor"})))}};uf.style=jI;const df=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_close:uf},Symbol.toStringTag,{value:"Module"})),ZI=":host{display:inline-flex}",hf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M6.05 14C5.87222 14 5.70267 13.9667 5.54133 13.9C5.38044 13.8333 5.23889 13.7389 5.11667 13.6167L2.38333 10.8833C2.26111 10.7611 2.16667 10.6196 2.1 10.4587C2.03333 10.2973 2 10.1278 2 9.95V6.05C2 5.87222 2.03333 5.70267 2.1 5.54133C2.16667 5.38044 2.26111 5.23889 2.38333 5.11667L5.11667 2.38333C5.23889 2.26111 5.38044 2.16667 5.54133 2.1C5.70267 2.03333 5.87222 2 6.05 2H9.95C10.1278 2 10.2973 2.03333 10.4587 2.1C10.6196 2.16667 10.7611 2.26111 10.8833 2.38333L13.6167 5.11667C13.7389 5.23889 13.8333 5.38044 13.9 5.54133C13.9667 5.70267 14 5.87222 14 6.05V9.95C14 10.1278 13.9667 10.2973 13.9 10.4587C13.8333 10.6196 13.7389 10.7611 13.6167 10.8833L10.8833 13.6167C10.7611 13.7389 10.6196 13.8333 10.4587 13.9C10.2973 13.9667 10.1278 14 9.95 14H6.05ZM8 11.3333C8.18889 11.3333 8.34733 11.2693 8.47533 11.1413C8.60289 11.0138 8.66667 10.8556 8.66667 10.6667C8.66667 10.4778 8.60289 10.3193 8.47533 10.1913C8.34733 10.0638 8.18889 10 8 10C7.81111 10 7.65289 10.0638 7.52533 10.1913C7.39733 10.3193 7.33333 10.4778 7.33333 10.6667C7.33333 10.8556 7.39733 11.0138 7.52533 11.1413C7.65289 11.2693 7.81111 11.3333 8 11.3333ZM8 8.66667C8.18889 8.66667 8.34733 8.60267 8.47533 8.47467C8.60289 8.34711 8.66667 8.18889 8.66667 8V5.33333C8.66667 5.14444 8.60289 4.986 8.47533 4.858C8.34733 4.73044 8.18889 4.66667 8 4.66667C7.81111 4.66667 7.65289 4.73044 7.52533 4.858C7.39733 4.986 7.33333 5.14444 7.33333 5.33333V8C7.33333 8.18889 7.39733 8.34711 7.52533 8.47467C7.65289 8.60267 7.81111 8.66667 8 8.66667Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M9.075 21C8.80833 21 8.554 20.95 8.312 20.85C8.07067 20.75 7.85833 20.6083 7.675 20.425L3.575 16.325C3.39167 16.1417 3.25 15.9293 3.15 15.688C3.05 15.446 3 15.1917 3 14.925V9.075C3 8.80833 3.05 8.554 3.15 8.312C3.25 8.07067 3.39167 7.85833 3.575 7.675L7.675 3.575C7.85833 3.39167 8.07067 3.25 8.312 3.15C8.554 3.05 8.80833 3 9.075 3H14.925C15.1917 3 15.446 3.05 15.688 3.15C15.9293 3.25 16.1417 3.39167 16.325 3.575L20.425 7.675C20.6083 7.85833 20.75 8.07067 20.85 8.312C20.95 8.554 21 8.80833 21 9.075V14.925C21 15.1917 20.95 15.446 20.85 15.688C20.75 15.9293 20.6083 16.1417 20.425 16.325L16.325 20.425C16.1417 20.6083 15.9293 20.75 15.688 20.85C15.446 20.95 15.1917 21 14.925 21H9.075ZM12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16C13 15.7167 12.9043 15.479 12.713 15.287C12.521 15.0957 12.2833 15 12 15C11.7167 15 11.4793 15.0957 11.288 15.287C11.096 15.479 11 15.7167 11 16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.9043 12.5207 13 12.2833 13 12V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V12C11 12.2833 11.096 12.5207 11.288 12.712C11.4793 12.904 11.7167 13 12 13Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M10.5875 24.5C10.2764 24.5 9.97967 24.4417 9.69733 24.325C9.41578 24.2083 9.16806 24.0431 8.95417 23.8292L4.17083 19.0458C3.95694 18.8319 3.79167 18.5842 3.675 18.3027C3.55833 18.0203 3.5 17.7236 3.5 17.4125V10.5875C3.5 10.2764 3.55833 9.97967 3.675 9.69733C3.79167 9.41578 3.95694 9.16806 4.17083 8.95417L8.95417 4.17083C9.16806 3.95694 9.41578 3.79167 9.69733 3.675C9.97967 3.55833 10.2764 3.5 10.5875 3.5H17.4125C17.7236 3.5 18.0203 3.55833 18.3027 3.675C18.5842 3.79167 18.8319 3.95694 19.0458 4.17083L23.8292 8.95417C24.0431 9.16806 24.2083 9.41578 24.325 9.69733C24.4417 9.97967 24.5 10.2764 24.5 10.5875V17.4125C24.5 17.7236 24.4417 18.0203 24.325 18.3027C24.2083 18.5842 24.0431 18.8319 23.8292 19.0458L19.0458 23.8292C18.8319 24.0431 18.5842 24.2083 18.3027 24.325C18.0203 24.4417 17.7236 24.5 17.4125 24.5H10.5875ZM14 19.8333C14.3306 19.8333 14.6078 19.7213 14.8318 19.4973C15.0551 19.2741 15.1667 18.9972 15.1667 18.6667C15.1667 18.3361 15.0551 18.0588 14.8318 17.8348C14.6078 17.6116 14.3306 17.5 14 17.5C13.6694 17.5 13.3926 17.6116 13.1693 17.8348C12.9453 18.0588 12.8333 18.3361 12.8333 18.6667C12.8333 18.9972 12.9453 19.2741 13.1693 19.4973C13.3926 19.7213 13.6694 19.8333 14 19.8333ZM14 15.1667C14.3306 15.1667 14.6078 15.0547 14.8318 14.8307C15.0551 14.6074 15.1667 14.3306 15.1667 14V9.33333C15.1667 9.00278 15.0551 8.7255 14.8318 8.5015C14.6078 8.27828 14.3306 8.16667 14 8.16667C13.6694 8.16667 13.3926 8.27828 13.1693 8.5015C12.9453 8.7255 12.8333 9.00278 12.8333 9.33333V14C12.8333 14.3306 12.9453 14.6074 13.1693 14.8307C13.3926 15.0547 13.6694 15.1667 14 15.1667Z",fill:"currentColor"})))}};hf.style=ZI;const WI=":host{display:inline-flex}:host *{box-sizing:border-box}.inline-error{display:inline-flex;color:var(--s-text-critical);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.inline-error{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.inline-error--size-s{font-size:var(--s-font-size-sm)}.inline-error--size-s .inline-error__icon{padding-top:0.125rem}.inline-error--size-s .inline-error__message{padding-top:0}.inline-error__icon{display:inline-flex;color:var(--s-icon-critical);align-self:flex-start}.inline-error__message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-left:var(--s-space-4);padding-top:0.0625rem}",ff=class{constructor(e){ne(this,e),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.message=void 0,this.size="m"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];let i="24";this.size==="s"?i="16":e&&(i="20"),t==null||t.setAttribute("size",i)}render(){const e=ce("inline-error",`inline-error--size-${this.size}`);return r(Ge,null,r("span",{class:e,part:"inline-error"},r("span",{class:"inline-error__icon",ref:t=>this.iconEl=t},r("swirl-icon-error",null)),r("span",{class:"inline-error__message"},this.message)))}};ff.style=WI;const UI=":host{display:inline-flex}:host *{box-sizing:border-box}.spinner{position:relative;display:inline-flex;overflow:hidden;width:2.25rem;height:2.25rem}.spinner--size-xs,.spinner--size-20{width:1.25rem;height:1.25rem}.spinner--size-xs .spinner__circle,.spinner--size-20 .spinner__circle{stroke-width:0.1875rem}.spinner--size-s,.spinner--size-24{width:1.5rem;height:1.5rem}.spinner--size-s .spinner__circle,.spinner--size-24 .spinner__circle{stroke-width:0.1875rem}.spinner__indicator{position:absolute;inset:0;width:100%;height:100%;transform-origin:center center;animation:spinner-rotate 2s linear infinite}.spinner__background{stroke:var(--s-border-default);stroke-linecap:round}.spinner__circle{animation:spinner-dash 1.5s ease-in-out infinite;stroke:var(--s-interactive-primary-default);stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round}@keyframes spinner-rotate{100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}",pf=class{constructor(e){ne(this,e),this.label=void 0,this.size="m"}render(){const e=ce("spinner",`spinner--size-${this.size}`);return r(Ge,null,r("span",{class:e,role:Boolean(this.label)?"status":void 0},r("svg",{"aria-hidden":"true",class:"spinner__indicator",focusable:"false",viewBox:"0 0 50 50"},r("circle",{class:"spinner__background",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"4"}),r("circle",{class:"spinner__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"4"})),this.label&&r("swirl-visually-hidden",null,r("span",{class:"spinner__label"},this.label))))}};pf.style=UI;const Cf=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_error:hf,swirl_inline_error:ff,swirl_spinner:pf},Symbol.toStringTag,{value:"Module"}));/**
|
|
452
|
+
`;const n=document.createElement("iframe");this.el.append(n);const s=n.contentWindow;s.document.write(i),s.focus(),await new Promise(c=>setTimeout(c,100)),s.print(),n.remove()}getScale(e){var i;const t=Qt()?0:32;return this.zoom==="auto"?(((i=this.scrollContainer)==null?void 0:i.clientWidth)-t)/e.view[2]:isNaN(this.zoom)?1:this.zoom}restoreScrollPosition(){var e,t;this.scrollContainer.scrollTop=this.recentScrollPosition.y*((e=this.scrollContainer)==null?void 0:e.scrollHeight),this.scrollContainer.scrollLeft=this.recentScrollPosition.x*((t=this.scrollContainer)==null?void 0:t.scrollWidth)}render(){const e=!this.error&&!this.loading&&this.visiblePages.length>0,t=this.scrolledDown&&!this.singlePageMode?this.pages.length-1:this.visiblePages[0],i=this.loading,n=ce("file-viewer-pdf",`file-viewer-pdf--view-mode-${this.viewMode}`);return r(Ge,{class:n,exportparts:"file-viewer-pdf__pagination"},this.error&&r("swirl-inline-error",{class:"file-viewer-pdf__error",message:this.errorMessage}),r("div",{"aria-describedby":"pagination",class:"file-viewer-pdf__pages",onScroll:this.onScroll,ref:s=>this.scrollContainer=s},this.pages.map(s=>{const c=s.getViewport({scale:this.getScale(s)}),o=c.height,u=c.width,a=this.renderedPages.includes(s.pageNumber);return r("div",{"aria-label":s.pageNumber,class:"file-viewer-pdf__page","data-page-number":s.pageNumber,hidden:!this.singlePageMode||s.pageNumber===this.singlePageModePage?void 0:!0,id:`page-${s.pageNumber}`,key:s.pageNumber,role:"region",style:{width:`${u}px`,height:`${o}px`},tabIndex:0},!a&&r("swirl-spinner",{class:"file-viewer-pdf__page-spinner"}),r("canvas",{class:"file-viewer-pdf__canvas",style:{opacity:a?"1":"0"}}),r("div",{class:"file-viewer-pdf__text-container"}))})),e&&r("span",{class:"file-viewer-pdf__pagination",id:"pagination",part:"file-viewer-pdf__pagination"},r("span",{"aria-current":"page"},t)," / ",this.doc.numPages),i&&r("div",{class:"file-viewer-pdf__spinner"},r("swirl-spinner",null)))}get el(){return ht(this)}static get watchers(){return{file:["watchProps"],viewMode:["watchViewMode"],zoom:["watchZoom"]}}};_h.style=gI;const vI=":host{position:relative;display:inline-flex;width:100%;max-height:100%}:host *{box-sizing:border-box}.file-viewer-text__text{overflow:auto;width:100%;max-height:100%;margin:0;padding:0;padding:var(--s-space-16);background-color:var(--s-background-default);font-family:var(--s-font-family-code)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-text__text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-text__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-text__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}",Sh=class{constructor(e){ne(this,e),this.activate=Qe(this,"activate",7),this.errorMessage="File could not be loaded.",this.file=void 0,this.error=void 0,this.loading=void 0,this.text=void 0}componentWillLoad(){this.updateText()}componentDidLoad(){this.activate.emit(this.el)}async updateText(){this.error=!1,this.loading=!0;try{const e=await fetch(this.file);this.text=await e.text(),this.loading=!1}catch{this.loading=!1,this.error=!0}}render(){return r(Ge,{class:"file-viewer-text",exportparts:"file-viewer-text__text"},this.error&&r("swirl-inline-error",{class:"file-viewer-text__error",message:this.errorMessage}),r("pre",{class:"file-viewer-text__text",part:"file-viewer-text__text",tabIndex:0},this.text),this.loading&&r("div",{class:"file-viewer-text__spinner"},r("swirl-spinner",null)))}get el(){return ht(this)}static get watchers(){return{file:["updateText"]}}};Sh.style=vI;const wI=":host{display:inline-flex;width:100%;max-height:100%}:host *{box-sizing:border-box}.file-viewer-video__video{width:100%;background-color:rgba(0, 0, 0, 1)}",xh=class{constructor(e){ne(this,e),this.activate=Qe(this,"activate",7),this.autoplay=void 0,this.file=void 0,this.type=void 0}componentDidLoad(){this.activate.emit(this.el)}render(){return r(Ge,{class:"file-viewer-video"},r("video",{autoplay:this.autoplay,class:"file-viewer-video__video",controls:!0},r("source",{src:this.file,type:this.type})))}get el(){return ht(this)}};xh.style=wI;const kh=Object.freeze(Object.defineProperty({__proto__:null,swirl_file_viewer:gh,swirl_file_viewer_audio:vh,swirl_file_viewer_csv:wh,swirl_file_viewer_image:yh,swirl_file_viewer_pdf:_h,swirl_file_viewer_text:Sh,swirl_file_viewer_video:xh},Symbol.toStringTag,{value:"Module"})),yI=":host{display:inline-flex}",zh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M12.5333 13.6167L8.83333 9.91669C8.5 10.1722 8.11666 10.3778 7.68333 10.5334C7.25 10.6889 6.78889 10.7667 6.3 10.7667C5.06666 10.7667 4.02222 10.336 3.16666 9.47469C2.31111 8.6138 1.88333 7.56669 1.88333 6.33336C1.88333 5.10002 2.31111 4.05269 3.16666 3.19136C4.02222 2.33047 5.06666 1.90002 6.3 1.90002C7.53333 1.90002 8.58066 2.33047 9.442 3.19136C10.3029 4.05269 10.7333 5.10002 10.7333 6.33336C10.7333 6.82225 10.6584 7.28336 10.5087 7.71669C10.3584 8.15002 10.1556 8.5278 9.9 8.85002L13.6167 12.5834C13.75 12.7167 13.8167 12.8862 13.8167 13.092C13.8167 13.2974 13.7444 13.4722 13.6 13.6167C13.4556 13.7611 13.2751 13.8334 13.0587 13.8334C12.8418 13.8334 12.6667 13.7611 12.5333 13.6167ZM6.3 9.23336C7.11111 9.23336 7.8 8.95269 8.36667 8.39136C8.93333 7.83047 9.21666 7.14447 9.21666 6.33336C9.21666 5.52225 8.93333 4.83602 8.36667 4.27469C7.8 3.7138 7.11111 3.43336 6.3 3.43336C5.48889 3.43336 4.80289 3.7138 4.242 4.27469C3.68066 4.83602 3.4 5.52225 3.4 6.33336C3.4 7.14447 3.68066 7.83047 4.242 8.39136C4.80289 8.95269 5.48889 9.23336 6.3 9.23336Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M18.8 20.425L13.25 14.875C12.75 15.2583 12.175 15.5666 11.525 15.8C10.875 16.0333 10.1833 16.15 9.45001 16.15C7.60001 16.15 6.03335 15.504 4.75001 14.212C3.46668 12.9206 2.82501 11.35 2.82501 9.49998C2.82501 7.64998 3.46668 6.07898 4.75001 4.78698C6.03335 3.49564 7.60001 2.84998 9.45001 2.84998C11.3 2.84998 12.871 3.49564 14.163 4.78698C15.4543 6.07898 16.1 7.64998 16.1 9.49998C16.1 10.2333 15.9877 10.925 15.763 11.575C15.5377 12.225 15.2333 12.7916 14.85 13.275L20.425 18.875C20.625 19.075 20.725 19.3293 20.725 19.638C20.725 19.946 20.6167 20.2083 20.4 20.425C20.1833 20.6416 19.9127 20.75 19.588 20.75C19.2627 20.75 19 20.6416 18.8 20.425ZM9.45001 13.85C10.6667 13.85 11.7 13.429 12.55 12.587C13.4 11.7456 13.825 10.7166 13.825 9.49998C13.825 8.28331 13.4 7.25398 12.55 6.41198C11.7 5.57064 10.6667 5.14998 9.45001 5.14998C8.23335 5.14998 7.20435 5.57064 6.36301 6.41198C5.52101 7.25398 5.10001 8.28331 5.10001 9.49998C5.10001 10.7166 5.52101 11.7456 6.36301 12.587C7.20435 13.429 8.23335 13.85 9.45001 13.85Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M21.9333 23.8292L15.4583 17.3542C14.875 17.8014 14.2042 18.1611 13.4458 18.4333C12.6875 18.7056 11.8806 18.8417 11.025 18.8417C8.86667 18.8417 7.03889 18.088 5.54167 16.5807C4.04445 15.0741 3.29584 13.2417 3.29584 11.0833C3.29584 8.92501 4.04445 7.09218 5.54167 5.58485C7.03889 4.07829 8.86667 3.32501 11.025 3.32501C13.1833 3.32501 15.0162 4.07829 16.5235 5.58485C18.0301 7.09218 18.7833 8.92501 18.7833 11.0833C18.7833 11.9389 18.6523 12.7458 18.3902 13.5042C18.1273 14.2625 17.7722 14.9236 17.325 15.4875L23.8292 22.0208C24.0625 22.2542 24.1792 22.5509 24.1792 22.911C24.1792 23.2703 24.0528 23.5764 23.8 23.8292C23.5472 24.082 23.2314 24.2083 22.8527 24.2083C22.4731 24.2083 22.1667 24.082 21.9333 23.8292ZM11.025 16.1583C12.4444 16.1583 13.65 15.6672 14.6417 14.6848C15.6333 13.7033 16.1292 12.5028 16.1292 11.0833C16.1292 9.6639 15.6333 8.46301 14.6417 7.48068C13.65 6.49912 12.4444 6.00835 11.025 6.00835C9.60556 6.00835 8.40506 6.49912 7.4235 7.48068C6.44117 8.46301 5.95 9.6639 5.95 11.0833C5.95 12.5028 6.44117 13.7033 7.4235 14.6848C8.40506 15.6672 9.60556 16.1583 11.025 16.1583Z",fill:"currentColor"})))}};zh.style=yI;const Mh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_search:zh},Symbol.toStringTag,{value:"Module"})),_I=":host{display:inline-flex}",Ph=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 1.33337C4.31334 1.33337 1.33334 4.31337 1.33334 8.00004C1.33334 11.6867 4.31334 14.6667 8 14.6667C11.6867 14.6667 14.6667 11.6867 14.6667 8.00004C14.6667 4.31337 11.6867 1.33337 8 1.33337ZM10.8667 10.8667C10.6067 11.1267 10.1867 11.1267 9.92667 10.8667L8 8.94004L6.07334 10.8667C5.81334 11.1267 5.39334 11.1267 5.13334 10.8667C4.87334 10.6067 4.87334 10.1867 5.13334 9.92671L7.06 8.00004L5.13334 6.07337C4.87334 5.81337 4.87334 5.39337 5.13334 5.13337C5.39334 4.87337 5.81334 4.87337 6.07334 5.13337L8 7.06004L9.92667 5.13337C10.1867 4.87337 10.6067 4.87337 10.8667 5.13337C11.1267 5.39337 11.1267 5.81337 10.8667 6.07337L8.94 8.00004L10.8667 9.92671C11.12 10.18 11.12 10.6067 10.8667 10.8667Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM16.3 16.3C15.91 16.69 15.28 16.69 14.89 16.3L12 13.41L9.11 16.3C8.72 16.69 8.09 16.69 7.7 16.3C7.31 15.91 7.31 15.28 7.7 14.89L10.59 12L7.7 9.11C7.31 8.72 7.31 8.09 7.7 7.7C8.09 7.31 8.72 7.31 9.11 7.7L12 10.59L14.89 7.7C15.28 7.31 15.91 7.31 16.3 7.7C16.69 8.09 16.69 8.72 16.3 9.11L13.41 12L16.3 14.89C16.68 15.27 16.68 15.91 16.3 16.3Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 2.33337C7.54834 2.33337 2.33334 7.54837 2.33334 14C2.33334 20.4517 7.54834 25.6667 14 25.6667C20.4517 25.6667 25.6667 20.4517 25.6667 14C25.6667 7.54837 20.4517 2.33337 14 2.33337ZM19.0167 19.0167C18.5617 19.4717 17.8267 19.4717 17.3717 19.0167L14 15.645L10.6283 19.0167C10.1733 19.4717 9.43834 19.4717 8.98334 19.0167C8.52834 18.5617 8.52834 17.8267 8.98334 17.3717L12.355 14L8.98334 10.6284C8.52834 10.1734 8.52834 9.43837 8.98334 8.98337C9.43834 8.52837 10.1733 8.52837 10.6283 8.98337L14 12.355L17.3717 8.98337C17.8267 8.52837 18.5617 8.52837 19.0167 8.98337C19.4717 9.43837 19.4717 10.1734 19.0167 10.6284L15.645 14L19.0167 17.3717C19.46 17.815 19.46 18.5617 19.0167 19.0167Z",fill:"currentColor"})))}};Ph.style=_I;const SI=":host{display:inline-flex}",Ah=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M4.39999 9.85C4.25554 9.70556 4.18332 9.52778 4.18332 9.31667C4.18332 9.10556 4.25554 8.92778 4.39999 8.78333L7.46665 5.71667C7.54443 5.63889 7.62776 5.58333 7.71665 5.55C7.80554 5.51667 7.89999 5.5 7.99999 5.5C8.09999 5.5 8.19443 5.51667 8.28332 5.55C8.37221 5.58333 8.45554 5.63889 8.53332 5.71667L11.6167 8.8C11.7611 8.94444 11.8307 9.11667 11.8253 9.31667C11.8195 9.51667 11.7444 9.69444 11.6 9.85C11.4555 9.98333 11.2778 10.05 11.0667 10.05C10.8555 10.05 10.6778 9.98333 10.5333 9.85L7.99999 7.3L5.44999 9.86667C5.30554 10 5.13332 10.0667 4.93332 10.0667C4.73332 10.0667 4.55554 9.99444 4.39999 9.85V9.85Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M6.59999 14.775C6.38333 14.5583 6.27499 14.2917 6.27499 13.975C6.27499 13.6583 6.38333 13.3917 6.59999 13.175L11.2 8.575C11.3167 8.45833 11.4417 8.375 11.575 8.325C11.7083 8.275 11.85 8.25 12 8.25C12.15 8.25 12.2917 8.275 12.425 8.325C12.5583 8.375 12.6833 8.45833 12.8 8.575L17.425 13.2C17.6417 13.4167 17.746 13.675 17.738 13.975C17.7293 14.275 17.6167 14.5417 17.4 14.775C17.1833 14.975 16.9167 15.075 16.6 15.075C16.2833 15.075 16.0167 14.975 15.8 14.775L12 10.95L8.17499 14.8C7.95833 15 7.69999 15.1 7.39999 15.1C7.09999 15.1 6.83333 14.9917 6.59999 14.775Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M7.7 17.2375C7.44722 16.9847 7.32083 16.6736 7.32083 16.3042C7.32083 15.9347 7.44722 15.6236 7.7 15.3708L13.0667 10.0042C13.2028 9.86806 13.3486 9.77083 13.5042 9.7125C13.6597 9.65417 13.825 9.625 14 9.625C14.175 9.625 14.3403 9.65417 14.4958 9.7125C14.6514 9.77083 14.7972 9.86806 14.9333 10.0042L20.3292 15.4C20.5819 15.6528 20.7037 15.9542 20.6943 16.3042C20.6842 16.6542 20.5528 16.9653 20.3 17.2375C20.0472 17.4708 19.7361 17.5875 19.3667 17.5875C18.9972 17.5875 18.6861 17.4708 18.4333 17.2375L14 12.775L9.5375 17.2667C9.28472 17.5 8.98333 17.6167 8.63333 17.6167C8.28333 17.6167 7.97222 17.4903 7.7 17.2375V17.2375Z",fill:"currentColor"})))}};Ah.style=SI;const xI=":host{display:inline-flex}",Th=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 3C4.66666 3 1.82 5.07333 0.666664 8C1.82 10.9267 4.66666 13 8 13C11.3333 13 14.18 10.9267 15.3333 8C14.18 5.07333 11.3333 3 8 3ZM8 11.3333C6.16 11.3333 4.66666 9.84 4.66666 8C4.66666 6.16 6.16 4.66667 8 4.66667C9.84 4.66667 11.3333 6.16 11.3333 8C11.3333 9.84 9.84 11.3333 8 11.3333ZM8 6C6.89333 6 6 6.89333 6 8C6 9.10667 6.89333 10 8 10C9.10666 10 10 9.10667 10 8C10 6.89333 9.10666 6 8 6Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 5.25C8.16666 5.25 3.185 8.87833 1.16666 14C3.185 19.1217 8.16666 22.75 14 22.75C19.8333 22.75 24.815 19.1217 26.8333 14C24.815 8.87833 19.8333 5.25 14 5.25ZM14 19.8333C10.78 19.8333 8.16666 17.22 8.16666 14C8.16666 10.78 10.78 8.16667 14 8.16667C17.22 8.16667 19.8333 10.78 19.8333 14C19.8333 17.22 17.22 19.8333 14 19.8333ZM14 10.5C12.0633 10.5 10.5 12.0633 10.5 14C10.5 15.9367 12.0633 17.5 14 17.5C15.9367 17.5 17.5 15.9367 17.5 14C17.5 12.0633 15.9367 10.5 14 10.5Z",fill:"currentColor"})))}};Th.style=xI;const kI=":host{display:inline-flex}",Lh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M7.99999 4.31339C9.83999 4.31339 11.3333 5.80672 11.3333 7.64672C11.3333 7.98672 11.2667 8.31339 11.1733 8.62006L13.2133 10.6601C14.14 9.84006 14.8733 8.81339 15.3333 7.64006C14.18 4.72006 11.3333 2.64672 7.99999 2.64672C7.15332 2.64672 6.33999 2.78006 5.57332 3.02672L7.01999 4.47339C7.33332 4.38006 7.65999 4.31339 7.99999 4.31339ZM1.80666 2.08672C1.54666 2.34672 1.54666 2.76672 1.80666 3.02672L3.11999 4.34006C2.03999 5.20006 1.17999 6.33339 0.666656 7.64672C1.81999 10.5734 4.66666 12.6467 7.99999 12.6467C9.01332 12.6467 9.97999 12.4467 10.8733 12.1001L12.6867 13.9134C12.9467 14.1734 13.3667 14.1734 13.6267 13.9134C13.8867 13.6534 13.8867 13.2334 13.6267 12.9734L2.75332 2.08672C2.49332 1.82672 2.06666 1.82672 1.80666 2.08672ZM7.99999 10.9801C6.15999 10.9801 4.66666 9.48672 4.66666 7.64672C4.66666 7.13339 4.78666 6.64672 4.99332 6.22006L6.03999 7.26672C6.01999 7.38672 5.99999 7.51339 5.99999 7.64672C5.99999 8.75339 6.89332 9.64672 7.99999 9.64672C8.13332 9.64672 8.25332 9.62672 8.37999 9.60006L9.42666 10.6467C8.99332 10.8601 8.51332 10.9801 7.99999 10.9801ZM9.97999 7.42672C9.87999 6.49339 9.14666 5.76672 8.21999 5.66672L9.97999 7.42672Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 6.47002C14.76 6.47002 17 8.71002 17 11.47C17 11.98 16.9 12.47 16.76 12.93L19.82 15.99C21.21 14.76 22.31 13.22 23 11.46C21.27 7.08002 17 3.97002 12 3.97002C10.73 3.97002 9.51 4.17002 8.36 4.54002L10.53 6.71002C11 6.57002 11.49 6.47002 12 6.47002ZM2.71 3.13002C2.32 3.52002 2.32 4.15002 2.71 4.54002L4.68 6.51002C3.06 7.80002 1.77 9.50002 1 11.47C2.73 15.86 7 18.97 12 18.97C13.52 18.97 14.97 18.67 16.31 18.15L19.03 20.87C19.42 21.26 20.05 21.26 20.44 20.87C20.83 20.48 20.83 19.85 20.44 19.46L4.13 3.13002C3.74 2.74002 3.1 2.74002 2.71 3.13002ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 7.54834C17.22 7.54834 19.8333 10.1617 19.8333 13.3817C19.8333 13.9767 19.7167 14.5483 19.5533 15.085L23.1233 18.655C24.745 17.22 26.0283 15.4233 26.8333 13.37C24.815 8.26001 19.8333 4.63167 14 4.63167C12.5183 4.63167 11.095 4.86501 9.75332 5.29667L12.285 7.82834C12.8333 7.66501 13.405 7.54834 14 7.54834ZM3.16166 3.65167C2.70666 4.10667 2.70666 4.84167 3.16166 5.29667L5.45999 7.59501C3.56999 9.10001 2.06499 11.0833 1.16666 13.3817C3.18499 18.5033 8.16666 22.1317 14 22.1317C15.7733 22.1317 17.465 21.7817 19.0283 21.175L22.2017 24.3483C22.6567 24.8033 23.3917 24.8033 23.8467 24.3483C24.3017 23.8933 24.3017 23.1583 23.8467 22.7033L4.81832 3.65167C4.36332 3.19667 3.61666 3.19667 3.16166 3.65167ZM14 19.215C10.78 19.215 8.16666 16.6017 8.16666 13.3817C8.16666 12.4833 8.37666 11.6317 8.73832 10.885L10.57 12.7167C10.535 12.9267 10.5 13.1483 10.5 13.3817C10.5 15.3183 12.0633 16.8817 14 16.8817C14.2333 16.8817 14.4433 16.8467 14.665 16.8L16.4967 18.6317C15.7383 19.005 14.8983 19.215 14 19.215ZM17.465 12.9967C17.29 11.3633 16.0067 10.0917 14.385 9.91667L17.465 12.9967Z",fill:"currentColor"})))}};Lh.style=kI;const Eh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_cancel:Ph,swirl_icon_expand_less:Ah,swirl_icon_visibility:Th,swirl_icon_visibility_off:Lh},Symbol.toStringTag,{value:"Module"})),zI=".sc-swirl-option-list-h{display:block}.sc-swirl-option-list-h *.sc-swirl-option-list{box-sizing:border-box}",Ih=class{constructor(e){ne(this,e),this.itemDrop=Qe(this,"itemDrop",7),this.valueChange=Qe(this,"valueChange",7),this.onClick=t=>{t.preventDefault();const i=t.target,n=i==null?void 0:i.closest("swirl-option-list-item"),s=t.composedPath()[0],c=Boolean(d1(s,'[role="option"]'));if(!Boolean(n)||!c){t.preventDefault();return}this.selectItem(this.items.findIndex(o=>o.value===n.value))},this.onKeyDown=t=>{if(t.code==="ArrowDown")t.preventDefault(),Boolean(this.dragging)?this.moveDraggedItemDown():this.focusNextItem();else if(t.code==="ArrowUp")t.preventDefault(),Boolean(this.dragging)?this.moveDraggedItemUp():this.focusPreviousItem();else if(t.code==="Space"||t.code==="Enter"){if(!t.target.classList.contains("option-list-item__drag-handle")&&Boolean(this.dragging)){t.preventDefault(),this.stopDrag(this.dragging);return}const n=t.composedPath()[0];if(!Boolean(d1(n,'[role="option"]')))return;t.preventDefault(),Boolean(this.dragging)?this.stopDrag(this.dragging):this.selectFocusedItem()}else t.code==="Home"?(t.preventDefault(),this.focusItem(0)):t.code==="End"?(t.preventDefault(),this.focusItem(this.items.length-1)):t.code==="KeyA"&&(t.metaKey||t.ctrlKey)&&this.multiSelect?(t.preventDefault(),this.selectAllItems()):t.code==="Tab"&&Boolean(this.dragging)&&t.preventDefault()},this.toggleDrag=t=>{const i=t.detail;Boolean(this.dragging)?this.stopDrag(i):this.startDrag(i)},this.startDrag=t=>{this.dragging=t,this.draggingStartIndex=this.getItemIndex(this.dragging),t.setAttribute("dragging","true");const i=this.getItemIndex(this.dragging);this.focusItem(i),this.assistiveText=this.assistiveTextItemGrabbed},this.stopDrag=t=>{this.dragging=void 0,t.removeAttribute("dragging");const i=this.getActiveItemIndex();this.assistiveText=`${this.assistiveTextItemMoved} ${i+1}`,this.itemDrop.emit({item:t,oldIndex:this.draggingStartIndex,newIndex:i}),this.draggingStartIndex=void 0,this.focusItem(i)},this.allowDeselect=!0,this.allowDrag=void 0,this.assistiveTextItemGrabbed="Item grabbed. Use arrow keys to move item up or down. Use spacebar to save position.",this.assistiveTextItemMoving="Current position:",this.assistiveTextItemMoved="Item moved. New position:",this.disabled=void 0,this.label=void 0,this.optionListId=void 0,this.multiSelect=void 0,this.value=[],this.assistiveText=void 0}componentDidLoad(){this.updateItems(),this.observeSlotChanges(),this.setItemAllowDragState(),this.setItemDisabledState(),this.setItemContext(),this.syncItemsWithValue(),this.setupDragDrop()}componentDidRender(){this.setupDragDrop()}disconnectedCallback(){var e,t;(e=this.observer)==null||e.disconnect(),(t=this.sortable)==null||t.destroy()}watchAllowDrag(){this.setItemAllowDragState(),this.setupDragDrop()}watchDisabled(){this.setItemDisabledState()}watchMultiSelect(){this.setItemContext()}watchValue(){this.syncItemsWithValue()}observeSlotChanges(){this.observer=new MutationObserver(()=>{this.updateItems(),this.setItemAllowDragState(),this.setItemDisabledState(),this.setItemContext(),this.syncItemsWithValue()}),this.observer.observe(this.listboxEl,{childList:!0,subtree:!0})}updateItems(){var t;this.items=Zt(this.el,"swirl-option-list-item"),this.items.forEach(i=>{var n;return(n=i.querySelector('[role="option"]'))==null?void 0:n.removeAttribute("tabIndex")});const e=(t=this.items[0])==null?void 0:t.querySelector('[role="option"]');!Boolean(e)||e.setAttribute("tabIndex","0")}setItemDisabledState(){this.disabled&&this.items.forEach(e=>e.disabled=!0)}setItemContext(){this.multiSelect?this.items.forEach(e=>e.context="multi-select"):(this.items.forEach(e=>e.context="single-select"),this.value.length>1&&this.updateValue([this.value[0]]))}setupDragDrop(){Boolean(this.sortable)&&this.sortable.destroy(),this.allowDrag&&(this.sortable=dt.create(this.listboxEl,{animation:150,draggable:"swirl-option-list-item",handle:".option-list-item__drag-handle",onEnd:e=>{this.itemDrop.emit({item:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex})}}))}setItemAllowDragState(){if(this.allowDrag&&!this.multiSelect){console.error("[SwirlOptionList] Drag can only be allowed for multi select lists.");return}const e=Zt(this.el,"swirl-option-list-section");if(this.allowDrag&&e.length>0){console.error("[SwirlOptionList] Drag can only be allowed for lists without sections.");return}this.allowDrag?this.items.forEach(t=>{t.setAttribute("allow-drag","true"),t.addEventListener("toggleDrag",this.toggleDrag)}):this.items.forEach(t=>{t.removeAttribute("allow-drag"),t.removeEventListener("toggleDrag",this.toggleDrag)})}selectItem(e){if(this.disabled)return;const t=this.items[e];if(t.disabled)return;const i=this.value.includes(t.value);i&&!this.allowDeselect||(this.multiSelect||(this.value=[]),i?this.updateValue(this.value.filter(n=>n!==t.value)):this.updateValue([...this.value,t.value]),this.focusItem(e))}updateValue(e){this.value=e,this.valueChange.emit(this.value)}selectFocusedItem(){this.disabled||this.getActiveItemIndex()===-1||this.selectItem(this.getActiveItemIndex())}selectAllItems(){if(this.disabled)return;this.items.every(t=>this.value.includes(t.value))?this.updateValue([]):this.updateValue(this.items.map(t=>t.value))}syncItemsWithValue(){var e;(e=this.items)==null||e.forEach(t=>t.selected=this.value.includes(t.value))}focusItem(e){var i;if(this.disabled)return;this.items.forEach(n=>n.querySelector('[role="option"]').removeAttribute("tabIndex"));const t=(i=this.items[e])==null?void 0:i.querySelector('[role="option"]');!Boolean(t)||(t.setAttribute("tabIndex","0"),t.focus(),this.focusedItem=t)}focusNextItem(){if(this.disabled)return;const e=this.getActiveItemIndex(),t=Math.min(e+1,this.items.length-1);this.focusItem(t)}focusPreviousItem(){const e=this.getActiveItemIndex(),t=Math.max(e-1,0);this.focusItem(t)}getActiveItemIndex(){return Boolean(this.focusedItem)?this.items.map(e=>e.querySelector('[role="option"]')).findIndex(e=>e===this.focusedItem):0}getItemIndex(e){return this.items.map(t=>t).findIndex(t=>t===e)}moveDraggedItemDown(){const e=this.dragging.nextElementSibling;!Boolean(e)||(e.after(this.dragging),this.updateItems(),this.listboxEl.focus(),this.assistiveText=`${this.assistiveTextItemMoving} ${this.getActiveItemIndex()+1}`)}moveDraggedItemUp(){const e=this.dragging.previousElementSibling;!Boolean(e)||(e.before(this.dragging),this.updateItems(),this.listboxEl.focus(),this.assistiveText=`${this.assistiveTextItemMoving} ${this.getItemIndex(this.dragging)+1}`)}render(){const e=this.multiSelect?"true":void 0,t=Boolean(this.dragging)?0:void 0;return r(Ge,null,r("swirl-visually-hidden",{role:"alert"},this.assistiveText),r("div",{"aria-label":this.label,"aria-multiselectable":e,class:"option-list",id:this.optionListId,onClick:this.onClick,onKeyDown:this.onKeyDown,ref:i=>this.listboxEl=i,role:"listbox",tabIndex:t},r("slot",null)))}get el(){return ht(this)}static get watchers(){return{allowDrag:["watchAllowDrag"],disabled:["watchDisabled"],multiSelect:["watchMultiSelect"],value:["watchValue"]}}};Ih.style=zI;const MI=":host{display:inline-flex;max-width:100%}:host *{box-sizing:border-box}.tag{display:inline-flex;max-width:100%;padding:var(--s-space-2) var(--s-space-8);align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-default);background-color:var(--s-surface-neutral-subdued);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);white-space:nowrap;gap:var(--s-space-4)}.tag--intent-info{color:var(--s-text-info);background-color:var(--s-surface-info-subdued)}.tag--intent-info .tag__removal-button{color:var(--icon-info)}.tag--intent-critical{color:var(--s-text-critical);background-color:var(--s-surface-critical-subdued)}.tag--intent-critical .tag__removal-button{color:var(--icon-critical)}.tag--intent-warning{color:var(--s-text-warning);background-color:var(--s-surface-warning-subdued)}.tag--intent-warning .tag__removal-button{color:var(--icon-warning)}.tag--intent-success{color:var(--s-text-success);background-color:var(--s-surface-success-subdued)}.tag--intent-success .tag__removal-button{color:var(--icon-success)}.tag__label{overflow:hidden;min-width:0;white-space:nowrap;text-overflow:ellipsis}.tag__removal-button{display:inline-flex;margin-right:calc(-1 * var(--s-space-4));padding:0;border:none;color:var(--s-icon-strong);background-color:transparent;cursor:pointer}.tag__removal-button:focus:not(:focus-visible){outline:none}.tag__removal-button:focus-visible{outline-color:var(--s-focus-default)}",Oh=class{constructor(e){ne(this,e),this.remove=Qe(this,"remove",7),this.onRemove=t=>{var i;(i=this.remove)==null||i.emit(t)},this.intent="default",this.label=void 0,this.removable=void 0,this.removalButtonLabel="Remove"}render(){const e=ce("tag",`tag--intent-${this.intent}`);return r(Ge,null,r("span",{class:e,part:"tag"},r("span",{class:"tag__label"},this.label),this.removable&&r("button",{"aria-label":this.removalButtonLabel,class:"tag__removal-button",onClick:this.onRemove,tabIndex:this.el.ariaHidden==="true"?-1:void 0,type:"button"},r("swirl-icon-close",{size:16}))))}get el(){return ht(this)}};Oh.style=MI;const $h=Object.freeze(Object.defineProperty({__proto__:null,swirl_option_list:Ih,swirl_tag:Oh},Symbol.toStringTag,{value:"Module"}));function Rh(e,t){const i=new Date(e);return i.setDate(i.getDate()+t),i}function PI(e,t,i){const n=[],s=c3(e),c=s.getDay()===0?7:s.getDay(),o=Hh(e),u=o.getDay()===0?7:o.getDay(),a=i===1?7:i-1,d=[],p=[];if(t){let A=(7-i+c)%7,_=u3(s);for(;A>0;)d.push(_),_=u3(_),A-=1;d.reverse();let k=(7-u+a)%7,N=Rs(o);for(;k>0;)p.push(N),N=Rs(N),k-=1}let b=s;for(;b.getMonth()===e.getMonth();)n.push(b),b=Rs(b);return[...d,...n,...p]}function c3(e){return mi(new Date(`${jh(e)}-${String(Dh(e)).padStart(2,"0")}-01`))}function Ci(e){if(e instanceof Date)return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function Hh(e){const t=c3(e);return t.setMonth(t.getMonth()+1),t.setDate(t.getDate()-1),t}function Dh(e){return e.getMonth()+1}function AI(e){return new Array(12).fill(void 0).map((t,i)=>{const n=mi(new Date(`2006-${String(i+1).padStart(2,"0")}-01`));return Intl.DateTimeFormat(e,{month:"long"}).format(n)})}function Rs(e){return Rh(e,1)}function Vh(e){const t=new Date(e);return t.setMonth(t.getMonth()+1),t}function Bh(e){const t=new Date(e);return t.setFullYear(t.getFullYear()+1),t}function u3(e){return Zh(e,1)}function Fh(e){const t=new Date(e);return t.setMonth(t.getMonth()-1),t}function Nh(e){const t=new Date(e);return t.setFullYear(t.getFullYear()-1),t}function TI(e,t){return new Array(7).fill(void 0).map((i,n)=>(e+n)%7+1).map(i=>{const n=mi(new Date(`2006-01-0${i}`));return[Intl.DateTimeFormat(t,{weekday:"short"}).format(n),Intl.DateTimeFormat(t,{weekday:"long"}).format(n)]})}function jh(e){return e.getFullYear()}function LI(e,t){if(!e||!t||!t.from||!t.to)return!1;const i=t.from<t.to?t.from:t.to,n=t.from<t.to?t.to:t.from;return e>=i&&e<=n}function G1(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function mi(e){const t=new Date(e);return t.setMinutes(t.getMinutes()+t.getTimezoneOffset()),t}function Zh(e,t){const i=new Date(e);return i.setDate(i.getDate()-t),i}const EI=".visually-hidden.sc-wc-datepicker{position:absolute;overflow:hidden;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%)}",II={clearButton:"Clear value",monthSelect:"Select month",nextMonthButton:"Next month",nextYearButton:"Next year",picker:"Choose date",previousMonthButton:"Previous month",previousYearButton:"Previous year",todayButton:"Show today",yearSelect:"Select year"},Wh=class{constructor(e){ne(this,e),this.selectDate=Qe(this,"selectDate",7),this.changeMonth=Qe(this,"changeMonth",7),this.disabled=!1,this.disableDate=()=>!1,this.elementClassName="wc-datepicker",this.firstDayOfWeek=0,this.labels=II,this.locale=(navigator==null?void 0:navigator.language)||"en-US",this.showClearButton=!1,this.showMonthStepper=!0,this.showTodayButton=!1,this.showYearStepper=!1,this.startDate=Ci(new Date),this.init=()=>{this.currentDate=this.startDate?mi(new Date(this.startDate)):new Date,this.updateWeekdays()},this.nextMonth=()=>{this.updateCurrentDate(Vh(this.currentDate))},this.nextYear=()=>{this.updateCurrentDate(Bh(this.currentDate))},this.previousMonth=()=>{this.updateCurrentDate(Fh(this.currentDate))},this.previousYear=()=>{this.updateCurrentDate(Nh(this.currentDate))},this.showToday=()=>{this.updateCurrentDate(new Date)},this.clear=()=>{this.value=void 0,this.selectDate.emit(void 0)},this.onClick=t=>{if(this.disabled)return;const i=t.target.closest("[data-date]");if(!Boolean(i))return;const n=mi(new Date(i.dataset.date));this.updateCurrentDate(n),this.onSelectDate(n)},this.onMonthSelect=t=>{const i=+t.target.value-1,n=new Date(this.currentDate);n.setMonth(i),this.updateCurrentDate(n)},this.onYearSelect=t=>{const i=+t.target.value,n=new Date(this.currentDate);n.setFullYear(i),this.updateCurrentDate(n)},this.onKeyDown=t=>{this.disabled||(t.code==="ArrowLeft"?(t.preventDefault(),this.updateCurrentDate(u3(this.currentDate),!0)):t.code==="ArrowRight"?(t.preventDefault(),this.updateCurrentDate(Rs(this.currentDate),!0)):t.code==="ArrowUp"?(t.preventDefault(),this.updateCurrentDate(Zh(this.currentDate,7),!0)):t.code==="ArrowDown"?(t.preventDefault(),this.updateCurrentDate(Rh(this.currentDate,7),!0)):t.code==="PageUp"?(t.preventDefault(),t.shiftKey?this.updateCurrentDate(Nh(this.currentDate),!0):this.updateCurrentDate(Fh(this.currentDate),!0)):t.code==="PageDown"?(t.preventDefault(),t.shiftKey?this.updateCurrentDate(Bh(this.currentDate),!0):this.updateCurrentDate(Vh(this.currentDate),!0)):t.code==="Home"?(t.preventDefault(),this.updateCurrentDate(c3(this.currentDate),!0)):t.code==="End"?(t.preventDefault(),this.updateCurrentDate(Hh(this.currentDate),!0)):(t.code==="Space"||t.code==="Enter")&&(t.preventDefault(),this.onSelectDate(this.currentDate)))},this.onMouseEnter=t=>{if(this.disabled)return;const i=mi(new Date(t.target.closest("td").dataset.date));this.hoveredDate=i},this.onMouseLeave=()=>{this.hoveredDate=void 0}}componentWillLoad(){this.init()}watchFirstDayOfWeek(){this.updateWeekdays()}watchLocale(){Boolean(this.locale)||(this.locale=(navigator==null?void 0:navigator.language)||"en-US"),this.updateWeekdays()}watchRange(){this.value=void 0,this.selectDate.emit(void 0)}watchStartDate(){this.currentDate=this.startDate?mi(new Date(this.startDate)):new Date}watchValue(){Boolean(this.value)&&(Array.isArray(this.value)&&this.value.length>=1?this.currentDate=this.value[0]:this.value instanceof Date&&(this.currentDate=this.value))}componentDidRender(){this.moveFocusAfterMonthChanged&&(this.focusDate(this.currentDate),this.moveFocusAfterMonthChanged=!1)}updateWeekdays(){this.weekdays=TI(this.firstDayOfWeek===0?7:this.firstDayOfWeek,this.locale)}getClassName(e){return Boolean(e)?`${this.elementClassName}__${e}`:this.elementClassName}getCalendarRows(){const e=PI(this.currentDate,!0,this.firstDayOfWeek===0?7:this.firstDayOfWeek),t=[];for(let i=0;i<e.length;i+=7){const n=e.slice(i,i+7);t.push(n)}return t}getTitle(){if(!!Boolean(this.currentDate))return Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long",year:"numeric"}).format(this.currentDate)}focusDate(e){var t;(t=this.el.querySelector(`[data-date="${Ci(e)}"]`))===null||t===void 0||t.focus()}updateCurrentDate(e,t){const i=e.getMonth(),n=e.getFullYear();(i!==this.currentDate.getMonth()||n!==this.currentDate.getFullYear())&&(this.changeMonth.emit({month:Dh(e),year:jh(e)}),t&&(this.moveFocusAfterMonthChanged=!0)),this.currentDate=e,t&&this.focusDate(this.currentDate)}onSelectDate(e){var t,i;if(!this.disableDate(e))if(this.isRangeValue(this.value)){const n=((t=this.value)===null||t===void 0?void 0:t[0])===void 0||this.value.length===2?[e]:[this.value[0],e];n.length===2&&n[0]>n[1]&&n.reverse();const s=n[1]===void 0?[Ci(n[0])]:[Ci(n[0]),Ci(n[1])];this.value=n,this.selectDate.emit(s)}else{if(((i=this.value)===null||i===void 0?void 0:i.getTime())===e.getTime())return;this.value=e,this.selectDate.emit(Ci(e))}}isRangeValue(e){return this.range}render(){const e=this.showTodayButton||this.showClearButton;return r(Ge,null,r("div",{"aria-disabled":String(this.disabled),"aria-label":this.labels.picker,class:{[this.getClassName()]:!0,[`${this.getClassName()}--disabled`]:this.disabled},role:"group"},r("div",{class:this.getClassName("header")},r("span",{"aria-atomic":"true","aria-live":"polite",class:"visually-hidden"},this.getTitle()),this.showYearStepper&&r("button",{"aria-label":this.labels.previousYearButton,class:this.getClassName("previous-year-button"),disabled:this.disabled,innerHTML:this.previousYearButtonContent||void 0,onClick:this.previousYear,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"11 17 6 12 11 7"}),r("polyline",{points:"18 17 13 12 18 7"}))),this.showMonthStepper&&r("button",{"aria-label":this.labels.previousMonthButton,class:this.getClassName("previous-month-button"),disabled:this.disabled,innerHTML:this.previousMonthButtonContent||void 0,onClick:this.previousMonth,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"15 18 9 12 15 6"}))),r("span",{class:this.getClassName("current-month")},r("select",{"aria-label":this.labels.monthSelect,class:this.getClassName("month-select"),disabled:this.disabled,name:"month",onChange:this.onMonthSelect},AI(this.locale).map((t,i)=>r("option",{key:t,selected:this.currentDate.getMonth()===i,value:i+1},t))),r("input",{"aria-label":this.labels.yearSelect,class:this.getClassName("year-select"),disabled:this.disabled,max:9999,min:1,name:"year",onChange:this.onYearSelect,type:"number",value:this.currentDate.getFullYear()})),this.showMonthStepper&&r("button",{"aria-label":this.labels.nextMonthButton,class:this.getClassName("next-month-button"),disabled:this.disabled,innerHTML:this.nextMonthButtonContent||void 0,onClick:this.nextMonth,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"9 18 15 12 9 6"}))),this.showYearStepper&&r("button",{"aria-label":this.labels.nextYearButton,class:this.getClassName("next-year-button"),disabled:this.disabled,innerHTML:this.nextYearButtonContent||void 0,onClick:this.nextYear,type:"button"},r("svg",{fill:"none",height:"24","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",stroke:"currentColor",viewBox:"0 0 24 24",width:"24"},r("polyline",{points:"13 17 18 12 13 7"}),r("polyline",{points:"6 17 11 12 6 7"})))),r("div",{class:this.getClassName("body")},r("table",{class:this.getClassName("calendar"),onKeyDown:this.onKeyDown,role:"grid"},r("thead",{class:this.getClassName("calendar-header")},r("tr",{class:this.getClassName("weekday-row")},this.weekdays.map(t=>r("th",{abbr:t[1],class:this.getClassName("weekday"),key:t[0],scope:"col"},r("span",null,t[0]))))),r("tbody",null,this.getCalendarRows().map(t=>{const i=`row-${t[0].getMonth()}-${t[0].getDate()}`;return r("tr",{class:this.getClassName("calendar-row"),key:i},t.map(n=>{var s,c,o,u,a;const d=G1(n,this.currentDate),p=n.getMonth()!==this.currentDate.getMonth(),b=Array.isArray(this.value)?G1(n,this.value[0])||G1(n,this.value[1]):G1(n,this.value),M=this.isRangeValue?LI(n,{from:(s=this.value)===null||s===void 0?void 0:s[0],to:((c=this.value)===null||c===void 0?void 0:c[1])||this.hoveredDate||this.currentDate}):!1,A=Boolean((o=this.value)===null||o===void 0?void 0:o[0])?[(u=this.value)===null||u===void 0?void 0:u[0],((a=this.value)===null||a===void 0?void 0:a[1])||this.hoveredDate].sort((S,I)=>S-I):[],_=this.range&&G1(A[0],n),g=this.range&&G1(A[1],n),k=G1(n,new Date),N=this.disableDate(n),h=`cell-${n.getMonth()}-${n.getDate()}`,v={[this.getClassName("date")]:!0,[this.getClassName("date--current")]:d,[this.getClassName("date--disabled")]:N,[this.getClassName("date--overflowing")]:p,[this.getClassName("date--today")]:k,[this.getClassName("date--selected")]:b,[this.getClassName("date--in-range")]:M,[this.getClassName("date--start")]:_,[this.getClassName("date--end")]:g},O=b?"strong":k?"em":"span";return r("td",{"aria-disabled":String(N),"aria-selected":b?"true":void 0,class:v,"data-date":Ci(n),key:h,onClick:this.onClick,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"gridcell",tabIndex:G1(n,this.currentDate)&&!this.disabled?0:-1},r(O,{"aria-hidden":"true"},n.getDate()),r("span",{class:"visually-hidden"},Intl.DateTimeFormat(this.locale,{day:"numeric",month:"long"}).format(n)))}))})))),e&&r("div",{class:this.getClassName("footer")},this.showTodayButton&&r("button",{class:this.getClassName("today-button"),disabled:this.disabled,innerHTML:this.todayButtonContent||void 0,onClick:this.showToday,type:"button"},this.labels.todayButton),this.showClearButton&&r("button",{class:this.getClassName("clear-button"),disabled:this.disabled,innerHTML:this.clearButtonContent||void 0,onClick:this.clear,type:"button"},this.labels.clearButton))))}get el(){return ht(this)}static get watchers(){return{firstDayOfWeek:["watchFirstDayOfWeek"],locale:["watchLocale"],range:["watchRange"],startDate:["watchStartDate"],value:["watchValue"]}}};Wh.style=EI;const Uh=Object.freeze(Object.defineProperty({__proto__:null,wc_datepicker:Wh},Symbol.toStringTag,{value:"Module"})),OI=":host{display:inline-flex}",Gh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4142 4.91924C12.8047 5.30976 12.8047 5.94293 12.4142 6.33345L7.08086 11.6667C6.69033 12.0572 6.05717 12.0572 5.66664 11.6667L3.70711 9.70707C3.31658 9.31655 3.31658 8.68338 3.70711 8.29286C4.09763 7.90233 4.7308 7.90233 5.12132 8.29286L6.37375 9.54539L11 4.91924C11.3905 4.52871 12.0237 4.52871 12.4142 4.91924Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.6213 7.37879C19.2071 7.96458 19.2071 8.91433 18.6213 9.50011L10.6213 17.5C10.0355 18.0858 9.08577 18.0858 8.49998 17.5L5.56068 14.5605C4.97489 13.9748 4.97489 13.025 5.56068 12.4392C6.14646 11.8534 7.09621 11.8534 7.682 12.4392L9.56064 14.318L16.5 7.37879C17.0858 6.79301 18.0355 6.79301 18.6213 7.37879Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.7248 8.60863C22.4083 9.29205 22.4083 10.4001 21.7248 11.0835L12.3915 20.4167C11.7081 21.1001 10.6001 21.1001 9.91663 20.4167L6.48744 16.9873C5.80403 16.3039 5.80403 15.1959 6.48744 14.5125C7.17086 13.8291 8.2789 13.8291 8.96232 14.5125L11.1541 16.7044L19.25 8.60863C19.9334 7.92521 21.0414 7.92521 21.7248 8.60863Z",fill:"currentColor"})))}};Gh.style=OI;const $I=":host{display:inline-flex}",Yh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("rect",{x:"9",y:"3",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"9",y:"7",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"9",y:"11",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"3",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"7",width:"2",height:"2",rx:"1",fill:"currentColor"}),r("rect",{x:"5",y:"11",width:"2",height:"2",rx:"1",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("rect",{x:"13.5",y:"4.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"13.5",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"13.5",y:"16.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"4.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"10.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"}),r("rect",{x:"7.5",y:"16.5",width:"3",height:"3",rx:"1.5",fill:"currentColor"})),this.size===28&&r(V,null,r("rect",{x:"15.75",y:"5.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"15.75",y:"12.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"15.75",y:"19.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"5.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"12.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"}),r("rect",{x:"8.75",y:"19.25",width:"3.5",height:"3.5",rx:"1.75",fill:"currentColor"})))}};Yh.style=$I;const RI=`.sc-swirl-option-list-item-h{position:relative;display:inline-flex;width:100%}.sc-swirl-option-list-item-h *.sc-swirl-option-list-item{box-sizing:border-box}.option-list-item.sc-swirl-option-list-item{display:inline-flex;width:100%;min-width:15rem;min-height:3rem;padding:var(--s-space-12) var(--s-space-16);align-items:center;background-color:var(--s-surface-overlay-default);cursor:pointer;gap:var(--s-space-12)}.option-list-item.sc-swirl-option-list-item:hover:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-hovered)}.option-list-item.sc-swirl-option-list-item:active:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.option-list-item.sc-swirl-option-list-item:focus{outline:none}.option-list-item.sc-swirl-option-list-item:focus-visible{background-color:var(--s-surface-overlay-hovered)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item.sc-swirl-option-list-item{min-height:0;padding:var(--s-space-8) var(--s-space-12);gap:var(--s-space-8)}}.option-list-item--draggable.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{padding-right:calc(var(--s-space-16) + 1.5rem)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item--draggable.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{padding-right:calc(var(--s-space-16) + 1rem)}}.option-list-item--dragging.sc-swirl-option-list-item{z-index:1;border-radius:var(--s-border-radius-s);background-color:var(--s-surface-overlay-pressed);box-shadow:0 0.0625rem 0.125rem rgba(25, 26, 28, 0.08),
|
|
453
|
+
0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.option-list-item--dragging.sc-swirl-option-list-item:hover:not(.option-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{color:var(--s-text-highlight)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__icon.sc-swirl-option-list-item{color:var(--s-icon-highlight)}.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{border-color:var(--s-icon-highlight);color:var(--s-text-on-status);background-color:var(--s-icon-highlight)}.option-list-item--disabled.sc-swirl-option-list-item{cursor:default}.option-list-item--disabled.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{background-color:var(--s-icon-disabled)}.option-list-item--disabled.option-list-item--selected.sc-swirl-option-list-item .option-list-item__checkbox-icon.sc-swirl-option-list-item{color:var(--s-text-on-status)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__label.sc-swirl-option-list-item{color:var(--s-text-disabled)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__icon.sc-swirl-option-list-item,.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__selection-icon.sc-swirl-option-list-item,.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__checkbox-icon.sc-swirl-option-list-item{color:var(--s-icon-disabled)}.option-list-item--disabled.sc-swirl-option-list-item .option-list-item__checkbox-box.sc-swirl-option-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-surface-overlay-default)}.option-list-item__label.sc-swirl-option-list-item{flex-grow:1;color:var(--s-text-default);font-size:var(--s-font-size-base);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-item__label.sc-swirl-option-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.option-list-item__icon.sc-swirl-option-list-item{display:inline-flex;flex-shrink:0;color:var(--s-icon-default)}.option-list-item__selection-icon.sc-swirl-option-list-item{display:inline-flex;flex-shrink:0;color:var(--s-icon-highlight)}.option-list-item__checkbox.sc-swirl-option-list-item{display:inline-flex;width:1.5rem;height:1.5rem;padding:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.option-list-item__checkbox.sc-swirl-option-list-item{width:1.375rem;height:1.375rem}}.option-list-item__checkbox-box.sc-swirl-option-list-item{display:inline-flex;width:100%;height:100%;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s)}.option-list-item__checkbox-icon.sc-swirl-option-list-item{display:inline-flex}.option-list-item__drag-handle.sc-swirl-option-list-item{position:absolute;z-index:1;top:50%;right:var(--s-space-4);display:inline-flex;margin:0;padding:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.option-list-item__drag-handle.sc-swirl-option-list-item:active{cursor:grabbing}.option-list-item__drag-handle.sc-swirl-option-list-item:focus:not(:focus-visible){outline:none}.option-list-item__drag-handle.sc-swirl-option-list-item:focus-visible{outline-color:var(--s-focus-default)}`,qh=class{constructor(e){ne(this,e),this.toggleDrag=Qe(this,"toggleDrag",7),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches),this.updateIconSize(t.matches)},this.onDragHandleKeyDown=t=>{(t.code==="Space"||t.code==="Enter")&&(t.preventDefault(),this.toggleDrag.emit(this.el))},this.onBlur=()=>{this.focused=!1},this.onFocus=()=>{this.focused=!0},this.allowDrag=void 0,this.context="single-select",this.disabled=void 0,this.dragging=void 0,this.dragHandleDescription="Press spacebar to toggle grab",this.dragHandleLabel="Move option",this.icon=void 0,this.label=void 0,this.selected=!1,this.swirlAriaRole="option",this.value=void 0,this.iconSize=24,this.focused=void 0}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.updateIconSize(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){var i;const t=(i=this.iconEl)==null?void 0:i.children[0];t==null||t.setAttribute("size",e?"20":"24")}updateIconSize(e){this.iconSize=e?20:24}render(){const e=this.disabled?"true":void 0,t=String(this.selected),i=this.context==="multi-select",n=Boolean(this.icon)&&this.context==="single-select",s=this.selected&&this.context==="single-select",c=ce("option-list-item",`option-list-item--context-${this.context}`,{"option-list-item--disabled":this.disabled,"option-list-item--draggable":this.allowDrag,"option-list-item--dragging":this.dragging,"option-list-item--selected":this.selected});return r(Ge,null,r("div",{"aria-checked":this.swirlAriaRole==="menuitemradio"?t:void 0,"aria-disabled":e,"aria-selected":this.swirlAriaRole==="option"?t:void 0,class:c,onBlur:this.onBlur,onFocus:this.onFocus,part:"option-list-item",role:this.swirlAriaRole},n&&r("span",{class:"option-list-item__icon",innerHTML:this.icon,ref:o=>this.iconEl=o}),i&&r("span",{class:"option-list-item__checkbox"},r("span",{class:"option-list-item__checkbox-box"},this.selected&&r("swirl-icon-check-strong",{class:"option-list-item__checkbox-icon",size:16}))),r("span",{class:"option-list-item__label",part:"option-list-item__label"},this.label),s&&r("span",{class:"option-list-item__selection-icon"},r("swirl-icon-check-small",{size:this.iconSize}))),this.allowDrag&&r("button",{"aria-describedby":this.dragHandleDescription,"aria-label":`${this.dragHandleLabel} "${this.label}"`,class:"option-list-item__drag-handle",onKeyDown:this.onDragHandleKeyDown,tabIndex:this.focused?0:-1,type:"button"},r("swirl-icon-drag-handle",{size:this.iconSize})))}get el(){return ht(this)}};qh.style=RI;const Xh=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_check_small:Gh,swirl_icon_drag_handle:Yh,swirl_option_list_item:qh},Symbol.toStringTag,{value:"Module"})),HI=":host{display:block;width:100%}:host *{box-sizing:border-box}:host(.circle){display:inline-flex;width:auto}.progress-indicator--variant-bar{display:block;width:100%;height:0.25rem;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.progress-indicator--variant-bar::-webkit-progress-bar{border-radius:0.125rem;background-color:var(--s-surface-raised-default)}.progress-indicator--variant-bar::-webkit-progress-value{border-radius:0.125rem;background-color:var(--s-border-highlight);-webkit-transition:width 0.25s;transition:width 0.25s}.progress-indicator--variant-bar::-moz-progress-bar{height:0.25rem;border-radius:0.125rem;background-color:var(--s-border-highlight);-moz-transition:width 0.25s;transition:width 0.25s}@media (prefers-reduced-motion){.progress-indicator--variant-bar::-moz-progress-bar{-moz-transition:none;transition:none}}.progress-indicator--variant-bar.progress-indicator--size-s{height:0.125rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-bar{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-webkit-progress-value{border-radius:0.0625rem}.progress-indicator--variant-bar.progress-indicator--size-s::-moz-progress-bar{height:0.125rem;border-radius:0.0625rem}.progress-indicator--variant-circle{position:relative;display:inline-flex;overflow:hidden;width:3rem;height:3rem}.progress-indicator--variant-circle.progress-indicator--size-s{width:1.5rem;height:1.5rem}.progress-indicator__circle{position:absolute;width:100%;height:100%;transform:rotate(-90deg);inset:0}.progress-indicator__circle-background{stroke:var(--s-border-default);stroke-linecap:round}.progress-indicator__circle-value{transition:stroke-dashoffset 0.25s;stroke:var(--s-interactive-primary-default);stroke-linecap:round}@media (prefers-reduced-motion){.progress-indicator__circle-value{transition:none}}",Kh=class{constructor(e){ne(this,e),this.label=void 0,this.size="m",this.value=0,this.variant="bar"}render(){const e=ce("progress-indicator",`progress-indicator--size-${this.size}`,`progress-indicator--variant-${this.variant}`),t=this.size==="m"?4:2,i=this.size==="m"?20:10,n=Math.round(i*2*Math.PI),s=Math.round(n*((100-this.value)/100));return r(Ge,{class:this.variant},this.variant==="bar"&&r("progress",{"aria-label":this.label,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":this.value,class:e,max:100,value:this.value}),this.variant==="circle"&&r("span",{role:"progressbar","aria-label":this.label,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":this.value,class:e},r("svg",{class:"progress-indicator__circle",focusable:"false",viewBox:`0 0 ${(i+t)*2} ${(i+t)*2}`},r("circle",{class:"progress-indicator__circle-background",cx:i+t,cy:i+t,r:i,fill:"none","stroke-width":t}),r("circle",{class:"progress-indicator__circle-value",cx:i+t,cy:i+t,r:i,fill:"none","stroke-width":t,"stroke-dasharray":n,"stroke-dashoffset":s}))))}};Kh.style=HI;const Qh=Object.freeze(Object.defineProperty({__proto__:null,swirl_progress_indicator:Kh},Symbol.toStringTag,{value:"Module"})),DI=":host{display:inline-flex}",Jh=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M7.99999 10.05C7.89999 10.05 7.80554 10.0334 7.71665 10C7.62777 9.9667 7.54443 9.9167 7.46665 9.85003L4.38332 6.7667C4.23888 6.62225 4.16954 6.44714 4.17532 6.24137C4.18065 6.03603 4.25554 5.86114 4.39999 5.7167C4.54443 5.57225 4.72221 5.50003 4.93332 5.50003C5.14443 5.50003 5.32221 5.57225 5.46665 5.7167L7.99999 8.25003L10.55 5.70003C10.6944 5.55559 10.8695 5.48625 11.0753 5.49203C11.2807 5.49737 11.4555 5.57225 11.6 5.7167C11.7444 5.86114 11.8167 6.03892 11.8167 6.25003C11.8167 6.46114 11.7444 6.63892 11.6 6.78337L8.53332 9.85003C8.45554 9.9167 8.37221 9.9667 8.28332 10C8.19443 10.0334 8.09999 10.05 7.99999 10.05V10.05Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 15.075C11.85 15.075 11.7083 15.05 11.575 15C11.4417 14.95 11.3167 14.875 11.2 14.775L6.57501 10.15C6.35835 9.93338 6.25435 9.67072 6.26301 9.36205C6.27101 9.05405 6.38335 8.79172 6.60001 8.57505C6.81668 8.35838 7.08335 8.25005 7.40001 8.25005C7.71668 8.25005 7.98335 8.35838 8.20001 8.57505L12 12.375L15.825 8.55005C16.0417 8.33338 16.3043 8.22938 16.613 8.23805C16.921 8.24605 17.1833 8.35838 17.4 8.57505C17.6167 8.79172 17.725 9.05838 17.725 9.37505C17.725 9.69172 17.6167 9.95838 17.4 10.175L12.8 14.775C12.6833 14.875 12.5583 14.95 12.425 15C12.2917 15.05 12.15 15.075 12 15.075Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 17.5876C13.825 17.5876 13.6597 17.5584 13.5042 17.5001C13.3486 17.4417 13.2028 17.3542 13.0667 17.2376L7.67083 11.8417C7.41805 11.5889 7.29672 11.2825 7.30683 10.9224C7.31616 10.5631 7.44722 10.257 7.69999 10.0042C7.95277 9.75145 8.26388 9.62506 8.63333 9.62506C9.00277 9.62506 9.31388 9.75145 9.56666 10.0042L14 14.4376L18.4625 9.97506C18.7153 9.72228 19.0217 9.60095 19.3818 9.61106C19.7412 9.62039 20.0472 9.75145 20.3 10.0042C20.5528 10.257 20.6792 10.5681 20.6792 10.9376C20.6792 11.307 20.5528 11.6181 20.3 11.8709L14.9333 17.2376C14.7972 17.3542 14.6514 17.4417 14.4958 17.5001C14.3403 17.5584 14.175 17.5876 14 17.5876V17.5876Z",fill:"currentColor"})))}};Jh.style=DI;const ef=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_expand_more:Jh},Symbol.toStringTag,{value:"Module"})),VI=":host{position:relative;z-index:var(--s-z-40);display:inline-flex}:host *{box-sizing:border-box}.popover--active:not(.popover--closing) .popover__backdrop{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__backdrop{animation:none}}.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-slide-in}@media (min-width: 768px){.popover--active:not(.popover--closing) .popover__content{transform-origin:top left;animation:0.15s popover-fade-scale-in-xy}}@media (prefers-reduced-motion){.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--closing .popover__backdrop{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--closing .popover__backdrop{animation:none}}.popover--closing .popover__content{animation:0.15s popover-slide-out;animation-fill-mode:forwards}@media (min-width: 768px){.popover--closing .popover__content{animation:0.15s popover-fade-out}}@media (prefers-reduced-motion){.popover--closing .popover__content{animation:none}}.popover--inactive .popover__content{display:none}@media (max-width: 767px){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-in}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:0.15s popover-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.popover--fullscreen-bottom-sheet.popover--closing .popover__content{animation:none}}.popover--fullscreen-bottom-sheet .popover__backdrop{display:none}.popover--fullscreen-bottom-sheet .popover__content{top:0;border-top-left-radius:0;border-top-right-radius:0}.popover--fullscreen-bottom-sheet .popover__scroll-container{height:100%;max-height:none;padding-top:0;padding-bottom:0}.popover--fullscreen-bottom-sheet .popover__handle{display:none}}@media (min-width: 768px){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:0.15s popover-fade-scale-in-y}}@media (prefers-reduced-motion){.popover--animation-scale-in-y.popover--active:not(.popover--closing) .popover__content{animation:none}}.popover__backdrop{position:fixed;z-index:0;background-color:rgba(0, 0, 0, 0.2);animation:0.15s popover-backdrop-fade-in;inset:0}@media (prefers-reduced-motion){.popover__backdrop{animation:none}}@media (min-width: 768px){.popover__backdrop{display:none}}.popover__content{position:fixed;z-index:2;right:0;bottom:0;left:0;overflow:hidden;border-top-left-radius:var(--s-border-radius-xl);border-top-right-radius:var(--s-border-radius-xl);background-color:var(--s-surface-overlay-default)}@media (min-width: 768px){.popover__content{right:unset;bottom:unset;left:unset;max-width:22.5rem;border-radius:var(--s-border-radius-sm);animation:none;box-shadow:var(--s-shadow-level-1)}}.popover__scroll-container{overflow-x:hidden;overflow-y:auto;width:100%;max-height:90vh;padding-top:var(--s-space-24);padding-bottom:var(--s-space-24);overscroll-behavior:contain}@media (min-width: 768px){.popover__scroll-container{max-height:22rem;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8)}}.popover__handle{position:absolute;top:var(--s-space-8);left:50%;width:2.5rem;height:0.375rem;border-radius:0.1875rem;background-color:var(--s-border-default);transform:translatex(-50%)}@media (min-width: 768px){.popover__handle{display:none}}@keyframes popover-slide-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes popover-slide-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes popover-fade-in{from{opacity:0}to{opacity:1}}@keyframes popover-fade-out{from{opacity:1}to{opacity:0}}@keyframes popover-fade-scale-in-xy{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes popover-fade-scale-in-y{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}",tf=class{constructor(e){ne(this,e),this.popoverClose=Qe(this,"popoverClose",7),this.popoverOpen=Qe(this,"popoverOpen",7),this.toggle=t=>{t.stopPropagation(),this.active?this.close():this.open()},this.onKeydown=t=>{t.code==="Escape"&&this.active&&(t.stopPropagation(),this.close())},this.reposition=async()=>{const t=Qt();if(!Boolean(this.triggerEl)||!Boolean(this.contentContainer))return;if(t){this.position=void 0;return}const i=typeof this.offset=="number"?{mainAxis:this.offset,crossAxis:0}:{mainAxis:this.offset[0],crossAxis:this.offset[1]},n=this.enableFlip?[qi(i),go(),bo()]:[qi(i),go()];this.position=await Zr(this.triggerEl,this.contentContainer,{middleware:n,placement:this.placement,strategy:"fixed"})},this.onCloseButtonClick=()=>{this.close()},this.animation="scale-in-xy",this.disableScrollLock=void 0,this.enableFlip=!0,this.fullscreenBottomSheet=void 0,this.label=void 0,this.maxHeight="22rem",this.offset=8,this.popoverId=void 0,this.placement="bottom-start",this.trigger=void 0,this.triggerContainer=void 0,this.useContainerWidth=void 0,this.active=!1,this.closing=!1,this.position=void 0}componentDidLoad(){this.connectTrigger(),this.updateTriggerAttributes(),Boolean(this.trigger)&&console.warn('[Swirl] The "trigger" prop of swirl-popover is deprecated and will be removed with the next major release. Please use the swirl-popover-trigger component instead. https://swirl-storybook.flip-app.dev/?path=/docs/components-swirlpopovertrigger--docs')}disconnectedCallback(){this.unlockBodyScroll()}onWindowFocusIn(e){var o;if(!this.active)return;const t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),i=e.target,n=e.relatedTarget,s=ii();!this.el.contains(i)&&!this.el.contains(s)&&i!==this.triggerEl&&!((o=this.triggerEl)!=null&&o.contains(i))&&(!t||t&&!this.el.contains(n||i)&&n!==this.el)&&this.close()}onWindowClick(e){if(!this.active)return;const t=e.target,i=this.el.contains(t),n=e.composedPath().some(c=>Boolean(c)&&c instanceof Node?this.el.contains(c):!1),s=t===this.triggerEl;!i&&!n&&!s&&this.close()}async close(){var e;this.closing||!this.active||(this.popoverClose.emit(),this.disableAutoUpdate&&this.disableAutoUpdate(),this.closing=!0,setTimeout(()=>{this.active=!1,this.closing=!1,this.updateTriggerAttributes()},150),this.unlockBodyScroll(),(e=this.getNativeTriggerElement())==null||e.focus())}async open(e){if(this.triggerEl=e||this.triggerEl,this.active||!Boolean(this.triggerEl))return;this.adjustWidth(),this.active=!0,this.updateTriggerAttributes();const t=this.getFocusableChildren();requestAnimationFrame(async()=>{await this.reposition(),this.popoverOpen.emit({position:this.position}),t.length>0?t[0].focus():this.contentContainer.focus(),this.disableAutoUpdate&&this.disableAutoUpdate(),this.disableAutoUpdate=jr(this.triggerEl,this.contentContainer,()=>this.reposition()),this.scrollContainer.scrollTop=0,this.lockBodyScroll()})}connectTrigger(){if(!Boolean(this.trigger)){this.triggerEl=void 0;return}this.triggerEl=typeof this.trigger=="string"?Zt(this.triggerContainer||document.body,`#${this.trigger}`)[0]:this.trigger,Boolean(this.triggerEl)&&this.triggerEl.addEventListener("click",e=>{this.toggle(e)})}getNativeTriggerElement(){var e,t,i,n;return(e=this.triggerEl)!=null&&e.tagName.startsWith("SWIRL-")?((t=this.triggerEl)==null?void 0:t.children[0])||((n=(i=this.triggerEl)==null?void 0:i.shadowRoot)==null?void 0:n.children[0])||this.triggerEl:this.triggerEl}updateTriggerAttributes(){if(!Boolean(this.triggerEl))return;const e=this.getNativeTriggerElement();e.setAttribute("aria-controls",this.el.id),e.setAttribute("aria-expanded",String(this.active)),e.setAttribute("aria-haspopup","dialog")}getFocusableChildren(){return Zt(this.el,'[role="menuitem"], [role="listbox"]')}adjustWidth(){let e=this.useContainerWidth;[!0,"true"].includes(this.useContainerWidth)?e=!0:[!1,"false"].includes(this.useContainerWidth)&&(e=!1);const t=!window.matchMedia("(min-width: 768px)").matches;if(Boolean(e)&&!t){const i=typeof e=="string"?this.el.closest(e)||this.el.parentElement:this.el.parentElement;this.contentContainer.style.maxWidth="none",this.contentContainer.style.width=i.getBoundingClientRect().width+"px"}else this.contentContainer.style.maxWidth="",this.contentContainer.style.width=""}lockBodyScroll(){!Qt()||this.disableScrollLock||hs(this.scrollContainer)}unlockBodyScroll(){!Qt()||this.disableScrollLock||fs(this.scrollContainer)}render(){var i,n,s;const e=!window.matchMedia("(min-width: 768px)").matches,t=ce("popover",`popover--animation-${this.animation}`,`popover--placement-${(i=this.position)==null?void 0:i.placement}`,{"popover--closing":this.closing,"popover--active":this.active,"popover--fullscreen-bottom-sheet":this.fullscreenBottomSheet,"popover--inactive":!this.active});return r(Ge,null,r("div",{class:t,onKeyDown:this.onKeydown},r("div",{"aria-hidden":this.active?"false":"true","aria-label":this.label,class:"popover__content",id:this.popoverId,part:"popover__content",role:"dialog",ref:c=>this.contentContainer=c,style:{top:Boolean(this.position)?`${(n=this.position)==null?void 0:n.y}px`:"",left:Boolean(this.position)?`${(s=this.position)==null?void 0:s.x}px`:""},tabindex:"-1"},r("span",{class:"popover__handle"}),r("div",{class:"popover__scroll-container",part:"popover__scroll-container",ref:c=>this.scrollContainer=c,style:{maxHeight:!e&&Boolean(this.maxHeight)?this.maxHeight:void 0}},r("slot",null))),this.active&&r("div",{class:"popover__backdrop",onClick:this.onCloseButtonClick})))}get el(){return ht(this)}};tf.style=VI;const BI=".sc-swirl-popover-trigger-h{display:contents}",rf=class{constructor(e){ne(this,e),this.popoverOpen=!1,this.onClick=t=>{t.stopPropagation();const i=this.getPopoverEl();if(!Boolean(i))return;if(this.popoverOpen){i.close();return}const n=this.getTriggerEl();!Boolean(n)||(i.open(n),i.addEventListener("popoverOpen",()=>{this.popoverOpen=!0,this.updateTriggerElAriaAttributes(!0)},{once:!0}),i.addEventListener("popoverClose",()=>{this.popoverOpen=!1,this.updateTriggerElAriaAttributes(!1)},{once:!0}))},this.updateTriggerElAriaAttributes=t=>{var s;if(!this.setAriaAttributes)return;const i=this.getTriggerEl(),n=typeof this.popover=="string"?this.popover:(s=this.popover)==null?void 0:s.id;i.tagName.startsWith("SWIRL-")?(i.setAttribute("swirl-aria-controls",n),i.setAttribute("swirl-aria-expanded",String(t||"false")),i.setAttribute("swirl-aria-haspopup","dialog")):(i.setAttribute("aria-controls",n),i.setAttribute("aria-expanded",String(t||"false")),i.setAttribute("aria-haspopup","dialog"))},this.popover=void 0,this.setAriaAttributes=!0}componentDidLoad(){this.updateTriggerElAriaAttributes()}watchPopover(){this.updateTriggerElAriaAttributes()}getPopoverEl(){return typeof this.popover=="string"?document.querySelector(`#${this.popover}`):this.popover}getTriggerEl(){return this.el.children.length!==1&&console.warn('[Swirl] The "swirl-popover-trigger" component expects exactly one child element.'),this.el.children[0]}render(){return r(Ge,{onClick:this.onClick},r("slot",null))}get el(){return ht(this)}static get watchers(){return{popover:["watchPopover"]}}};rf.style=BI;const nf=Object.freeze(Object.defineProperty({__proto__:null,swirl_popover:tf,swirl_popover_trigger:rf},Symbol.toStringTag,{value:"Module"}));var sf=B1(function(e){(function(t,i){e.exports?e.exports=i():t.balanceText=i()})(t1,()=>{let t,i,n;const s={sel:[],el:[]};let c=!1,o=!1;function u(){}function a(P,B){Array.prototype.forEach.call(P,B)}function d(P){document.readyState!=="loading"?P():document.addEventListener?document.addEventListener("DOMContentLoaded",P):document.attachEvent("onreadystatechange",()=>{document.readyState!=="loading"&&P()})}function p(P,B,D,...ae){let ee;return function(){const de=this;function he(){D||P.apply(de,ae),ee=null}ee?clearTimeout(ee):D&&P.apply(de,ae),ee=setTimeout(he,B||100)}}function b(){if(typeof window>"u")return!1;const{style:P}=document.documentElement;return P.textWrap||P.WebkitTextWrap||P.MozTextWrap||P.MsTextWrap}function M(){this.reset()}M.prototype.reset=function(){this.index=0,this.width=0};function A(P){return i.some(B=>B.start<P&&P<B.end)}function _(P,B){if(P.nodeType===P.ELEMENT_NODE)if(window.getComputedStyle(P).whiteSpace==="nowrap"){const ae=P.outerHTML.length;i.push({start:n,end:n+ae}),n+=ae}else a(P.childNodes,ae=>{_(ae,!0)}),B&&(n+=P.outerHTML.length-P.innerHTML.length);else P.nodeType===P.COMMENT_NODE?n+=P.length+7:P.nodeType===P.PROCESSING_INSTRUCTION_NODE?n+=P.length+2:n+=P.length}function g(P,B,D){if(D===0)P.style.whiteSpace=B,n=0,i=[],_(P,!1),P.style.whiteSpace="nowrap";else{const ae=[];i.forEach(ee=>{ee.start>D&&ae.push({start:ee.start-D,end:ee.end-D})}),i=ae}}function k(P){let B=P.querySelectorAll('br[data-owner="balance-text-hyphen"]');a(B,ae=>{ae.outerHTML=""}),B=P.querySelectorAll('br[data-owner="balance-text"]'),a(B,ae=>{ae.outerHTML=" "});let D=P.querySelectorAll('span[data-owner="balance-text-softhyphen"]');if(D.length>0&&a(D,ae=>{const ee=document.createTextNode("\xAD");ae.parentNode.insertBefore(ee,ae),ae.parentNode.removeChild(ae)}),D=P.querySelectorAll('span[data-owner="balance-text-justify"]'),D.length>0){let ae="";a(D,ee=>{ae+=ee.textContent,ee.parentNode.removeChild(ee)}),P.innerHTML=ae}}const N=function(P){return(P.currentStyle||window.getComputedStyle(P,null)).textAlign==="justify"};function h(P,B,D){B=B.trim();const ae=B.split(" ").length;if(B=`${B} `,ae<2)return B;const ee=document.createElement("span");ee.innerHTML=B,P.appendChild(ee);const de=ee.offsetWidth;ee.parentNode.removeChild(ee);const he=Math.floor((D-de)/(ae-1));ee.style.wordSpacing=`${he}px`,ee.setAttribute("data-owner","balance-text-justify");const Y=document.createElement("div");return Y.appendChild(ee),Y.innerHTML}function v(P,B){const D=/([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;let ae;if(!t)for(t=[],ae=D.exec(P);ae!==null;)A(ae.index)||t.push(ae.index),ae=D.exec(P);return t.indexOf(B)!==-1}function O(P,B){return B===0||B===P.length||v(P,B-1)&&!v(P,B)}function S(P,B,D,ae,ee,de,he){let Y;if(B&&typeof B=="string")for(;;){for(;!O(B,de);)de+=ee;if(P.innerHTML=B.substr(0,de),Y=P.offsetWidth,ee<0){if(Y<=ae||Y<=0||de===0)break}else if(ae<=Y||D<=Y||de===B.length)break;de+=ee}he.index=de,he.width=Y}function I(P,B){const D=document.createElement("div");D.style.display="block",D.style.position="absolute",D.style.bottom=0,D.style.right=0,D.style.width=0,D.style.height=0,D.style.margin=0,D.style.padding=0,D.style.visibility="hidden",D.style.overflow="hidden";const ae=document.createElement("span");ae.style.fontSize="2000px",ae.innerHTML=" ",D.appendChild(ae),P.appendChild(D);const ee=ae.getBoundingClientRect();D.parentNode.removeChild(D);const de=ee.height/ee.width;return B/de}function $(P){return P?typeof P=="string"?document.querySelectorAll(P):P.tagName&&P.querySelectorAll?[P]:P:[]}function y(P){a($(P),B=>{k(B);const ae=B.style.whiteSpace,ee=B.style.float,de=B.style.display,he=B.style.position,Y=B.style.lineHeight;B.style.lineHeight="normal";const q=B.offsetWidth,X=B.offsetHeight;B.style.whiteSpace="nowrap",B.style.float="none",B.style.display="inline",B.style.position="static";let W=B.offsetWidth;const Ce=B.offsetHeight,_e=ae==="pre-wrap"?0:I(B,Ce);if(q>0&&W>q&&W<5e3){let Pe=B.innerHTML,Ae="",ie="";const F=N(B);let G=Math.round(X/Ce),K=0,w,L,H,j,U,oe,me;for(;G>1;)t=null,g(B,ae,K),w=Math.round((W+_e)/G-_e),L=Math.round((Pe.length+1)/G)-1,H=new M,S(B,Pe,q,w,-1,L,H),j=new M,L=H.index,S(B,Pe,q,w,1,L,j),H.reset(),L=j.index,S(B,Pe,q,w,-1,L,H),H.index===0?U=j.index:q<j.width||H.index===j.index?U=H.index:U=Math.abs(w-H.width)<Math.abs(j.width-w)?H.index:j.index,ie=Pe.substr(0,U).replace(/\s$/,""),me=Boolean(ie.match(/\u00ad$/)),me&&(ie=ie.replace(/\u00ad$/,'<span data-owner="balance-text-softhyphen">-</span>')),F?Ae+=h(B,ie,q):(Ae+=ie,oe=me||Boolean(ie.match(/(-|\u2014|\u2013)$/)),Ae+=oe?'<br data-owner="balance-text-hyphen" />':'<br data-owner="balance-text" aria-hidden="true" />'),Pe=Pe.substr(U),K=U,G--,B.innerHTML=Pe,W=B.offsetWidth;F?B.innerHTML=Ae+h(B,Pe,q):B.innerHTML=Ae+Pe}B.style.whiteSpace=ae,B.style.float=ee,B.style.display=de,B.style.position=he,B.style.lineHeight=Y})}function T(){const P=s.sel.join(","),B=$(P),D=Array.prototype.concat.apply(s.el,B);y(D)}function x(){c||(d(T),window.addEventListener("load",T),window.addEventListener("resize",p(T)),c=!0)}function f(P){typeof P=="string"?s.sel.push(P):a($(P),B=>{s.el.push(B)}),x(),T()}function C(P){typeof P=="string"?s.sel=s.sel.filter(B=>B!==P):(P=$(P),s.el=s.el.filter(B=>P.indexOf(B)===-1))}function z(){o||(s.sel.push(".balance-text"),x(),o=!0)}function E(P,B){P?B&&B.watch===!0?f(P):B&&B.watch===!1?C(P):y(P):z()}return E.updateWatched=T,b()?(u.updateWatched=u,u):E})});const FI=".sc-swirl-heading-h{display:block;width:100%}.sc-swirl-heading-h *.sc-swirl-heading{box-sizing:border-box}.heading.sc-swirl-heading{display:block;width:100%;margin:0;padding:0;text-align:start}.heading--align-start.sc-swirl-heading{text-align:start}.heading--align-center.sc-swirl-heading{text-align:center}.heading--align-end.sc-swirl-heading{text-align:end}.heading--level-1.sc-swirl-heading{font-size:var(--s-font-size-2xl);font-weight:var(--s-font-weight-bold);line-height:var(--s-line-height-2xl);letter-spacing:var(--s-letter-spacing-tight)}.heading--level-2.sc-swirl-heading{font-size:var(--s-font-size-xl);font-weight:var(--s-font-weight-bold);line-height:var(--s-line-height-xl)}.heading--level-3.sc-swirl-heading{font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}.heading--level-4.sc-swirl-heading{font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-base)}.heading--level-5.sc-swirl-heading,.heading--level-6.sc-swirl-heading{font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-sm)}.heading--truncate.sc-swirl-heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",of=class{constructor(e){ne(this,e),this.align="start",this.as=void 0,this.balance=!0,this.headingId=void 0,this.level=1,this.lines=void 0,this.text=void 0,this.truncate=void 0}componentDidRender(){this.rebalance()}onWindowResize(){this.rebalance()}rebalance(){!this.balance||!Boolean(this.headingEl)||Boolean(this.lines)||sf(this.headingEl)}render(){const e=this.as||`h${this.level}`,t=Boolean(this.lines)?{display:"-webkit-box",overflow:"hidden","-webkit-line-clamp":String(this.lines),"-webkit-box-orient":"vertical",whiteSpace:"normal"}:void 0,i=ce("heading",`heading--align-${this.align}`,`heading--level-${this.level}`,{"heading--truncate":this.truncate});return r(Ge,null,r(e,{class:i,id:this.headingId,ref:n=>this.headingEl=n,style:t},this.text))}};of.style=FI;const af=Object.freeze(Object.defineProperty({__proto__:null,swirl_heading:of},Symbol.toStringTag,{value:"Module"})),NI=":host{display:inline-flex}",lf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.0404 4.29289C13.431 4.68342 13.431 5.31658 13.0404 5.70711L6.7071 12.0404C6.31657 12.431 5.68341 12.431 5.29288 12.0404L2.95955 9.70711C2.56903 9.31658 2.56903 8.68342 2.95955 8.29289C3.35007 7.90237 3.98324 7.90237 4.37376 8.29289L5.99999 9.91912L11.6262 4.29289C12.0167 3.90237 12.6499 3.90237 13.0404 4.29289Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5607 6.43934C20.1464 7.02513 20.1464 7.97487 19.5607 8.56066L10.0607 18.0607C9.47487 18.6464 8.52513 18.6464 7.93934 18.0607L4.43934 14.5607C3.85355 13.9749 3.85355 13.0251 4.43934 12.4393C5.02513 11.8536 5.97487 11.8536 6.56066 12.4393L9 14.8787L17.4393 6.43934C18.0251 5.85355 18.9749 5.85355 19.5607 6.43934Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.8208 7.51256C23.5042 8.19598 23.5042 9.30402 22.8208 9.98744L11.7374 21.0708C11.054 21.7542 9.94597 21.7542 9.26255 21.0708L5.17922 16.9874C4.4958 16.304 4.4958 15.196 5.17922 14.5126C5.86264 13.8291 6.97068 13.8291 7.65409 14.5126L10.5 17.3585L20.3459 7.51256C21.0293 6.82915 22.1373 6.82915 22.8208 7.51256Z",fill:"currentColor"})))}};lf.style=NI;const cf=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_check_strong:lf},Symbol.toStringTag,{value:"Module"})),jI=":host{display:inline-flex}",uf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M8 9.06672L4.8 12.2667C4.65555 12.4112 4.47777 12.4834 4.26666 12.4834C4.05555 12.4834 3.87777 12.4112 3.73333 12.2667C3.58888 12.1223 3.51666 11.9445 3.51666 11.7334C3.51666 11.5223 3.58888 11.3445 3.73333 11.2001L6.93333 8.00006L3.73333 4.80006C3.58888 4.65561 3.51666 4.47783 3.51666 4.26672C3.51666 4.05561 3.58888 3.87783 3.73333 3.73339C3.87777 3.58895 4.05555 3.51672 4.26666 3.51672C4.47777 3.51672 4.65555 3.58895 4.8 3.73339L8 6.93339L11.2 3.73339C11.3444 3.58895 11.5222 3.51672 11.7333 3.51672C11.9444 3.51672 12.1222 3.58895 12.2667 3.73339C12.4111 3.87783 12.4833 4.05561 12.4833 4.26672C12.4833 4.47783 12.4111 4.65561 12.2667 4.80006L9.06666 8.00006L12.2667 11.2001C12.4111 11.3445 12.4833 11.5223 12.4833 11.7334C12.4833 11.9445 12.4111 12.1223 12.2667 12.2667C12.1222 12.4112 11.9444 12.4834 11.7333 12.4834C11.5222 12.4834 11.3444 12.4112 11.2 12.2667L8 9.06672Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M12 13.6L7.19999 18.4C6.98333 18.6167 6.71666 18.725 6.39999 18.725C6.08333 18.725 5.81666 18.6167 5.59999 18.4C5.38333 18.1834 5.27499 17.9167 5.27499 17.6C5.27499 17.2834 5.38333 17.0167 5.59999 16.8L10.4 12L5.59999 7.20002C5.38333 6.98336 5.27499 6.71669 5.27499 6.40002C5.27499 6.08336 5.38333 5.81669 5.59999 5.60002C5.81666 5.38336 6.08333 5.27502 6.39999 5.27502C6.71666 5.27502 6.98333 5.38336 7.19999 5.60002L12 10.4L16.8 5.60002C17.0167 5.38336 17.2833 5.27502 17.6 5.27502C17.9167 5.27502 18.1833 5.38336 18.4 5.60002C18.6167 5.81669 18.725 6.08336 18.725 6.40002C18.725 6.71669 18.6167 6.98336 18.4 7.20002L13.6 12L18.4 16.8C18.6167 17.0167 18.725 17.2834 18.725 17.6C18.725 17.9167 18.6167 18.1834 18.4 18.4C18.1833 18.6167 17.9167 18.725 17.6 18.725C17.2833 18.725 17.0167 18.6167 16.8 18.4L12 13.6Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M14 15.8667L8.40001 21.4667C8.14723 21.7195 7.83612 21.8458 7.46667 21.8458C7.09723 21.8458 6.78612 21.7195 6.53334 21.4667C6.28056 21.2139 6.15417 20.9028 6.15417 20.5333C6.15417 20.1639 6.28056 19.8528 6.53334 19.6L12.1333 14L6.53334 8.40001C6.28056 8.14723 6.15417 7.83612 6.15417 7.46667C6.15417 7.09723 6.28056 6.78612 6.53334 6.53334C6.78612 6.28056 7.09723 6.15417 7.46667 6.15417C7.83612 6.15417 8.14723 6.28056 8.40001 6.53334L14 12.1333L19.6 6.53334C19.8528 6.28056 20.1639 6.15417 20.5333 6.15417C20.9028 6.15417 21.2139 6.28056 21.4667 6.53334C21.7195 6.78612 21.8458 7.09723 21.8458 7.46667C21.8458 7.83612 21.7195 8.14723 21.4667 8.40001L15.8667 14L21.4667 19.6C21.7195 19.8528 21.8458 20.1639 21.8458 20.5333C21.8458 20.9028 21.7195 21.2139 21.4667 21.4667C21.2139 21.7195 20.9028 21.8458 20.5333 21.8458C20.1639 21.8458 19.8528 21.7195 19.6 21.4667L14 15.8667Z",fill:"currentColor"})))}};uf.style=jI;const df=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_close:uf},Symbol.toStringTag,{value:"Module"})),ZI=":host{display:inline-flex}",hf=class{constructor(e){ne(this,e),this.size=24}render(){const e=this.size===20?24:this.size,t=ce("swirl-icon",`swirl-icon--size-${this.size}`);return r("svg",{class:t,fill:"none",height:this.size,part:"icon",viewBox:`0 0 ${e} ${e}`,width:this.size,xmlns:"http://www.w3.org/2000/svg"},this.size===16&&r(V,null,r("path",{d:"M6.05 14C5.87222 14 5.70267 13.9667 5.54133 13.9C5.38044 13.8333 5.23889 13.7389 5.11667 13.6167L2.38333 10.8833C2.26111 10.7611 2.16667 10.6196 2.1 10.4587C2.03333 10.2973 2 10.1278 2 9.95V6.05C2 5.87222 2.03333 5.70267 2.1 5.54133C2.16667 5.38044 2.26111 5.23889 2.38333 5.11667L5.11667 2.38333C5.23889 2.26111 5.38044 2.16667 5.54133 2.1C5.70267 2.03333 5.87222 2 6.05 2H9.95C10.1278 2 10.2973 2.03333 10.4587 2.1C10.6196 2.16667 10.7611 2.26111 10.8833 2.38333L13.6167 5.11667C13.7389 5.23889 13.8333 5.38044 13.9 5.54133C13.9667 5.70267 14 5.87222 14 6.05V9.95C14 10.1278 13.9667 10.2973 13.9 10.4587C13.8333 10.6196 13.7389 10.7611 13.6167 10.8833L10.8833 13.6167C10.7611 13.7389 10.6196 13.8333 10.4587 13.9C10.2973 13.9667 10.1278 14 9.95 14H6.05ZM8 11.3333C8.18889 11.3333 8.34733 11.2693 8.47533 11.1413C8.60289 11.0138 8.66667 10.8556 8.66667 10.6667C8.66667 10.4778 8.60289 10.3193 8.47533 10.1913C8.34733 10.0638 8.18889 10 8 10C7.81111 10 7.65289 10.0638 7.52533 10.1913C7.39733 10.3193 7.33333 10.4778 7.33333 10.6667C7.33333 10.8556 7.39733 11.0138 7.52533 11.1413C7.65289 11.2693 7.81111 11.3333 8 11.3333ZM8 8.66667C8.18889 8.66667 8.34733 8.60267 8.47533 8.47467C8.60289 8.34711 8.66667 8.18889 8.66667 8V5.33333C8.66667 5.14444 8.60289 4.986 8.47533 4.858C8.34733 4.73044 8.18889 4.66667 8 4.66667C7.81111 4.66667 7.65289 4.73044 7.52533 4.858C7.39733 4.986 7.33333 5.14444 7.33333 5.33333V8C7.33333 8.18889 7.39733 8.34711 7.52533 8.47467C7.65289 8.60267 7.81111 8.66667 8 8.66667Z",fill:"currentColor"})),(this.size===20||this.size===24)&&r(V,null,r("path",{d:"M9.075 21C8.80833 21 8.554 20.95 8.312 20.85C8.07067 20.75 7.85833 20.6083 7.675 20.425L3.575 16.325C3.39167 16.1417 3.25 15.9293 3.15 15.688C3.05 15.446 3 15.1917 3 14.925V9.075C3 8.80833 3.05 8.554 3.15 8.312C3.25 8.07067 3.39167 7.85833 3.575 7.675L7.675 3.575C7.85833 3.39167 8.07067 3.25 8.312 3.15C8.554 3.05 8.80833 3 9.075 3H14.925C15.1917 3 15.446 3.05 15.688 3.15C15.9293 3.25 16.1417 3.39167 16.325 3.575L20.425 7.675C20.6083 7.85833 20.75 8.07067 20.85 8.312C20.95 8.554 21 8.80833 21 9.075V14.925C21 15.1917 20.95 15.446 20.85 15.688C20.75 15.9293 20.6083 16.1417 20.425 16.325L16.325 20.425C16.1417 20.6083 15.9293 20.75 15.688 20.85C15.446 20.95 15.1917 21 14.925 21H9.075ZM12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16C13 15.7167 12.9043 15.479 12.713 15.287C12.521 15.0957 12.2833 15 12 15C11.7167 15 11.4793 15.0957 11.288 15.287C11.096 15.479 11 15.7167 11 16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.9043 12.5207 13 12.2833 13 12V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V12C11 12.2833 11.096 12.5207 11.288 12.712C11.4793 12.904 11.7167 13 12 13Z",fill:"currentColor"})),this.size===28&&r(V,null,r("path",{d:"M10.5875 24.5C10.2764 24.5 9.97967 24.4417 9.69733 24.325C9.41578 24.2083 9.16806 24.0431 8.95417 23.8292L4.17083 19.0458C3.95694 18.8319 3.79167 18.5842 3.675 18.3027C3.55833 18.0203 3.5 17.7236 3.5 17.4125V10.5875C3.5 10.2764 3.55833 9.97967 3.675 9.69733C3.79167 9.41578 3.95694 9.16806 4.17083 8.95417L8.95417 4.17083C9.16806 3.95694 9.41578 3.79167 9.69733 3.675C9.97967 3.55833 10.2764 3.5 10.5875 3.5H17.4125C17.7236 3.5 18.0203 3.55833 18.3027 3.675C18.5842 3.79167 18.8319 3.95694 19.0458 4.17083L23.8292 8.95417C24.0431 9.16806 24.2083 9.41578 24.325 9.69733C24.4417 9.97967 24.5 10.2764 24.5 10.5875V17.4125C24.5 17.7236 24.4417 18.0203 24.325 18.3027C24.2083 18.5842 24.0431 18.8319 23.8292 19.0458L19.0458 23.8292C18.8319 24.0431 18.5842 24.2083 18.3027 24.325C18.0203 24.4417 17.7236 24.5 17.4125 24.5H10.5875ZM14 19.8333C14.3306 19.8333 14.6078 19.7213 14.8318 19.4973C15.0551 19.2741 15.1667 18.9972 15.1667 18.6667C15.1667 18.3361 15.0551 18.0588 14.8318 17.8348C14.6078 17.6116 14.3306 17.5 14 17.5C13.6694 17.5 13.3926 17.6116 13.1693 17.8348C12.9453 18.0588 12.8333 18.3361 12.8333 18.6667C12.8333 18.9972 12.9453 19.2741 13.1693 19.4973C13.3926 19.7213 13.6694 19.8333 14 19.8333ZM14 15.1667C14.3306 15.1667 14.6078 15.0547 14.8318 14.8307C15.0551 14.6074 15.1667 14.3306 15.1667 14V9.33333C15.1667 9.00278 15.0551 8.7255 14.8318 8.5015C14.6078 8.27828 14.3306 8.16667 14 8.16667C13.6694 8.16667 13.3926 8.27828 13.1693 8.5015C12.9453 8.7255 12.8333 9.00278 12.8333 9.33333V14C12.8333 14.3306 12.9453 14.6074 13.1693 14.8307C13.3926 15.0547 13.6694 15.1667 14 15.1667Z",fill:"currentColor"})))}};hf.style=ZI;const WI=":host{display:inline-flex}:host *{box-sizing:border-box}.inline-error{display:inline-flex;color:var(--s-text-critical);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.inline-error{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.inline-error--size-s{font-size:var(--s-font-size-sm)}.inline-error--size-s .inline-error__icon{padding-top:0.125rem}.inline-error--size-s .inline-error__message{padding-top:0}.inline-error__icon{display:inline-flex;color:var(--s-icon-critical);align-self:flex-start}.inline-error__message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-left:var(--s-space-4);padding-top:0.0625rem}",ff=class{constructor(e){ne(this,e),this.desktopMediaQuery=Kt(),this.desktopMediaQueryHandler=t=>{this.forceIconProps(t.matches)},this.message=void 0,this.size="m"}componentDidLoad(){this.forceIconProps(this.desktopMediaQuery.matches),this.desktopMediaQuery.onchange=this.desktopMediaQueryHandler}disconnectedCallback(){var e,t;(t=(e=this.desktopMediaQuery).removeEventListener)==null||t.call(e,"change",this.desktopMediaQueryHandler)}forceIconProps(e){if(!Boolean(this.iconEl))return;const t=this.iconEl.children[0];let i="24";this.size==="s"?i="16":e&&(i="20"),t==null||t.setAttribute("size",i)}render(){const e=ce("inline-error",`inline-error--size-${this.size}`);return r(Ge,null,r("span",{class:e,part:"inline-error"},r("span",{class:"inline-error__icon",ref:t=>this.iconEl=t},r("swirl-icon-error",null)),r("span",{class:"inline-error__message"},this.message)))}};ff.style=WI;const UI=":host{display:inline-flex}:host *{box-sizing:border-box}.spinner{position:relative;display:inline-flex;overflow:hidden;width:2.25rem;height:2.25rem}.spinner--size-xs,.spinner--size-20{width:1.25rem;height:1.25rem}.spinner--size-xs .spinner__circle,.spinner--size-20 .spinner__circle{stroke-width:0.1875rem}.spinner--size-s,.spinner--size-24{width:1.5rem;height:1.5rem}.spinner--size-s .spinner__circle,.spinner--size-24 .spinner__circle{stroke-width:0.1875rem}.spinner__indicator{position:absolute;inset:0;width:100%;height:100%;transform-origin:center center;animation:spinner-rotate 2s linear infinite}.spinner__background{stroke:var(--s-border-default);stroke-linecap:round}.spinner__circle{animation:spinner-dash 1.5s ease-in-out infinite;stroke:var(--s-interactive-primary-default);stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round}@keyframes spinner-rotate{100%{transform:rotate(360deg)}}@keyframes spinner-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}",pf=class{constructor(e){ne(this,e),this.label=void 0,this.size="m"}render(){const e=ce("spinner",`spinner--size-${this.size}`);return r(Ge,null,r("span",{class:e,role:Boolean(this.label)?"status":void 0},r("svg",{"aria-hidden":"true",class:"spinner__indicator",focusable:"false",viewBox:"0 0 50 50"},r("circle",{class:"spinner__background",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"4"}),r("circle",{class:"spinner__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"4"})),this.label&&r("swirl-visually-hidden",null,r("span",{class:"spinner__label"},this.label))))}};pf.style=UI;const Cf=Object.freeze(Object.defineProperty({__proto__:null,swirl_icon_error:hf,swirl_inline_error:ff,swirl_spinner:pf},Symbol.toStringTag,{value:"Module"}));/**
|
|
454
454
|
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
455
455
|
@version v5.0.2
|
|
456
456
|
@link https://github.com/yowainwright/shave#readme
|