From b3bca06dbb149f450b37501ab5132165962f9963 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 14 Feb 2024 19:24:13 +0000 Subject: [PATCH] ci: release --- .changeset/spotty-schools-sniff.md | 5 ---- CHANGELOG.md | 6 +++++ ...Eblw_.js => 3d-viewer.stories-SYvPVUGI.js} | 2 +- ...2un4dZHK.js => Color-6VNJS4EI-kYABsqkh.js} | 2 +- ...j.js => DocsRenderer-NNNQARDV-MjqRSvXj.js} | 2 +- ...xO.js => WithTooltip-V3YHNWJZ-fCnjn0j_.js} | 2 +- ...bR.js => alert-dialog.stories-VgXSoFRm.js} | 2 +- ...2hWCsX8G.js => avatar.stories-jz0zqpDq.js} | 2 +- ...VBk.js => breadcrumbs.stories-zNIuyDPz.js} | 2 +- ...js => building-blocks.stories-vF1uAdZr.js} | 2 +- ...2Fv2DOUQ.js => button.stories-FdEYs1I0.js} | 2 +- ...4_Alw3p.js => buttons.stories-feyHzu9O.js} | 2 +- ...ghkDPU.js => calendar.stories-UqN2zNrW.js} | 2 +- ...ZNcCLz.js => carousel.stories-cvRwb8Ox.js} | 2 +- ...9-YnYO.js => checkbox.stories-zA0Ur1nv.js} | 2 +- ...s-VMG-jgOe.js => chip.stories-mjjyyNjN.js} | 2 +- ....js => chips-combobox.stories-rZ7pvMOf.js} | 2 +- ...bPp9GyXi.js => chunk-HLWAVYOI-CrIFzHE4.js} | 12 +++++----- ...a2Zy5a.js => combobox.stories-PscbGc3Z.js} | 2 +- ....js => confirm-dialog.stories-2PSPVV4U.js} | 2 +- ...c4.js => contributing.stories-zc3fxGyh.js} | 2 +- ...zI1s.js => cta-button.stories-tjsJlL7I.js} | 2 +- ...xl.js => date-textbox.stories-d4mNRVjw.js} | 2 +- docs/assets/details.stories-2aBNNFIV.js | 24 +++++++++++++++++++ docs/assets/details.stories-sfhanW29.js | 24 ------------------- ...ira20gs.js => dialogs.stories-46MspXbs.js} | 2 +- ...7.js => drawer-dialog.stories-nibUva87.js} | 2 +- ...es-wdiclHp7.js => eek.stories-MQHfNfqb.js} | 2 +- ...s => fake-menu-button.stories-_ODOKTSC.js} | 2 +- ...ugN03.js => fake-menu.stories-GA_P4MKF.js} | 2 +- ...=> filter-menu-button.stories-fdXskaRK.js} | 2 +- ...94d.js => filter-menu.stories-ucTwxg_r.js} | 2 +- ...s-xtBJkI5n.js => flag.stories-WT5_5pJ4.js} | 2 +- ...A5Kl.js => form-input.stories-sRYdr5wC.js} | 2 +- ...du01.js => formatter-SWP5E3XI-KzRvFyd2.js} | 2 +- ...s => fullsceen-dialog.stories-Q6WtF8eI.js} | 2 +- ...js => getting-started.stories-ZlqOpC8c.js} | 2 +- ...=> graphics-and-icons.stories-fM6XboHN.js} | 2 +- ...jPR.js => icon-button.stories-gCxH5jzk.js} | 2 +- ...s-5DK0SyyV.js => icon.stories-FRaOscm1.js} | 2 +- ...{iframe-T3i_FFBQ.js => iframe-VgUVZRsZ.js} | 4 ++-- ... => image-placeholder.stories-HgSdkhQB.js} | 2 +- .../{index-zgZrJxNG.js => index-0by-wmmq.js} | 2 +- .../{index-x0gYoDBY.js => index-0jjW2cVY.js} | 2 +- .../{index-fGg5uNfp.js => index-0xgPFV6K.js} | 2 +- .../{index-b0EQ-PRm.js => index-1yeo952A.js} | 2 +- .../{index-wCr-XJjZ.js => index-2FfeB2lc.js} | 2 +- .../{index-zgkAIIgL.js => index-7qdNYkg7.js} | 2 +- .../{index-pG5dWoAQ.js => index-BHGYRQhO.js} | 2 +- .../{index-WZOdYf_S.js => index-BndDE7o0.js} | 2 +- .../{index-opp8Qyw0.js => index-D9357-oV.js} | 2 +- .../{index-0REQdKOV.js => index-DC-x0-tf.js} | 2 +- .../{index-Zo2k51hY.js => index-FQXijakt.js} | 2 +- .../{index-ZhNkRMuN.js => index-FbnwFjt5.js} | 2 +- .../{index-XUhq6uHT.js => index-Fzo01Ouc.js} | 2 +- .../{index-nYpLpsKM.js => index-GxCEZ36B.js} | 2 +- .../{index--Q9rylnC.js => index-H41CNw8Q.js} | 2 +- .../{index-53xkO1un.js => index-HQLllDUD.js} | 2 +- .../{index-Vc-PSg2d.js => index-KzZQXcwb.js} | 2 +- .../{index-177SSPcF.js => index-OgsNMRP5.js} | 2 +- .../{index-nX8OTwbZ.js => index-RuUXU4eA.js} | 2 +- .../{index-WjSr7Aa1.js => index-S21L6oUf.js} | 2 +- .../{index-j0YARFrY.js => index-SwC3eOBR.js} | 2 +- docs/assets/index-T-tr__32.js | 1 + .../{index-oMMN6Ovq.js => index-V1SEMiue.js} | 2 +- .../{index-CCP4HZWQ.js => index-XLHqpDln.js} | 2 +- .../{index-MwzY8iYS.js => index-Yh_PXuyA.js} | 2 +- .../{index-4lRyQCLB.js => index-aYjb7RMT.js} | 2 +- .../{index-_vCgt_Po.js => index-afjEbwFG.js} | 2 +- .../{index-touo30Yf.js => index-asvJB4Ap.js} | 2 +- .../{index-0sOjhOVp.js => index-avw8iGTO.js} | 2 +- .../{index-vuK-pQni.js => index-bDnsfnFH.js} | 2 +- .../{index-W-vPr4VJ.js => index-c4SlkSUb.js} | 2 +- .../{index-ZDtYD_HQ.js => index-cvF98qL5.js} | 2 +- docs/assets/index-dCAZr4YS.js | 1 - .../{index-L4qsNbB0.js => index-fBgtz-n7.js} | 2 +- .../{index--HiXohkr.js => index-fsHgTAj9.js} | 2 +- .../{index-tjucyUeZ.js => index-g2xi1LKt.js} | 2 +- .../{index-2yWgcJbo.js => index-hesef6OJ.js} | 2 +- .../{index-8TTZzN75.js => index-iOo4hJOd.js} | 2 +- .../{index-Cl8k8pjy.js => index-in-YqcOA.js} | 2 +- .../{index-i1smj9EI.js => index-kURT6dDW.js} | 2 +- .../{index-9wWf9YFH.js => index-mevY6pWh.js} | 2 +- .../{index--MAS_RS0.js => index-nZ7E-k9d.js} | 2 +- .../{index-q7KQv1ry.js => index-o5F2CW61.js} | 2 +- .../{index-BUVaW_kc.js => index-oJVpUktL.js} | 2 +- .../{index-PAD5b3ff.js => index-py3x4x1i.js} | 2 +- .../{index-8tJUpmL_.js => index-qGww6RZi.js} | 2 +- .../{index-mTXoXd8D.js => index-qcbGa1eL.js} | 2 +- .../{index-98HIjKfK.js => index-qhjahFr3.js} | 2 +- .../{index-w1q3zmbb.js => index-rQljMZk-.js} | 2 +- .../{index-I1TU7Smy.js => index-sQkzr8PD.js} | 2 +- .../{index-ybkHVAw4.js => index-t6MwYYcL.js} | 2 +- .../{index-jhxbAhNi.js => index-vM9MgpNM.js} | 2 +- .../{index-X2pdjzRH.js => index-vNEQ4tAH.js} | 2 +- .../{index-zgw-oVoj.js => index-w_DyqyRi.js} | 2 +- .../{index-wCG8Mexi.js => index-wsKKJ7f4.js} | 2 +- .../{index-htmMtdsF.js => index-xFOS7_Jj.js} | 2 +- .../{index-H0xcJQHr.js => index-xNrGRUEM.js} | 2 +- .../{index-XBFm0t4a.js => index-yX95ckNV.js} | 2 +- ...JyQl7_C.js => infotip.stories-XhuN9uYP.js} | 2 +- ...D.js => inline-notice.stories-dwcBol80.js} | 2 +- ...me-pr3uamGJ.js => jsx-runtime--PYeNBHd.js} | 2 +- ...js => lightbox-dialog.stories-ZfQ3lGNk.js} | 2 +- ....js => listbox-button.stories-UDvhkbUN.js} | 2 +- ...o_RzSwK.js => listbox.stories-4K52zH_b.js} | 2 +- ...-uhyK5QSy.js => media.stories-uYCX8J74.js} | 2 +- ...mGi.js => menu-button.stories-frIItZ7A.js} | 2 +- ...s-ZwHg0g-F.js => menu.stories-xHza_I2D.js} | 2 +- ...gation-and-disclosure.stories-z_0WdxY7.js} | 2 +- ...s => notices-and-tips.stories-sz4tD2Rm.js} | 2 +- ...TVA.js => page-notice.stories-PsXh_Wfe.js} | 2 +- ...SOkU.js => pagination.stories-yyXefkdt.js} | 2 +- ...cU.js => panel-dialog.stories-RS5CBpTy.js} | 2 +- ...review-Cl87ww1j.js => preview--VMa4KqD.js} | 2 +- ...review--VEjxujP.js => preview-g2EqKIUf.js} | 4 ++-- ...s => progress-spinner.stories-ckYx03Kp.js} | 2 +- ...s => progress-stepper.stories-ANAqXJKn.js} | 2 +- ...BUGfIX.js => progress.stories-xJrDuoK7.js} | 2 +- ...-MvXv_M9D.js => radio.stories--l0nycau.js} | 2 +- ....js => section-notice.stories-b1zZBJ1T.js} | 2 +- ...P.js => section-title.stories-0EeB-iIX.js} | 2 +- ... => segmented-buttons.stories-N3bT2u9a.js} | 2 +- ...nkIpInTV.js => select.stories-NNcfCNoa.js} | 2 +- ...JaHuL1.js => skeleton.stories-Q6itDuRD.js} | 2 +- ...js => snackbar-dialog.stories-AdcwIyg6.js} | 2 +- ...SD.js => split-button.stories-Y11ODcos.js} | 2 +- ...=> star-rating-select.stories-Cw7iznyY.js} | 2 +- ...slN.js => star-rating.stories-03mY9CKD.js} | 2 +- ...=> syntaxhighlighter-V7JZZA35-tRH5LnFX.js} | 2 +- ...oNXIX_I.js => textbox.stories-nLRb5hRp.js} | 2 +- ...rZ.js => toast-dialog.stories-b5lOSfVg.js} | 2 +- ...> toggle-button-group.stories-tB-YMHXJ.js} | 2 +- ...z.js => toggle-button.stories-DfcrQG2R.js} | 2 +- ...TM6MrnG.js => tooltip.stories-vouXGOUW.js} | 2 +- ...ajcNxke.js => tourtip.stories-LcWWpgDw.js} | 2 +- ...=> tri-state-checkbox.stories-GkEPVrAi.js} | 2 +- ...-8st-35p0.js => video.stories-oPo5AnoI.js} | 2 +- ...Wkg26dj.js => welcome.stories-m2dKJW3M.js} | 2 +- docs/iframe.html | 2 +- docs/project.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 143 files changed, 176 insertions(+), 175 deletions(-) delete mode 100644 .changeset/spotty-schools-sniff.md rename docs/assets/{3d-viewer.stories-jh0Eblw_.js => 3d-viewer.stories-SYvPVUGI.js} (95%) rename docs/assets/{Color-6VNJS4EI-2un4dZHK.js => Color-6VNJS4EI-kYABsqkh.js} (99%) rename docs/assets/{DocsRenderer-NNNQARDV-tv5EOvMj.js => DocsRenderer-NNNQARDV-MjqRSvXj.js} (58%) rename docs/assets/{WithTooltip-V3YHNWJZ-NqMWfhxO.js => WithTooltip-V3YHNWJZ-fCnjn0j_.js} (62%) rename docs/assets/{alert-dialog.stories-vx5d0LbR.js => alert-dialog.stories-VgXSoFRm.js} (91%) rename docs/assets/{avatar.stories-2hWCsX8G.js => avatar.stories-jz0zqpDq.js} (95%) rename docs/assets/{breadcrumbs.stories-hmM2tVBk.js => breadcrumbs.stories-zNIuyDPz.js} (95%) rename docs/assets/{building-blocks.stories-zF2-9yJh.js => building-blocks.stories-vF1uAdZr.js} (85%) rename docs/assets/{button.stories-2Fv2DOUQ.js => button.stories-FdEYs1I0.js} (94%) rename docs/assets/{buttons.stories-q4_Alw3p.js => buttons.stories-feyHzu9O.js} (82%) rename docs/assets/{calendar.stories-K4ghkDPU.js => calendar.stories-UqN2zNrW.js} (97%) rename docs/assets/{carousel.stories-i9ZNcCLz.js => carousel.stories-cvRwb8Ox.js} (98%) rename docs/assets/{checkbox.stories-PD9-YnYO.js => checkbox.stories-zA0Ur1nv.js} (98%) rename docs/assets/{chip.stories-VMG-jgOe.js => chip.stories-mjjyyNjN.js} (91%) rename docs/assets/{chips-combobox.stories-d7ZBJ1kD.js => chips-combobox.stories-rZ7pvMOf.js} (94%) rename docs/assets/{chunk-HLWAVYOI-bPp9GyXi.js => chunk-HLWAVYOI-CrIFzHE4.js} (99%) rename docs/assets/{combobox.stories-tGa2Zy5a.js => combobox.stories-PscbGc3Z.js} (98%) rename docs/assets/{confirm-dialog.stories-q423uYZb.js => confirm-dialog.stories-2PSPVV4U.js} (92%) rename docs/assets/{contributing.stories-LUD2uMc4.js => contributing.stories-zc3fxGyh.js} (98%) rename docs/assets/{cta-button.stories-8pXlzI1s.js => cta-button.stories-tjsJlL7I.js} (94%) rename docs/assets/{date-textbox.stories-K7yKyHxl.js => date-textbox.stories-d4mNRVjw.js} (95%) create mode 100644 docs/assets/details.stories-2aBNNFIV.js delete mode 100644 docs/assets/details.stories-sfhanW29.js rename docs/assets/{dialogs.stories-Dira20gs.js => dialogs.stories-46MspXbs.js} (83%) rename docs/assets/{drawer-dialog.stories-Y8TKTI07.js => drawer-dialog.stories-nibUva87.js} (94%) rename docs/assets/{eek.stories-wdiclHp7.js => eek.stories-MQHfNfqb.js} (98%) rename docs/assets/{fake-menu-button.stories-6ugizPQ9.js => fake-menu-button.stories-_ODOKTSC.js} (95%) rename docs/assets/{fake-menu.stories-AKwugN03.js => fake-menu.stories-GA_P4MKF.js} (98%) rename docs/assets/{filter-menu-button.stories-pxXJLOtg.js => filter-menu-button.stories-fdXskaRK.js} (95%) rename docs/assets/{filter-menu.stories-qpjfu94d.js => filter-menu.stories-ucTwxg_r.js} (89%) rename docs/assets/{flag.stories-xtBJkI5n.js => flag.stories-WT5_5pJ4.js} (99%) rename docs/assets/{form-input.stories-1R-sA5Kl.js => form-input.stories-sRYdr5wC.js} (82%) rename docs/assets/{formatter-SWP5E3XI-bU8udu01.js => formatter-SWP5E3XI-KzRvFyd2.js} (99%) rename docs/assets/{fullsceen-dialog.stories-sne0WhFK.js => fullsceen-dialog.stories-Q6WtF8eI.js} (92%) rename docs/assets/{getting-started.stories-OnkcFjUB.js => getting-started.stories-ZlqOpC8c.js} (96%) rename docs/assets/{graphics-and-icons.stories-7jLgoRqS.js => graphics-and-icons.stories-fM6XboHN.js} (82%) rename docs/assets/{icon-button.stories-YenrQjPR.js => icon-button.stories-gCxH5jzk.js} (96%) rename docs/assets/{icon.stories-5DK0SyyV.js => icon.stories-FRaOscm1.js} (99%) rename docs/assets/{iframe-T3i_FFBQ.js => iframe-VgUVZRsZ.js} (60%) rename docs/assets/{image-placeholder.stories-jpK-nJA7.js => image-placeholder.stories-HgSdkhQB.js} (98%) rename docs/assets/{index-zgZrJxNG.js => index-0by-wmmq.js} (96%) rename docs/assets/{index-x0gYoDBY.js => index-0jjW2cVY.js} (97%) rename docs/assets/{index-fGg5uNfp.js => index-0xgPFV6K.js} (90%) rename docs/assets/{index-b0EQ-PRm.js => index-1yeo952A.js} (91%) rename docs/assets/{index-wCr-XJjZ.js => index-2FfeB2lc.js} (89%) rename docs/assets/{index-zgkAIIgL.js => index-7qdNYkg7.js} (67%) rename docs/assets/{index-pG5dWoAQ.js => index-BHGYRQhO.js} (94%) rename docs/assets/{index-WZOdYf_S.js => index-BndDE7o0.js} (92%) rename docs/assets/{index-opp8Qyw0.js => index-D9357-oV.js} (94%) rename docs/assets/{index-0REQdKOV.js => index-DC-x0-tf.js} (95%) rename docs/assets/{index-Zo2k51hY.js => index-FQXijakt.js} (88%) rename docs/assets/{index-ZhNkRMuN.js => index-FbnwFjt5.js} (87%) rename docs/assets/{index-XUhq6uHT.js => index-Fzo01Ouc.js} (76%) rename docs/assets/{index-nYpLpsKM.js => index-GxCEZ36B.js} (98%) rename docs/assets/{index--Q9rylnC.js => index-H41CNw8Q.js} (97%) rename docs/assets/{index-53xkO1un.js => index-HQLllDUD.js} (94%) rename docs/assets/{index-Vc-PSg2d.js => index-KzZQXcwb.js} (94%) rename docs/assets/{index-177SSPcF.js => index-OgsNMRP5.js} (88%) rename docs/assets/{index-nX8OTwbZ.js => index-RuUXU4eA.js} (95%) rename docs/assets/{index-WjSr7Aa1.js => index-S21L6oUf.js} (88%) rename docs/assets/{index-j0YARFrY.js => index-SwC3eOBR.js} (95%) create mode 100644 docs/assets/index-T-tr__32.js rename docs/assets/{index-oMMN6Ovq.js => index-V1SEMiue.js} (91%) rename docs/assets/{index-CCP4HZWQ.js => index-XLHqpDln.js} (99%) rename docs/assets/{index-MwzY8iYS.js => index-Yh_PXuyA.js} (89%) rename docs/assets/{index-4lRyQCLB.js => index-aYjb7RMT.js} (95%) rename docs/assets/{index-_vCgt_Po.js => index-afjEbwFG.js} (87%) rename docs/assets/{index-touo30Yf.js => index-asvJB4Ap.js} (98%) rename docs/assets/{index-0sOjhOVp.js => index-avw8iGTO.js} (89%) rename docs/assets/{index-vuK-pQni.js => index-bDnsfnFH.js} (93%) rename docs/assets/{index-W-vPr4VJ.js => index-c4SlkSUb.js} (97%) rename docs/assets/{index-ZDtYD_HQ.js => index-cvF98qL5.js} (99%) delete mode 100644 docs/assets/index-dCAZr4YS.js rename docs/assets/{index-L4qsNbB0.js => index-fBgtz-n7.js} (89%) rename docs/assets/{index--HiXohkr.js => index-fsHgTAj9.js} (89%) rename docs/assets/{index-tjucyUeZ.js => index-g2xi1LKt.js} (93%) rename docs/assets/{index-2yWgcJbo.js => index-hesef6OJ.js} (92%) rename docs/assets/{index-8TTZzN75.js => index-iOo4hJOd.js} (93%) rename docs/assets/{index-Cl8k8pjy.js => index-in-YqcOA.js} (96%) rename docs/assets/{index-i1smj9EI.js => index-kURT6dDW.js} (88%) rename docs/assets/{index-9wWf9YFH.js => index-mevY6pWh.js} (98%) rename docs/assets/{index--MAS_RS0.js => index-nZ7E-k9d.js} (93%) rename docs/assets/{index-q7KQv1ry.js => index-o5F2CW61.js} (97%) rename docs/assets/{index-BUVaW_kc.js => index-oJVpUktL.js} (99%) rename docs/assets/{index-PAD5b3ff.js => index-py3x4x1i.js} (88%) rename docs/assets/{index-8tJUpmL_.js => index-qGww6RZi.js} (99%) rename docs/assets/{index-mTXoXd8D.js => index-qcbGa1eL.js} (94%) rename docs/assets/{index-98HIjKfK.js => index-qhjahFr3.js} (90%) rename docs/assets/{index-w1q3zmbb.js => index-rQljMZk-.js} (95%) rename docs/assets/{index-I1TU7Smy.js => index-sQkzr8PD.js} (91%) rename docs/assets/{index-ybkHVAw4.js => index-t6MwYYcL.js} (97%) rename docs/assets/{index-jhxbAhNi.js => index-vM9MgpNM.js} (88%) rename docs/assets/{index-X2pdjzRH.js => index-vNEQ4tAH.js} (96%) rename docs/assets/{index-zgw-oVoj.js => index-w_DyqyRi.js} (89%) rename docs/assets/{index-wCG8Mexi.js => index-wsKKJ7f4.js} (98%) rename docs/assets/{index-htmMtdsF.js => index-xFOS7_Jj.js} (94%) rename docs/assets/{index-H0xcJQHr.js => index-xNrGRUEM.js} (89%) rename docs/assets/{index-XBFm0t4a.js => index-yX95ckNV.js} (96%) rename docs/assets/{infotip.stories--JyQl7_C.js => infotip.stories-XhuN9uYP.js} (94%) rename docs/assets/{inline-notice.stories-XtP_eNaD.js => inline-notice.stories-dwcBol80.js} (92%) rename docs/assets/{jsx-runtime-pr3uamGJ.js => jsx-runtime--PYeNBHd.js} (93%) rename docs/assets/{lightbox-dialog.stories-yQQY5azz.js => lightbox-dialog.stories-ZfQ3lGNk.js} (97%) rename docs/assets/{listbox-button.stories-ecuDiVvH.js => listbox-button.stories-UDvhkbUN.js} (96%) rename docs/assets/{listbox.stories-zo_RzSwK.js => listbox.stories-4K52zH_b.js} (95%) rename docs/assets/{media.stories-uhyK5QSy.js => media.stories-uYCX8J74.js} (82%) rename docs/assets/{menu-button.stories-BJ203mGi.js => menu-button.stories-frIItZ7A.js} (96%) rename docs/assets/{menu.stories-ZwHg0g-F.js => menu.stories-xHza_I2D.js} (98%) rename docs/assets/{navigation-and-disclosure.stories-o8zJSxE6.js => navigation-and-disclosure.stories-z_0WdxY7.js} (84%) rename docs/assets/{notices-and-tips.stories-I0-XD4Sk.js => notices-and-tips.stories-sz4tD2Rm.js} (83%) rename docs/assets/{page-notice.stories-2K5XpTVA.js => page-notice.stories-PsXh_Wfe.js} (96%) rename docs/assets/{pagination.stories-dlcBSOkU.js => pagination.stories-yyXefkdt.js} (95%) rename docs/assets/{panel-dialog.stories-kfeA-QcU.js => panel-dialog.stories-RS5CBpTy.js} (91%) rename docs/assets/{preview-Cl87ww1j.js => preview--VMa4KqD.js} (94%) rename docs/assets/{preview--VEjxujP.js => preview-g2EqKIUf.js} (61%) rename docs/assets/{progress-spinner.stories-0y-DF_rY.js => progress-spinner.stories-ckYx03Kp.js} (90%) rename docs/assets/{progress-stepper.stories-Zl7EX1Bc.js => progress-stepper.stories-ANAqXJKn.js} (98%) rename docs/assets/{progress.stories-CnBUGfIX.js => progress.stories-xJrDuoK7.js} (83%) rename docs/assets/{radio.stories-MvXv_M9D.js => radio.stories--l0nycau.js} (98%) rename docs/assets/{section-notice.stories-McC5N1Cp.js => section-notice.stories-b1zZBJ1T.js} (96%) rename docs/assets/{section-title.stories-DGJYi_4P.js => section-title.stories-0EeB-iIX.js} (90%) rename docs/assets/{segmented-buttons.stories-e-N-aZ-Z.js => segmented-buttons.stories-N3bT2u9a.js} (95%) rename docs/assets/{select.stories-nkIpInTV.js => select.stories-NNcfCNoa.js} (95%) rename docs/assets/{skeleton.stories-oPJaHuL1.js => skeleton.stories-Q6itDuRD.js} (98%) rename docs/assets/{snackbar-dialog.stories-Yq9nnI3e.js => snackbar-dialog.stories-AdcwIyg6.js} (93%) rename docs/assets/{split-button.stories-CyiyPRSD.js => split-button.stories-Y11ODcos.js} (90%) rename docs/assets/{star-rating-select.stories-fS4VlSVP.js => star-rating-select.stories-Cw7iznyY.js} (97%) rename docs/assets/{star-rating.stories-7TI2fslN.js => star-rating.stories-03mY9CKD.js} (99%) rename docs/assets/{syntaxhighlighter-V7JZZA35-NRPiM_IO.js => syntaxhighlighter-V7JZZA35-tRH5LnFX.js} (62%) rename docs/assets/{textbox.stories-foNXIX_I.js => textbox.stories-nLRb5hRp.js} (99%) rename docs/assets/{toast-dialog.stories-ZPERgarZ.js => toast-dialog.stories-b5lOSfVg.js} (90%) rename docs/assets/{toggle-button-group.stories-OLWMihsl.js => toggle-button-group.stories-tB-YMHXJ.js} (96%) rename docs/assets/{toggle-button.stories-A4gsGZ6z.js => toggle-button.stories-DfcrQG2R.js} (98%) rename docs/assets/{tooltip.stories-STM6MrnG.js => tooltip.stories-vouXGOUW.js} (95%) rename docs/assets/{tourtip.stories-aajcNxke.js => tourtip.stories-LcWWpgDw.js} (97%) rename docs/assets/{tri-state-checkbox.stories-AW1xDdOW.js => tri-state-checkbox.stories-GkEPVrAi.js} (97%) rename docs/assets/{video.stories-8st-35p0.js => video.stories-oPo5AnoI.js} (97%) rename docs/assets/{welcome.stories-zWkg26dj.js => welcome.stories-m2dKJW3M.js} (97%) diff --git a/.changeset/spotty-schools-sniff.md b/.changeset/spotty-schools-sniff.md deleted file mode 100644 index 4c8f8e7b5..000000000 --- a/.changeset/spotty-schools-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": patch ---- - -optimize icons with toJSON diff --git a/CHANGELOG.md b/CHANGELOG.md index cc155079b..5cec1167d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # eBayUI-Core Changelog +## 13.1.5 + +### Patch Changes + +- [#2094](https://github.com/eBay/ebayui-core/pull/2094) [`182b335`](https://github.com/eBay/ebayui-core/commit/182b3353c5fa2a3574477db9c7888310a2cc025f) Thanks [@LuLaValva](https://github.com/LuLaValva)! - optimize icons with toJSON + ## 13.1.4 ### Patch Changes diff --git a/docs/assets/3d-viewer.stories-jh0Eblw_.js b/docs/assets/3d-viewer.stories-SYvPVUGI.js similarity index 95% rename from docs/assets/3d-viewer.stories-jh0Eblw_.js rename to docs/assets/3d-viewer.stories-SYvPVUGI.js index c0188eb14..2dcb01dd5 100644 --- a/docs/assets/3d-viewer.stories-jh0Eblw_.js +++ b/docs/assets/3d-viewer.stories-SYvPVUGI.js @@ -1,4 +1,4 @@ -import{t as _}from"./index-iqhZMf16.js";import{a as x}from"./utils-NX-dnf4r.js";import{t as T,r as L,b as V,g as d,f as k,p as E,d as A}from"./registry-zqrnEiYK.js";import{_ as C,a as S}from"./index-pG5dWoAQ.js";import{_ as n}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./index-XUhq6uHT.js";import{C as N}from"./index-KUK9pJct.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-q7KQv1ry.js";const R=`

+import{t as _}from"./index-iqhZMf16.js";import{a as x}from"./utils-NX-dnf4r.js";import{t as T,r as L,b as V,g as d,f as k,p as E,d as A}from"./registry-zqrnEiYK.js";import{_ as C,a as S}from"./index-BHGYRQhO.js";import{_ as n}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./index-Fzo01Ouc.js";import{C as N}from"./index-KUK9pJct.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-o5F2CW61.js";const R=`

ebay-3d-viewer diff --git a/docs/assets/Color-6VNJS4EI-2un4dZHK.js b/docs/assets/Color-6VNJS4EI-kYABsqkh.js similarity index 99% rename from docs/assets/Color-6VNJS4EI-2un4dZHK.js rename to docs/assets/Color-6VNJS4EI-kYABsqkh.js index eccf95c0d..f3c84d36c 100644 --- a/docs/assets/Color-6VNJS4EI-2un4dZHK.js +++ b/docs/assets/Color-6VNJS4EI-kYABsqkh.js @@ -1 +1 @@ -import{R as h,r as b,n as M,f as ue,T as Me,F as Ce,I as $e,g as Ne}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{g as fe}from"./_commonjsHelpers-5-cIlDoe.js";import{_ as Oe,i as J,a as Ie}from"./index-xLzVGzoy.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},un=tn;export{tn as ColorControl,un as default}; +import{R as h,r as b,n as M,f as ue,T as Me,F as Ce,I as $e,g as Ne}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{g as fe}from"./_commonjsHelpers-5-cIlDoe.js";import{_ as Oe,i as J,a as Ie}from"./index-xLzVGzoy.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},un=tn;export{tn as ColorControl,un as default}; diff --git a/docs/assets/DocsRenderer-NNNQARDV-tv5EOvMj.js b/docs/assets/DocsRenderer-NNNQARDV-MjqRSvXj.js similarity index 58% rename from docs/assets/DocsRenderer-NNNQARDV-tv5EOvMj.js rename to docs/assets/DocsRenderer-NNNQARDV-MjqRSvXj.js index ca57b8885..031ed232e 100644 --- a/docs/assets/DocsRenderer-NNNQARDV-tv5EOvMj.js +++ b/docs/assets/DocsRenderer-NNNQARDV-MjqRSvXj.js @@ -1 +1 @@ -import{D as a,d}from"./chunk-HLWAVYOI-bPp9GyXi.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{a as DocsRenderer,d as defaultComponents}; +import{D as a,d}from"./chunk-HLWAVYOI-CrIFzHE4.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{a as DocsRenderer,d as defaultComponents}; diff --git a/docs/assets/WithTooltip-V3YHNWJZ-NqMWfhxO.js b/docs/assets/WithTooltip-V3YHNWJZ-fCnjn0j_.js similarity index 62% rename from docs/assets/WithTooltip-V3YHNWJZ-NqMWfhxO.js rename to docs/assets/WithTooltip-V3YHNWJZ-fCnjn0j_.js index 7881bfbaf..2b02fcb2c 100644 --- a/docs/assets/WithTooltip-V3YHNWJZ-NqMWfhxO.js +++ b/docs/assets/WithTooltip-V3YHNWJZ-fCnjn0j_.js @@ -1 +1 @@ -import{W as T,W as e,a as h}from"./chunk-HLWAVYOI-bPp9GyXi.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure}; +import{W as T,W as e,a as h}from"./chunk-HLWAVYOI-CrIFzHE4.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure}; diff --git a/docs/assets/alert-dialog.stories-vx5d0LbR.js b/docs/assets/alert-dialog.stories-VgXSoFRm.js similarity index 91% rename from docs/assets/alert-dialog.stories-vx5d0LbR.js rename to docs/assets/alert-dialog.stories-VgXSoFRm.js index 08b408cbd..1308f2783 100644 --- a/docs/assets/alert-dialog.stories-vx5d0LbR.js +++ b/docs/assets/alert-dialog.stories-VgXSoFRm.js @@ -1,4 +1,4 @@ -import{a as O}from"./utils-NX-dnf4r.js";import{r as h,b,d as _,t as k}from"./registry-zqrnEiYK.js";import{_ as g}from"./dynamic-tag-4Gch17f1.js";import{_ as x}from"./self-iterator-6yU_KG2T.js";import{_ as v}from"./v-element-BABk39ab.js";import{_ as B}from"./index-tjucyUeZ.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";import{_ as A}from"./index-CCP4HZWQ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const K=`

+import{a as O}from"./utils-NX-dnf4r.js";import{r as h,b,d as _,t as k}from"./registry-zqrnEiYK.js";import{_ as g}from"./dynamic-tag-4Gch17f1.js";import{_ as x}from"./self-iterator-6yU_KG2T.js";import{_ as v}from"./v-element-BABk39ab.js";import{_ as B}from"./index-g2xi1LKt.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";import{_ as A}from"./index-XLHqpDln.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-avw8iGTO.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const K=`

ebay-alert-dialog diff --git a/docs/assets/avatar.stories-2hWCsX8G.js b/docs/assets/avatar.stories-jz0zqpDq.js similarity index 95% rename from docs/assets/avatar.stories-2hWCsX8G.js rename to docs/assets/avatar.stories-jz0zqpDq.js index 1187916bc..e8e87bffa 100644 --- a/docs/assets/avatar.stories-2hWCsX8G.js +++ b/docs/assets/avatar.stories-jz0zqpDq.js @@ -1,4 +1,4 @@ -import{t as D}from"./index-iqhZMf16.js";import{b as j,a as G}from"./utils-NX-dnf4r.js";import{t as $,r as z,b as B,f as M,p as Z,g as q,i as J,d as E}from"./registry-zqrnEiYK.js";import{_ as K}from"./dynamic-tag-4Gch17f1.js";import{_ as L}from"./index-2yWgcJbo.js";import{_ as I}from"./render-tag-_0PNNh6Y.js";import{_ as N}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const b=["teal","light-teal","green","lime","yellow","orange","magenta","pink"];function P(e,a){if(a)return a;let t=0,o,n;if(e&&e.length>0)for(n=0;ni);const A={};i._=B(function(e,a,t,o,n,l){const{a11yText:p,class:F,size:h,color:H,img:y,username:d,renderBody:U,...W}=e;a.be("div",M(Z(W),{role:"img","aria-label":p,class:q(["avatar",F,h&&`avatar--${h}`,`avatar--${P(d,H)}`])}),"0",o,null,4),y?a.e("img",J(y),"1",o,0,4):U?K(a,e,null,null,null,null,t,"2"):d?a.t(d.charAt(0).toUpperCase(),o):I(L,{},a,t,"3"),a.ee()},{t:g,i:!0},A);i.Component=E(A,i._);const Q=`

+import{t as D}from"./index-iqhZMf16.js";import{b as j,a as G}from"./utils-NX-dnf4r.js";import{t as $,r as z,b as B,f as M,p as Z,g as q,i as J,d as E}from"./registry-zqrnEiYK.js";import{_ as K}from"./dynamic-tag-4Gch17f1.js";import{_ as L}from"./index-hesef6OJ.js";import{_ as I}from"./render-tag-_0PNNh6Y.js";import{_ as N}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const b=["teal","light-teal","green","lime","yellow","orange","magenta","pink"];function P(e,a){if(a)return a;let t=0,o,n;if(e&&e.length>0)for(n=0;ni);const A={};i._=B(function(e,a,t,o,n,l){const{a11yText:p,class:F,size:h,color:H,img:y,username:d,renderBody:U,...W}=e;a.be("div",M(Z(W),{role:"img","aria-label":p,class:q(["avatar",F,h&&`avatar--${h}`,`avatar--${P(d,H)}`])}),"0",o,null,4),y?a.e("img",J(y),"1",o,0,4):U?K(a,e,null,null,null,null,t,"2"):d?a.t(d.charAt(0).toUpperCase(),o):I(L,{},a,t,"3"),a.ee()},{t:g,i:!0},A);i.Component=E(A,i._);const Q=`

ebay-avatar diff --git a/docs/assets/breadcrumbs.stories-hmM2tVBk.js b/docs/assets/breadcrumbs.stories-zNIuyDPz.js similarity index 95% rename from docs/assets/breadcrumbs.stories-hmM2tVBk.js rename to docs/assets/breadcrumbs.stories-zNIuyDPz.js index f889d517b..4f5695fd5 100644 --- a/docs/assets/breadcrumbs.stories-hmM2tVBk.js +++ b/docs/assets/breadcrumbs.stories-zNIuyDPz.js @@ -1,4 +1,4 @@ -import{t as fe}from"./index-iqhZMf16.js";import{a as we}from"./utils-NX-dnf4r.js";import{t as A,r as C,b as T,f as G,p as j,g as _e,d as v}from"./registry-zqrnEiYK.js";import{_ as Se}from"./index-zgw-oVoj.js";import{g as Be}from"./index-ekEOByf5.js";import{_ as z}from"./dynamic-tag-4Gch17f1.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as We}from"./index-WZOdYf_S.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";import{_ as J}from"./index-MwzY8iYS.js";import{r as xe}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-tjucyUeZ.js";import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";/* empty css */import"./index-WjSr7Aa1.js";import"./index--HiXohkr.js";import"./index-XBFm0t4a.js";/* empty css */import"./index-Zo2k51hY.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";class ke extends Marko.Component{handleClick(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.target})}handleMenuBreadcrumb(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.el})}onCreate(){this.state={hiddenIndex:[]}}onMount(){this._calculateMaxItems(),this.subscribeTo(xe).on("resize",this._calculateMaxItems.bind(this))}onInput(e){this.cachedWidths=[];const r=[],a=[...e.items??[]];if((a||[]).length>4)for(let o=1;o!c.type))return;const o=this.getEl("items"),p=Be(o),s=o.children.length-1,t=this._getItemWidths(o),P=r.hiddenIndex.length>0;let b=1;const $=s-1,O=$-2;let i=t[0]+t[s];P&&(i+=t[b],b++);const u=[];for(let c=$;c>=b;c--)i+=t[c],(i>p||O>=c)&&u.unshift(P?c-1:c);r.hiddenIndex=u}}const V="8Z0e3wxO",S=A(V),I=S;C.r(V,()=>S);const de=ke;S._=T(function(m,e,r,a,o,p){const{a11yHeadingText:s,a11yHeadingTag:t,a11yMenuButtonText:P,class:b,items:$,...O}=m,i=[...$||[]];var u=(i||[]).some(y=>y.href!=null);e.be("nav",G(j(O),{"aria-labelledby":r.elId("breadcrumbs-heading"),class:_e(["breadcrumbs","breadcrumb--overflow",b]),role:"navigation"}),"@root",a,null,4),z(e,t||"h2",()=>({id:r.elId("breadcrumbs-heading"),class:"clipped"}),y=>{y.t(s,a)},null,null,r,"0"),e.be("ul",null,"@items",a,null,0);{let y=0;for(const R of i||[]){let H=y++;const d=`[${H}]`;var c=o.hiddenIndex.indexOf(H)>-1;if(o.hiddenIndex.length>0&&H===1){e.be("li",null,"1"+d,a,null,0);{const M=[];let ue=0;for(const q of o.hiddenIndex||[]){const ye=`[${ue+++d}]`;M.push({type:u?"a":"button",...j(i[q]),renderBody:ge=>{z(ge,i[q].renderBody,null,null,null,null,r,"3"+ye)},[Symbol.iterator]:n})}h(We,{variant:"icon",transparent:!0,icon:Se,collapseOnSelect:!0,a11yText:P,items:M},e,r,"2"+d,[["select","handleMenuBreadcrumb",!1]]),h(J,{},e,r,"4"+d)}e.ee()}e.be("li",{hidden:c},"5"+d,a,null,0);{var X=H===i.length-1,Z=!R.href&&X;const M=u?"a":"button";e.be(M,G(j(R),{"aria-current":Z&&"location"}),"6"+d,a,null,4,{onclick:r.d("click",!Z&&"handleClick",!1)}),z(e,R.renderBody,null,null,null,null,r,"7"+d),e.ee(),X||h(J,{},e,r,"8"+d)}e.ee()}}e.ee(),e.ee()},{t:V},de);S.Component=v(de,S._);const N="70mClPfn",B=A(N);C.r(N,()=>B);const le={};B._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:N,i:!0},le);B.Component=v(le,B._);const U="1PdppXgH",W=A(U);C.r(U,()=>W);const he={};W._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Bands/182068/bn_16565906",renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:U,i:!0},he);W.Component=v(he,W._);const F="SQlojuMa",x=A(F);C.r(F,()=>x);const pe={};x._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:F,i:!0},pe);x.Component=v(pe,x._);const Q="w04LB6cH",k=A(Q);C.r(Q,()=>k);const be={};k._=T(function(m,e,r,a,o,p){const s=[];s.push({renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0",[["select","emit",!1,["select"]]])},{t:Q},be);k.Component=v(be,k._);const Ae=` +import{t as fe}from"./index-iqhZMf16.js";import{a as we}from"./utils-NX-dnf4r.js";import{t as A,r as C,b as T,f as G,p as j,g as _e,d as v}from"./registry-zqrnEiYK.js";import{_ as Se}from"./index-w_DyqyRi.js";import{g as Be}from"./index-ekEOByf5.js";import{_ as z}from"./dynamic-tag-4Gch17f1.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as We}from"./index-BndDE7o0.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";import{_ as J}from"./index-Yh_PXuyA.js";import{r as xe}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-g2xi1LKt.js";import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";/* empty css */import"./index-S21L6oUf.js";import"./index-fsHgTAj9.js";import"./index-yX95ckNV.js";/* empty css */import"./index-FQXijakt.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";class ke extends Marko.Component{handleClick(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.target})}handleMenuBreadcrumb(e){this.emit("select",{originalEvent:e,el:e==null?void 0:e.el})}onCreate(){this.state={hiddenIndex:[]}}onMount(){this._calculateMaxItems(),this.subscribeTo(xe).on("resize",this._calculateMaxItems.bind(this))}onInput(e){this.cachedWidths=[];const r=[],a=[...e.items??[]];if((a||[]).length>4)for(let o=1;o!c.type))return;const o=this.getEl("items"),p=Be(o),s=o.children.length-1,t=this._getItemWidths(o),P=r.hiddenIndex.length>0;let b=1;const $=s-1,O=$-2;let i=t[0]+t[s];P&&(i+=t[b],b++);const u=[];for(let c=$;c>=b;c--)i+=t[c],(i>p||O>=c)&&u.unshift(P?c-1:c);r.hiddenIndex=u}}const V="8Z0e3wxO",S=A(V),I=S;C.r(V,()=>S);const de=ke;S._=T(function(m,e,r,a,o,p){const{a11yHeadingText:s,a11yHeadingTag:t,a11yMenuButtonText:P,class:b,items:$,...O}=m,i=[...$||[]];var u=(i||[]).some(y=>y.href!=null);e.be("nav",G(j(O),{"aria-labelledby":r.elId("breadcrumbs-heading"),class:_e(["breadcrumbs","breadcrumb--overflow",b]),role:"navigation"}),"@root",a,null,4),z(e,t||"h2",()=>({id:r.elId("breadcrumbs-heading"),class:"clipped"}),y=>{y.t(s,a)},null,null,r,"0"),e.be("ul",null,"@items",a,null,0);{let y=0;for(const R of i||[]){let H=y++;const d=`[${H}]`;var c=o.hiddenIndex.indexOf(H)>-1;if(o.hiddenIndex.length>0&&H===1){e.be("li",null,"1"+d,a,null,0);{const M=[];let ue=0;for(const q of o.hiddenIndex||[]){const ye=`[${ue+++d}]`;M.push({type:u?"a":"button",...j(i[q]),renderBody:ge=>{z(ge,i[q].renderBody,null,null,null,null,r,"3"+ye)},[Symbol.iterator]:n})}h(We,{variant:"icon",transparent:!0,icon:Se,collapseOnSelect:!0,a11yText:P,items:M},e,r,"2"+d,[["select","handleMenuBreadcrumb",!1]]),h(J,{},e,r,"4"+d)}e.ee()}e.be("li",{hidden:c},"5"+d,a,null,0);{var X=H===i.length-1,Z=!R.href&&X;const M=u?"a":"button";e.be(M,G(j(R),{"aria-current":Z&&"location"}),"6"+d,a,null,4,{onclick:r.d("click",!Z&&"handleClick",!1)}),z(e,R.renderBody,null,null,null,null,r,"7"+d),e.ee(),X||h(J,{},e,r,"8"+d)}e.ee()}}e.ee(),e.ee()},{t:V},de);S.Component=v(de,S._);const N="70mClPfn",B=A(N);C.r(N,()=>B);const le={};B._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:N,i:!0},le);B.Component=v(le,B._);const U="1PdppXgH",W=A(U);C.r(U,()=>W);const he={};W._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Bands/182068/bn_16565906",renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:U,i:!0},he);W.Component=v(he,W._);const F="SQlojuMa",x=A(F);C.r(F,()=>x);const pe={};x._=T(function(m,e,r,a,o,p){const s=[];s.push({href:"http://www.ebay.com/",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/rpp/cell-phone-pda",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({href:"https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905",navsrc:"{}",_sp:"p2345.m909.l34",renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0")},{t:F,i:!0},pe);x.Component=v(pe,x._);const Q="w04LB6cH",k=A(Q);C.r(Q,()=>k);const be={};k._=T(function(m,e,r,a,o,p){const s=[];s.push({renderBody:t=>{t.t("eBay",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Cell Phones, Smart Watches & Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Accessories",a)},[Symbol.iterator]:n}),s.push({renderBody:t=>{t.t("Smart Watch Bands",a)},[Symbol.iterator]:n}),h(I,{a11yHeadingText:"Page navigation",items:s},e,r,"0",[["select","emit",!1,["select"]]])},{t:Q},be);k.Component=v(be,k._);const Ae=` <@item href="http://www.ebay.com/">eBay <@item href="https://www.ebay.com/rpp/cell-phone-pda">Cell Phones, Smart Watches & Accessories <@item href="https://www.ebay.com/b/Smart-Watch-Accessories/182064/bn_16565905">Smart Watch Accessories diff --git a/docs/assets/building-blocks.stories-zF2-9yJh.js b/docs/assets/building-blocks.stories-vF1uAdZr.js similarity index 85% rename from docs/assets/building-blocks.stories-zF2-9yJh.js rename to docs/assets/building-blocks.stories-vF1uAdZr.js index 9c27fde6d..376762d7d 100644 --- a/docs/assets/building-blocks.stories-zF2-9yJh.js +++ b/docs/assets/building-blocks.stories-vF1uAdZr.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"building blocks/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"building blocks/Overview"}),` `,e.jsx(o.h1,{id:"building-block-components",children:"Building Block Components"}),` `,e.jsx(o.p,{children:"These are components that were used as a part of larger, more complicated components. It is generally recommended to refrain from using these components and instead discover their fully built counterparts, but you may use these to build larger components if necessary."})]})}function i(t={}){const{wrapper:o}=Object.assign({},s(),t.components);return o?e.jsx(o,{...t,children:e.jsx(r,{...t})}):r(t)}const c=()=>{throw new Error("Docs-only story")};c.parameters={docsOnly:!0};const n={title:"building blocks/Overview",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:i};const f=["__page"];export{f as __namedExportsOrder,c as __page,n as default}; diff --git a/docs/assets/button.stories-2Fv2DOUQ.js b/docs/assets/button.stories-FdEYs1I0.js similarity index 94% rename from docs/assets/button.stories-2Fv2DOUQ.js rename to docs/assets/button.stories-FdEYs1I0.js index 9ab9a419f..91011b2f6 100644 --- a/docs/assets/button.stories-2Fv2DOUQ.js +++ b/docs/assets/button.stories-FdEYs1I0.js @@ -1,4 +1,4 @@ -import{t as f}from"./index-iqhZMf16.js";import{b as h,a as x}from"./utils-NX-dnf4r.js";import{_ as u}from"./index-tjucyUeZ.js";import{r as T,b as E,d as _,t as v}from"./registry-zqrnEiYK.js";import{_ as B}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const w=`

+import{t as f}from"./index-iqhZMf16.js";import{b as h,a as x}from"./utils-NX-dnf4r.js";import{_ as u}from"./index-g2xi1LKt.js";import{r as T,b as E,d as _,t as v}from"./registry-zqrnEiYK.js";import{_ as B}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const w=`

ebay-button diff --git a/docs/assets/buttons.stories-q4_Alw3p.js b/docs/assets/buttons.stories-feyHzu9O.js similarity index 82% rename from docs/assets/buttons.stories-q4_Alw3p.js rename to docs/assets/buttons.stories-feyHzu9O.js index fd5ab9a0b..8e2314f3d 100644 --- a/docs/assets/buttons.stories-q4_Alw3p.js +++ b/docs/assets/buttons.stories-feyHzu9O.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as t}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(e){const o=Object.assign({h1:"h1",p:"p"},s(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(a,{title:"buttons/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as t}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(e){const o=Object.assign({h1:"h1",p:"p"},s(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(a,{title:"buttons/Overview"}),` `,t.jsx(o.h1,{id:"button-components",children:"Button Components"}),` `,t.jsx(o.p,{children:"All components that are triggered by a button are contained within this category."})]})}function i(e={}){const{wrapper:o}=Object.assign({},s(),e.components);return o?t.jsx(o,{...e,children:t.jsx(r,{...e})}):r(e)}const m=()=>{throw new Error("Docs-only story")};m.parameters={docsOnly:!0};const n={title:"buttons/Overview",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:i};const _=["__page"];export{_ as __namedExportsOrder,m as __page,n as default}; diff --git a/docs/assets/calendar.stories-K4ghkDPU.js b/docs/assets/calendar.stories-UqN2zNrW.js similarity index 97% rename from docs/assets/calendar.stories-K4ghkDPU.js rename to docs/assets/calendar.stories-UqN2zNrW.js index 81c26673f..15ca9c0da 100644 --- a/docs/assets/calendar.stories-K4ghkDPU.js +++ b/docs/assets/calendar.stories-UqN2zNrW.js @@ -1,4 +1,4 @@ -import{b as k,a as E}from"./utils-NX-dnf4r.js";import{t as B}from"./index-iqhZMf16.js";import{_ as c,t as _}from"./index-8tJUpmL_.js";import{r as S,b as T,d as V,t as D}from"./registry-zqrnEiYK.js";import{_ as v}from"./render-tag-_0PNNh6Y.js";import"./index--MAS_RS0.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const M=`

+import{b as k,a as E}from"./utils-NX-dnf4r.js";import{t as B}from"./index-iqhZMf16.js";import{_ as c,t as _}from"./index-qGww6RZi.js";import{r as S,b as T,d as V,t as D}from"./registry-zqrnEiYK.js";import{_ as v}from"./render-tag-_0PNNh6Y.js";import"./index-nZ7E-k9d.js";import"./index-T-tr__32.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const M=`

ebay-calendar diff --git a/docs/assets/carousel.stories-i9ZNcCLz.js b/docs/assets/carousel.stories-cvRwb8Ox.js similarity index 98% rename from docs/assets/carousel.stories-i9ZNcCLz.js rename to docs/assets/carousel.stories-cvRwb8Ox.js index e00da8211..691a89e59 100644 --- a/docs/assets/carousel.stories-i9ZNcCLz.js +++ b/docs/assets/carousel.stories-cvRwb8Ox.js @@ -1,4 +1,4 @@ -import{t as E}from"./index-iqhZMf16.js";import{p as j,t as ue,r as me,b as pe,f as z,g as _,h as F,d as he}from"./registry-zqrnEiYK.js";/* empty css */import{_ as ve,a as Se,b as Te}from"./index-w1q3zmbb.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as fe}from"./dynamic-tag-4Gch17f1.js";import{_ as Ie}from"./preserve-tag-alJxPOrs.js";import{_ as ke}from"./index-MwzY8iYS.js";import{s as _e}from"./index-ERL0bCNR.js";import{r as Pe}from"./index-XjwwBzg5.js";import{_ as we}from"./v-element-BABk39ab.js";import{_ as Ee}from"./index-W-vPr4VJ.js";import{_ as Ce}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";import"./repeatable-jmdwKenu.js";import"./index-CCP4HZWQ.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";const U={passive:!0};function Ae(n,e){let t;return a(),r;function a(){n.addEventListener("scroll",s,U)}function s(){i(),t=setTimeout(l,640)}function l(){e(),a()}function i(){n.removeEventListener("scroll",s,U)}function r(){i(),clearTimeout(t)}}function Me(n,e){let t,a,s;return function l(){const{scrollLeft:i}=n;if(s!==i){s=i,t=setTimeout(()=>{a=requestAnimationFrame(l)},90);return}e(s)}(),()=>{clearTimeout(t),cancelAnimationFrame(a)}}const $e=typeof window<"u"&&"scrollBehavior"in document.documentElement.style;function N(n,e,t){if($e)return n.scrollTo({left:e}),Me(n,t);let a,s,l=requestAnimationFrame(u=>{const{scrollLeft:p}=n,m=e-p,f=450;(function y(A){const M=A-u;if(M>f)return n.scrollLeft=e,i(),t();n.scrollLeft=Oe(M/f)*m+p,l=requestAnimationFrame(y)})(u)});return n.addEventListener("touchstart",r),i;function i(){cancelAnimationFrame(l),a===void 0?c():(s&&s(),d())}function r(){i(),a=n.scrollLeft,n.addEventListener("touchend",o)}function o(){d(),a===n.scrollLeft&&(s=N(n,e,t))}function c(){n.removeEventListener("touchstart",r)}function d(){n.removeEventListener("touchend",o)}}function Oe(n){return n<.5?2*n*n:-1+(4-2*n)*n}const V=-1,L=1;class Fe extends Marko.Component{cleanupAsync(){clearTimeout(this.autoplayTimeout),cancelAnimationFrame(this.renderFrame),cancelAnimationFrame(this.focusFrame),this.cancelScrollTransition&&(this.cancelScrollTransition(),this.cancelScrollTransition=void 0)}emitUpdate(){const{config:e,items:t}=this.state;e.scrollTransitioning=!1,this.emit("move",{visibleIndexes:t.filter(({fullyVisible:a})=>a).map(a=>t.indexOf(a))})}handleScroll(e){const{state:t}=this,{config:a,items:s,gap:l}=t;let i;if(e>=this.getMaxOffset(t)-l)i=s.length-1;else{const r=t.itemsPerSlide||1,o=s.length;let c=0,d=Math.ceil(o/r)-1;for(;d-c>1;){const m=Math.floor((c+d)/2);e>s[m*r].left?c=m:d=m}const u=Math.abs(e-s[c*r].left),p=Math.abs(e-s[d*r].left);i=this.normalizeIndex(t,(u>p?d:c)*r)}t.index!==i&&(this.skipScrolling=!0,a.preserveItems=!0,this.setState("index",i),this.emit("scroll",{index:i}))}getOffset(e){const{items:t,index:a}=e;return t.length&&Math.min(t[a].left,this.getMaxOffset(e))||0}getMaxOffset({items:e,slideWidth:t}){return e.length&&Math.max(e[e.length-1].right-t,0)||0}getSlide({index:e,itemsPerSlide:t},a=e){if(t)return Math.ceil(a/t)}normalizeIndex({items:e,itemsPerSlide:t},a){if(a>0){let s=a;return s%=e.length||1,s-=s%(t||1),s=Math.abs(s),s}return 0}isAnimating(e){const{items:t,index:a}=e;if(!t.length)return!1;const s=t[a];return s.left===void 0||s.right===void 0}getNextIndex(e,t){const{index:a,items:s,slideWidth:l,itemsPerSlide:i}=e;let r=a,o;if(t===V&&r===0)r=s.length-1;else{do o=s[r+=t];while(o&&o.fullyVisible);if(t===V&&!i){const c=o.right-l;do o=s[--r];while(o&&o.left>=c);r+=1}}return this.normalizeIndex(e,r)}getTemplateData(e){const{config:t,autoplayInterval:a,items:s,itemsPerSlide:l,slideWidth:i,gap:r}=e,o=t.offsetOverride!==void 0,c=s.length<=l;e.index=this.normalizeIndex(e,e.index);const d=this.getOffset(e),u=c||!a&&d===0,p=c||!a&&d===this.getMaxOffset(e),m=this.isAnimating(e)?e.bothControlsDisabled:u&&p;let f,y,A;if(l){const h=l+e.peek;f=this.getSlide(e),y=`calc(${100/h}% - ${(h-1)*r/h}px)`,A=this.getSlide(e,s.length)}return s.forEach((h,xe)=>{const{style:$,transform:O}=h,R=xe!==s.length-1&&`${r}px`;typeof $=="string"?(h.style=`${$};flex-basis:${y};margin-right:${R};`,O&&(h.style+=`transform:${O}`)):h.style=Object.assign({},$,{width:y,"margin-right":R,transform:O}),h.fullyVisible=h.left===void 0||h.left-d>=-.01&&h.right-d<=i+.01}),Object.assign({},e,{items:s,slide:f,offset:o?t.offsetOverride:d,disableTransition:o,totalSlides:A,prevControlDisabled:u,nextControlDisabled:p,bothControlsDisabled:m})}move(e){const{state:t}=this,{index:a,items:s,itemsPerSlide:l,autoplayInterval:i,slideWidth:r,gap:o,peek:c,config:d}=t,u=this.getNextIndex(t,e);let p;if(d.preserveItems=!0,this.isMoving=!0,this.skipScrolling=!1,i){if(e===L&&ua){p=this.getMaxOffset(t)+r+o;for(let m=Math.ceil(l+c);m--;){const f=s[m];f.transform=`translateX(${this.getMaxOffset(t)+r+o}px)`}}d.offsetOverride=p}return this.setState("index",u),this.once("move",()=>{this.isMoving=!1,p!==void 0&&s.forEach(m=>{m.transform=void 0})}),u}handleMove(e,t){if(this.isMoving)return;const{state:a}=this,s=this.move(e),l=this.getSlide(a,s);this.emit("slide",{slide:l+1,originalEvent:t}),this.emit(`${e===1?"next":"previous"}`,{originalEvent:t})}handleStartInteraction(){this.setState("interacting",!0)}handleEndInteraction(){clearTimeout(this.interactionEndTimeout),this.isMoving?this.state.interacting&&(this.interactionEndTimeout=setTimeout(()=>{this.handleEndInteraction()},100)):this.setState("interacting",!1)}togglePlay(e){const{state:{config:t,paused:a}}=this;t.preserveItems=!0,this.setState("paused",!a),a&&!this.isMoving&&this.move(L),this.emit(`${a?"play":"pause"}`,{originalEvent:e})}onInput(e){var i;const t=parseInt(e.gap,10),a={htmlAttributes:j(e,["class","style","index","type","slide","gap","autoplay","paused","itemsPerSlide","a11yPreviousText","a11yNextText","a11yPlayText","a11yPauseText","items","hiddenScrollbar"]),classes:["carousel",e.hiddenScrollbar&&"carousel--hidden-scrollbar",e.class],style:e.style,config:{},gap:isNaN(t)?16:t,index:parseInt(e.index,10)||0,itemsPerSlide:parseFloat(e.itemsPerSlide)||0,a11yPreviousText:e.a11yPreviousText||"Previous Slide",a11yNextText:e.a11yNextText||"Next Slide",a11yPauseText:e.a11yPauseText||"Pause",a11yPlayText:e.a11yPlayText||"Play",ariaRoleDescription:e["aria-roledescription"]||"Carousel",items:[],slideWidth:0,autoplayInterval:0,paused:!1,peek:0,interacting:!1,bothControlsDisabled:!1},s=["class","style","key"],{itemsPerSlide:l}=a;if(l&&(a.peek=l%1,a.itemsPerSlide=l-a.peek,a.classes.push("carousel--slides"),!a.peek&&!e.autoplay&&!e.noPeek&&(a.peek=.1),a.peek&&a.classes.push("carousel--peek"),e.autoplay)){const r=((i=e.items)==null?void 0:i.length)<=l;a.autoplayInterval=parseInt(e.autoplay,10)||4e3,a.classes.push("carousel__autoplay"),a.paused=!!(r||e.paused),a.interacting=!1}a.items=(e.items||[]).map((r,o)=>{const c=a.itemsPerSlide?o%a.itemsPerSlide===0:!0;return{htmlAttributes:j(r,s),class:c?["carousel__snap-point",r.class]:r.class,key:r.key||o.toString(),style:r.style,renderBody:r.renderBody,left:0,right:0}}),this.state=a}onRender(){typeof window<"u"&&this.cleanupAsync()}onMount(){const{config:e}=this.state;this.listEl=this.getEl("list"),this.nextEl=this.getEl("next"),this.containerEl=this.getEl("container"),this.subscribeTo(Pe).on("resize",()=>{this.cleanupAsync(),this.onRenderLegacy()}),this.skipScrolling=!1,q(this.listEl)?(e.nativeScrolling=!0,this.once("destroy",Ae(this.listEl,()=>{e.scrollTransitioning||this.handleScroll(this.listEl.scrollLeft)}))):this.subscribeTo(this.listEl).on("transitionend",({target:t})=>{t===this.listEl&&this.emitUpdate()}),this.onRenderLegacy()}onUpdate(){this.onRenderLegacy()}onDestroy(){this.cleanupAsync()}onRenderLegacy(){const{containerEl:e,listEl:t,state:a}=this,{config:s,items:l,autoplayInterval:i,paused:r,interacting:o}=a;if(l.length){if(s.offsetOverride){s.offsetOverride=void 0,this.renderFrame=requestAnimationFrame(()=>this.setStateDirty(void 0));return}if(s.preserveItems){if(s.preserveItems=!1,this.focusFrame=requestAnimationFrame(()=>{D(t,c=>{_e(c).forEach(c.getAttribute("aria-hidden")!=="true"?d=>d.hasAttribute("data-carousel-tabindex")?d.setAttribute("tabindex",d.getAttribute("data-carousel-tabindex")??"-1"):d.removeAttribute("tabindex"):d=>d.setAttribute("tabindex","-1"))})}),s.nativeScrolling)if(this.skipScrolling)this.emitUpdate();else{const c=this.getOffset(a);c!==t.scrollLeft?(s.scrollTransitioning=!0,this.cancelScrollTransition=N(t,c,this.emitUpdate.bind(this))):this.isMoving&&(s.scrollTransitioning=!0,this.cancelScrollTransition=N(t,this.getOffset(a),this.emitUpdate.bind(this)))}if(i&&!r&&!o){const c=this.move.bind(this,L);this.autoplayTimeout=setTimeout(()=>{if(this.isMoving)return this.once("move",c);c()},i)}return}this.renderFrame=requestAnimationFrame(()=>{const{width:c}=e.getBoundingClientRect(),{left:d}=t.firstElementChild.getBoundingClientRect();this.setStateDirty("slideWidth",c),s.preserveItems=!0,s.nativeScrolling=q(t),D(t,(u,p)=>{const m=l[p],{left:f,right:y}=u.getBoundingClientRect();m.left=f-d,m.right=y-d})})}}}function q(n){return getComputedStyle(n).overflowX!=="visible"}function D(n,e){let t=0,a=n.firstElementChild;for(;a;)e(a,t++),a=a.nextElementSibling}const B="jcQTeC0v",P=ue(B),ge=P;me.r(B,()=>P);const ye=Fe;P._=pe(function(n,e,t,a,s,l){var i=a.getTemplateData(s),r=i.config;e.be("div",z(i.htmlAttributes,{class:_(i.classes),style:F(i.style),"aria-roledescription":i.ariaRoleDescription,role:"group"}),"0",a,null,4),e.be("div",{class:_(["carousel__container",i.bothControlsDisabled&&"carousel__container--controls-disabled"]),id:t.elId("container")},"@container",a,null,1,{onfocusin:t.d("focusin",!!i.autoplayInterval&&"handleStartInteraction",!1),ontouchstart:t.d("touchstart",!!i.autoplayInterval&&"handleStartInteraction",!1),onmouseover:t.d("mouseover",!!i.autoplayInterval&&"handleStartInteraction",!1),onfocusout:t.d("focusout",!!i.autoplayInterval&&"handleEndInteraction",!1),onmouseout:t.d("mouseout",!!i.autoplayInterval&&"handleEndInteraction",!1),ontouchend:t.d("touchend",!!i.autoplayInterval&&"handleEndInteraction",!1)}),e.be("button",{class:"carousel__control carousel__control--prev",type:"button","aria-label":i.a11yPreviousText,"aria-disabled":i.prevControlDisabled&&"true"},"1",a,null,0,{onclick:t.d("click",!i.prevControlDisabled&&"handleMove",!1,[-1])}),b(ve,{},e,t,"2"),e.ee(),e.be("div",{class:_(["carousel__viewport",!i.itemsPerSlide&&!i.nextControlDisabled&&!i.autoplayInterval&&"carousel__viewport--mask"])},"3",a,null,1),e.be("ul",{class:_(["carousel__list",n.imageTreatment==="matte"&&"carousel__list--image-treatment"]),style:F(!r.nativeScrolling&&!!i.offset&&{transform:"translate3d("+i.offset*-1+"px,0,0)",transition:i.disableTransition?"none":void 0}),id:t.elId("list")},"@list",a,null,1);for(const o of i.items||[]){const c=`@${o.key}`,d=`[${c}]`;e.be("li",z(o.htmlAttributes,{class:_(o.class),style:F(o.style),"aria-hidden":!o.fullyVisible&&"true"}),c,a,null,4),b(Ie,{n:!0,b:!0,i:!!r.preserveItems,renderBody:u=>{fe(u,o.renderBody,null,null,null,null,t,"4"+d)}},e,t,c),e.ee()}e.ee(),e.ee(),e.be("button",{class:"carousel__control carousel__control--next",type:"button","aria-label":i.a11yNextText,"aria-disabled":i.nextControlDisabled&&"true",id:t.elId("next")},"@next",a,null,0,{onclick:t.d("click",!i.nextControlDisabled&&"handleMove",!1,[1])}),b(ke,{},e,t,"5"),e.ee(),i.autoplayInterval&&!i.bothControlsDisabled&&(e.be("button",{type:"button","aria-label":i.paused?i.a11yPlayText:i.a11yPauseText,class:"carousel__playback"},"6",a,null,0,{onclick:t.d("click","togglePlay",!1)}),i.paused?b(Se,{},e,t,"7"):b(Te,{},e,t,"8"),e.ee()),e.ee(),e.ee()},{t:B},ye);P.Component=he(ye,P._);const Ve=`

+import{t as E}from"./index-iqhZMf16.js";import{p as j,t as ue,r as me,b as pe,f as z,g as _,h as F,d as he}from"./registry-zqrnEiYK.js";/* empty css */import{_ as ve,a as Se,b as Te}from"./index-rQljMZk-.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as fe}from"./dynamic-tag-4Gch17f1.js";import{_ as Ie}from"./preserve-tag-alJxPOrs.js";import{_ as ke}from"./index-Yh_PXuyA.js";import{s as _e}from"./index-ERL0bCNR.js";import{r as Pe}from"./index-XjwwBzg5.js";import{_ as we}from"./v-element-BABk39ab.js";import{_ as Ee}from"./index-c4SlkSUb.js";import{_ as Ce}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";import"./repeatable-jmdwKenu.js";import"./index-XLHqpDln.js";/* empty css */import"./index-avw8iGTO.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";const U={passive:!0};function Ae(n,e){let t;return a(),r;function a(){n.addEventListener("scroll",s,U)}function s(){i(),t=setTimeout(l,640)}function l(){e(),a()}function i(){n.removeEventListener("scroll",s,U)}function r(){i(),clearTimeout(t)}}function Me(n,e){let t,a,s;return function l(){const{scrollLeft:i}=n;if(s!==i){s=i,t=setTimeout(()=>{a=requestAnimationFrame(l)},90);return}e(s)}(),()=>{clearTimeout(t),cancelAnimationFrame(a)}}const $e=typeof window<"u"&&"scrollBehavior"in document.documentElement.style;function N(n,e,t){if($e)return n.scrollTo({left:e}),Me(n,t);let a,s,l=requestAnimationFrame(u=>{const{scrollLeft:p}=n,m=e-p,f=450;(function y(A){const M=A-u;if(M>f)return n.scrollLeft=e,i(),t();n.scrollLeft=Oe(M/f)*m+p,l=requestAnimationFrame(y)})(u)});return n.addEventListener("touchstart",r),i;function i(){cancelAnimationFrame(l),a===void 0?c():(s&&s(),d())}function r(){i(),a=n.scrollLeft,n.addEventListener("touchend",o)}function o(){d(),a===n.scrollLeft&&(s=N(n,e,t))}function c(){n.removeEventListener("touchstart",r)}function d(){n.removeEventListener("touchend",o)}}function Oe(n){return n<.5?2*n*n:-1+(4-2*n)*n}const V=-1,L=1;class Fe extends Marko.Component{cleanupAsync(){clearTimeout(this.autoplayTimeout),cancelAnimationFrame(this.renderFrame),cancelAnimationFrame(this.focusFrame),this.cancelScrollTransition&&(this.cancelScrollTransition(),this.cancelScrollTransition=void 0)}emitUpdate(){const{config:e,items:t}=this.state;e.scrollTransitioning=!1,this.emit("move",{visibleIndexes:t.filter(({fullyVisible:a})=>a).map(a=>t.indexOf(a))})}handleScroll(e){const{state:t}=this,{config:a,items:s,gap:l}=t;let i;if(e>=this.getMaxOffset(t)-l)i=s.length-1;else{const r=t.itemsPerSlide||1,o=s.length;let c=0,d=Math.ceil(o/r)-1;for(;d-c>1;){const m=Math.floor((c+d)/2);e>s[m*r].left?c=m:d=m}const u=Math.abs(e-s[c*r].left),p=Math.abs(e-s[d*r].left);i=this.normalizeIndex(t,(u>p?d:c)*r)}t.index!==i&&(this.skipScrolling=!0,a.preserveItems=!0,this.setState("index",i),this.emit("scroll",{index:i}))}getOffset(e){const{items:t,index:a}=e;return t.length&&Math.min(t[a].left,this.getMaxOffset(e))||0}getMaxOffset({items:e,slideWidth:t}){return e.length&&Math.max(e[e.length-1].right-t,0)||0}getSlide({index:e,itemsPerSlide:t},a=e){if(t)return Math.ceil(a/t)}normalizeIndex({items:e,itemsPerSlide:t},a){if(a>0){let s=a;return s%=e.length||1,s-=s%(t||1),s=Math.abs(s),s}return 0}isAnimating(e){const{items:t,index:a}=e;if(!t.length)return!1;const s=t[a];return s.left===void 0||s.right===void 0}getNextIndex(e,t){const{index:a,items:s,slideWidth:l,itemsPerSlide:i}=e;let r=a,o;if(t===V&&r===0)r=s.length-1;else{do o=s[r+=t];while(o&&o.fullyVisible);if(t===V&&!i){const c=o.right-l;do o=s[--r];while(o&&o.left>=c);r+=1}}return this.normalizeIndex(e,r)}getTemplateData(e){const{config:t,autoplayInterval:a,items:s,itemsPerSlide:l,slideWidth:i,gap:r}=e,o=t.offsetOverride!==void 0,c=s.length<=l;e.index=this.normalizeIndex(e,e.index);const d=this.getOffset(e),u=c||!a&&d===0,p=c||!a&&d===this.getMaxOffset(e),m=this.isAnimating(e)?e.bothControlsDisabled:u&&p;let f,y,A;if(l){const h=l+e.peek;f=this.getSlide(e),y=`calc(${100/h}% - ${(h-1)*r/h}px)`,A=this.getSlide(e,s.length)}return s.forEach((h,xe)=>{const{style:$,transform:O}=h,R=xe!==s.length-1&&`${r}px`;typeof $=="string"?(h.style=`${$};flex-basis:${y};margin-right:${R};`,O&&(h.style+=`transform:${O}`)):h.style=Object.assign({},$,{width:y,"margin-right":R,transform:O}),h.fullyVisible=h.left===void 0||h.left-d>=-.01&&h.right-d<=i+.01}),Object.assign({},e,{items:s,slide:f,offset:o?t.offsetOverride:d,disableTransition:o,totalSlides:A,prevControlDisabled:u,nextControlDisabled:p,bothControlsDisabled:m})}move(e){const{state:t}=this,{index:a,items:s,itemsPerSlide:l,autoplayInterval:i,slideWidth:r,gap:o,peek:c,config:d}=t,u=this.getNextIndex(t,e);let p;if(d.preserveItems=!0,this.isMoving=!0,this.skipScrolling=!1,i){if(e===L&&ua){p=this.getMaxOffset(t)+r+o;for(let m=Math.ceil(l+c);m--;){const f=s[m];f.transform=`translateX(${this.getMaxOffset(t)+r+o}px)`}}d.offsetOverride=p}return this.setState("index",u),this.once("move",()=>{this.isMoving=!1,p!==void 0&&s.forEach(m=>{m.transform=void 0})}),u}handleMove(e,t){if(this.isMoving)return;const{state:a}=this,s=this.move(e),l=this.getSlide(a,s);this.emit("slide",{slide:l+1,originalEvent:t}),this.emit(`${e===1?"next":"previous"}`,{originalEvent:t})}handleStartInteraction(){this.setState("interacting",!0)}handleEndInteraction(){clearTimeout(this.interactionEndTimeout),this.isMoving?this.state.interacting&&(this.interactionEndTimeout=setTimeout(()=>{this.handleEndInteraction()},100)):this.setState("interacting",!1)}togglePlay(e){const{state:{config:t,paused:a}}=this;t.preserveItems=!0,this.setState("paused",!a),a&&!this.isMoving&&this.move(L),this.emit(`${a?"play":"pause"}`,{originalEvent:e})}onInput(e){var i;const t=parseInt(e.gap,10),a={htmlAttributes:j(e,["class","style","index","type","slide","gap","autoplay","paused","itemsPerSlide","a11yPreviousText","a11yNextText","a11yPlayText","a11yPauseText","items","hiddenScrollbar"]),classes:["carousel",e.hiddenScrollbar&&"carousel--hidden-scrollbar",e.class],style:e.style,config:{},gap:isNaN(t)?16:t,index:parseInt(e.index,10)||0,itemsPerSlide:parseFloat(e.itemsPerSlide)||0,a11yPreviousText:e.a11yPreviousText||"Previous Slide",a11yNextText:e.a11yNextText||"Next Slide",a11yPauseText:e.a11yPauseText||"Pause",a11yPlayText:e.a11yPlayText||"Play",ariaRoleDescription:e["aria-roledescription"]||"Carousel",items:[],slideWidth:0,autoplayInterval:0,paused:!1,peek:0,interacting:!1,bothControlsDisabled:!1},s=["class","style","key"],{itemsPerSlide:l}=a;if(l&&(a.peek=l%1,a.itemsPerSlide=l-a.peek,a.classes.push("carousel--slides"),!a.peek&&!e.autoplay&&!e.noPeek&&(a.peek=.1),a.peek&&a.classes.push("carousel--peek"),e.autoplay)){const r=((i=e.items)==null?void 0:i.length)<=l;a.autoplayInterval=parseInt(e.autoplay,10)||4e3,a.classes.push("carousel__autoplay"),a.paused=!!(r||e.paused),a.interacting=!1}a.items=(e.items||[]).map((r,o)=>{const c=a.itemsPerSlide?o%a.itemsPerSlide===0:!0;return{htmlAttributes:j(r,s),class:c?["carousel__snap-point",r.class]:r.class,key:r.key||o.toString(),style:r.style,renderBody:r.renderBody,left:0,right:0}}),this.state=a}onRender(){typeof window<"u"&&this.cleanupAsync()}onMount(){const{config:e}=this.state;this.listEl=this.getEl("list"),this.nextEl=this.getEl("next"),this.containerEl=this.getEl("container"),this.subscribeTo(Pe).on("resize",()=>{this.cleanupAsync(),this.onRenderLegacy()}),this.skipScrolling=!1,q(this.listEl)?(e.nativeScrolling=!0,this.once("destroy",Ae(this.listEl,()=>{e.scrollTransitioning||this.handleScroll(this.listEl.scrollLeft)}))):this.subscribeTo(this.listEl).on("transitionend",({target:t})=>{t===this.listEl&&this.emitUpdate()}),this.onRenderLegacy()}onUpdate(){this.onRenderLegacy()}onDestroy(){this.cleanupAsync()}onRenderLegacy(){const{containerEl:e,listEl:t,state:a}=this,{config:s,items:l,autoplayInterval:i,paused:r,interacting:o}=a;if(l.length){if(s.offsetOverride){s.offsetOverride=void 0,this.renderFrame=requestAnimationFrame(()=>this.setStateDirty(void 0));return}if(s.preserveItems){if(s.preserveItems=!1,this.focusFrame=requestAnimationFrame(()=>{D(t,c=>{_e(c).forEach(c.getAttribute("aria-hidden")!=="true"?d=>d.hasAttribute("data-carousel-tabindex")?d.setAttribute("tabindex",d.getAttribute("data-carousel-tabindex")??"-1"):d.removeAttribute("tabindex"):d=>d.setAttribute("tabindex","-1"))})}),s.nativeScrolling)if(this.skipScrolling)this.emitUpdate();else{const c=this.getOffset(a);c!==t.scrollLeft?(s.scrollTransitioning=!0,this.cancelScrollTransition=N(t,c,this.emitUpdate.bind(this))):this.isMoving&&(s.scrollTransitioning=!0,this.cancelScrollTransition=N(t,this.getOffset(a),this.emitUpdate.bind(this)))}if(i&&!r&&!o){const c=this.move.bind(this,L);this.autoplayTimeout=setTimeout(()=>{if(this.isMoving)return this.once("move",c);c()},i)}return}this.renderFrame=requestAnimationFrame(()=>{const{width:c}=e.getBoundingClientRect(),{left:d}=t.firstElementChild.getBoundingClientRect();this.setStateDirty("slideWidth",c),s.preserveItems=!0,s.nativeScrolling=q(t),D(t,(u,p)=>{const m=l[p],{left:f,right:y}=u.getBoundingClientRect();m.left=f-d,m.right=y-d})})}}}function q(n){return getComputedStyle(n).overflowX!=="visible"}function D(n,e){let t=0,a=n.firstElementChild;for(;a;)e(a,t++),a=a.nextElementSibling}const B="jcQTeC0v",P=ue(B),ge=P;me.r(B,()=>P);const ye=Fe;P._=pe(function(n,e,t,a,s,l){var i=a.getTemplateData(s),r=i.config;e.be("div",z(i.htmlAttributes,{class:_(i.classes),style:F(i.style),"aria-roledescription":i.ariaRoleDescription,role:"group"}),"0",a,null,4),e.be("div",{class:_(["carousel__container",i.bothControlsDisabled&&"carousel__container--controls-disabled"]),id:t.elId("container")},"@container",a,null,1,{onfocusin:t.d("focusin",!!i.autoplayInterval&&"handleStartInteraction",!1),ontouchstart:t.d("touchstart",!!i.autoplayInterval&&"handleStartInteraction",!1),onmouseover:t.d("mouseover",!!i.autoplayInterval&&"handleStartInteraction",!1),onfocusout:t.d("focusout",!!i.autoplayInterval&&"handleEndInteraction",!1),onmouseout:t.d("mouseout",!!i.autoplayInterval&&"handleEndInteraction",!1),ontouchend:t.d("touchend",!!i.autoplayInterval&&"handleEndInteraction",!1)}),e.be("button",{class:"carousel__control carousel__control--prev",type:"button","aria-label":i.a11yPreviousText,"aria-disabled":i.prevControlDisabled&&"true"},"1",a,null,0,{onclick:t.d("click",!i.prevControlDisabled&&"handleMove",!1,[-1])}),b(ve,{},e,t,"2"),e.ee(),e.be("div",{class:_(["carousel__viewport",!i.itemsPerSlide&&!i.nextControlDisabled&&!i.autoplayInterval&&"carousel__viewport--mask"])},"3",a,null,1),e.be("ul",{class:_(["carousel__list",n.imageTreatment==="matte"&&"carousel__list--image-treatment"]),style:F(!r.nativeScrolling&&!!i.offset&&{transform:"translate3d("+i.offset*-1+"px,0,0)",transition:i.disableTransition?"none":void 0}),id:t.elId("list")},"@list",a,null,1);for(const o of i.items||[]){const c=`@${o.key}`,d=`[${c}]`;e.be("li",z(o.htmlAttributes,{class:_(o.class),style:F(o.style),"aria-hidden":!o.fullyVisible&&"true"}),c,a,null,4),b(Ie,{n:!0,b:!0,i:!!r.preserveItems,renderBody:u=>{fe(u,o.renderBody,null,null,null,null,t,"4"+d)}},e,t,c),e.ee()}e.ee(),e.ee(),e.be("button",{class:"carousel__control carousel__control--next",type:"button","aria-label":i.a11yNextText,"aria-disabled":i.nextControlDisabled&&"true",id:t.elId("next")},"@next",a,null,0,{onclick:t.d("click",!i.nextControlDisabled&&"handleMove",!1,[1])}),b(ke,{},e,t,"5"),e.ee(),i.autoplayInterval&&!i.bothControlsDisabled&&(e.be("button",{type:"button","aria-label":i.paused?i.a11yPlayText:i.a11yPauseText,class:"carousel__playback"},"6",a,null,0,{onclick:t.d("click","togglePlay",!1)}),i.paused?b(Se,{},e,t,"7"):b(Te,{},e,t,"8"),e.ee()),e.ee(),e.ee()},{t:B},ye);P.Component=he(ye,P._);const Ve=`

ebay-carousel diff --git a/docs/assets/checkbox.stories-PD9-YnYO.js b/docs/assets/checkbox.stories-zA0Ur1nv.js similarity index 98% rename from docs/assets/checkbox.stories-PD9-YnYO.js rename to docs/assets/checkbox.stories-zA0Ur1nv.js index c151a08f6..8dcfe5577 100644 --- a/docs/assets/checkbox.stories-PD9-YnYO.js +++ b/docs/assets/checkbox.stories-zA0Ur1nv.js @@ -1,4 +1,4 @@ -import{t as A}from"./index-iqhZMf16.js";import{_ as m}from"./index-4lRyQCLB.js";import{r as b,b as f,d as _,t as g}from"./registry-zqrnEiYK.js";import{_ as h}from"./v-element-BABk39ab.js";import{_ as k}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-nYpLpsKM.js";import"./index-dCAZr4YS.js";/* empty css */import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const B=`

+import{t as A}from"./index-iqhZMf16.js";import{_ as m}from"./index-aYjb7RMT.js";import{r as b,b as f,d as _,t as g}from"./registry-zqrnEiYK.js";import{_ as h}from"./v-element-BABk39ab.js";import{_ as k}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-GxCEZ36B.js";import"./index-T-tr__32.js";/* empty css */import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const B=`

ebay-checkbox diff --git a/docs/assets/chip.stories-VMG-jgOe.js b/docs/assets/chip.stories-mjjyyNjN.js similarity index 91% rename from docs/assets/chip.stories-VMG-jgOe.js rename to docs/assets/chip.stories-mjjyyNjN.js index 68ecba549..4c2613afc 100644 --- a/docs/assets/chip.stories-VMG-jgOe.js +++ b/docs/assets/chip.stories-mjjyyNjN.js @@ -1,4 +1,4 @@ -import{t as p}from"./index-iqhZMf16.js";import{a as m}from"./utils-NX-dnf4r.js";import{_ as l}from"./index-oMMN6Ovq.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./render-tag-_0PNNh6Y.js";const u=`

+import{t as p}from"./index-iqhZMf16.js";import{a as m}from"./utils-NX-dnf4r.js";import{_ as l}from"./index-V1SEMiue.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./render-tag-_0PNNh6Y.js";const u=`

ebay-chip diff --git a/docs/assets/chips-combobox.stories-d7ZBJ1kD.js b/docs/assets/chips-combobox.stories-rZ7pvMOf.js similarity index 94% rename from docs/assets/chips-combobox.stories-d7ZBJ1kD.js rename to docs/assets/chips-combobox.stories-rZ7pvMOf.js index 1ecd7433b..b27c53bc3 100644 --- a/docs/assets/chips-combobox.stories-d7ZBJ1kD.js +++ b/docs/assets/chips-combobox.stories-rZ7pvMOf.js @@ -1,4 +1,4 @@ -import{b as V}from"./utils-NX-dnf4r.js";import{t as k,r as w,b as v,g as j,d as D}from"./registry-zqrnEiYK.js";import{_ as A}from"./index-oMMN6Ovq.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";import{_ as p}from"./self-iterator-6yU_KG2T.js";import{C as F}from"./index-touo30Yf.js";import{c as H}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css *//* empty css *//* empty css */import"./index-i1smj9EI.js";import"./index--HiXohkr.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-4ijq5S5t.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";const M=`

+import{b as V}from"./utils-NX-dnf4r.js";import{t as k,r as w,b as v,g as j,d as D}from"./registry-zqrnEiYK.js";import{_ as A}from"./index-V1SEMiue.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";import{_ as p}from"./self-iterator-6yU_KG2T.js";import{C as F}from"./index-asvJB4Ap.js";import{c as H}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css *//* empty css *//* empty css */import"./index-kURT6dDW.js";import"./index-fsHgTAj9.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-4ijq5S5t.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";const M=`

ebay-combobox diff --git a/docs/assets/chunk-HLWAVYOI-bPp9GyXi.js b/docs/assets/chunk-HLWAVYOI-CrIFzHE4.js similarity index 99% rename from docs/assets/chunk-HLWAVYOI-bPp9GyXi.js rename to docs/assets/chunk-HLWAVYOI-CrIFzHE4.js index 4ad2c1078..b9a0de37c 100644 --- a/docs/assets/chunk-HLWAVYOI-bPp9GyXi.js +++ b/docs/assets/chunk-HLWAVYOI-CrIFzHE4.js @@ -1,4 +1,4 @@ -import{_ as Qr}from"./iframe-T3i_FFBQ.js";import{g as Ra,c as zu}from"./_commonjsHelpers-5-cIlDoe.js";import{c as yl}from"./_commonjs-dynamic-modules-h-SxKiO4.js";import{b as rn,c as q2,d as _0,f as W2,g as Nv,h as G2,j as O0,k as jv,l as Hv,m as Ki,n as T0,i as Jo,a as K2,o as Zv,p as zv,q as Vv,r as Uv,s as qv,t as Wv,u as Y2,v as Gv,w as Kv,_ as Yv,x as Xv,y as Qv,z as X2,A as Q2,B as I1,C as Ks,S as Vu}from"./index-xLzVGzoy.js";import{d as Xe}from"./index-PPLHz8o0.js";function Jv(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var J2={exports:{}},Y={};/** +import{_ as Qr}from"./iframe-VgUVZRsZ.js";import{g as Ra,c as zu}from"./_commonjsHelpers-5-cIlDoe.js";import{c as yl}from"./_commonjs-dynamic-modules-h-SxKiO4.js";import{b as rn,c as q2,d as _0,f as W2,g as Nv,h as G2,j as O0,k as jv,l as Hv,m as Ki,n as T0,i as Jo,a as K2,o as Zv,p as zv,q as Vv,r as Uv,s as qv,t as Wv,u as Y2,v as Gv,w as Kv,_ as Yv,x as Xv,y as Qv,z as X2,A as Q2,B as I1,C as Ks,S as Vu}from"./index-xLzVGzoy.js";import{d as Xe}from"./index-PPLHz8o0.js";function Jv(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var J2={exports:{}},Y={};/** * @license React * react.production.min.js * @@ -257,9 +257,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho path { fill: currentColor; } -`,qe=({icon:e,useSymbol:t,...r})=>i.createElement(Gg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?i.createElement("use",{xlinkHref:`#icon--${e}`}):Ko[e]),jS=x.memo(function({icons:e=Object.keys(Ko)}){return i.createElement(Gg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>i.createElement("symbol",{id:`icon--${t}`,key:t},Ko[t])))}),HS=0,ZS=e=>e.button===HS&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,zS=(e,t)=>{ZS(e)&&(e.preventDefault(),t(e))},VS=T.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),US=T.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:oa(.07,e.color.secondary),"svg path:not([fill])":{fill:oa(.07,e.color.secondary)}},"&:active":{color:oa(.1,e.color.secondary),"svg path:not([fill])":{fill:oa(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Xr=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:a,className:o,...l})=>i.createElement(US,{...l,onClick:r&&e?s=>zS(s,r):r,className:o},i.createElement(VS,{withArrow:n,containsIcon:a},t,n&&i.createElement(qe,{icon:"arrowright"})));Xr.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var qS=T.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),_n=[],Oa=null,WS=x.lazy(async()=>{let{SyntaxHighlighter:e}=await Qr(()=>import("./syntaxhighlighter-V7JZZA35-NRPiM_IO.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return _n.length>0&&(_n.forEach(t=>{e.registerLanguage(...t)}),_n=[]),Oa===null&&(Oa=e),{default:t=>i.createElement(e,{...t})}}),GS=x.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Qr(()=>import("./syntaxhighlighter-V7JZZA35-NRPiM_IO.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),Qr(()=>import("./formatter-SWP5E3XI-bU8udu01.js"),__vite__mapDeps([6,1,2,3,4,5]),import.meta.url)]);return _n.length>0&&(_n.forEach(r=>{e.registerLanguage(...r)}),_n=[]),Oa===null&&(Oa=e),{default:r=>i.createElement(e,{...r,formatter:t})}}),ku=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},e.format!==!1?i.createElement(GS,{...e}):i.createElement(WS,{...e}));ku.registerLanguage=(...e)=>{if(Oa!==null){Oa.registerLanguage(...e);return}_n.push(e)};var KS=e=>typeof e=="number"?e:Number(e),YS=T.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Jc}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Jc}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),XS=({col:e,row:t,outer:r,children:n,...a})=>{let o=KS(typeof r=="number"||!r?r:e||t);return i.createElement(YS,{col:e,row:t,outer:o,...a},n)},QS=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),JS=T.div(),e9=T.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Kg=({children:e,...t})=>{let[r,n]=x.Children.toArray(e);return i.createElement(e9,{...t},i.createElement(QS,null,r),n&&i.createElement(JS,null,n))},t9=T.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function r9({scale:e,children:t}){let r=x.useRef(null),[n,a]=x.useState(0),o=x.useCallback(({height:l})=>{l&&a(l/e)},[e]);return x.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),wg({ref:r,onResize:o}),i.createElement(t9,{scale:e,elementHeight:n},i.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var n9=class extends x.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return i.createElement(i.Fragment,null,e)}},Yg={Element:r9,IFrame:n9},{document:a9}=tS,o9=T.strong(({theme:e})=>({color:e.color.orange})),l9=T.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),jf=T.em(({theme:e})=>({color:e.textMutedColor})),i9=/(Error): (.*)\n/,u9=/at (?:(.*) )?\(?(.+)\)?/,s9=/([^@]+)?(?:\/<)?@(.+)?/,c9=/([^@]+)?@(.+)?/,Xg=({error:e})=>{if(!e)return i.createElement(x.Fragment,null,"This error has no stack or message");if(!e.stack)return i.createElement(x.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +`,qe=({icon:e,useSymbol:t,...r})=>i.createElement(Gg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?i.createElement("use",{xlinkHref:`#icon--${e}`}):Ko[e]),jS=x.memo(function({icons:e=Object.keys(Ko)}){return i.createElement(Gg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>i.createElement("symbol",{id:`icon--${t}`,key:t},Ko[t])))}),HS=0,ZS=e=>e.button===HS&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,zS=(e,t)=>{ZS(e)&&(e.preventDefault(),t(e))},VS=T.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),US=T.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:oa(.07,e.color.secondary),"svg path:not([fill])":{fill:oa(.07,e.color.secondary)}},"&:active":{color:oa(.1,e.color.secondary),"svg path:not([fill])":{fill:oa(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Xr=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:a,className:o,...l})=>i.createElement(US,{...l,onClick:r&&e?s=>zS(s,r):r,className:o},i.createElement(VS,{withArrow:n,containsIcon:a},t,n&&i.createElement(qe,{icon:"arrowright"})));Xr.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var qS=T.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),_n=[],Oa=null,WS=x.lazy(async()=>{let{SyntaxHighlighter:e}=await Qr(()=>import("./syntaxhighlighter-V7JZZA35-tRH5LnFX.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url);return _n.length>0&&(_n.forEach(t=>{e.registerLanguage(...t)}),_n=[]),Oa===null&&(Oa=e),{default:t=>i.createElement(e,{...t})}}),GS=x.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Qr(()=>import("./syntaxhighlighter-V7JZZA35-tRH5LnFX.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),Qr(()=>import("./formatter-SWP5E3XI-KzRvFyd2.js"),__vite__mapDeps([6,1,2,3,4,5]),import.meta.url)]);return _n.length>0&&(_n.forEach(r=>{e.registerLanguage(...r)}),_n=[]),Oa===null&&(Oa=e),{default:r=>i.createElement(e,{...r,formatter:t})}}),ku=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},e.format!==!1?i.createElement(GS,{...e}):i.createElement(WS,{...e}));ku.registerLanguage=(...e)=>{if(Oa!==null){Oa.registerLanguage(...e);return}_n.push(e)};var KS=e=>typeof e=="number"?e:Number(e),YS=T.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Jc}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Jc}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),XS=({col:e,row:t,outer:r,children:n,...a})=>{let o=KS(typeof r=="number"||!r?r:e||t);return i.createElement(YS,{col:e,row:t,outer:o,...a},n)},QS=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),JS=T.div(),e9=T.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Kg=({children:e,...t})=>{let[r,n]=x.Children.toArray(e);return i.createElement(e9,{...t},i.createElement(QS,null,r),n&&i.createElement(JS,null,n))},t9=T.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function r9({scale:e,children:t}){let r=x.useRef(null),[n,a]=x.useState(0),o=x.useCallback(({height:l})=>{l&&a(l/e)},[e]);return x.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),wg({ref:r,onResize:o}),i.createElement(t9,{scale:e,elementHeight:n},i.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var n9=class extends x.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return i.createElement(i.Fragment,null,e)}},Yg={Element:r9,IFrame:n9},{document:a9}=tS,o9=T.strong(({theme:e})=>({color:e.color.orange})),l9=T.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),jf=T.em(({theme:e})=>({color:e.textMutedColor})),i9=/(Error): (.*)\n/,u9=/at (?:(.*) )?\(?(.+)\)?/,s9=/([^@]+)?(?:\/<)?@(.+)?/,c9=/([^@]+)?@(.+)?/,Xg=({error:e})=>{if(!e)return i.createElement(x.Fragment,null,"This error has no stack or message");if(!e.stack)return i.createElement(x.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let r=t.match(i9);if(!r)return i.createElement(x.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(s=>{let u=s.match(u9)||s.match(s9)||s.match(c9);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(a9.location.origin,"")}:null}).filter(Boolean);return i.createElement(x.Fragment,null,i.createElement("span",null,n),": ",i.createElement(o9,null,a),i.createElement("br",null),l.map((s,u)=>s.name?i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(l9,null,s.name)," (",i.createElement(jf,null,s.location),")",i.createElement("br",null)):i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(jf,null,s.location),i.createElement("br",null))))},Qg=T.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let a;return n?a=e.color.mediumlight:r?a=e.color.secondary:t&&(a=e.color.primary),a?{background:a,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:oa(.05,a)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${gr(a,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${gr(a,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?oa(.02,e.button.background):OS(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${gr(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${Ye(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ye(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 2px inset`,color:Ye(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${gr(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${gr(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let a;return n?a=e.color.secondary:r&&(a=e.color.primary),t&&a?{boxShadow:`${a} 0 0 0 1px inset`,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow:`${a} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:a,boxShadow:`${a} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${a} 0 0 0 1px inset, ${gr(a,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${a} 0 0 0 1px inset, ${gr(a,.2)} 0 8px 18px 0px`}}:{}}),d9=Qg.withComponent("a"),Jg=Object.assign(x.forwardRef(function({isLink:e,children:t,...r},n){return e?i.createElement(d9,{...r,ref:n},t):i.createElement(Qg,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),p9=T.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),f9=T.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),ey=({label:e,children:t,...r})=>i.createElement(p9,{...r},e?i.createElement(f9,null,i.createElement("span",null,e)):null,t);ey.defaultProps={label:void 0};function p0(){return p0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Hf=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},h9=function(e,t){var r=x.useRef();return x.useCallback(function(n){e.current=n,r.current&&Hf(r.current,null),r.current=t,t&&Hf(t,n)},[t])},g9=h9,y9=function(){},v9=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],b9=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?y9:r;e.onHeightChange;var a=m9(e,v9);a.value;var o=x.useRef(null),l=g9(o,t);return x.useRef(0),x.useRef(),x.createElement("textarea",p0({},a,{onChange:n,ref:l}))},E9=x.forwardRef(b9),x9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},a1=({theme:e})=>({...x9,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),_u=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},ty=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Ou=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},w9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement("input",{...n,ref:a})}))(a1,_u,ty,Ou,{minHeight:32}),{displayName:"Input"}),S9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement("select",{...n,ref:a})}))(a1,_u,Ou,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),C9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement(E9,{...n,ref:a})}))(a1,_u,ty,Ou,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),A9=T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement(Jg,{...n,ref:a})}))(_u,Ou,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),k9=Object.assign(x.forwardRef(function(e,t){return i.createElement(A9,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),Nt=Object.assign(T.form({boxSizing:"border-box",width:"100%"}),{Field:ey,Input:w9,Select:S9,Textarea:C9,Button:k9}),_9=x.lazy(()=>Qr(()=>import("./WithTooltip-V3YHNWJZ-NqMWfhxO.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltip}))),O9=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(_9,{...e})),T9=x.lazy(()=>Qr(()=>import("./WithTooltip-V3YHNWJZ-NqMWfhxO.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),ry=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(T9,{...e})),$9=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),R9=T.span(),F9=T.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),L9=T.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),D9=T.div({padding:15,width:280,boxSizing:"border-box"}),ny=({title:e,desc:t,links:r})=>i.createElement(D9,null,i.createElement(L9,null,e&&i.createElement($9,null,e),t&&i.createElement(R9,null,t)),r&&i.createElement(F9,null,r.map(({title:n,...a})=>i.createElement(Xr,{...a,key:n},n))));ny.defaultProps={title:null,desc:null,links:null};var M9=T.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),P9=({note:e,...t})=>i.createElement(M9,{...t},e),B9=T(({active:e,loading:t,disabled:r,...n})=>i.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ye(.7,t.color.defaultText)}:{}),I9=T.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),N9=T.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),j9=T.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Zf=T.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),H9=T.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),Z9=Bn(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),ay=({loading:e,left:t,title:r,center:n,right:a,icon:o,active:l,disabled:s,isIndented:u,href:c,onClick:d,LinkWrapper:m,...f})=>{let p=Z9(d,c,m),g={active:l,disabled:s},h=typeof o=="string"&&Ko[o];return i.createElement(H9,{...g,...f,...p},o?i.createElement(Zf,{...g},h?i.createElement(qe,{icon:o}):o):t&&i.createElement(Zf,{...g},t),r||n?i.createElement(N9,{isIndented:!t&&!o&&u},r&&i.createElement(B9,{...g,loading:e},r),n&&i.createElement(j9,{...g},n)):null,a&&i.createElement(I9,{...g},a))};ay.defaultProps={loading:!1,left:null,title:i.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var o1=ay,z9=T.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),V9=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...o}=e,{title:l,href:s,active:u}=o,c=x.useCallback(m=>{r(m,o)},[r]),d=!!r;return i.createElement(o1,{title:l,active:u,href:s,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...o,...d?{onClick:c}:{}})},l1=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return i.createElement(z9,null,e.map(({isGatsby:n,...a})=>i.createElement(V9,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))};l1.defaultProps={LinkWrapper:o1.defaultProps.LinkWrapper};var i1=i.forwardRef(({children:e,...t},r)=>t.href!=null?i.createElement("a",{ref:r,...t},e):i.createElement("button",{ref:r,type:"button",...t},e));i1.displayName="ButtonOrLink";var dl=T(i1,{shouldForwardProp:kd})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});dl.displayName="TabButton";var On=T(i1,{shouldForwardProp:kd})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:Ye(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:Cu},"&:focus:not(:focus-visible)":{outline:"none"}});On.displayName="IconButton";var U9=T.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),q9=T.div(()=>({marginTop:6,padding:7,height:28})),oy=()=>i.createElement(q9,null,i.createElement(U9,null)),f0=T.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});f0.displayName="Side";var W9=({children:e,className:t,scrollable:r})=>r?i.createElement(Zd,{vertical:!1,className:t},e):i.createElement("div",{className:t},e),u1=T(W9)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});u1.displayName="Bar";var G9=T.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Tu=({children:e,backgroundColor:t,...r})=>{let[n,a]=x.Children.toArray(e);return i.createElement(u1,{...r},i.createElement(G9,{bgColor:t},i.createElement(f0,{scrollable:r.scrollable,left:!0},n),a?i.createElement(f0,{right:!0},a):null))};Tu.displayName="FlexBar";var ly=T.div(({active:e})=>e?{display:"block"}:{display:"none"}),zf=e=>x.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:l})=>i.createElement(ly,{active:l,role:"tabpanel"},o)}}),K9=T.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),Y9=T(dl)(({active:e,theme:t,preActive:r})=>` +${t}`);let r=t.match(i9);if(!r)return i.createElement(x.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(s=>{let u=s.match(u9)||s.match(s9)||s.match(c9);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(a9.location.origin,"")}:null}).filter(Boolean);return i.createElement(x.Fragment,null,i.createElement("span",null,n),": ",i.createElement(o9,null,a),i.createElement("br",null),l.map((s,u)=>s.name?i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(l9,null,s.name)," (",i.createElement(jf,null,s.location),")",i.createElement("br",null)):i.createElement(x.Fragment,{key:u}," ","at ",i.createElement(jf,null,s.location),i.createElement("br",null))))},Qg=T.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let a;return n?a=e.color.mediumlight:r?a=e.color.secondary:t&&(a=e.color.primary),a?{background:a,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:oa(.05,a)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${gr(a,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${gr(a,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?oa(.02,e.button.background):OS(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${gr(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${Ye(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ye(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${Ye(.5,e.color.defaultText)} 0 0 0 2px inset`,color:Ye(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${gr(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${gr(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let a;return n?a=e.color.secondary:r&&(a=e.color.primary),t&&a?{boxShadow:`${a} 0 0 0 1px inset`,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow:`${a} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:a,boxShadow:`${a} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${a} 0 0 0 1px inset, ${gr(a,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${a} 0 0 0 1px inset, ${gr(a,.2)} 0 8px 18px 0px`}}:{}}),d9=Qg.withComponent("a"),Jg=Object.assign(x.forwardRef(function({isLink:e,children:t,...r},n){return e?i.createElement(d9,{...r,ref:n},t):i.createElement(Qg,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),p9=T.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),f9=T.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),ey=({label:e,children:t,...r})=>i.createElement(p9,{...r},e?i.createElement(f9,null,i.createElement("span",null,e)):null,t);ey.defaultProps={label:void 0};function p0(){return p0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Hf=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},h9=function(e,t){var r=x.useRef();return x.useCallback(function(n){e.current=n,r.current&&Hf(r.current,null),r.current=t,t&&Hf(t,n)},[t])},g9=h9,y9=function(){},v9=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],b9=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?y9:r;e.onHeightChange;var a=m9(e,v9);a.value;var o=x.useRef(null),l=g9(o,t);return x.useRef(0),x.useRef(),x.createElement("textarea",p0({},a,{onChange:n,ref:l}))},E9=x.forwardRef(b9),x9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},a1=({theme:e})=>({...x9,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),_u=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},ty=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Ou=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},w9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement("input",{...n,ref:a})}))(a1,_u,ty,Ou,{minHeight:32}),{displayName:"Input"}),S9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement("select",{...n,ref:a})}))(a1,_u,Ou,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),C9=Object.assign(T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement(E9,{...n,ref:a})}))(a1,_u,ty,Ou,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),A9=T(x.forwardRef(function({size:e,valid:t,align:r,...n},a){return i.createElement(Jg,{...n,ref:a})}))(_u,Ou,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),k9=Object.assign(x.forwardRef(function(e,t){return i.createElement(A9,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),Nt=Object.assign(T.form({boxSizing:"border-box",width:"100%"}),{Field:ey,Input:w9,Select:S9,Textarea:C9,Button:k9}),_9=x.lazy(()=>Qr(()=>import("./WithTooltip-V3YHNWJZ-fCnjn0j_.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltip}))),O9=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(_9,{...e})),T9=x.lazy(()=>Qr(()=>import("./WithTooltip-V3YHNWJZ-fCnjn0j_.js"),__vite__mapDeps([7,1,2,3,4,5]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),ry=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(T9,{...e})),$9=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),R9=T.span(),F9=T.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),L9=T.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),D9=T.div({padding:15,width:280,boxSizing:"border-box"}),ny=({title:e,desc:t,links:r})=>i.createElement(D9,null,i.createElement(L9,null,e&&i.createElement($9,null,e),t&&i.createElement(R9,null,t)),r&&i.createElement(F9,null,r.map(({title:n,...a})=>i.createElement(Xr,{...a,key:n},n))));ny.defaultProps={title:null,desc:null,links:null};var M9=T.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),P9=({note:e,...t})=>i.createElement(M9,{...t},e),B9=T(({active:e,loading:t,disabled:r,...n})=>i.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ye(.7,t.color.defaultText)}:{}),I9=T.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),N9=T.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),j9=T.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Zf=T.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),H9=T.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),Z9=Bn(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),ay=({loading:e,left:t,title:r,center:n,right:a,icon:o,active:l,disabled:s,isIndented:u,href:c,onClick:d,LinkWrapper:m,...f})=>{let p=Z9(d,c,m),g={active:l,disabled:s},h=typeof o=="string"&&Ko[o];return i.createElement(H9,{...g,...f,...p},o?i.createElement(Zf,{...g},h?i.createElement(qe,{icon:o}):o):t&&i.createElement(Zf,{...g},t),r||n?i.createElement(N9,{isIndented:!t&&!o&&u},r&&i.createElement(B9,{...g,loading:e},r),n&&i.createElement(j9,{...g},n)):null,a&&i.createElement(I9,{...g},a))};ay.defaultProps={loading:!1,left:null,title:i.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var o1=ay,z9=T.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),V9=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...o}=e,{title:l,href:s,active:u}=o,c=x.useCallback(m=>{r(m,o)},[r]),d=!!r;return i.createElement(o1,{title:l,active:u,href:s,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...o,...d?{onClick:c}:{}})},l1=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return i.createElement(z9,null,e.map(({isGatsby:n,...a})=>i.createElement(V9,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))};l1.defaultProps={LinkWrapper:o1.defaultProps.LinkWrapper};var i1=i.forwardRef(({children:e,...t},r)=>t.href!=null?i.createElement("a",{ref:r,...t},e):i.createElement("button",{ref:r,type:"button",...t},e));i1.displayName="ButtonOrLink";var dl=T(i1,{shouldForwardProp:kd})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});dl.displayName="TabButton";var On=T(i1,{shouldForwardProp:kd})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:Ye(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:Cu},"&:focus:not(:focus-visible)":{outline:"none"}});On.displayName="IconButton";var U9=T.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),q9=T.div(()=>({marginTop:6,padding:7,height:28})),oy=()=>i.createElement(q9,null,i.createElement(U9,null)),f0=T.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});f0.displayName="Side";var W9=({children:e,className:t,scrollable:r})=>r?i.createElement(Zd,{vertical:!1,className:t},e):i.createElement("div",{className:t},e),u1=T(W9)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});u1.displayName="Bar";var G9=T.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Tu=({children:e,backgroundColor:t,...r})=>{let[n,a]=x.Children.toArray(e);return i.createElement(u1,{...r},i.createElement(G9,{bgColor:t},i.createElement(f0,{scrollable:r.scrollable,left:!0},n),a?i.createElement(f0,{right:!0},a):null))};Tu.displayName="FlexBar";var ly=T.div(({active:e})=>e?{display:"block"}:{display:"none"}),zf=e=>x.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:l})=>i.createElement(ly,{active:l,role:"tabpanel"},o)}}),K9=T.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),Y9=T(dl)(({active:e,theme:t,preActive:r})=>` color: ${r||e?t.color.secondary:t.color.mediumdark}; &:hover { color: ${t.color.secondary}; @@ -339,7 +339,7 @@ ${t}`);let r=t.match(i9);if(!r)return i.createElement(x.Fragment,null,t);let[,n, ${Xt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${yn(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${yn(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${vr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Av=T.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),lB=T(Av)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),iB=T.div({display:"flex",alignItems:"center",width:"100%"});function uB(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var sB=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:s})=>{let u=m=>{r(wP(m.target.value))},c=t!==void 0,d=x.useMemo(()=>uB(o),[o]);return i.createElement(iB,null,i.createElement(Av,null,n),i.createElement(oB,{id:jt(e),type:"range",onChange:u,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:l}),i.createElement(lB,{numberOFDecimalsPlaces:d,max:a},c?t.toFixed(d):"--"," / ",a))},cB=T.label({display:"flex"}),dB=T.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),pB=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let l=m=>{r(m.target.value)},[s,u]=x.useState(!1),c=x.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return i.createElement(Nt.Button,{id:pu(e),onClick:c},"Set string");let d=typeof t=="string";return i.createElement(cB,null,i.createElement(Nt.Textarea,{id:jt(e),maxLength:o,onChange:l,size:"flex",placeholder:"Edit string...",autoFocus:s,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:a}),o&&i.createElement(dB,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},fB=T(Nt.Input)({padding:10});function mB(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var hB=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=x.useRef(null);function o(l){if(!l.target.files)return;let s=Array.from(l.target.files).map(u=>URL.createObjectURL(u));e(s),mB(n)}return x.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),i.createElement(fB,{ref:a,id:jt(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},gB=x.lazy(()=>Qr(()=>import("./Color-6VNJS4EI-2un4dZHK.js"),__vite__mapDeps([8,2,4,1,3,5]),import.meta.url)),yB=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(gB,{...e})),vB={array:z2,object:z2,boolean:mP,color:yB,date:EP,number:SP,check:Un,"inline-check":Un,radio:Un,"inline-radio":Un,select:Un,"multi-select":Un,range:sB,text:pB,file:hB},V2=()=>i.createElement(i.Fragment,null,"-"),bB=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[l,s]=x.useState(!1),[u,c]=x.useState({value:t});x.useEffect(()=>{l||c({value:t})},[l,t]);let d=x.useCallback(h=>(c({value:h}),r({[a]:h}),h),[r,a]),m=x.useCallback(()=>s(!1),[]),f=x.useCallback(()=>s(!0),[]);if(!o||o.disable)return n?i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):i.createElement(V2,null);let p={name:a,argType:e,value:u.value,onChange:d,onBlur:m,onFocus:f},g=vB[o.type]||V2;return i.createElement(g,{...p,...o,controlType:o.type})},EB=T.span({fontWeight:"bold"}),xB=T.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),wB=T.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Tr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),SB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultText):pe(.2,e.color.defaultText),marginTop:t?4:0})),CB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultText):pe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),AB=T.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Zl=e=>{var h;let[t,r]=x.useState(!1),{row:n,updateArgs:a,compact:o,expandable:l,initialExpandedArgs:s}=e,{name:u,description:c}=n,d=n.table||{},m=d.type||n.type,f=d.defaultValue||n.defaultValue,p=(h=n.type)==null?void 0:h.required,g=c!=null&&c!=="";return i.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},i.createElement(AB,{expandable:l},i.createElement(EB,null,u),p?i.createElement(xB,{title:"Required"},"*"):null),o?null:i.createElement("td",null,g&&i.createElement(wB,null,i.createElement(Yy,null,c)),d.jsDocTags!=null?i.createElement(i.Fragment,null,i.createElement(CB,{hasDescription:g},i.createElement(qs,{value:m,initialExpandedArgs:s})),i.createElement(rP,{tags:d.jsDocTags})):i.createElement(SB,{hasDescription:g},i.createElement(qs,{value:m,initialExpandedArgs:s}))),o?null:i.createElement("td",null,i.createElement(qs,{value:f,initialExpandedArgs:s})),a?i.createElement("td",null,i.createElement(bB,{...e,isHovered:t})):null)},kB=T(qe)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?pe(.25,e.color.defaultText):pe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_B=T.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),OB=T.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),TB=T.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$B=T.td(()=>({position:"relative"})),RB=T.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${yn(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),U2=T.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Gs=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,l]=x.useState(n),s=e==="subsection"?TB:OB,u=(r==null?void 0:r.length)||0,c=e==="subsection"?`${u} item${u!==1?"s":""}`:"",d=o?"arrowdown":"arrowright",m=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return i.createElement(i.Fragment,null,i.createElement(RB,{title:m},i.createElement(s,{colSpan:1},i.createElement(U2,{onClick:f=>l(!o),tabIndex:0},m),i.createElement(_B,null,i.createElement(kB,{icon:d}),t)),i.createElement($B,{colSpan:a-1},i.createElement(U2,{onClick:f=>l(!o),tabIndex:-1,style:{outline:"none"}},m),o?null:c)),o?r:null)},zl=T.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Be=T.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),xe=T.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Ie=[2,4,2,2],FB=()=>i.createElement(i.Fragment,null,i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"})))),LB=T.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),DB=T.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),MB=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),PB=T.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),BB=T.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),IB=T.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),NB=({inAddonPanel:e})=>{let[t,r]=x.useState(!0);return x.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:i.createElement(LB,{inAddonPanel:e},i.createElement(DB,null,i.createElement(MB,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),i.createElement(PB,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),i.createElement(BB,null,e&&i.createElement(i.Fragment,null,i.createElement(Xr,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},i.createElement(qe,{icon:"video"})," Watch 5m video"),i.createElement(IB,null),i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},jB=T.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?pe(.25,e.color.defaultText):pe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),HB=T(On)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),ZB=T.span({display:"flex",justifyContent:"space-between"}),zB={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},VB=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,l])=>{let{category:s,subcategory:u}=(l==null?void 0:l.table)||{};if(s){let c=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)c.ungrouped.push({key:o,...l});else{let d=c.subsections[u]||[];d.push({key:o,...l}),c.subsections[u]=d}r.sections[s]=c}else if(u){let c=r.ungroupedSubsections[u]||[];c.push({key:o,...l}),r.ungroupedSubsections[u]=c}else r.ungrouped.push({key:o,...l})});let n=zB[t],a=o=>n?Object.keys(o).reduce((l,s)=>({...l,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,l)=>({...o,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:a(r.sections[l].subsections)}}),{})}},UB=(e,t,r)=>{try{return eS(e,t,r)}catch(n){return SM.warn(n.message),!1}},qB=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:l="none",isLoading:s}=e;if("error"in e){let{error:y}=e;return i.createElement(dv,null,y," ",i.createElement(Xr,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(s)return i.createElement(FB,null);let{rows:u,args:c,globals:d}="rows"in e&&e,m=VB(TO(u,y=>{var v;return!((v=y==null?void 0:y.table)!=null&&v.disable)&&UB(y,c||{},d||{})}),l),f=m.ungrouped.length===0,p=Object.entries(m.sections).length===0,g=Object.entries(m.ungroupedSubsections).length===0;if(f&&p&&g)return i.createElement(NB,{inAddonPanel:a});let h=1;t&&(h+=1),n||(h+=2);let S=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return i.createElement(n1,null,i.createElement(jB,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},i.createElement("thead",{className:"docblock-argstable-head"},i.createElement("tr",null,i.createElement("th",null,i.createElement("span",null,"Name")),n?null:i.createElement("th",null,i.createElement("span",null,"Description")),n?null:i.createElement("th",null,i.createElement("span",null,"Default")),t?i.createElement("th",null,i.createElement(ZB,null,"Control"," ",!s&&r&&i.createElement(HB,{onClick:()=>r(),title:"Reset controls"},i.createElement(qe,{icon:"undo","aria-hidden":!0})))):null)),i.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>i.createElement(Zl,{key:y.key,row:y,arg:c&&c[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,v])=>i.createElement(Gs,{key:y,label:y,level:"subsection",colSpan:h},v.map(E=>i.createElement(Zl,{key:E.key,row:E,arg:c&&c[E.key],expandable:S,...b})))),Object.entries(m.sections).map(([y,v])=>i.createElement(Gs,{key:y,label:y,level:"section",colSpan:h},v.ungrouped.map(E=>i.createElement(Zl,{key:E.key,row:E,arg:c&&c[E.key],...b})),Object.entries(v.subsections).map(([E,w])=>i.createElement(Gs,{key:E,label:E,level:"subsection",colSpan:h},w.map(C=>i.createElement(Zl,{key:C.key,row:C,arg:c&&c[C.key],expandable:S,...b})))))))))};T.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});T.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});T.div(fe,({theme:e})=>({...Nu(e),margin:"25px 0 40px",padding:"30px 20px"}));T.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));T.div(({theme:e})=>({color:e.base==="light"?pe(.2,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});T.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));T.div({display:"flex",flexDirection:"row"});T.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));T.div(({theme:e})=>({...Nu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));T.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});T.div({flex:1,display:"flex",flexDirection:"row"});T.div({display:"flex",alignItems:"flex-start"});T.div({flex:"0 0 30%"});T.div({flex:1});T.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));T.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));T.div(({theme:e})=>({...Nu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));T.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});T.div({display:"flex",flexFlow:"row wrap"});var WB=e=>`anchor--${e}`,kv=({storyId:e,children:t})=>i.createElement("div",{id:WB(e),className:"sb-anchor"},t);xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=x.createContext(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var ot=xt?xt.__DOCS_CONTEXT__:x.createContext(null),fl=(e,t)=>x.useContext(ot).resolveOf(e,t);function GB(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function KB(e,t){let r=R1([e],t);return r&&r[0]}function R1(e,t){let[r,n]=x.useState({});return x.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(l=>l[a]===o?l:{...l,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}function _v(e){return yM(e)}var Ov=x.createContext({sources:{}}),Tv="--unknown--",YB=({children:e,channel:t})=>{let[r,n]=x.useState({});return x.useEffect(()=>{let a=(o,l=null,s=!1)=>{let{id:u,args:c=void 0,source:d,format:m}=typeof o=="string"?{id:o,source:l,format:s}:o,f=c?_v(c):Tv;n(p=>({...p,[u]:{...p[u],[f]:{code:d,format:m}}}))};return t.on(I1,a),()=>t.off(I1,a)},[]),i.createElement(Ov.Provider,{value:{sources:r}},e)},XB=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(XB||{}),QB=e=>{let t=e.map(r=>{var n,a;return(a=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:a.state}).filter(Boolean);return t.length===0?"closed":t[0]},JB=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[_v(t)])||(a==null?void 0:a[Tv])||{code:""}},eI=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,c,d,m,f,p;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||o.type||Vu.AUTO;if(o.code!==void 0)return o.code;let s=l===Vu.DYNAMIC||l===Vu.AUTO&&e&&a?e:o.originalSource||"";return o.transformSource&&Re(Xe`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + ${yn(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${vr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Av=T.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),lB=T(Av)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),iB=T.div({display:"flex",alignItems:"center",width:"100%"});function uB(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var sB=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:s})=>{let u=m=>{r(wP(m.target.value))},c=t!==void 0,d=x.useMemo(()=>uB(o),[o]);return i.createElement(iB,null,i.createElement(Av,null,n),i.createElement(oB,{id:jt(e),type:"range",onChange:u,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:l}),i.createElement(lB,{numberOFDecimalsPlaces:d,max:a},c?t.toFixed(d):"--"," / ",a))},cB=T.label({display:"flex"}),dB=T.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),pB=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let l=m=>{r(m.target.value)},[s,u]=x.useState(!1),c=x.useCallback(()=>{r(""),u(!0)},[u]);if(t===void 0)return i.createElement(Nt.Button,{id:pu(e),onClick:c},"Set string");let d=typeof t=="string";return i.createElement(cB,null,i.createElement(Nt.Textarea,{id:jt(e),maxLength:o,onChange:l,size:"flex",placeholder:"Edit string...",autoFocus:s,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:a}),o&&i.createElement(dB,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},fB=T(Nt.Input)({padding:10});function mB(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var hB=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=x.useRef(null);function o(l){if(!l.target.files)return;let s=Array.from(l.target.files).map(u=>URL.createObjectURL(u));e(s),mB(n)}return x.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),i.createElement(fB,{ref:a,id:jt(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},gB=x.lazy(()=>Qr(()=>import("./Color-6VNJS4EI-kYABsqkh.js"),__vite__mapDeps([8,2,4,1,3,5]),import.meta.url)),yB=e=>i.createElement(x.Suspense,{fallback:i.createElement("div",null)},i.createElement(gB,{...e})),vB={array:z2,object:z2,boolean:mP,color:yB,date:EP,number:SP,check:Un,"inline-check":Un,radio:Un,"inline-radio":Un,select:Un,"multi-select":Un,range:sB,text:pB,file:hB},V2=()=>i.createElement(i.Fragment,null,"-"),bB=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[l,s]=x.useState(!1),[u,c]=x.useState({value:t});x.useEffect(()=>{l||c({value:t})},[l,t]);let d=x.useCallback(h=>(c({value:h}),r({[a]:h}),h),[r,a]),m=x.useCallback(()=>s(!1),[]),f=x.useCallback(()=>s(!0),[]);if(!o||o.disable)return n?i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):i.createElement(V2,null);let p={name:a,argType:e,value:u.value,onChange:d,onBlur:m,onFocus:f},g=vB[o.type]||V2;return i.createElement(g,{...p,...o,controlType:o.type})},EB=T.span({fontWeight:"bold"}),xB=T.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),wB=T.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Tr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),SB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultText):pe(.2,e.color.defaultText),marginTop:t?4:0})),CB=T.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?pe(.1,e.color.defaultText):pe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),AB=T.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Zl=e=>{var h;let[t,r]=x.useState(!1),{row:n,updateArgs:a,compact:o,expandable:l,initialExpandedArgs:s}=e,{name:u,description:c}=n,d=n.table||{},m=d.type||n.type,f=d.defaultValue||n.defaultValue,p=(h=n.type)==null?void 0:h.required,g=c!=null&&c!=="";return i.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},i.createElement(AB,{expandable:l},i.createElement(EB,null,u),p?i.createElement(xB,{title:"Required"},"*"):null),o?null:i.createElement("td",null,g&&i.createElement(wB,null,i.createElement(Yy,null,c)),d.jsDocTags!=null?i.createElement(i.Fragment,null,i.createElement(CB,{hasDescription:g},i.createElement(qs,{value:m,initialExpandedArgs:s})),i.createElement(rP,{tags:d.jsDocTags})):i.createElement(SB,{hasDescription:g},i.createElement(qs,{value:m,initialExpandedArgs:s}))),o?null:i.createElement("td",null,i.createElement(qs,{value:f,initialExpandedArgs:s})),a?i.createElement("td",null,i.createElement(bB,{...e,isHovered:t})):null)},kB=T(qe)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?pe(.25,e.color.defaultText):pe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_B=T.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),OB=T.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),TB=T.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$B=T.td(()=>({position:"relative"})),RB=T.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${yn(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),U2=T.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Gs=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,l]=x.useState(n),s=e==="subsection"?TB:OB,u=(r==null?void 0:r.length)||0,c=e==="subsection"?`${u} item${u!==1?"s":""}`:"",d=o?"arrowdown":"arrowright",m=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return i.createElement(i.Fragment,null,i.createElement(RB,{title:m},i.createElement(s,{colSpan:1},i.createElement(U2,{onClick:f=>l(!o),tabIndex:0},m),i.createElement(_B,null,i.createElement(kB,{icon:d}),t)),i.createElement($B,{colSpan:a-1},i.createElement(U2,{onClick:f=>l(!o),tabIndex:-1,style:{outline:"none"}},m),o?null:c)),o?r:null)},zl=T.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Be=T.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),xe=T.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Ie=[2,4,2,2],FB=()=>i.createElement(i.Fragment,null,i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"}))),i.createElement(zl,null,i.createElement(Be,{numColumn:Ie[0]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[1]},i.createElement(xe,{width:"80%"}),i.createElement(xe,{width:"30%"})),i.createElement(Be,{numColumn:Ie[2]},i.createElement(xe,{width:"60%"})),i.createElement(Be,{numColumn:Ie[3]},i.createElement(xe,{width:"60%"})))),LB=T.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),DB=T.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),MB=T.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),PB=T.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),BB=T.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),IB=T.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),NB=({inAddonPanel:e})=>{let[t,r]=x.useState(!0);return x.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:i.createElement(LB,{inAddonPanel:e},i.createElement(DB,null,i.createElement(MB,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),i.createElement(PB,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),i.createElement(BB,null,e&&i.createElement(i.Fragment,null,i.createElement(Xr,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},i.createElement(qe,{icon:"video"})," Watch 5m video"),i.createElement(IB,null),i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&i.createElement(Xr,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},jB=T.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?pe(.25,e.color.defaultText):pe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),HB=T(On)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),ZB=T.span({display:"flex",justifyContent:"space-between"}),zB={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},VB=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,l])=>{let{category:s,subcategory:u}=(l==null?void 0:l.table)||{};if(s){let c=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)c.ungrouped.push({key:o,...l});else{let d=c.subsections[u]||[];d.push({key:o,...l}),c.subsections[u]=d}r.sections[s]=c}else if(u){let c=r.ungroupedSubsections[u]||[];c.push({key:o,...l}),r.ungroupedSubsections[u]=c}else r.ungrouped.push({key:o,...l})});let n=zB[t],a=o=>n?Object.keys(o).reduce((l,s)=>({...l,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,l)=>({...o,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:a(r.sections[l].subsections)}}),{})}},UB=(e,t,r)=>{try{return eS(e,t,r)}catch(n){return SM.warn(n.message),!1}},qB=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:l="none",isLoading:s}=e;if("error"in e){let{error:y}=e;return i.createElement(dv,null,y," ",i.createElement(Xr,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(s)return i.createElement(FB,null);let{rows:u,args:c,globals:d}="rows"in e&&e,m=VB(TO(u,y=>{var v;return!((v=y==null?void 0:y.table)!=null&&v.disable)&&UB(y,c||{},d||{})}),l),f=m.ungrouped.length===0,p=Object.entries(m.sections).length===0,g=Object.entries(m.ungroupedSubsections).length===0;if(f&&p&&g)return i.createElement(NB,{inAddonPanel:a});let h=1;t&&(h+=1),n||(h+=2);let S=Object.keys(m.sections).length>0,b={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return i.createElement(n1,null,i.createElement(jB,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},i.createElement("thead",{className:"docblock-argstable-head"},i.createElement("tr",null,i.createElement("th",null,i.createElement("span",null,"Name")),n?null:i.createElement("th",null,i.createElement("span",null,"Description")),n?null:i.createElement("th",null,i.createElement("span",null,"Default")),t?i.createElement("th",null,i.createElement(ZB,null,"Control"," ",!s&&r&&i.createElement(HB,{onClick:()=>r(),title:"Reset controls"},i.createElement(qe,{icon:"undo","aria-hidden":!0})))):null)),i.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(y=>i.createElement(Zl,{key:y.key,row:y,arg:c&&c[y.key],...b})),Object.entries(m.ungroupedSubsections).map(([y,v])=>i.createElement(Gs,{key:y,label:y,level:"subsection",colSpan:h},v.map(E=>i.createElement(Zl,{key:E.key,row:E,arg:c&&c[E.key],expandable:S,...b})))),Object.entries(m.sections).map(([y,v])=>i.createElement(Gs,{key:y,label:y,level:"section",colSpan:h},v.ungrouped.map(E=>i.createElement(Zl,{key:E.key,row:E,arg:c&&c[E.key],...b})),Object.entries(v.subsections).map(([E,w])=>i.createElement(Gs,{key:E,label:E,level:"subsection",colSpan:h},w.map(C=>i.createElement(Zl,{key:C.key,row:C,arg:c&&c[C.key],expandable:S,...b})))))))))};T.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});T.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});T.div(fe,({theme:e})=>({...Nu(e),margin:"25px 0 40px",padding:"30px 20px"}));T.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));T.div(({theme:e})=>({color:e.base==="light"?pe(.2,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});T.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));T.div({display:"flex",flexDirection:"row"});T.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));T.div(({theme:e})=>({...Nu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));T.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});T.div({flex:1,display:"flex",flexDirection:"row"});T.div({display:"flex",alignItems:"flex-start"});T.div({flex:"0 0 30%"});T.div({flex:1});T.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?pe(.4,e.color.defaultText):pe(.6,e.color.defaultText)}));T.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));T.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));T.div(({theme:e})=>({...Nu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));T.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});T.div({display:"flex",flexFlow:"row wrap"});var WB=e=>`anchor--${e}`,kv=({storyId:e,children:t})=>i.createElement("div",{id:WB(e),className:"sb-anchor"},t);xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=x.createContext(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var ot=xt?xt.__DOCS_CONTEXT__:x.createContext(null),fl=(e,t)=>x.useContext(ot).resolveOf(e,t);function GB(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function KB(e,t){let r=R1([e],t);return r&&r[0]}function R1(e,t){let[r,n]=x.useState({});return x.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(l=>l[a]===o?l:{...l,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}function _v(e){return yM(e)}var Ov=x.createContext({sources:{}}),Tv="--unknown--",YB=({children:e,channel:t})=>{let[r,n]=x.useState({});return x.useEffect(()=>{let a=(o,l=null,s=!1)=>{let{id:u,args:c=void 0,source:d,format:m}=typeof o=="string"?{id:o,source:l,format:s}:o,f=c?_v(c):Tv;n(p=>({...p,[u]:{...p[u],[f]:{code:d,format:m}}}))};return t.on(I1,a),()=>t.off(I1,a)},[]),i.createElement(Ov.Provider,{value:{sources:r}},e)},XB=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(XB||{}),QB=e=>{let t=e.map(r=>{var n,a;return(a=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:a.state}).filter(Boolean);return t.length===0?"closed":t[0]},JB=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[_v(t)])||(a==null?void 0:a[Tv])||{code:""}},eI=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,c,d,m,f,p;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},l=r||o.type||Vu.AUTO;if(o.code!==void 0)return o.code;let s=l===Vu.DYNAMIC||l===Vu.AUTO&&e&&a?e:o.originalSource||"";return o.transformSource&&Re(Xe`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block `),(c=t.parameters.docs)!=null&&c.transformSource&&Re(Xe`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. @@ -392,10 +392,10 @@ ${t}`);let r=t.match(i9);if(!r)return i.createElement(x.Fragment,null,t);let[,n, `);return i.createElement(Yy,{...e,options:{forceBlock:!0,overrides:{code:Lv,a:Dv,...Pv,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},mI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(mI||{}),pi="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",hI=e=>e&&(typeof e=="string"?e:Ks(e.markdown)||Ks(e.text)),gI=e=>e&&(typeof e=="string"?e:Ks(e.text)),yI=e=>null,vI=e=>{var t,r,n,a,o,l,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:c,component:d}=e.preparedMeta;return((a=(n=c.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=c.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,d,{component:d,parameters:c}))||null}case"component":{let{component:c,projectAnnotations:{parameters:d}}=e;return((u=(s=d.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,c,{component:c,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},bI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:l,info:s,docs:u}=o;(l||s)&&Re(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${pi}`);let{extractComponentDescription:c=yI,description:d}=u||{},m=d==null?void 0:d.component;if(m)return m;switch(e){case"info":return gI(s);case"notes":return hI(l);case"docgen":case"auto":default:return c(a,{component:a,...o})}},k0=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o=x.useContext(ot),l=fl(t||"meta"),s;return r||n||a?s=bI(e,o):s=vI(l),r&&Re(`Manually specifying description type is deprecated. See ${pi}`),n&&Re(`The 'markdown' prop on the Description block is deprecated. See ${pi}`),a&&Re(`The 'children' prop on the Description block is deprecated. See ${pi}`),s?i.createElement(fI,null,s):null},EI=T.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),xI=T.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),wI=T.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),SI=({title:e})=>e===null?null:typeof e=="string"?i.createElement(wI,null,e):e,CI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(x.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},s=setTimeout(()=>R2.init(l),100);return()=>{clearTimeout(s),R2.destroy()}},[t]),i.createElement(i.Fragment,null,i.createElement(EI,null,t?null:i.createElement(xI,null,i.createElement(SI,{title:e||null}),i.createElement("div",{className:"toc-wrapper"}))))),{document:AI,window:kI}=xt,_I=({context:e,theme:t,children:r})=>{var a,o,l,s,u;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(u=(s=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:s.docs)==null?void 0:u.toc}return x.useEffect(()=>{let c;try{if(c=new URL(kI.parent.location.toString()),c.hash){let d=AI.getElementById(c.hash.substring(1));d&&setTimeout(()=>{GB(d)},200)}}catch{}}),i.createElement(ot.Provider,{value:e},i.createElement(YB,{channel:e.channel},i.createElement(Rh,{theme:G6(t)},i.createElement(PM,{toc:n?i.createElement(CI,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},OI=/\s*\/\s*/,TI=e=>{let t=e.trim().split(OI);return t&&t[t.length-1]||e},$I=({children:e})=>{let t=x.useContext(ot),r=e||TI(t.storyById().title);return r?i.createElement(FM,{className:"sbdocs-title sb-unstyled"},r):null},RI=({children:e})=>{var n;let t=x.useContext(ot),r=e||((n=t.storyById().parameters)==null?void 0:n.componentSubtitle);return r?i.createElement(LM,{className:"sbdocs-subtitle sb-unstyled"},r):null},FI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return i.createElement(r1,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return i.createElement(L1,{as:"h3",id:r},e)},Bv=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,u;let{story:o}=fl(e||"story",["story"]),l=((u=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:u.withToolbar)??r;return i.createElement(kv,{storyId:o.id},t&&i.createElement(i.Fragment,null,i.createElement(FI,null,o.name),i.createElement(k0,{of:e})),i.createElement(aI,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},LI=e=>{let{name:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n=x.useContext(ot),a;if(r&&(a=fl(r||"meta",["meta"]).csfFile.stories[0]||null),!a){let o=t&&n.storyIdByName(t);a=n.storyById(o)}return t&&Re(Xe`\`name\` prop is deprecated on the Primary block. The Primary block should only be used to render the primary story, which is automatically found. - `),a?i.createElement(Bv,{of:a.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},DI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return i.createElement(t1,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return i.createElement(L1,{as:"h2",id:n,...r},e)},MI=T(DI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),PI=({title:e="Stories",includePrimary:t=!0})=>{let{componentStories:r}=x.useContext(ot),n=r().filter(a=>{var o,l;return!((l=(o=a.parameters)==null?void 0:o.docs)!=null&&l.disable)});return t||(n=n.slice(1)),!n||n.length===0?null:i.createElement(i.Fragment,null,i.createElement(MI,null,e),n.map(a=>a&&i.createElement(Bv,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))},BI=()=>{let e=fl("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return i.createElement(i.Fragment,null,i.createElement($I,null),i.createElement(RI,null),i.createElement(k0,{of:"meta"}),r?i.createElement(k0,{of:"story"}):null,i.createElement(LI,null),i.createElement(uI,null),r?null:i.createElement(PI,null))};function II({context:e,docsParameter:t}){let r=t.container||_I,n=t.page||BI;return i.createElement(r,{context:e,theme:t.theme},i.createElement(n,null))}var XI=({of:e})=>{let t=x.useContext(ot);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return i.createElement(kv,{storyId:r.id})}catch{return null}},NI={code:Lv,a:Dv,...Pv},jI=class extends x.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:i.createElement(i.Fragment,null,t)}},QI=class{constructor(){this.render=async(e,t,r)=>{let n={...NI,...t==null?void 0:t.components},a=II;return new Promise((o,l)=>{Qr(()=>import("./index-zgkAIIgL.js"),__vite__mapDeps([9,10,1,2,3,4,5]),import.meta.url).then(({MDXProvider:s})=>Eb(i.createElement(jI,{showException:l,key:Math.random()},i.createElement(s,{components:n},i.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{xb(e)}}};export{QI as D,Nt as F,qe as I,XI as M,i as R,zd as S,P9 as T,Zw as W,mt as _,xg as a,q as b,ug as c,NI as d,fI as e,O9 as f,jt as g,Bn as m,T as n,x as r,WI as s}; + `),a?i.createElement(Bv,{of:a.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},DI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return i.createElement(t1,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return i.createElement(L1,{as:"h2",id:n,...r},e)},MI=T(DI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),PI=({title:e="Stories",includePrimary:t=!0})=>{let{componentStories:r}=x.useContext(ot),n=r().filter(a=>{var o,l;return!((l=(o=a.parameters)==null?void 0:o.docs)!=null&&l.disable)});return t||(n=n.slice(1)),!n||n.length===0?null:i.createElement(i.Fragment,null,i.createElement(MI,null,e),n.map(a=>a&&i.createElement(Bv,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))},BI=()=>{let e=fl("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return i.createElement(i.Fragment,null,i.createElement($I,null),i.createElement(RI,null),i.createElement(k0,{of:"meta"}),r?i.createElement(k0,{of:"story"}):null,i.createElement(LI,null),i.createElement(uI,null),r?null:i.createElement(PI,null))};function II({context:e,docsParameter:t}){let r=t.container||_I,n=t.page||BI;return i.createElement(r,{context:e,theme:t.theme},i.createElement(n,null))}var XI=({of:e})=>{let t=x.useContext(ot);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return i.createElement(kv,{storyId:r.id})}catch{return null}},NI={code:Lv,a:Dv,...Pv},jI=class extends x.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:i.createElement(i.Fragment,null,t)}},QI=class{constructor(){this.render=async(e,t,r)=>{let n={...NI,...t==null?void 0:t.components},a=II;return new Promise((o,l)=>{Qr(()=>import("./index-7qdNYkg7.js"),__vite__mapDeps([9,10,1,2,3,4,5]),import.meta.url).then(({MDXProvider:s})=>Eb(i.createElement(jI,{showException:l,key:Math.random()},i.createElement(s,{components:n},i.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{xb(e)}}};export{QI as D,Nt as F,qe as I,XI as M,i as R,zd as S,P9 as T,Zw as W,mt as _,xg as a,q as b,ug as c,NI as d,fI as e,O9 as f,jt as g,Bn as m,T as n,x as r,WI as s}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-V7JZZA35-NRPiM_IO.js","./iframe-T3i_FFBQ.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js","./formatter-SWP5E3XI-bU8udu01.js","./WithTooltip-V3YHNWJZ-NqMWfhxO.js","./Color-6VNJS4EI-2un4dZHK.js","./index-zgkAIIgL.js","./index-_vCgt_Po.js"] + __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-V7JZZA35-tRH5LnFX.js","./iframe-VgUVZRsZ.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js","./formatter-SWP5E3XI-KzRvFyd2.js","./WithTooltip-V3YHNWJZ-fCnjn0j_.js","./Color-6VNJS4EI-kYABsqkh.js","./index-7qdNYkg7.js","./index-afjEbwFG.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/docs/assets/combobox.stories-tGa2Zy5a.js b/docs/assets/combobox.stories-PscbGc3Z.js similarity index 98% rename from docs/assets/combobox.stories-tGa2Zy5a.js rename to docs/assets/combobox.stories-PscbGc3Z.js index 92f273fd4..3ad20b931 100644 --- a/docs/assets/combobox.stories-tGa2Zy5a.js +++ b/docs/assets/combobox.stories-PscbGc3Z.js @@ -1,4 +1,4 @@ -import{b as A,a as v}from"./utils-NX-dnf4r.js";import{t as M}from"./index-iqhZMf16.js";import{C as T}from"./index-touo30Yf.js";import{r as G,b as w,d as L,t as E}from"./registry-zqrnEiYK.js";import{_ as N}from"./self-iterator-6yU_KG2T.js";import{_ as R}from"./render-tag-_0PNNh6Y.js";/* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-i1smj9EI.js";import"./index-dCAZr4YS.js";/* empty css */import"./index--HiXohkr.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-4ijq5S5t.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const P=`

+import{b as A,a as v}from"./utils-NX-dnf4r.js";import{t as M}from"./index-iqhZMf16.js";import{C as T}from"./index-asvJB4Ap.js";import{r as G,b as w,d as L,t as E}from"./registry-zqrnEiYK.js";import{_ as N}from"./self-iterator-6yU_KG2T.js";import{_ as R}from"./render-tag-_0PNNh6Y.js";/* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-kURT6dDW.js";import"./index-T-tr__32.js";/* empty css */import"./index-fsHgTAj9.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-4ijq5S5t.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const P=`

ebay-combobox diff --git a/docs/assets/confirm-dialog.stories-q423uYZb.js b/docs/assets/confirm-dialog.stories-2PSPVV4U.js similarity index 92% rename from docs/assets/confirm-dialog.stories-q423uYZb.js rename to docs/assets/confirm-dialog.stories-2PSPVV4U.js index 349a23f42..7af192327 100644 --- a/docs/assets/confirm-dialog.stories-q423uYZb.js +++ b/docs/assets/confirm-dialog.stories-2PSPVV4U.js @@ -1,4 +1,4 @@ -import{a as S}from"./utils-NX-dnf4r.js";import{r as T,b as B,d as C,t as j}from"./registry-zqrnEiYK.js";import{_ as b}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./self-iterator-6yU_KG2T.js";import{_ as A}from"./v-element-BABk39ab.js";import{_ as d}from"./index-tjucyUeZ.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./index-CCP4HZWQ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const R=`

+import{a as S}from"./utils-NX-dnf4r.js";import{r as T,b as B,d as C,t as j}from"./registry-zqrnEiYK.js";import{_ as b}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./self-iterator-6yU_KG2T.js";import{_ as A}from"./v-element-BABk39ab.js";import{_ as d}from"./index-g2xi1LKt.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./index-XLHqpDln.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-avw8iGTO.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const R=`

ebay-confirm-dialog diff --git a/docs/assets/contributing.stories-LUD2uMc4.js b/docs/assets/contributing.stories-zc3fxGyh.js similarity index 98% rename from docs/assets/contributing.stories-LUD2uMc4.js rename to docs/assets/contributing.stories-zc3fxGyh.js index 5a5690457..8636aa5aa 100644 --- a/docs/assets/contributing.stories-LUD2uMc4.js +++ b/docs/assets/contributing.stories-zc3fxGyh.js @@ -1,4 +1,4 @@ -import{M as a,e as i}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as r}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";const l=`# Contributing +import{M as a,e as i}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as r}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";const l=`# Contributing This page contains instructions and guidelines for anybody contributing code to the eBayUI project. diff --git a/docs/assets/cta-button.stories-8pXlzI1s.js b/docs/assets/cta-button.stories-tjsJlL7I.js similarity index 94% rename from docs/assets/cta-button.stories-8pXlzI1s.js rename to docs/assets/cta-button.stories-tjsJlL7I.js index f86af212f..dcca4c763 100644 --- a/docs/assets/cta-button.stories-8pXlzI1s.js +++ b/docs/assets/cta-button.stories-tjsJlL7I.js @@ -1,4 +1,4 @@ -import{t as y}from"./index-iqhZMf16.js";import{t as _,r as g,b as f,f as h,p as k,g as B,d as x}from"./registry-zqrnEiYK.js";import{_ as C}from"./dynamic-tag-4Gch17f1.js";import{_ as S}from"./index-H0xcJQHr.js";import{_ as w}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const T=`

+import{t as y}from"./index-iqhZMf16.js";import{t as _,r as g,b as f,f as h,p as k,g as B,d as x}from"./registry-zqrnEiYK.js";import{_ as C}from"./dynamic-tag-4Gch17f1.js";import{_ as S}from"./index-xNrGRUEM.js";import{_ as w}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const T=`

ebay-cta-button diff --git a/docs/assets/date-textbox.stories-K7yKyHxl.js b/docs/assets/date-textbox.stories-d4mNRVjw.js similarity index 95% rename from docs/assets/date-textbox.stories-K7yKyHxl.js rename to docs/assets/date-textbox.stories-d4mNRVjw.js index f9f5be25a..5575e373b 100644 --- a/docs/assets/date-textbox.stories-K7yKyHxl.js +++ b/docs/assets/date-textbox.stories-d4mNRVjw.js @@ -1,4 +1,4 @@ -import{b as P,a as j}from"./utils-NX-dnf4r.js";import{t as F}from"./index-iqhZMf16.js";import{t as y,r as b,b as f,d as g}from"./registry-zqrnEiYK.js";import{C}from"./index-alcEgMKG.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as G}from"./index-I1TU7Smy.js";import{_ as q}from"./self-iterator-6yU_KG2T.js";import{_ as H}from"./index-DimFlsuh.js";import{d as k,t as Q,_ as U}from"./index-8tJUpmL_.js";import{s as J}from"./index-l3FQEXUN.js";import{_ as K}from"./index-tjucyUeZ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4ijq5S5t.js";import"./index-dCAZr4YS.js";import"./index--MAS_RS0.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";const X=`

+import{b as P,a as j}from"./utils-NX-dnf4r.js";import{t as F}from"./index-iqhZMf16.js";import{t as y,r as b,b as f,d as g}from"./registry-zqrnEiYK.js";import{C}from"./index-alcEgMKG.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as G}from"./index-sQkzr8PD.js";import{_ as q}from"./self-iterator-6yU_KG2T.js";import{_ as H}from"./index-DimFlsuh.js";import{d as k,t as Q,_ as U}from"./index-qGww6RZi.js";import{s as J}from"./index-l3FQEXUN.js";import{_ as K}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4ijq5S5t.js";import"./index-T-tr__32.js";import"./index-nZ7E-k9d.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";const X=`

ebay-date-textbox diff --git a/docs/assets/details.stories-2aBNNFIV.js b/docs/assets/details.stories-2aBNNFIV.js new file mode 100644 index 000000000..b5fe682fb --- /dev/null +++ b/docs/assets/details.stories-2aBNNFIV.js @@ -0,0 +1,24 @@ +import{t as v}from"./index-iqhZMf16.js";import{t as E,r as S,b as T,f as B,p as D,g as l,d as C}from"./registry-zqrnEiYK.js";import{_ as V}from"./index-fsHgTAj9.js";import{_ as q}from"./render-tag-_0PNNh6Y.js";import{_ as r}from"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const w=`

+ + ebay-details + + + DS v1.2.0 + +

+ +Details component which expands and collapses extra text on click + +## Examples and Documentation + +- [Storybook](https://ebay.github.io/ebayui-core/?path=/story/navigation-disclosure-ebay-details) +- [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/navigation-disclosure-ebay-details) +- [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-details/examples) +`;let z=class extends Marko.Component{toggleDetails(e){this.emit("toggle",{originalEvent:e,open:this.getEl("root").open})}clickDetails(e){this.emit("click",{originalEvent:e})}};const n="wXSFZgYA",i=E(n),A=i;function $(){}S.r(n,()=>z);const p={};i._=T(function(a,e,s,o,j,F){const{class:u,open:g,alignment:y,size:b,text:_,renderBody:h,as:f,...k}=a;a.toJSON=$,e.be("details",B(D(k),{class:l(["details",u]),open:g}),"@root",o,null,4,{ontoggle:s.d("toggle","toggleDetails",!1),onclick:s.d("click","clickDetails",!1)}),e.be("summary",{class:l(["details__summary",b==="small"&&"details__summary--small",y==="center"&&"details__summary--center"])},"0",o,null,1),e.be("span",{class:"details__label"},"1",o,null,1),e.t(_,o),e.ee(),e.be("span",{class:"details__icon",hidden:""},"2",o,null,0),q(V,{},e,s,"3"),e.ee(),e.ee(),r(e,f||"div",null,x=>{r(x,h,null,null,null,null,s,"5")},null,null,s,"4"),e.ee()},{t:n,s:!0},p);i.Component=C(p,i._);const O=a=>({input:{...a,renderBody(e){e.html(a.renderBody)}}}),Y={title:"navigation & disclosure/ebay-details",component:A,parameters:{docs:{description:{component:w}}},argTypes:{renderBody:{},alignment:{type:"options",description:"The position of the details",table:{defaultValue:{summary:"regular"}},options:["regular","center"]},size:{type:"options",description:"Size of the details",table:{defaultValue:{summary:"regular"}},options:["regular","small"]},open:{type:"boolean",description:"Whether details is open",table:{defaultValue:{summary:"false"}}},as:{description:"The root element.",table:{defaultValue:{summary:"div"}}},onToggle:{action:"on-toggle",description:"Triggered on toggle",table:{category:"Events",defaultValue:{summary:"{ originalEvent, open }"}}},onClick:{action:"on-click",description:"Triggered on click",table:{category:"Events",defaultValue:{summary:"{ originalEvent }"}}}}},t=O.bind({});t.args={renderBody:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",text:"Show me the details!",size:"regular",open:!1,as:"p"};t.parameters={docs:{source:{code:v("ebay-details",t.args)}}};var d,m,c;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`args => ({ + input: { + ...args, + renderBody(out) { + out.html(args.renderBody); + } + } +})`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const Z=["Standard"];export{t as Standard,Z as __namedExportsOrder,Y as default}; diff --git a/docs/assets/details.stories-sfhanW29.js b/docs/assets/details.stories-sfhanW29.js deleted file mode 100644 index 715046b67..000000000 --- a/docs/assets/details.stories-sfhanW29.js +++ /dev/null @@ -1,24 +0,0 @@ -import{t as v}from"./index-iqhZMf16.js";import{t as S,r as E,b as T,f as B,p as D,g as l,d as C}from"./registry-zqrnEiYK.js";import{_ as V}from"./index--HiXohkr.js";import{_ as q}from"./render-tag-_0PNNh6Y.js";import{_ as r}from"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const w=`

- - ebay-details - - - DS v1.2.0 - -

- -Details component which expands and collapses extra text on click - -## Examples and Documentation - -- [Storybook](https://ebay.github.io/ebayui-core/?path=/story/navigation-disclosure-ebay-details) -- [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/navigation-disclosure-ebay-details) -- [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-details/examples) -`;let z=class extends Marko.Component{toggleDetails(e){this.emit("toggle",{originalEvent:e,open:this.getEl("root").open})}clickDetails(e){this.emit("click",{originalEvent:e})}};const n="wXSFZgYA",i=S(n),A=i;function O(){}E.r(n,()=>z);const p={};i._=T(function(a,e,s,o,J,N){const{class:u,open:g,alignment:y,size:b,text:_,renderBody:h,as:f,toJSON:j,...k}=a;a.toJSON=O,e.be("details",B(D(k),{class:l(["details",u]),open:g}),"@root",o,null,4,{ontoggle:s.d("toggle","toggleDetails",!1),onclick:s.d("click","clickDetails",!1)}),e.be("summary",{class:l(["details__summary",b==="small"&&"details__summary--small",y==="center"&&"details__summary--center"])},"0",o,null,1),e.be("span",{class:"details__label"},"1",o,null,1),e.t(_,o),e.ee(),e.be("span",{class:"details__icon",hidden:""},"2",o,null,0),q(V,{},e,s,"3"),e.ee(),e.ee(),r(e,f||"div",null,x=>{r(x,h,null,null,null,null,s,"5")},null,null,s,"4"),e.ee()},{t:n,s:!0},p);i.Component=C(p,i._);const $=a=>({input:{...a,renderBody(e){e.html(a.renderBody)}}}),Z={title:"navigation & disclosure/ebay-details",component:A,parameters:{docs:{description:{component:w}}},argTypes:{renderBody:{},alignment:{type:"options",description:"The position of the details",table:{defaultValue:{summary:"regular"}},options:["regular","center"]},size:{type:"options",description:"Size of the details",table:{defaultValue:{summary:"regular"}},options:["regular","small"]},open:{type:"boolean",description:"Whether details is open",table:{defaultValue:{summary:"false"}}},as:{description:"The root element.",table:{defaultValue:{summary:"div"}}},onToggle:{action:"on-toggle",description:"Triggered on toggle",table:{category:"Events",defaultValue:{summary:"{ originalEvent, open }"}}},onClick:{action:"on-click",description:"Triggered on click",table:{category:"Events",defaultValue:{summary:"{ originalEvent }"}}}}},t=$.bind({});t.args={renderBody:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",text:"Show me the details!",size:"regular",open:!1,as:"p"};t.parameters={docs:{source:{code:v("ebay-details",t.args)}}};var d,m,c;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:`args => ({ - input: { - ...args, - renderBody(out) { - out.html(args.renderBody); - } - } -})`,...(c=(m=t.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const G=["Standard"];export{t as Standard,G as __namedExportsOrder,Z as default}; diff --git a/docs/assets/dialogs.stories-Dira20gs.js b/docs/assets/dialogs.stories-46MspXbs.js similarity index 83% rename from docs/assets/dialogs.stories-Dira20gs.js rename to docs/assets/dialogs.stories-46MspXbs.js index e1edd5317..9d7818472 100644 --- a/docs/assets/dialogs.stories-Dira20gs.js +++ b/docs/assets/dialogs.stories-46MspXbs.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function n(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"dialogs/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function n(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"dialogs/Overview"}),` `,e.jsx(o.h1,{id:"dialog-components",children:"Dialog Components"}),` `,e.jsx(o.p,{children:"Dialogs are components that demand attention from the user by obscuring their view until they are closed or an action is performed."})]})}function i(t={}){const{wrapper:o}=Object.assign({},s(),t.components);return o?e.jsx(o,{...t,children:e.jsx(n,{...t})}):n(t)}const m=()=>{throw new Error("Docs-only story")};m.parameters={docsOnly:!0};const r={title:"dialogs/Overview",tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:i};const _=["__page"];export{_ as __namedExportsOrder,m as __page,r as default}; diff --git a/docs/assets/drawer-dialog.stories-Y8TKTI07.js b/docs/assets/drawer-dialog.stories-nibUva87.js similarity index 94% rename from docs/assets/drawer-dialog.stories-Y8TKTI07.js rename to docs/assets/drawer-dialog.stories-nibUva87.js index 0a7b01560..cfbc295d6 100644 --- a/docs/assets/drawer-dialog.stories-Y8TKTI07.js +++ b/docs/assets/drawer-dialog.stories-nibUva87.js @@ -1,4 +1,4 @@ -import{a as _}from"./utils-NX-dnf4r.js";import{t as k,r as D,b as B,d as C}from"./registry-zqrnEiYK.js";import{_ as T}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./index-W-vPr4VJ.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as p}from"./index-tjucyUeZ.js";import{_ as S}from"./self-iterator-6yU_KG2T.js";import{_ as z}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./repeatable-jmdwKenu.js";import"./index-CCP4HZWQ.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";const $=`

+import{a as _}from"./utils-NX-dnf4r.js";import{t as k,r as D,b as B,d as C}from"./registry-zqrnEiYK.js";import{_ as T}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./index-c4SlkSUb.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as p}from"./index-g2xi1LKt.js";import{_ as S}from"./self-iterator-6yU_KG2T.js";import{_ as z}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./repeatable-jmdwKenu.js";import"./index-XLHqpDln.js";/* empty css */import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";const $=`

ebay-drawer-dialog diff --git a/docs/assets/eek.stories-wdiclHp7.js b/docs/assets/eek.stories-MQHfNfqb.js similarity index 98% rename from docs/assets/eek.stories-wdiclHp7.js rename to docs/assets/eek.stories-MQHfNfqb.js index b28454ebf..0c4085d81 100644 --- a/docs/assets/eek.stories-wdiclHp7.js +++ b/docs/assets/eek.stories-MQHfNfqb.js @@ -1,4 +1,4 @@ -import{t as Aa}from"./index-iqhZMf16.js";import{t as k,r as y,b as d,f as ga,p as xa,h as la,g as ba,d as c}from"./registry-zqrnEiYK.js";import{_ as ka,a as ya}from"./index-53xkO1un.js";import{_ as e}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const da=`

+import{t as Aa}from"./index-iqhZMf16.js";import{t as k,r as y,b as d,f as ga,p as xa,h as la,g as ba,d as c}from"./registry-zqrnEiYK.js";import{_ as ka,a as ya}from"./index-HQLllDUD.js";import{_ as e}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const da=`

ebay-eek diff --git a/docs/assets/fake-menu-button.stories-6ugizPQ9.js b/docs/assets/fake-menu-button.stories-_ODOKTSC.js similarity index 95% rename from docs/assets/fake-menu-button.stories-6ugizPQ9.js rename to docs/assets/fake-menu-button.stories-_ODOKTSC.js index c81f6574d..f26d11586 100644 --- a/docs/assets/fake-menu-button.stories-6ugizPQ9.js +++ b/docs/assets/fake-menu-button.stories-_ODOKTSC.js @@ -1,4 +1,4 @@ -import{t as j}from"./index-iqhZMf16.js";import{b as h,a as G}from"./utils-NX-dnf4r.js";import{r as f,b as g,d as x,t as k}from"./registry-zqrnEiYK.js";import{_ as J}from"./index-ybkHVAw4.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as y}from"./index-WZOdYf_S.js";import{_ as W}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-tjucyUeZ.js";import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";/* empty css */import"./index-WjSr7Aa1.js";import"./index--HiXohkr.js";import"./index-XBFm0t4a.js";/* empty css */import"./index-Zo2k51hY.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const O=`

+import{t as j}from"./index-iqhZMf16.js";import{b as h,a as G}from"./utils-NX-dnf4r.js";import{r as f,b as g,d as x,t as k}from"./registry-zqrnEiYK.js";import{_ as J}from"./index-t6MwYYcL.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as y}from"./index-BndDE7o0.js";import{_ as W}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-g2xi1LKt.js";import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";/* empty css */import"./index-S21L6oUf.js";import"./index-fsHgTAj9.js";import"./index-yX95ckNV.js";/* empty css */import"./index-FQXijakt.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const O=`

ebay-fake-menu-button diff --git a/docs/assets/fake-menu.stories-AKwugN03.js b/docs/assets/fake-menu.stories-GA_P4MKF.js similarity index 98% rename from docs/assets/fake-menu.stories-AKwugN03.js rename to docs/assets/fake-menu.stories-GA_P4MKF.js index 1854e6e7e..2089aace0 100644 --- a/docs/assets/fake-menu.stories-AKwugN03.js +++ b/docs/assets/fake-menu.stories-GA_P4MKF.js @@ -1,4 +1,4 @@ -import{b as h,a as H}from"./utils-NX-dnf4r.js";import{t as K}from"./index-iqhZMf16.js";import{C as b}from"./index-XBFm0t4a.js";import{r as g,b as f,d as k,t as _}from"./registry-zqrnEiYK.js";import{_ as a}from"./self-iterator-6yU_KG2T.js";import{_ as x}from"./render-tag-_0PNNh6Y.js";import{_ as n}from"./v-element-BABk39ab.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-Zo2k51hY.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const P=`

+import{b as h,a as H}from"./utils-NX-dnf4r.js";import{t as K}from"./index-iqhZMf16.js";import{C as b}from"./index-yX95ckNV.js";import{r as g,b as f,d as k,t as _}from"./registry-zqrnEiYK.js";import{_ as a}from"./self-iterator-6yU_KG2T.js";import{_ as x}from"./render-tag-_0PNNh6Y.js";import{_ as n}from"./v-element-BABk39ab.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-FQXijakt.js";import"./index-T-tr__32.js";/* empty css */import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const P=`

ebay-fake-menu diff --git a/docs/assets/filter-menu-button.stories-pxXJLOtg.js b/docs/assets/filter-menu-button.stories-fdXskaRK.js similarity index 95% rename from docs/assets/filter-menu-button.stories-pxXJLOtg.js rename to docs/assets/filter-menu-button.stories-fdXskaRK.js index 269376c96..358913132 100644 --- a/docs/assets/filter-menu-button.stories-pxXJLOtg.js +++ b/docs/assets/filter-menu-button.stories-fdXskaRK.js @@ -1,4 +1,4 @@ -import{t as M}from"./index-iqhZMf16.js";import{a as O}from"./utils-NX-dnf4r.js";import{t as U,r as j,b as z,f as J,p as P,g as Z,d as q}from"./registry-zqrnEiYK.js";import{_ as G}from"./index--HiXohkr.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import"./preserve-attrs-PKQRsRTw.js";import{_ as h}from"./self-iterator-6yU_KG2T.js";import{_}from"./repeatable-jmdwKenu.js";import{_ as L}from"./dynamic-tag-4Gch17f1.js";import{C as Q}from"./index-j0YARFrY.js";import{s as X}from"./index-l3FQEXUN.js";import{h as Y}from"./index-XjwwBzg5.js";import{M as ee,s as te}from"./index-j-rYSiF3.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-mTXoXd8D.js";/* empty css */import"./index-X2pdjzRH.js";import"./index-4lRyQCLB.js";import"./index-nYpLpsKM.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const oe=`

+import{t as M}from"./index-iqhZMf16.js";import{a as O}from"./utils-NX-dnf4r.js";import{t as U,r as j,b as z,f as J,p as P,g as Z,d as q}from"./registry-zqrnEiYK.js";import{_ as G}from"./index-fsHgTAj9.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import"./preserve-attrs-PKQRsRTw.js";import{_ as h}from"./self-iterator-6yU_KG2T.js";import{_}from"./repeatable-jmdwKenu.js";import{_ as L}from"./dynamic-tag-4Gch17f1.js";import{C as Q}from"./index-SwC3eOBR.js";import{s as X}from"./index-l3FQEXUN.js";import{h as Y}from"./index-XjwwBzg5.js";import{M as ee,s as te}from"./index-j-rYSiF3.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-qcbGa1eL.js";/* empty css */import"./index-vNEQ4tAH.js";import"./index-aYjb7RMT.js";import"./index-GxCEZ36B.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const oe=`

ebay-filter-menu-button diff --git a/docs/assets/filter-menu.stories-qpjfu94d.js b/docs/assets/filter-menu.stories-ucTwxg_r.js similarity index 89% rename from docs/assets/filter-menu.stories-qpjfu94d.js rename to docs/assets/filter-menu.stories-ucTwxg_r.js index 94b416a80..e50102120 100644 --- a/docs/assets/filter-menu.stories-qpjfu94d.js +++ b/docs/assets/filter-menu.stories-ucTwxg_r.js @@ -1,4 +1,4 @@ -import{t as n}from"./index-iqhZMf16.js";import{a}from"./utils-NX-dnf4r.js";import{C as s}from"./index-j0YARFrY.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-mTXoXd8D.js";/* empty css */import"./index-X2pdjzRH.js";import"./index-dCAZr4YS.js";/* empty css */import"./render-tag-_0PNNh6Y.js";import"./index-4lRyQCLB.js";import"./index-nYpLpsKM.js";import"./dynamic-tag-4Gch17f1.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";const c=`

+import{t as n}from"./index-iqhZMf16.js";import{a}from"./utils-NX-dnf4r.js";import{C as s}from"./index-SwC3eOBR.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-qcbGa1eL.js";/* empty css */import"./index-vNEQ4tAH.js";import"./index-T-tr__32.js";/* empty css */import"./render-tag-_0PNNh6Y.js";import"./index-aYjb7RMT.js";import"./index-GxCEZ36B.js";import"./dynamic-tag-4Gch17f1.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";const c=`

ebay-filter-menu diff --git a/docs/assets/flag.stories-xtBJkI5n.js b/docs/assets/flag.stories-WT5_5pJ4.js similarity index 99% rename from docs/assets/flag.stories-xtBJkI5n.js rename to docs/assets/flag.stories-WT5_5pJ4.js index 51183c66a..9361c81da 100644 --- a/docs/assets/flag.stories-xtBJkI5n.js +++ b/docs/assets/flag.stories-WT5_5pJ4.js @@ -1,4 +1,4 @@ -import{r as a,b as i,d as h,t as d}from"./registry-zqrnEiYK.js";import{_ as M}from"./index-dCAZr4YS.js";import{_ as e}from"./render-tag-_0PNNh6Y.js";import{_ as o}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */const He=`

+import{r as a,b as i,d as h,t as d}from"./registry-zqrnEiYK.js";import{_ as M}from"./index-T-tr__32.js";import{_ as e}from"./render-tag-_0PNNh6Y.js";import{_ as o}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */const He=`

ebay-flag-{country initials} diff --git a/docs/assets/form-input.stories-1R-sA5Kl.js b/docs/assets/form-input.stories-sRYdr5wC.js similarity index 82% rename from docs/assets/form-input.stories-1R-sA5Kl.js rename to docs/assets/form-input.stories-sRYdr5wC.js index 8ffc9ee79..1af868df3 100644 --- a/docs/assets/form-input.stories-1R-sA5Kl.js +++ b/docs/assets/form-input.stories-sRYdr5wC.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function n(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"form input/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function n(t){const o=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"form input/Overview"}),` `,e.jsx(o.h1,{id:"form-components",children:"Form Components"}),` `,e.jsx(o.p,{children:"These components are generally classified as fields that may be used as a part of a form."})]})}function m(t={}){const{wrapper:o}=Object.assign({},s(),t.components);return o?e.jsx(o,{...t,children:e.jsx(n,{...t})}):n(t)}const i=()=>{throw new Error("Docs-only story")};i.parameters={docsOnly:!0};const r={title:"form input/Overview",tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:m};const _=["__page"];export{_ as __namedExportsOrder,i as __page,r as default}; diff --git a/docs/assets/formatter-SWP5E3XI-bU8udu01.js b/docs/assets/formatter-SWP5E3XI-KzRvFyd2.js similarity index 99% rename from docs/assets/formatter-SWP5E3XI-bU8udu01.js rename to docs/assets/formatter-SWP5E3XI-KzRvFyd2.js index fbafbe22b..6dc0c23b9 100644 --- a/docs/assets/formatter-SWP5E3XI-bU8udu01.js +++ b/docs/assets/formatter-SWP5E3XI-KzRvFyd2.js @@ -1,4 +1,4 @@ -import{_ as ea,m as pl,b as ta}from"./chunk-HLWAVYOI-bPp9GyXi.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(re||!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` +import{_ as ea,m as pl,b as ta}from"./chunk-HLWAVYOI-CrIFzHE4.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(re||!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` `);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes:lt,providers:mt,viewProviders:St,queries:xt,guards:Kt,viewQueries:sr,entryComponents:lr,template:Qt,componentViewType:Kr,rendererType:Pn,componentFactory:In}=Me;this.isHost=!!at,this.type=Jt,this.isComponent=er,this.selector=Ar,this.exportAs=Er,this.changeDetection=_r,this.inputs=xr,this.outputs=Ir,this.hostListeners=Mr,this.hostProperties=or,this.hostAttributes=lt,this.providers=st(mt),this.viewProviders=st(St),this.queries=st(xt),this.guards=Kt,this.viewQueries=st(sr),this.entryComponents=st(lr),this.template=Qt,this.componentViewType=Kr,this.rendererType=Pn,this.componentFactory=In}toSummary(){return{summaryKind:Ve.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};L.CompileDirectiveMetadata=_t;var ct=class{constructor(Me){let{type:at,name:Jt,pure:er}=Me;this.type=at,this.name=Jt,this.pure=!!er}toSummary(){return{summaryKind:Ve.Pipe,type:this.type,name:this.name,pure:this.pure}}};L.CompilePipeMetadata=ct;var kt=class{};L.CompileShallowModuleMetadata=kt;var $t=class{constructor(Me){let{type:at,providers:Jt,declaredDirectives:er,exportedDirectives:Ar,declaredPipes:Er,exportedPipes:_r,entryComponents:xr,bootstrapComponents:Ir,importedModules:Mr,exportedModules:or,schemas:lt,transitiveModule:mt,id:St}=Me;this.type=at||null,this.declaredDirectives=st(er),this.exportedDirectives=st(Ar),this.declaredPipes=st(Er),this.exportedPipes=st(_r),this.providers=st(Jt),this.entryComponents=st(xr),this.bootstrapComponents=st(Ir),this.importedModules=st(Mr),this.exportedModules=st(or),this.schemas=st(lt),this.id=St||null,this.transitiveModule=mt||null}toSummary(){let Me=this.transitiveModule;return{summaryKind:Ve.NgModule,type:this.type,entryComponents:Me.entryComponents,providers:Me.providers,modules:Me.modules,exportedDirectives:Me.exportedDirectives,exportedPipes:Me.exportedPipes}}};L.CompileNgModuleMetadata=$t;var ir=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Me,at){this.providers.push({provider:Me,module:at})}addDirective(Me){this.directivesSet.has(Me.reference)||(this.directivesSet.add(Me.reference),this.directives.push(Me))}addExportedDirective(Me){this.exportedDirectivesSet.has(Me.reference)||(this.exportedDirectivesSet.add(Me.reference),this.exportedDirectives.push(Me))}addPipe(Me){this.pipesSet.has(Me.reference)||(this.pipesSet.add(Me.reference),this.pipes.push(Me))}addExportedPipe(Me){this.exportedPipesSet.has(Me.reference)||(this.exportedPipesSet.add(Me.reference),this.exportedPipes.push(Me))}addModule(Me){this.modulesSet.has(Me.reference)||(this.modulesSet.add(Me.reference),this.modules.push(Me))}addEntryComponent(Me){this.entryComponentsSet.has(Me.componentType)||(this.entryComponentsSet.add(Me.componentType),this.entryComponents.push(Me))}};L.TransitiveCompileNgModuleMetadata=ir;function st(Me){return Me||[]}var Ot=class{constructor(Me,at){let{useClass:Jt,useValue:er,useExisting:Ar,useFactory:Er,deps:_r,multi:xr}=at;this.token=Me,this.useClass=Jt||null,this.useValue=er,this.useExisting=Ar,this.useFactory=Er||null,this.dependencies=_r||null,this.multi=!!xr}};L.ProviderMeta=Ot;function Vt(Me){return Me.reduce((at,Jt)=>{let er=Array.isArray(Jt)?Vt(Jt):Jt;return at.concat(er)},[])}L.flatten=Vt;function Ut(Me){return Me.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function rr(Me,at,Jt){let er;return Jt.isInline?at.type.reference instanceof re.StaticSymbol?er=`${at.type.reference.filePath}.${at.type.reference.name}.html`:er=`${de(Me)}/${de(at.type)}.html`:er=Jt.templateUrl,at.type.reference instanceof re.StaticSymbol?er:Ut(er)}L.templateSourceUrl=rr;function z(Me,at){let Jt=Me.moduleUrl.split(/\/\\/g),er=Jt[Jt.length-1];return Ut(`css/${at}${er}.ngstyle.js`)}L.sharedStylesheetJitUrl=z;function le(Me){return Ut(`${de(Me.type)}/module.ngfactory.js`)}L.ngModuleJitUrl=le;function We(Me,at){return Ut(`${de(Me)}/${de(at.type)}.ngfactory.js`)}L.templateJitUrl=We}}),Zt=he({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=qt(),Ee=class{constructor(ce,ve,Ve,He){this.file=ce,this.offset=ve,this.line=Ve,this.col=He}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ce){let ve=this.file.content,Ve=ve.length,He=this.offset,Je=this.line,Qe=this.col;for(;He>0&&ce<0;)if(He--,ce++,ve.charCodeAt(He)==re.$LF){Je--;let yt=ve.substr(0,He-1).lastIndexOf(String.fromCharCode(re.$LF));Qe=yt>0?He-yt:He}else Qe--;for(;He0;){let yt=ve.charCodeAt(He);He++,ce--,yt==re.$LF?(Je++,Qe=0):Qe++}return new Ee(this.file,He,Je,Qe)}getContext(ce,ve){let Ve=this.file.content,He=this.offset;if(He!=null){He>Ve.length-1&&(He=Ve.length-1);let Je=He,Qe=0,yt=0;for(;Qe0&&(He--,Qe++,!(Ve[He]==` `&&++yt==ve)););for(Qe=0,yt=0;Qe2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]}(?:\\.${ie[de.PRERELEASEIDENTIFIER]})*))`),Ge("PRERELEASELOOSE",`(?:-?(${ie[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ie[de.PRERELEASEIDENTIFIERLOOSE]})*))`),Ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ge("BUILD",`(?:\\+(${ie[de.BUILDIDENTIFIER]}(?:\\.${ie[de.BUILDIDENTIFIER]})*))`),Ge("FULLPLAIN",`v?${ie[de.MAINVERSION]}${ie[de.PRERELEASE]}?${ie[de.BUILD]}?`),Ge("FULL",`^${ie[de.FULLPLAIN]}$`),Ge("LOOSEPLAIN",`[v=\\s]*${ie[de.MAINVERSIONLOOSE]}${ie[de.PRERELEASELOOSE]}?${ie[de.BUILD]}?`),Ge("LOOSE",`^${ie[de.LOOSEPLAIN]}$`),Ge("GTLT","((?:<|>)?=?)"),Ge("XRANGEIDENTIFIERLOOSE",`${ie[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ge("XRANGEIDENTIFIER",`${ie[de.NUMERICIDENTIFIER]}|x|X|\\*`),Ge("XRANGEPLAIN",`[v=\\s]*(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:${ie[de.PRERELEASE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:${ie[de.PRERELEASELOOSE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAIN]}$`),Ge("XRANGELOOSE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COERCE",`(^|[^\\d])(\\d{1,${ge}})(?:\\.(\\d{1,${ge}}))?(?:\\.(\\d{1,${ge}}))?(?:$|[^\\d])`),Ge("COERCERTL",ie[de.COERCE],!0),Ge("LONETILDE","(?:~>?)"),Ge("TILDETRIM",`(\\s*)${ie[de.LONETILDE]}\\s+`,!0),L.tildeTrimReplace="$1~",Ge("TILDE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAIN]}$`),Ge("TILDELOOSE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("LONECARET","(?:\\^)"),Ge("CARETTRIM",`(\\s*)${ie[de.LONECARET]}\\s+`,!0),L.caretTrimReplace="$1^",Ge("CARET",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAIN]}$`),Ge("CARETLOOSE",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COMPARATORLOOSE",`^${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]})$|^$`),Ge("COMPARATOR",`^${ie[de.GTLT]}\\s*(${ie[de.FULLPLAIN]})$|^$`),Ge("COMPARATORTRIM",`(\\s*)${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]}|${ie[de.XRANGEPLAIN]})`,!0),L.comparatorTrimReplace="$1$2$3",Ge("HYPHENRANGE",`^\\s*(${ie[de.XRANGEPLAIN]})\\s+-\\s+(${ie[de.XRANGEPLAIN]})\\s*$`),Ge("HYPHENRANGELOOSE",`^\\s*(${ie[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ie[de.XRANGEPLAINLOOSE]})\\s*$`),Ge("STAR","(<|>)?=?\\s*\\*"),Ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Fr=he({"node_modules/semver/internal/parse-options.js"(L,re){$();var ge=["includePrerelease","loose","rtl"],Ee=Pe=>Pe?typeof Pe!="object"?{loose:!0}:ge.filter(ie=>Pe[ie]).reduce((ie,de)=>(ie[de]=!0,ie),{}):{};re.exports=Ee}}),Tn=he({"node_modules/semver/internal/identifiers.js"(L,re){$();var ge=/^[0-9]+$/,Ee=(ie,de)=>{let Ue=ge.test(ie),Ge=ge.test(de);return Ue&&Ge&&(ie=+ie,de=+de),ie===de?0:Ue&&!Ge?-1:Ge&&!Ue?1:ieEe(de,ie);re.exports={compareIdentifiers:Ee,rcompareIdentifiers:Pe}}}),Bn=he({"node_modules/semver/classes/semver.js"(L,re){$();var ge=mr(),{MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe}=rn(),{re:ie,t:de}=wr(),Ue=Fr(),{compareIdentifiers:Ge}=Tn(),gt=class{constructor(ce,ve){if(ve=Ue(ve),ce instanceof gt){if(ce.loose===!!ve.loose&&ce.includePrerelease===!!ve.includePrerelease)return ce;ce=ce.version}else if(typeof ce!="string")throw new TypeError(`Invalid Version: ${ce}`);if(ce.length>Ee)throw new TypeError(`version is longer than ${Ee} characters`);ge("SemVer",ce,ve),this.options=ve,this.loose=!!ve.loose,this.includePrerelease=!!ve.includePrerelease;let Ve=ce.trim().match(ve.loose?ie[de.LOOSE]:ie[de.FULL]);if(!Ve)throw new TypeError(`Invalid Version: ${ce}`);if(this.raw=ce,this.major=+Ve[1],this.minor=+Ve[2],this.patch=+Ve[3],this.major>Pe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pe||this.patch<0)throw new TypeError("Invalid patch version");Ve[4]?this.prerelease=Ve[4].split(".").map(He=>{if(/^[0-9]+$/.test(He)){let Je=+He;if(Je>=0&&Je=0;)typeof this.prerelease[Ve]=="number"&&(this.prerelease[Ve]++,Ve=-2);Ve===-1&&this.prerelease.push(0)}ve&&(Ge(this.prerelease[0],ve)===0?isNaN(this.prerelease[1])&&(this.prerelease=[ve,0]):this.prerelease=[ve,0]);break;default:throw new Error(`invalid increment argument: ${ce}`)}return this.format(),this.raw=this.version,this}};re.exports=gt}}),on=he({"node_modules/semver/functions/compare.js"(L,re){$();var ge=Bn(),Ee=(Pe,ie,de)=>new ge(Pe,de).compare(new ge(ie,de));re.exports=Ee}}),Nr=he({"node_modules/semver/functions/lt.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)<0;re.exports=Ee}}),Bu=he({"node_modules/semver/functions/gte.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)>=0;re.exports=Ee}}),Ri=he({"src/utils/arrayify.js"(L,re){$(),re.exports=(ge,Ee)=>Object.entries(ge).map(Pe=>{let[ie,de]=Pe;return Object.assign({[Ee]:ie},de)})}}),wu=he({"package.json"(L,re){re.exports={version:"2.8.8"}}}),Mi=he({"node_modules/outdent/lib/index.js"(L,re){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.outdent=void 0;function ge(){for(var ct=[],kt=0;kt +import{a as T}from"./utils-NX-dnf4r.js";import{r as y,b as f,d as b,t as h}from"./registry-zqrnEiYK.js";import{_ as E}from"./dynamic-tag-4Gch17f1.js";import{_ as S}from"./index-XLHqpDln.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as $}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";const v=`

ebay-fullscreen-dialog diff --git a/docs/assets/getting-started.stories-OnkcFjUB.js b/docs/assets/getting-started.stories-ZlqOpC8c.js similarity index 96% rename from docs/assets/getting-started.stories-OnkcFjUB.js rename to docs/assets/getting-started.stories-ZlqOpC8c.js index 88ebb1e68..41f1c6d02 100644 --- a/docs/assets/getting-started.stories-OnkcFjUB.js +++ b/docs/assets/getting-started.stories-ZlqOpC8c.js @@ -1,4 +1,4 @@ -import{M as o}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as r}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(n){const t=Object.assign({h1:"h1",p:"p",code:"code",a:"a",pre:"pre",h2:"h2",h3:"h3",h4:"h4",em:"em"},r(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Getting Started"}),` +import{M as o}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as r}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(n){const t=Object.assign({h1:"h1",p:"p",code:"code",a:"a",pre:"pre",h2:"h2",h3:"h3",h4:"h4",em:"em"},r(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:"Getting Started"}),` `,e.jsx(t.h1,{id:"getting-started",children:"Getting Started"}),` `,e.jsxs(t.p,{children:["The eBayUI core components are available as the ",e.jsx(t.code,{children:"@ebay/ebayui-core"})," package on ",e.jsx(t.a,{href:"https://www.npmjs.com/package/@ebay/ebayui-core",target:"_blank",rel:"nofollow noopener noreferrer",children:"NPM"}),"."]}),` `,e.jsx(t.p,{children:"Use npm or yarn to add the package dependency to your project:"}),` diff --git a/docs/assets/graphics-and-icons.stories-7jLgoRqS.js b/docs/assets/graphics-and-icons.stories-fM6XboHN.js similarity index 82% rename from docs/assets/graphics-and-icons.stories-7jLgoRqS.js rename to docs/assets/graphics-and-icons.stories-fM6XboHN.js index c14a066cc..c0deeb9bd 100644 --- a/docs/assets/graphics-and-icons.stories-7jLgoRqS.js +++ b/docs/assets/graphics-and-icons.stories-fM6XboHN.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function o(t){const r=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"graphics & icons/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function o(t){const r=Object.assign({h1:"h1",p:"p"},s(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"graphics & icons/Overview"}),` `,e.jsx(r.h1,{id:"graphical-components",children:"Graphical Components"}),` `,e.jsx(r.p,{children:"These components are used to communicate with the user in a visual manner."})]})}function i(t={}){const{wrapper:r}=Object.assign({},s(),t.components);return r?e.jsx(r,{...t,children:e.jsx(o,{...t})}):o(t)}const c=()=>{throw new Error("Docs-only story")};c.parameters={docsOnly:!0};const n={title:"graphics & icons/Overview",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:i};const _=["__page"];export{_ as __namedExportsOrder,c as __page,n as default}; diff --git a/docs/assets/icon-button.stories-YenrQjPR.js b/docs/assets/icon-button.stories-gCxH5jzk.js similarity index 96% rename from docs/assets/icon-button.stories-YenrQjPR.js rename to docs/assets/icon-button.stories-gCxH5jzk.js index f313caf0a..1b755123c 100644 --- a/docs/assets/icon-button.stories-YenrQjPR.js +++ b/docs/assets/icon-button.stories-gCxH5jzk.js @@ -1,4 +1,4 @@ -import{a as u}from"./utils-NX-dnf4r.js";import{t as b,r as d,b as y,d as g}from"./registry-zqrnEiYK.js";import{_ as f}from"./index-177SSPcF.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_}from"./index-7jFeXTCh.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";const a="j1iwmfR2",t=b(a),h=t;d.r(a,()=>t);const l={};t._=y(function(o,m,n,T,B,V){r(_,{...o,renderBody:p=>{r(f,{},p,n,"1")}},m,n,"0",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]])},{t:a},l);t.Component=g(l,t._);const k=`class {} +import{a as u}from"./utils-NX-dnf4r.js";import{t as b,r as d,b as y,d as g}from"./registry-zqrnEiYK.js";import{_ as f}from"./index-OgsNMRP5.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_}from"./index-7jFeXTCh.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";const a="j1iwmfR2",t=b(a),h=t;d.r(a,()=>t);const l={};t._=y(function(o,m,n,T,B,V){r(_,{...o,renderBody:p=>{r(f,{},p,n,"1")}},m,n,"0",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]])},{t:a},l);t.Component=g(l,t._);const k=`class {} +import{t as jM}from"./index-iqhZMf16.js";import{r as o,b as s,d as i,t as m}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-T-tr__32.js";import{_ as n}from"./render-tag-_0PNNh6Y.js";import{_ as t}from"./v-element-BABk39ab.js";import{_ as KM}from"./index-qhjahFr3.js";import{_ as GM,b as PM,a as UM}from"./index-DC-x0-tf.js";import{_ as qM}from"./index-xNrGRUEM.js";import{_ as QM,a as NM}from"./index-BHGYRQhO.js";import{_ as WM}from"./index-py3x4x1i.js";import{a as OM,_ as RM,b as IM,c as YM,d as JM}from"./index-oJVpUktL.js";import{_ as XM}from"./index-hesef6OJ.js";import{_ as DM}from"./index-sQkzr8PD.js";import{_ as ax}from"./index-1yeo952A.js";import{c as lx,a as ex,b as nx,_ as cx}from"./index-GxCEZ36B.js";import{a as tx,_ as ox}from"./index-iOo4hJOd.js";import{_ as sx}from"./index-fsHgTAj9.js";import{_ as ix}from"./index-kURT6dDW.js";import{_ as mx,b as hx,a as rx}from"./index-rQljMZk-.js";import{_ as px}from"./index-vM9MgpNM.js";import{_ as dx,a as _x}from"./index-nZ7E-k9d.js";import{_ as bx}from"./index-Yh_PXuyA.js";import{_ as vx}from"./index-avw8iGTO.js";import{_ as yx,b as Zx,a as kx}from"./index-in-YqcOA.js";import{_ as $x,a as fx,b as ux}from"./index-0by-wmmq.js";import{a as Mx,_ as xx}from"./index-HQLllDUD.js";import{_ as Hx}from"./index-0xgPFV6K.js";import{_ as Vx,a as Cx}from"./index-bDnsfnFH.js";import{_ as gx}from"./index-fBgtz-n7.js";import{_ as wx}from"./index-OgsNMRP5.js";import{_ as Ax}from"./index-w_DyqyRi.js";import{_ as Lx}from"./index-2FfeB2lc.js";import{_ as Tx}from"./index-S21L6oUf.js";import{_ as Fx,c as Bx,a as Ex,b as Sx}from"./index-vNEQ4tAH.js";import{_ as zx}from"./index-RuUXU4eA.js";import{_ as jx}from"./index-t6MwYYcL.js";import{a as Kx,b as Gx,_ as Px}from"./index-o5F2CW61.js";import{_ as Ux}from"./index-xFOS7_Jj.js";import{a as qx,_ as Qx,b as Nx,c as Wx}from"./index-0jjW2cVY.js";import{_ as Ox}from"./index-D9357-oV.js";import{_ as Rx}from"./index-FQXijakt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */const Ix=`

ebay-{name}-icon diff --git a/docs/assets/iframe-T3i_FFBQ.js b/docs/assets/iframe-VgUVZRsZ.js similarity index 60% rename from docs/assets/iframe-T3i_FFBQ.js rename to docs/assets/iframe-VgUVZRsZ.js index d3ba37a05..f3d05b70e 100644 --- a/docs/assets/iframe-T3i_FFBQ.js +++ b/docs/assets/iframe-VgUVZRsZ.js @@ -1,7 +1,7 @@ -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const r of e.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&m(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function m(o){if(o.ep)return;o.ep=!0;const e=n(o);fetch(o.href,e)}})();const d="modulepreload",y=function(s,i){return new URL(s,i).href},l={},t=function(i,n,m){let o=Promise.resolve();if(n&&n.length>0){const e=document.getElementsByTagName("link");o=Promise.all(n.map(r=>{if(r=y(r,m),r in l)return;l[r]=!0;const a=r.endsWith(".css"),E=a?'[rel="stylesheet"]':"";if(!!m)for(let c=e.length-1;c>=0;c--){const p=e[c];if(p.href===r&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const _=document.createElement("link");if(_.rel=a?"stylesheet":d,a||(_.as="script",_.crossOrigin=""),_.href=r,document.head.appendChild(_),a)return new Promise((c,p)=>{_.addEventListener("load",c),_.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${r}`)))})}))}return o.then(()=>i()).catch(e=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=e,window.dispatchEvent(r),!r.defaultPrevented)throw e})},{createBrowserChannel:O}=__STORYBOOK_MODULE_CHANNELS__,{addons:b}=__STORYBOOK_MODULE_PREVIEW_API__,u=O({page:"preview"});b.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const R={"./src/components/documentation/categories/building-blocks.stories.mdx":async()=>t(()=>import("./building-blocks.stories-zF2-9yJh.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/buttons.stories.mdx":async()=>t(()=>import("./buttons.stories-q4_Alw3p.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/dialogs.stories.mdx":async()=>t(()=>import("./dialogs.stories-Dira20gs.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/form-input.stories.mdx":async()=>t(()=>import("./form-input.stories-1R-sA5Kl.js"),__vite__mapDeps([10,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/graphics-and-icons.stories.mdx":async()=>t(()=>import("./graphics-and-icons.stories-7jLgoRqS.js"),__vite__mapDeps([11,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/media.stories.mdx":async()=>t(()=>import("./media.stories-uhyK5QSy.js"),__vite__mapDeps([12,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/navigation-and-disclosure.stories.mdx":async()=>t(()=>import("./navigation-and-disclosure.stories-o8zJSxE6.js"),__vite__mapDeps([13,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/notices-and-tips.stories.mdx":async()=>t(()=>import("./notices-and-tips.stories-I0-XD4Sk.js"),__vite__mapDeps([14,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/progress.stories.mdx":async()=>t(()=>import("./progress.stories-CnBUGfIX.js"),__vite__mapDeps([15,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/contributing.stories.mdx":async()=>t(()=>import("./contributing.stories-LUD2uMc4.js"),__vite__mapDeps([16,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/getting-started.stories.mdx":async()=>t(()=>import("./getting-started.stories-OnkcFjUB.js"),__vite__mapDeps([17,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/welcome.stories.mdx":async()=>t(()=>import("./welcome.stories-zWkg26dj.js"),__vite__mapDeps([18,1,2,3,4,5,6,7]),import.meta.url),"./src/components/ebay-3d-viewer/3d-viewer.stories.ts":async()=>t(()=>import("./3d-viewer.stories-jh0Eblw_.js"),__vite__mapDeps([19,20,21,22,2,3,23,24,25,26,27,28,29,30,31,32]),import.meta.url),"./src/components/ebay-alert-dialog/alert-dialog.stories.ts":async()=>t(()=>import("./alert-dialog.stories-vx5d0LbR.js"),__vite__mapDeps([33,21,22,2,3,34,35,36,37,28,29,24,25,26,27,30,38,39,40,41,42,43,44,45,46,47]),import.meta.url),"./src/components/ebay-avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-2hWCsX8G.js"),__vite__mapDeps([48,20,21,22,2,3,34,49,24,25,26,27,35,50]),import.meta.url),"./src/components/ebay-badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-ExtV6LaU.js"),__vite__mapDeps([51,20,52,22,2,3,53]),import.meta.url),"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts":async()=>t(()=>import("./breadcrumbs.stories-hmM2tVBk.js"),__vite__mapDeps([54,20,21,22,2,3,55,24,25,26,27,56,57,34,35,58,59,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,70,71]),import.meta.url),"./src/components/ebay-button/button.stories.ts":async()=>t(()=>import("./button.stories-2Fv2DOUQ.js"),__vite__mapDeps([72,20,21,37,22,2,3,28,29,24,25,26,27,30,34,38,39,40]),import.meta.url),"./src/components/ebay-calendar/calendar.stories.ts":async()=>t(()=>import("./calendar.stories-K4ghkDPU.js"),__vite__mapDeps([73,21,20,74,22,2,3,75,24,25,26,27,59,34,52,53,39,46,40,60,76]),import.meta.url),"./src/components/ebay-carousel/carousel.stories.ts":async()=>t(()=>import("./carousel.stories-i9ZNcCLz.js"),__vite__mapDeps([77,20,22,2,3,78,24,25,26,27,34,79,70,45,39,36,80,81,35,41,42,43,44,46,82,83]),import.meta.url),"./src/components/ebay-character-count/character-count.stories.ts":async()=>t(()=>import("./character-count.stories-iJrz0F8I.js"),__vite__mapDeps([84,21,20,22,2,3,34,36,85,86,87,26,88,46,27]),import.meta.url),"./src/components/ebay-checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-PD9-YnYO.js"),__vite__mapDeps([89,20,90,22,2,3,91,24,25,26,27,92,93,36]),import.meta.url),"./src/components/ebay-chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-VMG-jgOe.js"),__vite__mapDeps([94,20,21,95,22,2,3,34,42,24,25,26,27,96]),import.meta.url),"./src/components/ebay-chips-combobox/chips-combobox.stories.ts":async()=>t(()=>import("./chips-combobox.stories-d7ZBJ1kD.js"),__vite__mapDeps([97,21,22,2,3,95,34,42,24,25,26,27,96,35,98,38,62,44,99,100,68,86,67,45,39,101,46,88,102]),import.meta.url),"./src/components/ebay-combobox/combobox.stories.ts":async()=>t(()=>import("./combobox.stories-tGa2Zy5a.js"),__vite__mapDeps([103,21,20,98,22,2,3,34,38,24,25,26,27,62,44,99,100,68,86,67,45,39,101,46,88,35]),import.meta.url),"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts":async()=>t(()=>import("./confirm-dialog.stories-q423uYZb.js"),__vite__mapDeps([104,21,22,2,3,34,35,36,37,28,29,24,25,26,27,30,38,39,40,41,42,43,44,45,46,105]),import.meta.url),"./src/components/ebay-cta-button/cta-button.stories.ts":async()=>t(()=>import("./cta-button.stories-8pXlzI1s.js"),__vite__mapDeps([106,20,22,2,3,34,107,24,25,26,27,108]),import.meta.url),"./src/components/ebay-date-textbox/date-textbox.stories.ts":async()=>t(()=>import("./date-textbox.stories-K7yKyHxl.js"),__vite__mapDeps([109,21,20,22,2,3,85,34,86,87,26,88,46,27,110,24,25,35,43,74,75,59,52,53,39,40,60,76,67,68,45,37,28,29,30,38,111]),import.meta.url),"./src/components/ebay-details/details.stories.ts":async()=>t(()=>import("./details.stories-sfhanW29.js"),__vite__mapDeps([112,20,22,2,3,62,24,25,26,27,34,113]),import.meta.url),"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts":async()=>t(()=>import("./drawer-dialog.stories-Y8TKTI07.js"),__vite__mapDeps([114,21,22,2,3,34,80,81,35,41,42,24,25,26,27,43,44,45,39,46,82,37,28,29,30,38,40,36]),import.meta.url),"./src/components/ebay-eek/eek.stories.ts":async()=>t(()=>import("./eek.stories-wdiclHp7.js"),__vite__mapDeps([115,20,22,2,3,116,24,25,26,27,117]),import.meta.url),"./src/components/ebay-fake-link/fake-link.stories.ts":async()=>t(()=>import("./fake-link.stories-nfS8ruph.js"),__vite__mapDeps([118,20,119,22,2,3,34,39,60]),import.meta.url),"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts":async()=>t(()=>import("./fake-menu-button.stories-6ugizPQ9.js"),__vite__mapDeps([120,20,21,22,2,3,121,24,25,26,27,35,58,59,34,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,36]),import.meta.url),"./src/components/ebay-fake-menu/fake-menu.stories.ts":async()=>t(()=>import("./fake-menu.stories-AKwugN03.js"),__vite__mapDeps([122,21,20,63,22,2,3,34,52,53,27,64,24,25,26,39,65,66,35,36]),import.meta.url),"./src/components/ebay-fake-tabs/fake-tabs.stories.ts":async()=>t(()=>import("./fake-tabs.stories-utlSzejh.js"),__vite__mapDeps([123,21,20,22,2,3,34,124]),import.meta.url),"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts":async()=>t(()=>import("./filter-menu-button.stories-pxXJLOtg.js"),__vite__mapDeps([125,20,21,22,2,3,62,24,25,26,27,44,35,81,34,126,127,128,129,93,90,91,92,130,131,100,68,39,65,132,67,45,133]),import.meta.url),"./src/components/ebay-filter-menu/filter-menu.stories.ts":async()=>t(()=>import("./filter-menu.stories-qpjfu94d.js"),__vite__mapDeps([134,20,21,126,22,2,3,127,128,24,25,26,27,129,93,90,91,92,34,130,131,100,68,39,65,132]),import.meta.url),"./src/components/ebay-filter/filter.stories.ts":async()=>t(()=>import("./filter.stories-f32igx8W.js"),__vite__mapDeps([135,20,21,22,2,3,34,136]),import.meta.url),"./src/components/ebay-flag/flag.stories.ts":async()=>t(()=>import("./flag.stories-xtBJkI5n.js"),__vite__mapDeps([137,22,2,3,24,25,26,27,36]),import.meta.url),"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts":async()=>t(()=>import("./fullsceen-dialog.stories-sne0WhFK.js"),__vite__mapDeps([138,21,22,2,3,34,41,42,24,25,26,27,43,44,45,39,46,37,28,29,30,38,40,139]),import.meta.url),"./src/components/ebay-icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-YenrQjPR.js"),__vite__mapDeps([140,21,22,2,3,141,24,25,26,27,59,34,52,53,39,46,40,60]),import.meta.url),"./src/components/ebay-icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-5DK0SyyV.js"),__vite__mapDeps([142,20,22,2,3,24,25,26,27,36,143,144,107,23,145,146,49,110,147,91,148,62,38,78,149,75,70,42,150,151,116,152,153,154,141,55,155,61,128,156,121,29,157,158,159,64]),import.meta.url),"./src/components/ebay-image-placeholder/image-placeholder.stories.ts":async()=>t(()=>import("./image-placeholder.stories-jpK-nJA7.js"),__vite__mapDeps([160,21,22,2,3,24,25,26,27]),import.meta.url),"./src/components/ebay-infotip/infotip.stories.ts":async()=>t(()=>import("./infotip.stories--JyQl7_C.js"),__vite__mapDeps([161,21,22,2,3,34,154,24,25,26,27,162,42,67,68,45,44,35,163,41,43,39,46,164,36,165]),import.meta.url),"./src/components/ebay-inline-notice/inline-notice.stories.ts":async()=>t(()=>import("./inline-notice.stories-XtP_eNaD.js"),__vite__mapDeps([166,21,22,2,3,167,151,24,25,26,27,145,34,42,36,168]),import.meta.url),"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts":async()=>t(()=>import("./lightbox-dialog.stories-yQQY5azz.js"),__vite__mapDeps([169,21,22,2,3,34,81,35,36,163,41,42,24,25,26,27,43,44,45,39,46,164,37,28,29,30,38,40,149]),import.meta.url),"./src/components/ebay-line-chart/line-chart.stories.ts":async()=>t(()=>import("./line-chart.stories-YRw1-ISh.js"),__vite__mapDeps([170,20,21,22,2,3,31,39,36,171]),import.meta.url),"./src/components/ebay-listbox-button/listbox-button.stories.ts":async()=>t(()=>import("./listbox-button.stories-ecuDiVvH.js"),__vite__mapDeps([172,20,21,22,2,3,38,24,25,26,27,35,173,34,64,44,99,100,68,39,174,67,45,130,145,36,175]),import.meta.url),"./src/components/ebay-listbox/listbox.stories.ts":async()=>t(()=>import("./listbox.stories-zo_RzSwK.js"),__vite__mapDeps([176,21,20,173,22,2,3,34,64,24,25,26,27,44,99,100,68,39,174,35]),import.meta.url),"./src/components/ebay-menu-button/menu-button.stories.ts":async()=>t(()=>import("./menu-button.stories-BJ203mGi.js"),__vite__mapDeps([177,20,21,22,2,3,35,178,59,34,52,53,27,39,46,40,60,37,28,29,24,25,26,30,38,155,62,179,64,130,131,100,68,65,66,67,45,69,121,36]),import.meta.url),"./src/components/ebay-menu/menu.stories.ts":async()=>t(()=>import("./menu.stories-ZwHg0g-F.js"),__vite__mapDeps([180,21,20,179,22,2,3,34,52,53,27,64,24,25,26,130,131,100,68,39,65,66,35,36]),import.meta.url),"./src/components/ebay-page-notice/page-notice.stories.ts":async()=>t(()=>import("./page-notice.stories-2K5XpTVA.js"),__vite__mapDeps([181,20,21,22,2,3,167,151,24,25,26,27,145,34,42,36,35,119,39,60,182]),import.meta.url),"./src/components/ebay-pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-dlcBSOkU.js"),__vite__mapDeps([183,21,20,22,2,3,144,24,25,26,27,56,57,34,35,58,59,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,184]),import.meta.url),"./src/components/ebay-panel-dialog/panel-dialog.stories.ts":async()=>t(()=>import("./panel-dialog.stories-kfeA-QcU.js"),__vite__mapDeps([185,20,22,2,3,35,36,34,41,42,24,25,26,27,43,44,45,39,46,37,28,29,30,38,40,186]),import.meta.url),"./src/components/ebay-progress-bar/progress-bar.stories.ts":async()=>t(()=>import("./progress-bar.stories-ax6XfdFf.js"),__vite__mapDeps([187,20,22,2,3,188]),import.meta.url),"./src/components/ebay-progress-spinner/progress-spinner.stories.ts":async()=>t(()=>import("./progress-spinner.stories-0y-DF_rY.js"),__vite__mapDeps([189,20,28,22,2,3,29,24,25,26,27,30]),import.meta.url),"./src/components/ebay-progress-stepper/progress-stepper.stories.ts":async()=>t(()=>import("./progress-stepper.stories-Zl7EX1Bc.js"),__vite__mapDeps([190,20,21,22,2,3,34,158,24,25,26,27,191]),import.meta.url),"./src/components/ebay-radio/radio.stories.ts":async()=>t(()=>import("./radio.stories-MvXv_M9D.js"),__vite__mapDeps([192,20,127,22,2,3,128,24,25,26,27,129,93,36]),import.meta.url),"./src/components/ebay-section-notice/section-notice.stories.ts":async()=>t(()=>import("./section-notice.stories-McC5N1Cp.js"),__vite__mapDeps([193,20,21,22,2,3,167,151,24,25,26,27,145,34,42,36,35,119,39,60,159,194]),import.meta.url),"./src/components/ebay-section-title/section-title.stories.ts":async()=>t(()=>import("./section-title.stories-DGJYi_4P.js"),__vite__mapDeps([195,20,21,22,2,3,34,35,178,59,52,53,27,39,46,40,60,37,28,29,24,25,26,30,38,155,62,179,64,130,131,100,68,65,66,67,45,69,156,196]),import.meta.url),"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts":async()=>t(()=>import("./segmented-buttons.stories-e-N-aZ-Z.js"),__vite__mapDeps([197,20,21,22,2,3,34,153,24,25,26,27,35,198]),import.meta.url),"./src/components/ebay-select/select.stories.ts":async()=>t(()=>import("./select.stories-nkIpInTV.js"),__vite__mapDeps([199,20,22,2,3,62,24,25,26,27,86,36,35,37,28,29,30,34,38,39,40,200]),import.meta.url),"./src/components/ebay-signal/signal.stories.ts":async()=>t(()=>import("./signal.stories-oXqhHLg4.js"),__vite__mapDeps([201,20,22,2,3,34,202]),import.meta.url),"./src/components/ebay-skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-oPJaHuL1.js"),__vite__mapDeps([203,20,21,22,2,3,34,27,36,37,28,29,24,25,26,30,38,39,40,204]),import.meta.url),"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts":async()=>t(()=>import("./snackbar-dialog.stories-Yq9nnI3e.js"),__vite__mapDeps([205,22,2,3,37,28,29,24,25,26,27,30,34,38,39,40,119,60,81,35,41,42,43,44,45,46,206]),import.meta.url),"./src/components/ebay-split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-CyiyPRSD.js"),__vite__mapDeps([207,20,21,22,2,3,34,37,28,29,24,25,26,27,30,38,39,40,178,59,52,53,46,60,155,62,35,179,64,130,131,100,68,65,66,67,45,69,208]),import.meta.url),"./src/components/ebay-star-rating-select/star-rating-select.stories.ts":async()=>t(()=>import("./star-rating-select.stories-fS4VlSVP.js"),__vite__mapDeps([209,20,22,2,3,157,24,25,26,27,36,210]),import.meta.url),"./src/components/ebay-star-rating/star-rating.stories.ts":async()=>t(()=>import("./star-rating.stories-7TI2fslN.js"),__vite__mapDeps([211,20,22,2,3,24,25,26,27,36,157]),import.meta.url),"./src/components/ebay-switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-UF4NyFF7.js"),__vite__mapDeps([212,20,22,2,3,36,27,213]),import.meta.url),"./src/components/ebay-tabs/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-JXILtgD2.js"),__vite__mapDeps([214,21,20,22,2,3,34,131,100,68,39,124]),import.meta.url),"./src/components/ebay-textbox/textbox.stories.ts":async()=>t(()=>import("./textbox.stories-foNXIX_I.js"),__vite__mapDeps([215,20,85,22,2,3,34,86,87,26,88,46,36,27,150,24,25,35]),import.meta.url),"./src/components/ebay-toast-dialog/toast-dialog.stories.ts":async()=>t(()=>import("./toast-dialog.stories-ZPERgarZ.js"),__vite__mapDeps([216,22,2,3,35,36,37,28,29,24,25,26,27,30,34,38,39,40,41,42,43,44,45,46,217]),import.meta.url),"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts":async()=>t(()=>import("./toggle-button-group.stories-OLWMihsl.js"),__vite__mapDeps([218,20,21,22,2,3,219,34,220,27,35,146,24,25,26,147,37,28,29,30,38,39,40,221]),import.meta.url),"./src/components/ebay-toggle-button/toggle-button.stories.ts":async()=>t(()=>import("./toggle-button.stories-A4gsGZ6z.js"),__vite__mapDeps([222,20,21,219,22,2,3,34,220,35,143,24,25,26,27,36]),import.meta.url),"./src/components/ebay-tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-STM6MrnG.js"),__vite__mapDeps([223,20,21,22,2,3,43,27,34,162,42,24,25,26,67,68,45,44,39,147,35,36,224,46]),import.meta.url),"./src/components/ebay-tourtip/tourtip.stories.ts":async()=>t(()=>import("./tourtip.stories-aajcNxke.js"),__vite__mapDeps([225,21,22,2,3,34,81,35,162,42,24,25,26,27,67,68,45,226,46]),import.meta.url),"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts":async()=>t(()=>import("./tri-state-checkbox.stories-AW1xDdOW.js"),__vite__mapDeps([227,20,22,2,3,90,91,24,25,26,27,92,93,148,36]),import.meta.url),"./src/components/ebay-video/video.stories.ts":async()=>t(()=>import("./video.stories-8st-35p0.js"),__vite__mapDeps([228,20,22,2,3,43,27,79,23,24,25,26,28,29,30,152,31,229]),import.meta.url)};async function P(s){return R[s]()}const{composeConfigs:T,PreviewWeb:v,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const s=await Promise.all([t(()=>import("./config-YBlKI9oJ.js"),__vite__mapDeps([230,4,2]),import.meta.url),t(()=>import("./preview--VEjxujP.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-OnO0tzRj.js"),__vite__mapDeps([231,5]),import.meta.url),t(()=>import("./preview-FekBEZxm.js"),__vite__mapDeps([232,5]),import.meta.url),t(()=>import("./preview-TkXSQy1x.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([233,5]),import.meta.url),t(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-Cl87ww1j.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-qfiCJzVM.js"),__vite__mapDeps([234,235]),import.meta.url)]);return T(s)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:I});export{t as _}; +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const r of e.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&m(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function m(o){if(o.ep)return;o.ep=!0;const e=n(o);fetch(o.href,e)}})();const d="modulepreload",y=function(s,i){return new URL(s,i).href},l={},t=function(i,n,m){let o=Promise.resolve();if(n&&n.length>0){const e=document.getElementsByTagName("link");o=Promise.all(n.map(r=>{if(r=y(r,m),r in l)return;l[r]=!0;const a=r.endsWith(".css"),E=a?'[rel="stylesheet"]':"";if(!!m)for(let c=e.length-1;c>=0;c--){const p=e[c];if(p.href===r&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const _=document.createElement("link");if(_.rel=a?"stylesheet":d,a||(_.as="script",_.crossOrigin=""),_.href=r,document.head.appendChild(_),a)return new Promise((c,p)=>{_.addEventListener("load",c),_.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${r}`)))})}))}return o.then(()=>i()).catch(e=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=e,window.dispatchEvent(r),!r.defaultPrevented)throw e})},{createBrowserChannel:O}=__STORYBOOK_MODULE_CHANNELS__,{addons:b}=__STORYBOOK_MODULE_PREVIEW_API__,u=O({page:"preview"});b.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const R={"./src/components/documentation/categories/building-blocks.stories.mdx":async()=>t(()=>import("./building-blocks.stories-vF1uAdZr.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/buttons.stories.mdx":async()=>t(()=>import("./buttons.stories-feyHzu9O.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/dialogs.stories.mdx":async()=>t(()=>import("./dialogs.stories-46MspXbs.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/form-input.stories.mdx":async()=>t(()=>import("./form-input.stories-sRYdr5wC.js"),__vite__mapDeps([10,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/graphics-and-icons.stories.mdx":async()=>t(()=>import("./graphics-and-icons.stories-fM6XboHN.js"),__vite__mapDeps([11,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/media.stories.mdx":async()=>t(()=>import("./media.stories-uYCX8J74.js"),__vite__mapDeps([12,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/navigation-and-disclosure.stories.mdx":async()=>t(()=>import("./navigation-and-disclosure.stories-z_0WdxY7.js"),__vite__mapDeps([13,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/notices-and-tips.stories.mdx":async()=>t(()=>import("./notices-and-tips.stories-sz4tD2Rm.js"),__vite__mapDeps([14,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/categories/progress.stories.mdx":async()=>t(()=>import("./progress.stories-xJrDuoK7.js"),__vite__mapDeps([15,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/contributing.stories.mdx":async()=>t(()=>import("./contributing.stories-zc3fxGyh.js"),__vite__mapDeps([16,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/getting-started.stories.mdx":async()=>t(()=>import("./getting-started.stories-ZlqOpC8c.js"),__vite__mapDeps([17,1,2,3,4,5,6,7]),import.meta.url),"./src/components/documentation/welcome.stories.mdx":async()=>t(()=>import("./welcome.stories-m2dKJW3M.js"),__vite__mapDeps([18,1,2,3,4,5,6,7]),import.meta.url),"./src/components/ebay-3d-viewer/3d-viewer.stories.ts":async()=>t(()=>import("./3d-viewer.stories-SYvPVUGI.js"),__vite__mapDeps([19,20,21,22,2,3,23,24,25,26,27,28,29,30,31,32]),import.meta.url),"./src/components/ebay-alert-dialog/alert-dialog.stories.ts":async()=>t(()=>import("./alert-dialog.stories-VgXSoFRm.js"),__vite__mapDeps([33,21,22,2,3,34,35,36,37,28,29,24,25,26,27,30,38,39,40,41,42,43,44,45,46,47]),import.meta.url),"./src/components/ebay-avatar/avatar.stories.ts":async()=>t(()=>import("./avatar.stories-jz0zqpDq.js"),__vite__mapDeps([48,20,21,22,2,3,34,49,24,25,26,27,35,50]),import.meta.url),"./src/components/ebay-badge/badge.stories.ts":async()=>t(()=>import("./badge.stories-ExtV6LaU.js"),__vite__mapDeps([51,20,52,22,2,3,53]),import.meta.url),"./src/components/ebay-breadcrumbs/breadcrumbs.stories.ts":async()=>t(()=>import("./breadcrumbs.stories-zNIuyDPz.js"),__vite__mapDeps([54,20,21,22,2,3,55,24,25,26,27,56,57,34,35,58,59,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,70,71]),import.meta.url),"./src/components/ebay-button/button.stories.ts":async()=>t(()=>import("./button.stories-FdEYs1I0.js"),__vite__mapDeps([72,20,21,37,22,2,3,28,29,24,25,26,27,30,34,38,39,40]),import.meta.url),"./src/components/ebay-calendar/calendar.stories.ts":async()=>t(()=>import("./calendar.stories-UqN2zNrW.js"),__vite__mapDeps([73,21,20,74,22,2,3,75,24,25,26,27,59,34,52,53,39,46,40,60,76]),import.meta.url),"./src/components/ebay-carousel/carousel.stories.ts":async()=>t(()=>import("./carousel.stories-cvRwb8Ox.js"),__vite__mapDeps([77,20,22,2,3,78,24,25,26,27,34,79,70,45,39,36,80,81,35,41,42,43,44,46,82,83]),import.meta.url),"./src/components/ebay-character-count/character-count.stories.ts":async()=>t(()=>import("./character-count.stories-iJrz0F8I.js"),__vite__mapDeps([84,21,20,22,2,3,34,36,85,86,87,26,88,46,27]),import.meta.url),"./src/components/ebay-checkbox/checkbox.stories.ts":async()=>t(()=>import("./checkbox.stories-zA0Ur1nv.js"),__vite__mapDeps([89,20,90,22,2,3,91,24,25,26,27,92,93,36]),import.meta.url),"./src/components/ebay-chip/chip.stories.ts":async()=>t(()=>import("./chip.stories-mjjyyNjN.js"),__vite__mapDeps([94,20,21,95,22,2,3,34,42,24,25,26,27,96]),import.meta.url),"./src/components/ebay-chips-combobox/chips-combobox.stories.ts":async()=>t(()=>import("./chips-combobox.stories-rZ7pvMOf.js"),__vite__mapDeps([97,21,22,2,3,95,34,42,24,25,26,27,96,35,98,38,62,44,99,100,68,86,67,45,39,101,46,88,102]),import.meta.url),"./src/components/ebay-combobox/combobox.stories.ts":async()=>t(()=>import("./combobox.stories-PscbGc3Z.js"),__vite__mapDeps([103,21,20,98,22,2,3,34,38,24,25,26,27,62,44,99,100,68,86,67,45,39,101,46,88,35]),import.meta.url),"./src/components/ebay-confirm-dialog/confirm-dialog.stories.ts":async()=>t(()=>import("./confirm-dialog.stories-2PSPVV4U.js"),__vite__mapDeps([104,21,22,2,3,34,35,36,37,28,29,24,25,26,27,30,38,39,40,41,42,43,44,45,46,105]),import.meta.url),"./src/components/ebay-cta-button/cta-button.stories.ts":async()=>t(()=>import("./cta-button.stories-tjsJlL7I.js"),__vite__mapDeps([106,20,22,2,3,34,107,24,25,26,27,108]),import.meta.url),"./src/components/ebay-date-textbox/date-textbox.stories.ts":async()=>t(()=>import("./date-textbox.stories-d4mNRVjw.js"),__vite__mapDeps([109,21,20,22,2,3,85,34,86,87,26,88,46,27,110,24,25,35,43,74,75,59,52,53,39,40,60,76,67,68,45,37,28,29,30,38,111]),import.meta.url),"./src/components/ebay-details/details.stories.ts":async()=>t(()=>import("./details.stories-2aBNNFIV.js"),__vite__mapDeps([112,20,22,2,3,62,24,25,26,27,34,113]),import.meta.url),"./src/components/ebay-drawer-dialog/drawer-dialog.stories.ts":async()=>t(()=>import("./drawer-dialog.stories-nibUva87.js"),__vite__mapDeps([114,21,22,2,3,34,80,81,35,41,42,24,25,26,27,43,44,45,39,46,82,37,28,29,30,38,40,36]),import.meta.url),"./src/components/ebay-eek/eek.stories.ts":async()=>t(()=>import("./eek.stories-MQHfNfqb.js"),__vite__mapDeps([115,20,22,2,3,116,24,25,26,27,117]),import.meta.url),"./src/components/ebay-fake-link/fake-link.stories.ts":async()=>t(()=>import("./fake-link.stories-nfS8ruph.js"),__vite__mapDeps([118,20,119,22,2,3,34,39,60]),import.meta.url),"./src/components/ebay-fake-menu-button/fake-menu-button.stories.ts":async()=>t(()=>import("./fake-menu-button.stories-_ODOKTSC.js"),__vite__mapDeps([120,20,21,22,2,3,121,24,25,26,27,35,58,59,34,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,36]),import.meta.url),"./src/components/ebay-fake-menu/fake-menu.stories.ts":async()=>t(()=>import("./fake-menu.stories-GA_P4MKF.js"),__vite__mapDeps([122,21,20,63,22,2,3,34,52,53,27,64,24,25,26,39,65,66,35,36]),import.meta.url),"./src/components/ebay-fake-tabs/fake-tabs.stories.ts":async()=>t(()=>import("./fake-tabs.stories-utlSzejh.js"),__vite__mapDeps([123,21,20,22,2,3,34,124]),import.meta.url),"./src/components/ebay-filter-menu-button/filter-menu-button.stories.ts":async()=>t(()=>import("./filter-menu-button.stories-fdXskaRK.js"),__vite__mapDeps([125,20,21,22,2,3,62,24,25,26,27,44,35,81,34,126,127,128,129,93,90,91,92,130,131,100,68,39,65,132,67,45,133]),import.meta.url),"./src/components/ebay-filter-menu/filter-menu.stories.ts":async()=>t(()=>import("./filter-menu.stories-ucTwxg_r.js"),__vite__mapDeps([134,20,21,126,22,2,3,127,128,24,25,26,27,129,93,90,91,92,34,130,131,100,68,39,65,132]),import.meta.url),"./src/components/ebay-filter/filter.stories.ts":async()=>t(()=>import("./filter.stories-f32igx8W.js"),__vite__mapDeps([135,20,21,22,2,3,34,136]),import.meta.url),"./src/components/ebay-flag/flag.stories.ts":async()=>t(()=>import("./flag.stories-WT5_5pJ4.js"),__vite__mapDeps([137,22,2,3,24,25,26,27,36]),import.meta.url),"./src/components/ebay-fullscreen-dialog/fullsceen-dialog.stories.ts":async()=>t(()=>import("./fullsceen-dialog.stories-Q6WtF8eI.js"),__vite__mapDeps([138,21,22,2,3,34,41,42,24,25,26,27,43,44,45,39,46,37,28,29,30,38,40,139]),import.meta.url),"./src/components/ebay-icon-button/icon-button.stories.ts":async()=>t(()=>import("./icon-button.stories-gCxH5jzk.js"),__vite__mapDeps([140,21,22,2,3,141,24,25,26,27,59,34,52,53,39,46,40,60]),import.meta.url),"./src/components/ebay-icon/icon.stories.ts":async()=>t(()=>import("./icon.stories-FRaOscm1.js"),__vite__mapDeps([142,20,22,2,3,24,25,26,27,36,143,144,107,23,145,146,49,110,147,91,148,62,38,78,149,75,70,42,150,151,116,152,153,154,141,55,155,61,128,156,121,29,157,158,159,64]),import.meta.url),"./src/components/ebay-image-placeholder/image-placeholder.stories.ts":async()=>t(()=>import("./image-placeholder.stories-HgSdkhQB.js"),__vite__mapDeps([160,21,22,2,3,24,25,26,27]),import.meta.url),"./src/components/ebay-infotip/infotip.stories.ts":async()=>t(()=>import("./infotip.stories-XhuN9uYP.js"),__vite__mapDeps([161,21,22,2,3,34,154,24,25,26,27,162,42,67,68,45,44,35,163,41,43,39,46,164,36,165]),import.meta.url),"./src/components/ebay-inline-notice/inline-notice.stories.ts":async()=>t(()=>import("./inline-notice.stories-dwcBol80.js"),__vite__mapDeps([166,21,22,2,3,167,151,24,25,26,27,145,34,42,36,168]),import.meta.url),"./src/components/ebay-lightbox-dialog/lightbox-dialog.stories.ts":async()=>t(()=>import("./lightbox-dialog.stories-ZfQ3lGNk.js"),__vite__mapDeps([169,21,22,2,3,34,81,35,36,163,41,42,24,25,26,27,43,44,45,39,46,164,37,28,29,30,38,40,149]),import.meta.url),"./src/components/ebay-line-chart/line-chart.stories.ts":async()=>t(()=>import("./line-chart.stories-YRw1-ISh.js"),__vite__mapDeps([170,20,21,22,2,3,31,39,36,171]),import.meta.url),"./src/components/ebay-listbox-button/listbox-button.stories.ts":async()=>t(()=>import("./listbox-button.stories-UDvhkbUN.js"),__vite__mapDeps([172,20,21,22,2,3,38,24,25,26,27,35,173,34,64,44,99,100,68,39,174,67,45,130,145,36,175]),import.meta.url),"./src/components/ebay-listbox/listbox.stories.ts":async()=>t(()=>import("./listbox.stories-4K52zH_b.js"),__vite__mapDeps([176,21,20,173,22,2,3,34,64,24,25,26,27,44,99,100,68,39,174,35]),import.meta.url),"./src/components/ebay-menu-button/menu-button.stories.ts":async()=>t(()=>import("./menu-button.stories-frIItZ7A.js"),__vite__mapDeps([177,20,21,22,2,3,35,178,59,34,52,53,27,39,46,40,60,37,28,29,24,25,26,30,38,155,62,179,64,130,131,100,68,65,66,67,45,69,121,36]),import.meta.url),"./src/components/ebay-menu/menu.stories.ts":async()=>t(()=>import("./menu.stories-xHza_I2D.js"),__vite__mapDeps([180,21,20,179,22,2,3,34,52,53,27,64,24,25,26,130,131,100,68,39,65,66,35,36]),import.meta.url),"./src/components/ebay-page-notice/page-notice.stories.ts":async()=>t(()=>import("./page-notice.stories-PsXh_Wfe.js"),__vite__mapDeps([181,20,21,22,2,3,167,151,24,25,26,27,145,34,42,36,35,119,39,60,182]),import.meta.url),"./src/components/ebay-pagination/pagination.stories.ts":async()=>t(()=>import("./pagination.stories-yyXefkdt.js"),__vite__mapDeps([183,21,20,22,2,3,144,24,25,26,27,56,57,34,35,58,59,52,53,39,46,40,60,37,28,29,30,38,61,62,63,64,65,66,67,68,45,69,184]),import.meta.url),"./src/components/ebay-panel-dialog/panel-dialog.stories.ts":async()=>t(()=>import("./panel-dialog.stories-RS5CBpTy.js"),__vite__mapDeps([185,20,22,2,3,35,36,34,41,42,24,25,26,27,43,44,45,39,46,37,28,29,30,38,40,186]),import.meta.url),"./src/components/ebay-progress-bar/progress-bar.stories.ts":async()=>t(()=>import("./progress-bar.stories-ax6XfdFf.js"),__vite__mapDeps([187,20,22,2,3,188]),import.meta.url),"./src/components/ebay-progress-spinner/progress-spinner.stories.ts":async()=>t(()=>import("./progress-spinner.stories-ckYx03Kp.js"),__vite__mapDeps([189,20,28,22,2,3,29,24,25,26,27,30]),import.meta.url),"./src/components/ebay-progress-stepper/progress-stepper.stories.ts":async()=>t(()=>import("./progress-stepper.stories-ANAqXJKn.js"),__vite__mapDeps([190,20,21,22,2,3,34,158,24,25,26,27,191]),import.meta.url),"./src/components/ebay-radio/radio.stories.ts":async()=>t(()=>import("./radio.stories--l0nycau.js"),__vite__mapDeps([192,20,127,22,2,3,128,24,25,26,27,129,93,36]),import.meta.url),"./src/components/ebay-section-notice/section-notice.stories.ts":async()=>t(()=>import("./section-notice.stories-b1zZBJ1T.js"),__vite__mapDeps([193,20,21,22,2,3,167,151,24,25,26,27,145,34,42,36,35,119,39,60,159,194]),import.meta.url),"./src/components/ebay-section-title/section-title.stories.ts":async()=>t(()=>import("./section-title.stories-0EeB-iIX.js"),__vite__mapDeps([195,20,21,22,2,3,34,35,178,59,52,53,27,39,46,40,60,37,28,29,24,25,26,30,38,155,62,179,64,130,131,100,68,65,66,67,45,69,156,196]),import.meta.url),"./src/components/ebay-segmented-buttons/segmented-buttons.stories.ts":async()=>t(()=>import("./segmented-buttons.stories-N3bT2u9a.js"),__vite__mapDeps([197,20,21,22,2,3,34,153,24,25,26,27,35,198]),import.meta.url),"./src/components/ebay-select/select.stories.ts":async()=>t(()=>import("./select.stories-NNcfCNoa.js"),__vite__mapDeps([199,20,22,2,3,62,24,25,26,27,86,36,35,37,28,29,30,34,38,39,40,200]),import.meta.url),"./src/components/ebay-signal/signal.stories.ts":async()=>t(()=>import("./signal.stories-oXqhHLg4.js"),__vite__mapDeps([201,20,22,2,3,34,202]),import.meta.url),"./src/components/ebay-skeleton/skeleton.stories.ts":async()=>t(()=>import("./skeleton.stories-Q6itDuRD.js"),__vite__mapDeps([203,20,21,22,2,3,34,27,36,37,28,29,24,25,26,30,38,39,40,204]),import.meta.url),"./src/components/ebay-snackbar-dialog/snackbar-dialog.stories.ts":async()=>t(()=>import("./snackbar-dialog.stories-AdcwIyg6.js"),__vite__mapDeps([205,22,2,3,37,28,29,24,25,26,27,30,34,38,39,40,119,60,81,35,41,42,43,44,45,46,206]),import.meta.url),"./src/components/ebay-split-button/split-button.stories.ts":async()=>t(()=>import("./split-button.stories-Y11ODcos.js"),__vite__mapDeps([207,20,21,22,2,3,34,37,28,29,24,25,26,27,30,38,39,40,178,59,52,53,46,60,155,62,35,179,64,130,131,100,68,65,66,67,45,69,208]),import.meta.url),"./src/components/ebay-star-rating-select/star-rating-select.stories.ts":async()=>t(()=>import("./star-rating-select.stories-Cw7iznyY.js"),__vite__mapDeps([209,20,22,2,3,157,24,25,26,27,36,210]),import.meta.url),"./src/components/ebay-star-rating/star-rating.stories.ts":async()=>t(()=>import("./star-rating.stories-03mY9CKD.js"),__vite__mapDeps([211,20,22,2,3,24,25,26,27,36,157]),import.meta.url),"./src/components/ebay-switch/switch.stories.ts":async()=>t(()=>import("./switch.stories-UF4NyFF7.js"),__vite__mapDeps([212,20,22,2,3,36,27,213]),import.meta.url),"./src/components/ebay-tabs/tabs.stories.ts":async()=>t(()=>import("./tabs.stories-JXILtgD2.js"),__vite__mapDeps([214,21,20,22,2,3,34,131,100,68,39,124]),import.meta.url),"./src/components/ebay-textbox/textbox.stories.ts":async()=>t(()=>import("./textbox.stories-nLRb5hRp.js"),__vite__mapDeps([215,20,85,22,2,3,34,86,87,26,88,46,36,27,150,24,25,35]),import.meta.url),"./src/components/ebay-toast-dialog/toast-dialog.stories.ts":async()=>t(()=>import("./toast-dialog.stories-b5lOSfVg.js"),__vite__mapDeps([216,22,2,3,35,36,37,28,29,24,25,26,27,30,34,38,39,40,41,42,43,44,45,46,217]),import.meta.url),"./src/components/ebay-toggle-button-group/toggle-button-group.stories.ts":async()=>t(()=>import("./toggle-button-group.stories-tB-YMHXJ.js"),__vite__mapDeps([218,20,21,22,2,3,219,34,220,27,35,146,24,25,26,147,37,28,29,30,38,39,40,221]),import.meta.url),"./src/components/ebay-toggle-button/toggle-button.stories.ts":async()=>t(()=>import("./toggle-button.stories-DfcrQG2R.js"),__vite__mapDeps([222,20,21,219,22,2,3,34,220,35,143,24,25,26,27,36]),import.meta.url),"./src/components/ebay-tooltip/tooltip.stories.ts":async()=>t(()=>import("./tooltip.stories-vouXGOUW.js"),__vite__mapDeps([223,20,21,22,2,3,43,27,34,162,42,24,25,26,67,68,45,44,39,147,35,36,224,46]),import.meta.url),"./src/components/ebay-tourtip/tourtip.stories.ts":async()=>t(()=>import("./tourtip.stories-LcWWpgDw.js"),__vite__mapDeps([225,21,22,2,3,34,81,35,162,42,24,25,26,27,67,68,45,226,46]),import.meta.url),"./src/components/ebay-tri-state-checkbox/tri-state-checkbox.stories.ts":async()=>t(()=>import("./tri-state-checkbox.stories-GkEPVrAi.js"),__vite__mapDeps([227,20,22,2,3,90,91,24,25,26,27,92,93,148,36]),import.meta.url),"./src/components/ebay-video/video.stories.ts":async()=>t(()=>import("./video.stories-oPo5AnoI.js"),__vite__mapDeps([228,20,22,2,3,43,27,79,23,24,25,26,28,29,30,152,31,229]),import.meta.url)};async function P(s){return R[s]()}const{composeConfigs:T,PreviewWeb:v,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const s=await Promise.all([t(()=>import("./config-YBlKI9oJ.js"),__vite__mapDeps([230,4,2]),import.meta.url),t(()=>import("./preview-g2EqKIUf.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-OnO0tzRj.js"),__vite__mapDeps([231,5]),import.meta.url),t(()=>import("./preview-FekBEZxm.js"),__vite__mapDeps([232,5]),import.meta.url),t(()=>import("./preview-TkXSQy1x.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([233,5]),import.meta.url),t(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview--VMa4KqD.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-qfiCJzVM.js"),__vite__mapDeps([234,235]),import.meta.url)]);return T(s)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:I});export{t as _}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./building-blocks.stories-zF2-9yJh.js","./chunk-HLWAVYOI-bPp9GyXi.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js","./jsx-runtime-pr3uamGJ.js","./index-_vCgt_Po.js","./buttons.stories-q4_Alw3p.js","./dialogs.stories-Dira20gs.js","./form-input.stories-1R-sA5Kl.js","./graphics-and-icons.stories-7jLgoRqS.js","./media.stories-uhyK5QSy.js","./navigation-and-disclosure.stories-o8zJSxE6.js","./notices-and-tips.stories-I0-XD4Sk.js","./progress.stories-CnBUGfIX.js","./contributing.stories-LUD2uMc4.js","./getting-started.stories-OnkcFjUB.js","./welcome.stories-zWkg26dj.js","./3d-viewer.stories-jh0Eblw_.js","./index-iqhZMf16.js","./utils-NX-dnf4r.js","./registry-zqrnEiYK.js","./index-pG5dWoAQ.js","./index-dCAZr4YS.js","./index-5bj3BNkR.css","./icon-JeV8OI4q.css","./render-tag-_0PNNh6Y.js","./index-XUhq6uHT.js","./index-q7KQv1ry.js","./index-09ajaUab.css","./index-KUK9pJct.js","./3d-viewer-h8QVCzmr.css","./alert-dialog.stories-vx5d0LbR.js","./dynamic-tag-4Gch17f1.js","./self-iterator-6yU_KG2T.js","./v-element-BABk39ab.js","./index-tjucyUeZ.js","./index-i1smj9EI.js","./index-XjwwBzg5.js","./button-DuibivjP.css","./index-CCP4HZWQ.js","./index-0sOjhOVp.js","./index-DimFlsuh.js","./preserve-attrs-PKQRsRTw.js","./index-ERL0bCNR.js","./icon-button-r4F6rrLl.css","./alert-dialog-FdSoI7ok.css","./avatar.stories-2hWCsX8G.js","./index-2yWgcJbo.js","./avatar-MCTFq3Yg.css","./badge.stories-ExtV6LaU.js","./index-4Ud0-PVY.js","./index-LtMWb4Pu.css","./breadcrumbs.stories-hmM2tVBk.js","./index-zgw-oVoj.js","./index-ekEOByf5.js","./index-9uvuMcR1.css","./index-WZOdYf_S.js","./index-7jFeXTCh.js","./link-LriRlCyc.css","./index-WjSr7Aa1.js","./index--HiXohkr.js","./index-XBFm0t4a.js","./index-Zo2k51hY.js","./index-j-rYSiF3.js","./menu-YwiKXcyk.css","./index-l3FQEXUN.js","./index-QGVtTfuc.js","./menu-button-nbFEczTA.css","./index-MwzY8iYS.js","./breadcrumbs-AfLnzENC.css","./button.stories-2Fv2DOUQ.js","./calendar.stories-K4ghkDPU.js","./index-8tJUpmL_.js","./index--MAS_RS0.js","./index-UC7KN7Wc.css","./carousel.stories-i9ZNcCLz.js","./index-w1q3zmbb.js","./preserve-tag-alJxPOrs.js","./index-W-vPr4VJ.js","./repeatable-jmdwKenu.js","./index-KG4EeeMz.css","./carousel-9Inb8rJr.css","./character-count.stories-iJrz0F8I.js","./index-alcEgMKG.js","./index-4ijq5S5t.js","./index-1OYwTEO6.css","./floating-label-2QF4VViH.css","./checkbox.stories-PD9-YnYO.js","./index-4lRyQCLB.js","./index-nYpLpsKM.js","./index-_TcA5lBJ.css","./field-rz4mQ_0X.css","./chip.stories-VMG-jgOe.js","./index-oMMN6Ovq.js","./index-jO7BAFEy.css","./chips-combobox.stories-d7ZBJ1kD.js","./index-touo30Yf.js","./index-QozpcpzM.js","./index-J8CKH9U9.js","./index-zdLT3KyI.css","./chips-combobox-LGzUlTtf.css","./combobox.stories-tGa2Zy5a.js","./confirm-dialog.stories-q423uYZb.js","./confirm-dialog-XCWgnG92.css","./cta-button.stories-8pXlzI1s.js","./index-H0xcJQHr.js","./cta-button-vHLxVn21.css","./date-textbox.stories-K7yKyHxl.js","./index-I1TU7Smy.js","./date-textbox-QexU5Hdm.css","./details.stories-sfhanW29.js","./details-kzmBjqaR.css","./drawer-dialog.stories-Y8TKTI07.js","./eek.stories-wdiclHp7.js","./index-53xkO1un.js","./eek-2XrM6nV3.css","./fake-link.stories-nfS8ruph.js","./index-VMMXlPq4.js","./fake-menu-button.stories-6ugizPQ9.js","./index-ybkHVAw4.js","./fake-menu.stories-AKwugN03.js","./fake-tabs.stories-utlSzejh.js","./tabs-89qlGSta.css","./filter-menu-button.stories-pxXJLOtg.js","./index-j0YARFrY.js","./index-mTXoXd8D.js","./index-X2pdjzRH.js","./index-b978tBPO.css","./index-sDZ0BqWo.js","./index-j_KV6Utw.js","./index-BQb33wob.css","./filter-menu-button--tXoSHTe.css","./filter-menu.stories-qpjfu94d.js","./filter.stories-f32igx8W.js","./filter-W3e25s21.css","./flag.stories-xtBJkI5n.js","./fullsceen-dialog.stories-sne0WhFK.js","./fullsceen-dialog-_-2GuQl1.css","./icon-button.stories-YenrQjPR.js","./index-177SSPcF.js","./icon.stories-5DK0SyyV.js","./index-98HIjKfK.js","./index-0REQdKOV.js","./index-PAD5b3ff.js","./index-BUVaW_kc.js","./index-b0EQ-PRm.js","./index-8TTZzN75.js","./index-jhxbAhNi.js","./index-Cl8k8pjy.js","./index-zgZrJxNG.js","./index-fGg5uNfp.js","./index-vuK-pQni.js","./index-L4qsNbB0.js","./index-wCr-XJjZ.js","./index-nX8OTwbZ.js","./index-htmMtdsF.js","./index-x0gYoDBY.js","./index-opp8Qyw0.js","./image-placeholder.stories-jpK-nJA7.js","./infotip.stories--JyQl7_C.js","./index-ZDtYD_HQ.js","./index--Q9rylnC.js","./index-K4S17IrS.css","./infotip-vGz3heEt.css","./inline-notice.stories-XtP_eNaD.js","./index-ZhNkRMuN.js","./inline-notice-I7MepQgl.css","./lightbox-dialog.stories-yQQY5azz.js","./line-chart.stories-YRw1-ISh.js","./line-chart-TiABcchl.css","./listbox-button.stories-ecuDiVvH.js","./index-9wWf9YFH.js","./index-YO_7niK5.css","./listbox-button-zikfLrHV.css","./listbox.stories-zo_RzSwK.js","./menu-button.stories-BJ203mGi.js","./index-Vc-PSg2d.js","./index-wCG8Mexi.js","./menu.stories-ZwHg0g-F.js","./page-notice.stories-2K5XpTVA.js","./page-notice-R7vYLvmA.css","./pagination.stories-dlcBSOkU.js","./pagination-yMIbF1jy.css","./panel-dialog.stories-kfeA-QcU.js","./panel-dialog-3bkh69RC.css","./progress-bar.stories-ax6XfdFf.js","./progress-bar-tVFfpJ-U.css","./progress-spinner.stories-0y-DF_rY.js","./progress-stepper.stories-Zl7EX1Bc.js","./progress-stepper-mGQW5i9o.css","./radio.stories-MvXv_M9D.js","./section-notice.stories-McC5N1Cp.js","./section-notice-dMfJ5WXY.css","./section-title.stories-DGJYi_4P.js","./section-title-j3YkKh-K.css","./segmented-buttons.stories-e-N-aZ-Z.js","./segmented-buttons-i7PLd3Qz.css","./select.stories-nkIpInTV.js","./select-jCpvGLFA.css","./signal.stories-oXqhHLg4.js","./signal-W8S0norp.css","./skeleton.stories-oPJaHuL1.js","./skeleton-sRSEzFIr.css","./snackbar-dialog.stories-Yq9nnI3e.js","./snackbar-dialog-rrEvrrKR.css","./split-button.stories-CyiyPRSD.js","./split-button-PPFllR6D.css","./star-rating-select.stories-fS4VlSVP.js","./star-rating-select-5DCv814z.css","./star-rating.stories-7TI2fslN.js","./switch.stories-UF4NyFF7.js","./switch--M8HvNiT.css","./tabs.stories-JXILtgD2.js","./textbox.stories-foNXIX_I.js","./toast-dialog.stories-ZPERgarZ.js","./toast-dialog-ZYr9nYvk.css","./toggle-button-group.stories-OLWMihsl.js","./index-o6FvWjBp.js","./index-yoIlSmPy.css","./toggle-button-group-R7AOMvYE.css","./toggle-button.stories-A4gsGZ6z.js","./tooltip.stories-STM6MrnG.js","./tooltip-ij_ezr9D.css","./tourtip.stories-aajcNxke.js","./tourtip-BxBO-rEm.css","./tri-state-checkbox.stories-AW1xDdOW.js","./video.stories-8st-35p0.js","./video-x3Ef4P7L.css","./config-YBlKI9oJ.js","./preview-OnO0tzRj.js","./preview-FekBEZxm.js","./preview-u8M_OEO2.js","./preview-qfiCJzVM.js","./preview-bXymmJME.css"] + __vite__mapDeps.viteFileDeps = ["./building-blocks.stories-vF1uAdZr.js","./chunk-HLWAVYOI-CrIFzHE4.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js","./jsx-runtime--PYeNBHd.js","./index-afjEbwFG.js","./buttons.stories-feyHzu9O.js","./dialogs.stories-46MspXbs.js","./form-input.stories-sRYdr5wC.js","./graphics-and-icons.stories-fM6XboHN.js","./media.stories-uYCX8J74.js","./navigation-and-disclosure.stories-z_0WdxY7.js","./notices-and-tips.stories-sz4tD2Rm.js","./progress.stories-xJrDuoK7.js","./contributing.stories-zc3fxGyh.js","./getting-started.stories-ZlqOpC8c.js","./welcome.stories-m2dKJW3M.js","./3d-viewer.stories-SYvPVUGI.js","./index-iqhZMf16.js","./utils-NX-dnf4r.js","./registry-zqrnEiYK.js","./index-BHGYRQhO.js","./index-T-tr__32.js","./index-5bj3BNkR.css","./icon-JeV8OI4q.css","./render-tag-_0PNNh6Y.js","./index-Fzo01Ouc.js","./index-o5F2CW61.js","./index-09ajaUab.css","./index-KUK9pJct.js","./3d-viewer-h8QVCzmr.css","./alert-dialog.stories-VgXSoFRm.js","./dynamic-tag-4Gch17f1.js","./self-iterator-6yU_KG2T.js","./v-element-BABk39ab.js","./index-g2xi1LKt.js","./index-kURT6dDW.js","./index-XjwwBzg5.js","./button-DuibivjP.css","./index-XLHqpDln.js","./index-avw8iGTO.js","./index-DimFlsuh.js","./preserve-attrs-PKQRsRTw.js","./index-ERL0bCNR.js","./icon-button-r4F6rrLl.css","./alert-dialog-FdSoI7ok.css","./avatar.stories-jz0zqpDq.js","./index-hesef6OJ.js","./avatar-MCTFq3Yg.css","./badge.stories-ExtV6LaU.js","./index-4Ud0-PVY.js","./index-LtMWb4Pu.css","./breadcrumbs.stories-zNIuyDPz.js","./index-w_DyqyRi.js","./index-ekEOByf5.js","./index-9uvuMcR1.css","./index-BndDE7o0.js","./index-7jFeXTCh.js","./link-LriRlCyc.css","./index-S21L6oUf.js","./index-fsHgTAj9.js","./index-yX95ckNV.js","./index-FQXijakt.js","./index-j-rYSiF3.js","./menu-YwiKXcyk.css","./index-l3FQEXUN.js","./index-QGVtTfuc.js","./menu-button-nbFEczTA.css","./index-Yh_PXuyA.js","./breadcrumbs-AfLnzENC.css","./button.stories-FdEYs1I0.js","./calendar.stories-UqN2zNrW.js","./index-qGww6RZi.js","./index-nZ7E-k9d.js","./index-UC7KN7Wc.css","./carousel.stories-cvRwb8Ox.js","./index-rQljMZk-.js","./preserve-tag-alJxPOrs.js","./index-c4SlkSUb.js","./repeatable-jmdwKenu.js","./index-KG4EeeMz.css","./carousel-9Inb8rJr.css","./character-count.stories-iJrz0F8I.js","./index-alcEgMKG.js","./index-4ijq5S5t.js","./index-1OYwTEO6.css","./floating-label-2QF4VViH.css","./checkbox.stories-zA0Ur1nv.js","./index-aYjb7RMT.js","./index-GxCEZ36B.js","./index-_TcA5lBJ.css","./field-rz4mQ_0X.css","./chip.stories-mjjyyNjN.js","./index-V1SEMiue.js","./index-jO7BAFEy.css","./chips-combobox.stories-rZ7pvMOf.js","./index-asvJB4Ap.js","./index-QozpcpzM.js","./index-J8CKH9U9.js","./index-zdLT3KyI.css","./chips-combobox-LGzUlTtf.css","./combobox.stories-PscbGc3Z.js","./confirm-dialog.stories-2PSPVV4U.js","./confirm-dialog-XCWgnG92.css","./cta-button.stories-tjsJlL7I.js","./index-xNrGRUEM.js","./cta-button-vHLxVn21.css","./date-textbox.stories-d4mNRVjw.js","./index-sQkzr8PD.js","./date-textbox-QexU5Hdm.css","./details.stories-2aBNNFIV.js","./details-kzmBjqaR.css","./drawer-dialog.stories-nibUva87.js","./eek.stories-MQHfNfqb.js","./index-HQLllDUD.js","./eek-2XrM6nV3.css","./fake-link.stories-nfS8ruph.js","./index-VMMXlPq4.js","./fake-menu-button.stories-_ODOKTSC.js","./index-t6MwYYcL.js","./fake-menu.stories-GA_P4MKF.js","./fake-tabs.stories-utlSzejh.js","./tabs-89qlGSta.css","./filter-menu-button.stories-fdXskaRK.js","./index-SwC3eOBR.js","./index-qcbGa1eL.js","./index-vNEQ4tAH.js","./index-b978tBPO.css","./index-sDZ0BqWo.js","./index-j_KV6Utw.js","./index-BQb33wob.css","./filter-menu-button--tXoSHTe.css","./filter-menu.stories-ucTwxg_r.js","./filter.stories-f32igx8W.js","./filter-W3e25s21.css","./flag.stories-WT5_5pJ4.js","./fullsceen-dialog.stories-Q6WtF8eI.js","./fullsceen-dialog-_-2GuQl1.css","./icon-button.stories-gCxH5jzk.js","./index-OgsNMRP5.js","./icon.stories-FRaOscm1.js","./index-qhjahFr3.js","./index-DC-x0-tf.js","./index-py3x4x1i.js","./index-oJVpUktL.js","./index-1yeo952A.js","./index-iOo4hJOd.js","./index-vM9MgpNM.js","./index-in-YqcOA.js","./index-0by-wmmq.js","./index-0xgPFV6K.js","./index-bDnsfnFH.js","./index-fBgtz-n7.js","./index-2FfeB2lc.js","./index-RuUXU4eA.js","./index-xFOS7_Jj.js","./index-0jjW2cVY.js","./index-D9357-oV.js","./image-placeholder.stories-HgSdkhQB.js","./infotip.stories-XhuN9uYP.js","./index-cvF98qL5.js","./index-H41CNw8Q.js","./index-K4S17IrS.css","./infotip-vGz3heEt.css","./inline-notice.stories-dwcBol80.js","./index-FbnwFjt5.js","./inline-notice-I7MepQgl.css","./lightbox-dialog.stories-ZfQ3lGNk.js","./line-chart.stories-YRw1-ISh.js","./line-chart-TiABcchl.css","./listbox-button.stories-UDvhkbUN.js","./index-mevY6pWh.js","./index-YO_7niK5.css","./listbox-button-zikfLrHV.css","./listbox.stories-4K52zH_b.js","./menu-button.stories-frIItZ7A.js","./index-KzZQXcwb.js","./index-wsKKJ7f4.js","./menu.stories-xHza_I2D.js","./page-notice.stories-PsXh_Wfe.js","./page-notice-R7vYLvmA.css","./pagination.stories-yyXefkdt.js","./pagination-yMIbF1jy.css","./panel-dialog.stories-RS5CBpTy.js","./panel-dialog-3bkh69RC.css","./progress-bar.stories-ax6XfdFf.js","./progress-bar-tVFfpJ-U.css","./progress-spinner.stories-ckYx03Kp.js","./progress-stepper.stories-ANAqXJKn.js","./progress-stepper-mGQW5i9o.css","./radio.stories--l0nycau.js","./section-notice.stories-b1zZBJ1T.js","./section-notice-dMfJ5WXY.css","./section-title.stories-0EeB-iIX.js","./section-title-j3YkKh-K.css","./segmented-buttons.stories-N3bT2u9a.js","./segmented-buttons-i7PLd3Qz.css","./select.stories-NNcfCNoa.js","./select-jCpvGLFA.css","./signal.stories-oXqhHLg4.js","./signal-W8S0norp.css","./skeleton.stories-Q6itDuRD.js","./skeleton-sRSEzFIr.css","./snackbar-dialog.stories-AdcwIyg6.js","./snackbar-dialog-rrEvrrKR.css","./split-button.stories-Y11ODcos.js","./split-button-PPFllR6D.css","./star-rating-select.stories-Cw7iznyY.js","./star-rating-select-5DCv814z.css","./star-rating.stories-03mY9CKD.js","./switch.stories-UF4NyFF7.js","./switch--M8HvNiT.css","./tabs.stories-JXILtgD2.js","./textbox.stories-nLRb5hRp.js","./toast-dialog.stories-b5lOSfVg.js","./toast-dialog-ZYr9nYvk.css","./toggle-button-group.stories-tB-YMHXJ.js","./index-o6FvWjBp.js","./index-yoIlSmPy.css","./toggle-button-group-R7AOMvYE.css","./toggle-button.stories-DfcrQG2R.js","./tooltip.stories-vouXGOUW.js","./tooltip-ij_ezr9D.css","./tourtip.stories-LcWWpgDw.js","./tourtip-BxBO-rEm.css","./tri-state-checkbox.stories-GkEPVrAi.js","./video.stories-oPo5AnoI.js","./video-x3Ef4P7L.css","./config-YBlKI9oJ.js","./preview-OnO0tzRj.js","./preview-FekBEZxm.js","./preview-u8M_OEO2.js","./preview-qfiCJzVM.js","./preview-bXymmJME.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/docs/assets/image-placeholder.stories-jpK-nJA7.js b/docs/assets/image-placeholder.stories-HgSdkhQB.js similarity index 98% rename from docs/assets/image-placeholder.stories-jpK-nJA7.js rename to docs/assets/image-placeholder.stories-HgSdkhQB.js index 377a29f12..2aa97ac4c 100644 --- a/docs/assets/image-placeholder.stories-jpK-nJA7.js +++ b/docs/assets/image-placeholder.stories-HgSdkhQB.js @@ -1,4 +1,4 @@ -import{b as D}from"./utils-NX-dnf4r.js";import{t as m,r as i,b as c,d as l}from"./registry-zqrnEiYK.js";/* empty css */import{_ as R}from"./index-dCAZr4YS.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const w=`

+import{b as D}from"./utils-NX-dnf4r.js";import{t as m,r as i,b as c,d as l}from"./registry-zqrnEiYK.js";/* empty css */import{_ as R}from"./index-T-tr__32.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const w=`

ebay-image-placeholder diff --git a/docs/assets/index-zgZrJxNG.js b/docs/assets/index-0by-wmmq.js similarity index 96% rename from docs/assets/index-zgZrJxNG.js rename to docs/assets/index-0by-wmmq.js index efe0f914c..ed60df085 100644 --- a/docs/assets/index-zgZrJxNG.js +++ b/docs/assets/index-0by-wmmq.js @@ -1 +1 @@ -import{r as _,b as l,d as r,t as i}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-dCAZr4YS.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";function Z(){return''}const s="dnjIccSC",e=i(s);_.r(s,()=>e);const h={};e._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"confirmation-filled-16",_type:"icon",_themes:Z},t,n,"0")},{t:s,i:!0},h);e.Component=r(h,e._);function g(){return''}const b="Liygu7mZ",a=i(b);_.r(b,()=>a);const k={};a._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"information-filled-16",_type:"icon",_themes:g},t,n,"0")},{t:b,i:!0},k);a.Component=r(k,a._);function v(){return''}const f="8DcUP99h",m=i(f);_.r(f,()=>m);const $={};m._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"lightbulb-24",_type:"icon",_themes:v},t,n,"0")},{t:f,i:!0},$);m.Component=r($,m._);export{e as _,a,m as b}; +import{r as _,b as l,d as r,t as i}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-T-tr__32.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";function Z(){return''}const s="dnjIccSC",e=i(s);_.r(s,()=>e);const h={};e._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"confirmation-filled-16",_type:"icon",_themes:Z},t,n,"0")},{t:s,i:!0},h);e.Component=r(h,e._);function g(){return''}const b="Liygu7mZ",a=i(b);_.r(b,()=>a);const k={};a._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"information-filled-16",_type:"icon",_themes:g},t,n,"0")},{t:b,i:!0},k);a.Component=r(k,a._);function v(){return''}const f="8DcUP99h",m=i(f);_.r(f,()=>m);const $={};m._=l(function(o,t,n,d,u,y){p(c,{...o,_name:"lightbulb-24",_type:"icon",_themes:v},t,n,"0")},{t:f,i:!0},$);m.Component=r($,m._);export{e as _,a,m as b}; diff --git a/docs/assets/index-x0gYoDBY.js b/docs/assets/index-0jjW2cVY.js similarity index 97% rename from docs/assets/index-x0gYoDBY.js rename to docs/assets/index-0jjW2cVY.js index 431493316..8492456aa 100644 --- a/docs/assets/index-x0gYoDBY.js +++ b/docs/assets/index-0jjW2cVY.js @@ -1 +1 @@ -import{r as p,b as c,d as i,t as s}from"./registry-zqrnEiYK.js";import{_}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function x(){return''}const d="Zd4EyLLX",n=s(d);p.r(d,()=>n);const g={};n._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-attention-24",_type:"icon",_themes:x},e,t,"0")},{t:d,i:!0},g);n.Component=i(g,n._);function z(){return''}const y="tv1KFfmn",r=s(y);p.r(y,()=>r);const C={};r._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-confirmation-24",_type:"icon",_themes:z},e,t,"0")},{t:y,i:!0},C);r.Component=i(C,r._);function M(){return''}const k="nRDfvLQm",a=s(k);p.r(k,()=>a);const $={};a._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-current-24",_type:"icon",_themes:M},e,t,"0")},{t:k,i:!0},$);a.Component=i($,a._);function Z(){return''}const v="xH89Hyy2",m=s(v);p.r(v,()=>m);const h={};m._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-upcoming-24",_type:"icon",_themes:Z},e,t,"0")},{t:v,i:!0},h);m.Component=i(h,m._);export{r as _,n as a,a as b,m as c}; +import{r as p,b as c,d as i,t as s}from"./registry-zqrnEiYK.js";import{_}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function x(){return''}const d="Zd4EyLLX",n=s(d);p.r(d,()=>n);const g={};n._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-attention-24",_type:"icon",_themes:x},e,t,"0")},{t:d,i:!0},g);n.Component=i(g,n._);function z(){return''}const y="tv1KFfmn",r=s(y);p.r(y,()=>r);const C={};r._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-confirmation-24",_type:"icon",_themes:z},e,t,"0")},{t:y,i:!0},C);r.Component=i(C,r._);function M(){return''}const k="nRDfvLQm",a=s(k);p.r(k,()=>a);const $={};a._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-current-24",_type:"icon",_themes:M},e,t,"0")},{t:k,i:!0},$);a.Component=i($,a._);function Z(){return''}const v="xH89Hyy2",m=s(v);p.r(v,()=>m);const h={};m._=c(function(o,e,t,u,f,b){l(_,{...o,_name:"stepper-upcoming-24",_type:"icon",_themes:Z},e,t,"0")},{t:v,i:!0},h);m.Component=i(h,m._);export{r as _,n as a,a as b,m as c}; diff --git a/docs/assets/index-fGg5uNfp.js b/docs/assets/index-0xgPFV6K.js similarity index 90% rename from docs/assets/index-fGg5uNfp.js rename to docs/assets/index-0xgPFV6K.js index 9bf8cb725..612ec506d 100644 --- a/docs/assets/index-fGg5uNfp.js +++ b/docs/assets/index-0xgPFV6K.js @@ -1 +1 @@ -import{r as n,b as _,d as l,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="2wsCtIF/",o=p(e);n.r(e,()=>o);const t={};o._=_(function(a,r,m,d,f,k){i(s,{...a,_name:"flag-24",_type:"icon",_themes:c},r,m,"0")},{t:e,i:!0},t);o.Component=l(t,o._);export{o as _}; +import{r as n,b as _,d as l,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="2wsCtIF/",o=p(e);n.r(e,()=>o);const t={};o._=_(function(a,r,m,d,f,k){i(s,{...a,_name:"flag-24",_type:"icon",_themes:c},r,m,"0")},{t:e,i:!0},t);o.Component=l(t,o._);export{o as _}; diff --git a/docs/assets/index-b0EQ-PRm.js b/docs/assets/index-1yeo952A.js similarity index 91% rename from docs/assets/index-b0EQ-PRm.js rename to docs/assets/index-1yeo952A.js index 8e4ab086a..ac954f664 100644 --- a/docs/assets/index-b0EQ-PRm.js +++ b/docs/assets/index-1yeo952A.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="4MicJwEg",o=l(t);n.r(t,()=>o);const a={};o._=_(function(e,r,m,d,h,f){s(i,{...e,_name:"cart-24",_type:"icon",_themes:c},r,m,"0")},{t,i:!0},a);o.Component=p(a,o._);export{o as _}; +import{r as n,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="4MicJwEg",o=l(t);n.r(t,()=>o);const a={};o._=_(function(e,r,m,d,h,f){s(i,{...e,_name:"cart-24",_type:"icon",_themes:c},r,m,"0")},{t,i:!0},a);o.Component=p(a,o._);export{o as _}; diff --git a/docs/assets/index-wCr-XJjZ.js b/docs/assets/index-2FfeB2lc.js similarity index 89% rename from docs/assets/index-wCr-XJjZ.js rename to docs/assets/index-2FfeB2lc.js index b31391063..6fa51e2f0 100644 --- a/docs/assets/index-wCr-XJjZ.js +++ b/docs/assets/index-2FfeB2lc.js @@ -1 +1 @@ -import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="WhHcu2qN",o=i(t);_.r(t,()=>o);const e={};o._=n(function(r,a,m,f,k,b){c(s,{...r,_name:"overflow-vertical-16",_type:"icon",_themes:l},a,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="WhHcu2qN",o=i(t);_.r(t,()=>o);const e={};o._=n(function(r,a,m,f,k,b){c(s,{...r,_name:"overflow-vertical-16",_type:"icon",_themes:l},a,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-zgkAIIgL.js b/docs/assets/index-7qdNYkg7.js similarity index 67% rename from docs/assets/index-zgkAIIgL.js rename to docs/assets/index-7qdNYkg7.js index 5e83fac3c..065ff6da1 100644 --- a/docs/assets/index-zgkAIIgL.js +++ b/docs/assets/index-7qdNYkg7.js @@ -1 +1 @@ -import{M as n,a as M,u as D,w as X}from"./index-_vCgt_Po.js";import"./chunk-HLWAVYOI-bPp9GyXi.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{n as MDXContext,M as MDXProvider,D as useMDXComponents,X as withMDXComponents}; +import{M as n,a as M,u as D,w as X}from"./index-afjEbwFG.js";import"./chunk-HLWAVYOI-CrIFzHE4.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{n as MDXContext,M as MDXProvider,D as useMDXComponents,X as withMDXComponents}; diff --git a/docs/assets/index-pG5dWoAQ.js b/docs/assets/index-BHGYRQhO.js similarity index 94% rename from docs/assets/index-pG5dWoAQ.js rename to docs/assets/index-BHGYRQhO.js index d7fa59e11..e76275bbf 100644 --- a/docs/assets/index-pG5dWoAQ.js +++ b/docs/assets/index-BHGYRQhO.js @@ -1 +1 @@ -import{r as _,b as l,d as c,t as i}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function C(){return''}const m="8yIKx9FC",o=i(m);_.r(m,()=>o);const f={};o._=l(function(e,n,a,b,d,k){s(p,{...e,_name:"attention-24",_type:"icon",_themes:C},n,a,"0")},{t:m,i:!0},f);o.Component=c(f,o._);function u(){return''}const r="7k2CCS+q",t=i(r);_.r(r,()=>t);const y={};t._=l(function(e,n,a,b,d,k){s(p,{...e,_name:"play-filled-64-colored",_type:"icon",_themes:u},n,a,"0")},{t:r,i:!0},y);t.Component=c(y,t._);export{o as _,t as a}; +import{r as _,b as l,d as c,t as i}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function C(){return''}const m="8yIKx9FC",o=i(m);_.r(m,()=>o);const f={};o._=l(function(e,n,a,b,d,k){s(p,{...e,_name:"attention-24",_type:"icon",_themes:C},n,a,"0")},{t:m,i:!0},f);o.Component=c(f,o._);function u(){return''}const r="7k2CCS+q",t=i(r);_.r(r,()=>t);const y={};t._=l(function(e,n,a,b,d,k){s(p,{...e,_name:"play-filled-64-colored",_type:"icon",_themes:u},n,a,"0")},{t:r,i:!0},y);t.Component=c(y,t._);export{o as _,t as a}; diff --git a/docs/assets/index-WZOdYf_S.js b/docs/assets/index-BndDE7o0.js similarity index 92% rename from docs/assets/index-WZOdYf_S.js rename to docs/assets/index-BndDE7o0.js index 871187c9c..8fdf77b1e 100644 --- a/docs/assets/index-WZOdYf_S.js +++ b/docs/assets/index-BndDE7o0.js @@ -1 +1 @@ -import{t as H,r as L,b as N,f as R,p as U,g as E,h as q,d as G}from"./registry-zqrnEiYK.js";import{_ as J}from"./index-7jFeXTCh.js";import{_ as Q}from"./index-tjucyUeZ.js";/* empty css */import{_ as X}from"./index-WjSr7Aa1.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as B}from"./dynamic-tag-4Gch17f1.js";import{_ as Y}from"./index--HiXohkr.js";import{_ as Z}from"./self-iterator-6yU_KG2T.js";import{C as D}from"./index-XBFm0t4a.js";import{s as ee}from"./index-l3FQEXUN.js";import{a as te,h as ae}from"./index-XjwwBzg5.js";class ne extends Marko.Component{handleMenuKeydown({el:t,originalEvent:e,index:n}){te(e,()=>{this.handleMenuSelect({index:n,originalEvent:e,el:t})}),ae(e,()=>{this.expander.expanded=!1,this.focus()})}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.emitComponentEvent({eventType:"collapse"})}handleMenuSelect({el:t,originalEvent:e,index:n}){this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:n})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:n,index:h}){let r={el:e,originalEvent:n,index:h};r=Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),this.emit(`${t}`,r)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ee(this.el,{hostSelector:".fake-menu-button__button",contentSelector:".fake-menu-button__menu",focusManagement:"interactive",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const f="+huDEVxE",o=H(f),he=o;L.r(f,()=>o);const T=ne;o._=N(function(c,t,e,n,h,r){const{class:i,style:O,type:S,text:p,icon:d,a11yText:V,noToggleIcon:b,reverse:y,fixWidth:$,borderless:x,size:F,priority:I,disabled:K,variant:m,items:j=[],label:u,textAlign:A,transparent:z,...P}=c;var s=m==="overflow",W=m==="form",k=!0;x&&(s=!1);var v=null,_="expand-btn",M,w=m==="icon"||s,C=Q;W?(_="btn",M="form"):w?(C=J,k=!1):(v=I||null,_="btn"),t.be("span",R(U(P),{class:E(["fake-menu-button",i]),style:q(O)}),"0",n,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{l(C,{class:["fake-menu-button__button"],size:F,borderless:x,priority:v,variant:M,transparent:w&&z,iconOnly:!p&&!d&&!s,ariaExpanded:"false",ariaLabel:V,disabled:K,noToggleIcon:b,renderBody:a=>{s?l(X,{},a,e,"1"):(a.be("span",{class:E([`${_}__cell`,u&&"menu-button__control--custom-label",A==="center"&&"expand-btn__cell--center"])},"2",n,null,1),u?B(a,u.renderBody,null,null,null,null,e,"3"):(d&&B(a,d,null,null,null,null,e,"4"),p&&(a.be("span",null,"5",n,null,0),a.t(p,n),a.ee())),k&&!b&&l(Y,{},a,e,"6"),a.ee())}},t,e,"@button",[["escape","handleButtonEscape",!1]]);const g=[];for(const a of j||[])g.push({[Symbol.iterator]:Z,...a});l(D,{classPrefix:"fake-menu-button",type:S,reverse:s?!y:y,fixWidth:$,tabindex:-1,items:g},t,e,"@content",[["keydown","handleMenuKeydown",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:f},T);o.Component=G(T,o._);export{he as _}; +import{t as H,r as L,b as N,f as R,p as U,g as E,h as q,d as G}from"./registry-zqrnEiYK.js";import{_ as J}from"./index-7jFeXTCh.js";import{_ as Q}from"./index-g2xi1LKt.js";/* empty css */import{_ as X}from"./index-S21L6oUf.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as B}from"./dynamic-tag-4Gch17f1.js";import{_ as Y}from"./index-fsHgTAj9.js";import{_ as Z}from"./self-iterator-6yU_KG2T.js";import{C as D}from"./index-yX95ckNV.js";import{s as ee}from"./index-l3FQEXUN.js";import{a as te,h as ae}from"./index-XjwwBzg5.js";class ne extends Marko.Component{handleMenuKeydown({el:t,originalEvent:e,index:n}){te(e,()=>{this.handleMenuSelect({index:n,originalEvent:e,el:t})}),ae(e,()=>{this.expander.expanded=!1,this.focus()})}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.emitComponentEvent({eventType:"collapse"})}handleMenuSelect({el:t,originalEvent:e,index:n}){this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:n})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:n,index:h}){let r={el:e,originalEvent:n,index:h};r=Object.fromEntries(Object.entries(r).filter(([,i])=>i!==void 0)),this.emit(`${t}`,r)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ee(this.el,{hostSelector:".fake-menu-button__button",contentSelector:".fake-menu-button__menu",focusManagement:"interactive",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const f="+huDEVxE",o=H(f),he=o;L.r(f,()=>o);const T=ne;o._=N(function(c,t,e,n,h,r){const{class:i,style:O,type:S,text:p,icon:d,a11yText:V,noToggleIcon:b,reverse:y,fixWidth:$,borderless:x,size:F,priority:I,disabled:K,variant:m,items:j=[],label:u,textAlign:A,transparent:z,...P}=c;var s=m==="overflow",W=m==="form",k=!0;x&&(s=!1);var v=null,_="expand-btn",M,w=m==="icon"||s,C=Q;W?(_="btn",M="form"):w?(C=J,k=!1):(v=I||null,_="btn"),t.be("span",R(U(P),{class:E(["fake-menu-button",i]),style:q(O)}),"0",n,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{l(C,{class:["fake-menu-button__button"],size:F,borderless:x,priority:v,variant:M,transparent:w&&z,iconOnly:!p&&!d&&!s,ariaExpanded:"false",ariaLabel:V,disabled:K,noToggleIcon:b,renderBody:a=>{s?l(X,{},a,e,"1"):(a.be("span",{class:E([`${_}__cell`,u&&"menu-button__control--custom-label",A==="center"&&"expand-btn__cell--center"])},"2",n,null,1),u?B(a,u.renderBody,null,null,null,null,e,"3"):(d&&B(a,d,null,null,null,null,e,"4"),p&&(a.be("span",null,"5",n,null,0),a.t(p,n),a.ee())),k&&!b&&l(Y,{},a,e,"6"),a.ee())}},t,e,"@button",[["escape","handleButtonEscape",!1]]);const g=[];for(const a of j||[])g.push({[Symbol.iterator]:Z,...a});l(D,{classPrefix:"fake-menu-button",type:S,reverse:s?!y:y,fixWidth:$,tabindex:-1,items:g},t,e,"@content",[["keydown","handleMenuKeydown",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:f},T);o.Component=G(T,o._);export{he as _}; diff --git a/docs/assets/index-opp8Qyw0.js b/docs/assets/index-D9357-oV.js similarity index 94% rename from docs/assets/index-opp8Qyw0.js rename to docs/assets/index-D9357-oV.js index c892c4cc7..91012fd2e 100644 --- a/docs/assets/index-opp8Qyw0.js +++ b/docs/assets/index-D9357-oV.js @@ -1 +1 @@ -import{r as l,b as n,d as _,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function d(){return''}const e="UDVmQrik",a=p(e);l.r(e,()=>a);const o={};a._=n(function(t,r,m,s,v,h){c(i,{...t,_name:"the-ebay-vault-24",_type:"icon",_themes:d},r,m,"0")},{t:e,i:!0},o);a.Component=_(o,a._);export{a as _}; +import{r as l,b as n,d as _,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function d(){return''}const e="UDVmQrik",a=p(e);l.r(e,()=>a);const o={};a._=n(function(t,r,m,s,v,h){c(i,{...t,_name:"the-ebay-vault-24",_type:"icon",_themes:d},r,m,"0")},{t:e,i:!0},o);a.Component=_(o,a._);export{a as _}; diff --git a/docs/assets/index-0REQdKOV.js b/docs/assets/index-DC-x0-tf.js similarity index 95% rename from docs/assets/index-0REQdKOV.js rename to docs/assets/index-DC-x0-tf.js index b7edb33fe..8803163a5 100644 --- a/docs/assets/index-0REQdKOV.js +++ b/docs/assets/index-DC-x0-tf.js @@ -1 +1 @@ -import{r,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function w(){return''}const c="R5BkYGAe",n=l(c);r.r(c,()=>n);const u={};n._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"arrow-left-16",_type:"icon",_themes:w},t,e,"0")},{t:c,i:!0},u);n.Component=p(u,n._);function g(){return''}const b="eB6T/qGp",a=l(b);r.r(b,()=>a);const $={};a._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"arrow-right-16",_type:"icon",_themes:g},t,e,"0")},{t:b,i:!0},$);a.Component=p($,a._);function v(){return''}const y="Fb3ktWXR",m=l(y);r.r(y,()=>m);const d={};m._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"overflow-horizontal-24",_type:"icon",_themes:v},t,e,"0")},{t:y,i:!0},d);m.Component=p(d,m._);export{n as _,m as a,a as b}; +import{r,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function w(){return''}const c="R5BkYGAe",n=l(c);r.r(c,()=>n);const u={};n._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"arrow-left-16",_type:"icon",_themes:w},t,e,"0")},{t:c,i:!0},u);n.Component=p(u,n._);function g(){return''}const b="eB6T/qGp",a=l(b);r.r(b,()=>a);const $={};a._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"arrow-right-16",_type:"icon",_themes:g},t,e,"0")},{t:b,i:!0},$);a.Component=p($,a._);function v(){return''}const y="Fb3ktWXR",m=l(y);r.r(y,()=>m);const d={};m._=_(function(o,t,e,k,f,h){s(i,{...o,_name:"overflow-horizontal-24",_type:"icon",_themes:v},t,e,"0")},{t:y,i:!0},d);m.Component=p(d,m._);export{n as _,m as a,a as b}; diff --git a/docs/assets/index-Zo2k51hY.js b/docs/assets/index-FQXijakt.js similarity index 88% rename from docs/assets/index-Zo2k51hY.js rename to docs/assets/index-FQXijakt.js index 17fcef37a..2a5c76dfa 100644 --- a/docs/assets/index-Zo2k51hY.js +++ b/docs/assets/index-FQXijakt.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="hWRPp33e",o=i(e);n.r(e,()=>o);const t={};o._=_(function(r,m,a,d,k,f){s(l,{...r,_name:"tick-16",_type:"icon",_themes:c},m,a,"0")},{t:e,i:!0},t);o.Component=p(t,o._);export{o as _}; +import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="hWRPp33e",o=i(e);n.r(e,()=>o);const t={};o._=_(function(r,m,a,d,k,f){s(l,{...r,_name:"tick-16",_type:"icon",_themes:c},m,a,"0")},{t:e,i:!0},t);o.Component=p(t,o._);export{o as _}; diff --git a/docs/assets/index-ZhNkRMuN.js b/docs/assets/index-FbnwFjt5.js similarity index 87% rename from docs/assets/index-ZhNkRMuN.js rename to docs/assets/index-FbnwFjt5.js index dc50bb270..14cecf351 100644 --- a/docs/assets/index-ZhNkRMuN.js +++ b/docs/assets/index-FbnwFjt5.js @@ -1 +1 @@ -import{r as H,b as J,p as K,g as c,i as L,d as M,t as N}from"./registry-zqrnEiYK.js";import{_ as Q,a as q,b as z}from"./index-zgZrJxNG.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{_ as E}from"./index-PAD5b3ff.js";import{_ as e}from"./dynamic-tag-4Gch17f1.js";import{_ as F}from"./index-0sOjhOVp.js";class G extends Marko.Component{}const f="xQ56JjaK",u=N(f);H.r(f,()=>u);const x=G;u._=J(function(k,p,l,r,O,P){const{status:t,a11yText:m,a11yIconText:_,icon:T,iconClass:o,class:g,root:C,headerRoot:v,a11yRoleDescription:I,prefixClass:s,title:n,footer:y,type:h,mainRoot:R,noA11yLabel:V,a11yDismissText:b,educationIcon:w,prominent:A,cta:$,...B}=k;e(p,C||"section",()=>({"aria-labelledby":!V&&r.elId("status"),"aria-roledescription":I,class:[s,g,t==="education"&&A&&`${s}--education`],...K(B)}),a=>{T!=="none"&&e(a,v||"div",()=>({class:`${s}__header`,id:l.elId("status")}),i=>{t==="confirmation"||t==="celebration"?d(Q,{a11yText:_||m,a11yVariant:"label",class:o},i,l,"2"):t==="attention"?d(E,{a11yVariant:"label",a11yText:_||m,class:o},i,l,"3"):t==="information"?d(q,{a11yVariant:"label",a11yText:_||m,class:o},i,l,"4"):t==="education"&&h==="section"&&e(i,w||z,()=>({"a11y-variant":"label","a11y-text":_||m,class:o}),null,null,null,l,"5")},null,null,l,"1"),e(a,R||"div",()=>({class:`${s}__main`}),i=>{n&&e(i,n.as||"h2",()=>({...n,class:[`${s}__title`,n.class]}),j=>{e(j,n,null,null,null,null,l,"8")},null,null,l,"7"),e(i,k.renderBody,null,null,null,null,l,"9")},null,null,l,"6"),$&&(a.be("p",{class:c(`${s}__cta`)},"10",r,null,1),a.be("a",L($),"11",r,null,4),e(a,$,null,null,null,null,l,"12"),a.ee(),a.ee()),y&&!b&&(a.be("div",{class:c(`${s}__footer`)},"13",r,null,1),e(a,y,null,null,null,null,l,"14"),a.ee()),!y&&b&&(a.be("div",{class:c(`${s}__footer`)},"15",r,null,1),a.be("button",{"aria-label":`${b}`,class:c(["fake-link",`${s}__dismiss`])},"16",r,null,0,{onclick:l.d("click","emit",!1,["dismiss"]),onkeydown:l.d("keydown","emit",!1,["dismiss"])}),d(F,{class:"icon icon--close-16"},a,l,"17"),a.ee(),a.ee())},null,null,l,"0")},{t:f},x);u.Component=M(x,u._);export{u as _}; +import{r as H,b as J,p as K,g as c,i as L,d as M,t as N}from"./registry-zqrnEiYK.js";import{_ as Q,a as q,b as z}from"./index-0by-wmmq.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{_ as E}from"./index-py3x4x1i.js";import{_ as e}from"./dynamic-tag-4Gch17f1.js";import{_ as F}from"./index-avw8iGTO.js";class G extends Marko.Component{}const f="xQ56JjaK",u=N(f);H.r(f,()=>u);const x=G;u._=J(function(k,p,l,r,O,P){const{status:t,a11yText:m,a11yIconText:_,icon:T,iconClass:o,class:g,root:C,headerRoot:v,a11yRoleDescription:I,prefixClass:s,title:n,footer:y,type:h,mainRoot:R,noA11yLabel:V,a11yDismissText:b,educationIcon:w,prominent:A,cta:$,...B}=k;e(p,C||"section",()=>({"aria-labelledby":!V&&r.elId("status"),"aria-roledescription":I,class:[s,g,t==="education"&&A&&`${s}--education`],...K(B)}),a=>{T!=="none"&&e(a,v||"div",()=>({class:`${s}__header`,id:l.elId("status")}),i=>{t==="confirmation"||t==="celebration"?d(Q,{a11yText:_||m,a11yVariant:"label",class:o},i,l,"2"):t==="attention"?d(E,{a11yVariant:"label",a11yText:_||m,class:o},i,l,"3"):t==="information"?d(q,{a11yVariant:"label",a11yText:_||m,class:o},i,l,"4"):t==="education"&&h==="section"&&e(i,w||z,()=>({"a11y-variant":"label","a11y-text":_||m,class:o}),null,null,null,l,"5")},null,null,l,"1"),e(a,R||"div",()=>({class:`${s}__main`}),i=>{n&&e(i,n.as||"h2",()=>({...n,class:[`${s}__title`,n.class]}),j=>{e(j,n,null,null,null,null,l,"8")},null,null,l,"7"),e(i,k.renderBody,null,null,null,null,l,"9")},null,null,l,"6"),$&&(a.be("p",{class:c(`${s}__cta`)},"10",r,null,1),a.be("a",L($),"11",r,null,4),e(a,$,null,null,null,null,l,"12"),a.ee(),a.ee()),y&&!b&&(a.be("div",{class:c(`${s}__footer`)},"13",r,null,1),e(a,y,null,null,null,null,l,"14"),a.ee()),!y&&b&&(a.be("div",{class:c(`${s}__footer`)},"15",r,null,1),a.be("button",{"aria-label":`${b}`,class:c(["fake-link",`${s}__dismiss`])},"16",r,null,0,{onclick:l.d("click","emit",!1,["dismiss"]),onkeydown:l.d("keydown","emit",!1,["dismiss"])}),d(F,{class:"icon icon--close-16"},a,l,"17"),a.ee(),a.ee())},null,null,l,"0")},{t:f},x);u.Component=M(x,u._);export{u as _}; diff --git a/docs/assets/index-XUhq6uHT.js b/docs/assets/index-Fzo01Ouc.js similarity index 76% rename from docs/assets/index-XUhq6uHT.js rename to docs/assets/index-Fzo01Ouc.js index c38b589f4..8bc1337cb 100644 --- a/docs/assets/index-XUhq6uHT.js +++ b/docs/assets/index-Fzo01Ouc.js @@ -1 +1 @@ -import{t as i,r as g,b as k,f as c,p as b,g as f,d as C}from"./registry-zqrnEiYK.js";import{_ as $,a as d,b as y}from"./index-q7KQv1ry.js";import{_ as t}from"./render-tag-_0PNNh6Y.js";const m="lA/3C5An",e=i(m),H=e;g.r(m,()=>e);const o={};e._=k(function(_,r,s,l,A,u){const{class:n,size:a,...p}=_;r.be("span",c(b(p),{class:f(["progress-spinner",a==="large"&&"progress-spinner--large",n]),role:"img"}),"0",l,null,4),a==="large"?t($,{},r,s,"1"):a==="small"?t(d,{},r,s,"2"):t(y,{},r,s,"3"),r.ee()},{t:m,i:!0},o);e.Component=C(o,e._);export{H as _}; +import{t as i,r as g,b as k,f as c,p as b,g as f,d as C}from"./registry-zqrnEiYK.js";import{_ as $,a as d,b as y}from"./index-o5F2CW61.js";import{_ as t}from"./render-tag-_0PNNh6Y.js";const m="lA/3C5An",e=i(m),H=e;g.r(m,()=>e);const o={};e._=k(function(_,r,s,l,A,u){const{class:n,size:a,...p}=_;r.be("span",c(b(p),{class:f(["progress-spinner",a==="large"&&"progress-spinner--large",n]),role:"img"}),"0",l,null,4),a==="large"?t($,{},r,s,"1"):a==="small"?t(d,{},r,s,"2"):t(y,{},r,s,"3"),r.ee()},{t:m,i:!0},o);e.Component=C(o,e._);export{H as _}; diff --git a/docs/assets/index-nYpLpsKM.js b/docs/assets/index-GxCEZ36B.js similarity index 98% rename from docs/assets/index-nYpLpsKM.js rename to docs/assets/index-GxCEZ36B.js index fd8260fe9..0b15e3db2 100644 --- a/docs/assets/index-nYpLpsKM.js +++ b/docs/assets/index-GxCEZ36B.js @@ -1 +1 @@ -import{r as _,b as r,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";function Z(){return''}const d="Dnoz3UAF",t=s(d);_.r(d,()=>t);const $={};t._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-unchecked-24",_type:"icon",_themes:Z},e,c,"0")},{t:d,i:!0},$);t.Component=p($,t._);function M(){return''}const u="prXx7GMx",n=s(u);_.r(u,()=>n);const x={};n._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-checked-24",_type:"icon",_themes:M},e,c,"0")},{t:u,i:!0},x);n.Component=p(x,n._);function g(){return''}const C="ZDsYc8Xt",a=s(C);_.r(C,()=>a);const f={};a._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-unchecked-18",_type:"icon",_themes:g},e,c,"0")},{t:C,i:!0},f);a.Component=p(f,a._);function H(){return''}const y="/s2T/ax2",m=s(y);_.r(y,()=>m);const v={};m._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-checked-18",_type:"icon",_themes:H},e,c,"0")},{t:y,i:!0},v);m.Component=p(v,m._);export{t as _,n as a,a as b,m as c}; +import{r as _,b as r,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";function Z(){return''}const d="Dnoz3UAF",t=s(d);_.r(d,()=>t);const $={};t._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-unchecked-24",_type:"icon",_themes:Z},e,c,"0")},{t:d,i:!0},$);t.Component=p($,t._);function M(){return''}const u="prXx7GMx",n=s(u);_.r(u,()=>n);const x={};n._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-checked-24",_type:"icon",_themes:M},e,c,"0")},{t:u,i:!0},x);n.Component=p(x,n._);function g(){return''}const C="ZDsYc8Xt",a=s(C);_.r(C,()=>a);const f={};a._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-unchecked-18",_type:"icon",_themes:g},e,c,"0")},{t:C,i:!0},f);a.Component=p(f,a._);function H(){return''}const y="/s2T/ax2",m=s(y);_.r(y,()=>m);const v={};m._=r(function(o,e,c,i,k,b){h(l,{...o,_name:"checkbox-checked-18",_type:"icon",_themes:H},e,c,"0")},{t:y,i:!0},v);m.Component=p(v,m._);export{t as _,n as a,a as b,m as c}; diff --git a/docs/assets/index--Q9rylnC.js b/docs/assets/index-H41CNw8Q.js similarity index 97% rename from docs/assets/index--Q9rylnC.js rename to docs/assets/index-H41CNw8Q.js index 7853acb0b..dd7457cf9 100644 --- a/docs/assets/index--Q9rylnC.js +++ b/docs/assets/index-H41CNw8Q.js @@ -1 +1 @@ -import{r as T,b as S,h as w,d as E,t as y}from"./registry-zqrnEiYK.js";import{_ as C}from"./self-iterator-6yU_KG2T.js";import{_ as M}from"./index-CCP4HZWQ.js";import{_ as v}from"./render-tag-_0PNNh6Y.js";class I extends Marko.Component{setExpandedState(e){e!==this.state.expanded&&(this.state.expanded=e,e?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(e){const t=e.changedTouches;this.touches=[];for(let a=0;an.identifier===a.identifier),o=a.pageY-this.touches[i].pageY;o>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(e)):o<-30&&(this.setExpandedState(!0),this.handleTouchEnd(e))}}handleTouchEnd(e){for(let t=0;to.identifier===a.identifier);i>-1&&this.touches.splice(i,1)}}onCreate(){this.state={expanded:!1}}onMount(){this.touches=[]}onInput(e){this.state={expanded:e.expanded||!1}}}const h="hhi1qfHH",s=y(h),z=["wide","narrow"];T.r(h,()=>s);const g=I;s._=S(function(c,e,t,a,i,o){const{class:n,variant:u,buttonPosition:p="right",a11yMaximizeText:m="Maximize Lightbox Dialog",a11yMinimizeText:x="Minimize Lightbox Dialog",bannerImgSrc:d,bannerImgPosition:f,size:l,..._}=c;var b=u==="_mini",k=i.expanded?x:m;v(M,{..._,classPrefix:"lightbox-dialog",buttonPosition:p,class:[n,"lightbox-dialog--mask-fade",d&&"lightbox-dialog--expressive",l&&z.includes(l)&&`lightbox-dialog--${l}`],windowClass:["lightbox-dialog__window--animate",b&&"lightbox-dialog__window--mini",i.expanded&&"lightbox-dialog__window--expanded"],top:{renderBody:r=>{r.e("button",{"aria-label":k,type:"button",class:"lightbox-dialog__handle"},"0",a,0,0,{onclick:t.d("click","handleExpand",!1),ontouchstart:t.d("touchstart","handleTouchStart",!1),ontouchmove:t.d("touchmove","handleTouchMove",!1),ontouchend:t.d("touchend","handleTouchEnd",!1),ontouchcancel:t.d("touchcancel","handleTouchEnd",!1)}),d&&r.e("div",{class:"lightbox-dialog__image",style:w({backgroundImage:`url(${d})`,backgroundPosition:f})},"1",a,0,1)},[Symbol.iterator]:C}},e,t,"@dialog",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["prevButtonClick","emit",!1,["prevButtonClick"]]])},{t:h},g);s.Component=E(g,s._);export{s as _}; +import{r as T,b as S,h as w,d as E,t as y}from"./registry-zqrnEiYK.js";import{_ as C}from"./self-iterator-6yU_KG2T.js";import{_ as M}from"./index-XLHqpDln.js";import{_ as v}from"./render-tag-_0PNNh6Y.js";class I extends Marko.Component{setExpandedState(e){e!==this.state.expanded&&(this.state.expanded=e,e?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(e){const t=e.changedTouches;this.touches=[];for(let a=0;an.identifier===a.identifier),o=a.pageY-this.touches[i].pageY;o>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(e)):o<-30&&(this.setExpandedState(!0),this.handleTouchEnd(e))}}handleTouchEnd(e){for(let t=0;to.identifier===a.identifier);i>-1&&this.touches.splice(i,1)}}onCreate(){this.state={expanded:!1}}onMount(){this.touches=[]}onInput(e){this.state={expanded:e.expanded||!1}}}const h="hhi1qfHH",s=y(h),z=["wide","narrow"];T.r(h,()=>s);const g=I;s._=S(function(c,e,t,a,i,o){const{class:n,variant:u,buttonPosition:p="right",a11yMaximizeText:m="Maximize Lightbox Dialog",a11yMinimizeText:x="Minimize Lightbox Dialog",bannerImgSrc:d,bannerImgPosition:f,size:l,..._}=c;var b=u==="_mini",k=i.expanded?x:m;v(M,{..._,classPrefix:"lightbox-dialog",buttonPosition:p,class:[n,"lightbox-dialog--mask-fade",d&&"lightbox-dialog--expressive",l&&z.includes(l)&&`lightbox-dialog--${l}`],windowClass:["lightbox-dialog__window--animate",b&&"lightbox-dialog__window--mini",i.expanded&&"lightbox-dialog__window--expanded"],top:{renderBody:r=>{r.e("button",{"aria-label":k,type:"button",class:"lightbox-dialog__handle"},"0",a,0,0,{onclick:t.d("click","handleExpand",!1),ontouchstart:t.d("touchstart","handleTouchStart",!1),ontouchmove:t.d("touchmove","handleTouchMove",!1),ontouchend:t.d("touchend","handleTouchEnd",!1),ontouchcancel:t.d("touchcancel","handleTouchEnd",!1)}),d&&r.e("div",{class:"lightbox-dialog__image",style:w({backgroundImage:`url(${d})`,backgroundPosition:f})},"1",a,0,1)},[Symbol.iterator]:C}},e,t,"@dialog",[["open","emit",!1,["open"]],["close","emit",!1,["close"]],["prevButtonClick","emit",!1,["prevButtonClick"]]])},{t:h},g);s.Component=E(g,s._);export{s as _}; diff --git a/docs/assets/index-53xkO1un.js b/docs/assets/index-HQLllDUD.js similarity index 94% rename from docs/assets/index-53xkO1un.js rename to docs/assets/index-HQLllDUD.js index 29939857f..3c9f52572 100644 --- a/docs/assets/index-53xkO1un.js +++ b/docs/assets/index-HQLllDUD.js @@ -1 +1 @@ -import{r as _,b as p,d as s,t as i}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function u(){return''}const a="Q5LOcKxU",o=i(a);_.r(a,()=>o);const k={};o._=p(function(t,r,n,d,y,f){l(c,{...t,_name:"eek-range-arrow",_type:"icon",_themes:u},r,n,"0")},{t:a,i:!0},k);o.Component=s(k,o._);function C(){return''}const m="x4Lotmxz",e=i(m);_.r(m,()=>e);const b={};e._=p(function(t,r,n,d,y,f){l(c,{...t,_name:"eek-arrow",_type:"icon",_themes:C},r,n,"0")},{t:m,i:!0},b);e.Component=s(b,e._);export{o as _,e as a}; +import{r as _,b as p,d as s,t as i}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function u(){return''}const a="Q5LOcKxU",o=i(a);_.r(a,()=>o);const k={};o._=p(function(t,r,n,d,y,f){l(c,{...t,_name:"eek-range-arrow",_type:"icon",_themes:u},r,n,"0")},{t:a,i:!0},k);o.Component=s(k,o._);function C(){return''}const m="x4Lotmxz",e=i(m);_.r(m,()=>e);const b={};e._=p(function(t,r,n,d,y,f){l(c,{...t,_name:"eek-arrow",_type:"icon",_themes:C},r,n,"0")},{t:m,i:!0},b);e.Component=s(b,e._);export{o as _,e as a}; diff --git a/docs/assets/index-Vc-PSg2d.js b/docs/assets/index-KzZQXcwb.js similarity index 94% rename from docs/assets/index-Vc-PSg2d.js rename to docs/assets/index-KzZQXcwb.js index 312165011..68904b5fd 100644 --- a/docs/assets/index-Vc-PSg2d.js +++ b/docs/assets/index-KzZQXcwb.js @@ -1 +1 @@ -import{t as q,r as G,b as J,f as Q,p as X,g as Y,h as Z,d as D}from"./registry-zqrnEiYK.js";import{_ as ee}from"./index-7jFeXTCh.js";import{_ as te}from"./index-tjucyUeZ.js";/* empty css */import{_ as ae}from"./index-wCr-XJjZ.js";import{_ as u}from"./render-tag-_0PNNh6Y.js";import{_}from"./dynamic-tag-4Gch17f1.js";import{_ as se}from"./index--HiXohkr.js";import{_ as ne}from"./self-iterator-6yU_KG2T.js";import{C as le}from"./index-wCG8Mexi.js";import{s as ie}from"./index-l3FQEXUN.js";import{a as re,h as oe}from"./index-XjwwBzg5.js";import{M as de,s as pe}from"./index-j-rYSiF3.js";class he extends de{onCreate(){pe(this)}toggleItemChecked(t,e,a){const n=this.isRadio()&&t!==this.state.checkedIndex;this.toggleChecked(t),n?(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:"change",el:e,originalEvent:a})):this.type!=="radio"&&(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:this.type?"change":"select",el:e,originalEvent:a}))}handleItemClick(t,e,a){this.toggleItemChecked(t,a,e)}handleMenuKeydown({el:t,originalEvent:e,index:a}){e!==void 0&&(re(e,()=>{this.handleItemClick(a??0,e,t)}),oe(e,()=>{this.expander.expanded=!1,this.focus()}))}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.input.disabled||this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.input.disabled||this.emitComponentEvent({eventType:"collapse"})}handleMenuChange({el:t,originalEvent:e,index:a}){this.toggleItemChecked(a??0,t,e)}handleMenuSelect({el:t,originalEvent:e,index:a}){this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:a})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:a,index:n}){const c=this.getCheckedIndexes(),r=this.type==="checkbox",l={el:e,originalEvent:a};r&&c&&c.length>1?Object.assign(l,{indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):r||this.isRadio()?Object.assign(l,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):t!=="expand"&&t!=="collapse"&&Object.assign(l,{index:n,checked:[n]}),this.emit(`${t}`,l)}onInput(t){this.state=this.getInputState(t)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ie(this.el,{hostSelector:".menu-button__button",contentSelector:".menu-button__menu",focusManagement:"focusable",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const k="z7EDWpMx",i=q(k),we=i;G.r(k,()=>i);const V=he;i._=J(function(x,t,e,a,n,c){const{class:r,style:l,type:T,text:b,icon:y,a11yText:$,noToggleIcon:j,reverse:K,fixWidth:R,borderless:g,size:z,priority:L,disabled:W,variant:m,items:A,label:f,prefixLabel:C,prefixId:v,split:F,collapseOnSelect:ue,transparent:H,...P}=x;var o=v&&a.getElId("label"),M=m==="form",I,d=m==="overflow",p=!1,w=null;g&&(d=!1,M=!1);var E=m==="icon"||d;h=te;var h;E?h=ee:M?(I="form",p=!0):(p=!0,w=L);var O=0;t.be("span",Q(X(P),{class:Y(["menu-button",r]),style:Z(l)}),"0",a,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{const S=s=>{d?u(ae,{},s,e,"1"):(f?C?(s.be("span",{class:"menu-button-prefix-label"},"2",a,null,1),s.t(C,a),s.ee(),_(s,f.renderBody,null,null,null,null,e,"3")):(s.be("span",{id:o},"4",a,null,1),_(s,f.renderBody,null,null,null,null,e,"5"),s.ee()):(y&&_(s,y,null,null,null,null,e,"6"),b&&(s.be("span",{id:o},"7",a,null,1),s.t(b,a),s.ee())),p&&!j&&u(se,{},s,e,"8"))};h?u(h,{class:["menu-button__button"],size:z,priority:w,borderless:g,variant:I,ariaExpanded:"false",ariaHaspopup:"true",transparent:E&&H,ariaLabel:$,ariaLabelledby:o&&`${v} ${o}`,split:p?F:void 0,disabled:W,renderBody:S},t,e,"@button",[["escape","handleButtonEscape",!1]]):S(t);const B=[];let U=0;for(const s of A||[]){let N=U++;s.separator&&O++,B.push({...s,checked:a.isChecked(N-O),[Symbol.iterator]:ne})}u(le,{classPrefix:"menu-button",type:T,reverse:d!==!!K,fixWidth:R,tabindex:-1,items:B},t,e,"@content",[["keydown","handleMenuKeydown",!1],["change","handleMenuChange",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:k},V);i.Component=D(V,i._);export{we as _}; +import{t as q,r as G,b as J,f as Q,p as X,g as Y,h as Z,d as D}from"./registry-zqrnEiYK.js";import{_ as ee}from"./index-7jFeXTCh.js";import{_ as te}from"./index-g2xi1LKt.js";/* empty css */import{_ as ae}from"./index-2FfeB2lc.js";import{_ as u}from"./render-tag-_0PNNh6Y.js";import{_}from"./dynamic-tag-4Gch17f1.js";import{_ as se}from"./index-fsHgTAj9.js";import{_ as ne}from"./self-iterator-6yU_KG2T.js";import{C as le}from"./index-wsKKJ7f4.js";import{s as ie}from"./index-l3FQEXUN.js";import{a as re,h as oe}from"./index-XjwwBzg5.js";import{M as de,s as pe}from"./index-j-rYSiF3.js";class he extends de{onCreate(){pe(this)}toggleItemChecked(t,e,a){const n=this.isRadio()&&t!==this.state.checkedIndex;this.toggleChecked(t),n?(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:"change",el:e,originalEvent:a})):this.type!=="radio"&&(this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({index:t,eventType:this.type?"change":"select",el:e,originalEvent:a}))}handleItemClick(t,e,a){this.toggleItemChecked(t,a,e)}handleMenuKeydown({el:t,originalEvent:e,index:a}){e!==void 0&&(re(e,()=>{this.handleItemClick(a??0,e,t)}),oe(e,()=>{this.expander.expanded=!1,this.focus()}))}focus(){this.getComponent("button").el.focus()}handleButtonEscape(){this.expander.expanded=!1}handleExpand(){this.input.disabled||this.emitComponentEvent({eventType:"expand"})}handleCollapse(){this.input.disabled||this.emitComponentEvent({eventType:"collapse"})}handleMenuChange({el:t,originalEvent:e,index:a}){this.toggleItemChecked(a??0,t,e)}handleMenuSelect({el:t,originalEvent:e,index:a}){this.input.collapseOnSelect&&(this.expander.expanded=!1),this.emitComponentEvent({eventType:"select",el:t,originalEvent:e,index:a})}handleMousedown(t,e){this.emitComponentEvent({eventType:"mousedown",el:e,originalEvent:t})}emitComponentEvent({eventType:t,el:e,originalEvent:a,index:n}){const c=this.getCheckedIndexes(),r=this.type==="checkbox",l={el:e,originalEvent:a};r&&c&&c.length>1?Object.assign(l,{indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):r||this.isRadio()?Object.assign(l,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):t!=="expand"&&t!=="collapse"&&Object.assign(l,{index:n,checked:[n]}),this.emit(`${t}`,l)}onInput(t){this.state=this.getInputState(t)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.expander=new ie(this.el,{hostSelector:".menu-button__button",contentSelector:".menu-button__menu",focusManagement:"focusable",expandOnClick:!0,autoCollapse:!0,alwaysDoFocusManagement:!0})}_cleanupMakeup(){this.expander&&this.expander.destroy()}}const k="z7EDWpMx",i=q(k),we=i;G.r(k,()=>i);const V=he;i._=J(function(x,t,e,a,n,c){const{class:r,style:l,type:T,text:b,icon:y,a11yText:$,noToggleIcon:j,reverse:K,fixWidth:R,borderless:g,size:z,priority:L,disabled:W,variant:m,items:A,label:f,prefixLabel:C,prefixId:v,split:F,collapseOnSelect:ue,transparent:H,...P}=x;var o=v&&a.getElId("label"),M=m==="form",I,d=m==="overflow",p=!1,w=null;g&&(d=!1,M=!1);var E=m==="icon"||d;h=te;var h;E?h=ee:M?(I="form",p=!0):(p=!0,w=L);var O=0;t.be("span",Q(X(P),{class:Y(["menu-button",r]),style:Z(l)}),"0",a,null,4,{"onexpander-expand":e.d("expander-expand","handleExpand",!1),"onexpander-collapse":e.d("expander-collapse","handleCollapse",!1),onmousedown:e.d("mousedown","handleMousedown",!1)});{const S=s=>{d?u(ae,{},s,e,"1"):(f?C?(s.be("span",{class:"menu-button-prefix-label"},"2",a,null,1),s.t(C,a),s.ee(),_(s,f.renderBody,null,null,null,null,e,"3")):(s.be("span",{id:o},"4",a,null,1),_(s,f.renderBody,null,null,null,null,e,"5"),s.ee()):(y&&_(s,y,null,null,null,null,e,"6"),b&&(s.be("span",{id:o},"7",a,null,1),s.t(b,a),s.ee())),p&&!j&&u(se,{},s,e,"8"))};h?u(h,{class:["menu-button__button"],size:z,priority:w,borderless:g,variant:I,ariaExpanded:"false",ariaHaspopup:"true",transparent:E&&H,ariaLabel:$,ariaLabelledby:o&&`${v} ${o}`,split:p?F:void 0,disabled:W,renderBody:S},t,e,"@button",[["escape","handleButtonEscape",!1]]):S(t);const B=[];let U=0;for(const s of A||[]){let N=U++;s.separator&&O++,B.push({...s,checked:a.isChecked(N-O),[Symbol.iterator]:ne})}u(le,{classPrefix:"menu-button",type:T,reverse:d!==!!K,fixWidth:R,tabindex:-1,items:B},t,e,"@content",[["keydown","handleMenuKeydown",!1],["change","handleMenuChange",!1],["select","handleMenuSelect",!1]])}t.ee()},{t:k},V);i.Component=D(V,i._);export{we as _}; diff --git a/docs/assets/index-177SSPcF.js b/docs/assets/index-OgsNMRP5.js similarity index 88% rename from docs/assets/index-177SSPcF.js rename to docs/assets/index-OgsNMRP5.js index bc007c509..fa6939adf 100644 --- a/docs/assets/index-177SSPcF.js +++ b/docs/assets/index-OgsNMRP5.js @@ -1 +1 @@ -import{r,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function k(){return''}const m="3gs52zm7",o=s(m);r.r(m,()=>o);const t={};o._=_(function(a,e,n,l,b,f){c(i,{...a,_name:"menu-24",_type:"icon",_themes:k},e,n,"0")},{t:m,i:!0},t);o.Component=p(t,o._);export{o as _}; +import{r,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function k(){return''}const m="3gs52zm7",o=s(m);r.r(m,()=>o);const t={};o._=_(function(a,e,n,l,b,f){c(i,{...a,_name:"menu-24",_type:"icon",_themes:k},e,n,"0")},{t:m,i:!0},t);o.Component=p(t,o._);export{o as _}; diff --git a/docs/assets/index-nX8OTwbZ.js b/docs/assets/index-RuUXU4eA.js similarity index 95% rename from docs/assets/index-nX8OTwbZ.js rename to docs/assets/index-RuUXU4eA.js index dea8d5ff7..a4e47816f 100644 --- a/docs/assets/index-nX8OTwbZ.js +++ b/docs/assets/index-RuUXU4eA.js @@ -1 +1 @@ -import{r as n,b as _,d as c,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";function l(){return''}const e="0e5BJao0",o=p(e);n.r(e,()=>o);const a={};o._=_(function(t,m,r,d,f,k){i(s,{...t,_name:"save-16",_type:"icon",_themes:l},m,r,"0")},{t:e,i:!0},a);o.Component=c(a,o._);export{o as _}; +import{r as n,b as _,d as c,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";function l(){return''}const e="0e5BJao0",o=p(e);n.r(e,()=>o);const a={};o._=_(function(t,m,r,d,f,k){i(s,{...t,_name:"save-16",_type:"icon",_themes:l},m,r,"0")},{t:e,i:!0},a);o.Component=c(a,o._);export{o as _}; diff --git a/docs/assets/index-WjSr7Aa1.js b/docs/assets/index-S21L6oUf.js similarity index 88% rename from docs/assets/index-WjSr7Aa1.js rename to docs/assets/index-S21L6oUf.js index 702c2caa1..44efb374e 100644 --- a/docs/assets/index-WjSr7Aa1.js +++ b/docs/assets/index-S21L6oUf.js @@ -1 +1 @@ -import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="WPhLHLR+",o=i(t);_.r(t,()=>o);const e={};o._=n(function(r,m,a,f,k,b){c(s,{...r,_name:"overflow-vertical-24",_type:"icon",_themes:l},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="WPhLHLR+",o=i(t);_.r(t,()=>o);const e={};o._=n(function(r,m,a,f,k,b){c(s,{...r,_name:"overflow-vertical-24",_type:"icon",_themes:l},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-j0YARFrY.js b/docs/assets/index-SwC3eOBR.js similarity index 95% rename from docs/assets/index-j0YARFrY.js rename to docs/assets/index-SwC3eOBR.js index 1cd7417dc..9b67eb8c0 100644 --- a/docs/assets/index-j0YARFrY.js +++ b/docs/assets/index-SwC3eOBR.js @@ -1 +1 @@ -import{t as V,r as q,b as z,f as I,p as v,g as n,h as G,d as J}from"./registry-zqrnEiYK.js";import{C as O}from"./index-mTXoXd8D.js";import{_ as o}from"./render-tag-_0PNNh6Y.js";import{_ as Q}from"./index-4lRyQCLB.js";import{_ as W,a as X}from"./index-X2pdjzRH.js";import{c as Y,b as Z}from"./index-nYpLpsKM.js";import{_ as T}from"./dynamic-tag-4Gch17f1.js";import{a as D,r as ee}from"./index-sDZ0BqWo.js";import{c as te}from"./index-j_KV6Utw.js";import{h as ae,a as ie}from"./index-XjwwBzg5.js";import{M as se,s as le}from"./index-j-rYSiF3.js";class re extends se{onCreate(){le(this)}resetIndex(){this._rovingTabIndex.index=0,this.lastTabIndexPosition=0}handleRadioClick(e,t,a){this._toggleItemChecked(e,t.originalEvent,a)}handleItemClick(e,t,a){const h=t.originalEvent||t;(this.input.variant!=="form"||h.target.tagName!=="INPUT")&&this._toggleItemChecked(e,t,a)}handleItemKeydown(e,t,a){ae(t,()=>{this._emitComponentEvent("keydown",t,{index:e})}),this.input.variant!=="form"&&ie(t,()=>{this._toggleItemChecked(e,t,a)})}handleFooterButtonClick(e){this._emitComponentEvent("footer-click",e)}handleFormSubmit(e){this._emitComponentEvent("form-submit",e)}onInput(e){this.state=super.getInputState(e)}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_toggleItemChecked(e,t,a){this.isDisabled(e)||(this.toggleChecked(e),this._emitComponentEvent("change",t,{el:a,index:e}))}_emitComponentEvent(e,t,a){const{el:h,index:c}=a||{},f=this.getCheckedValues(),_=this.getCheckedIndexes(),k=c===void 0?void 0:this.isChecked(c);this.emit(`${e}`,{el:h,checked:f,checkedIndex:_,originalEvent:t,index:c,currentChecked:k})}_setupMakeup(){this.input.variant!=="form"&&(this._rovingTabIndex=te(this.getEl("menu"),"div",{autoInit:this.lastTabIndexPosition||"interactive"}),D(this.getEl("container")))}_cleanupMakeup(){this._rovingTabIndex&&(this.lastTabIndexPosition=this._rovingTabIndex.index,this._rovingTabIndex.destroy(),this._rovingTabIndex=void 0,ee(this.getEl("container")))}}const y="gMNvjT4K",d=V(y),pe=d;q.r(y,()=>d);const E=re;d._=z(function(x,e,t,a,h,c){const{variant:f,footer:_,footerText:k,a11yFooterText:M,class:w,style:F,classPrefix:$,formName:N,formAction:B,formMethod:K,items:P,type:S,...R}=x;var b=S==="radio",u=b?"radio":"checkbox",l=$||"filter-menu",r=f==="form";e.be("span",I(v(R),{class:n([$?`${l}__menu`:l,w]),style:G(F)}),"@container",a,null,4);{const g=r&&"form";g?e.be(g,{name:N,action:B,method:K},"0",a,null,0,{onsubmit:t.d("submit","handleFormSubmit",!1)}):e.bf("f_0",a),e.be("div",{class:n(`${l}__items`),role:!r&&"menu"},"@menu",a,null,0);{let p=0;for(const C of P||[]){let s=p++;const i=`[${s}]`,{class:A,disabled:U,renderBody:j,value:ne,...H}=C;var m=a.isChecked(s);const L=r?"label":"div";e.be(L,I(v(H),{class:n([`${l}__item`,A]),role:b?"menuitemradio":"menuitemcheckbox","aria-checked":String(m),"aria-disabled":U&&"true",for:r&&a.elId(`${u}-${s}`)}),"1"+i,a,null,4,{onclick:t.d("click","handleItemClick",!1,[s]),onkeydown:t.d("keydown","handleItemKeydown",!1,[s])}),r?b?o(O,{id:t.elId(`${u}-${s}`),checked:m},e,t,"2"+i,[["change","handleRadioClick",!1,[s]]]):o(Q,{id:t.elId(`${u}-${s}`),checked:m},e,t,"3"+i):b?(e.be("span",{class:n(`${l}__radio`)},"4"+i,a,null,1),m?o(W,{},e,t,"5"+i):o(X,{},e,t,"6"+i),e.ee()):(e.be("span",{class:n(`${l}__checkbox`)},"7"+i,a,null,1),m?o(Y,{},e,t,"8"+i):o(Z,{},e,t,"9"+i),e.ee()),e.be("span",{class:n(`${l}__text`)},"10"+i,a,null,1),T(e,j,null,null,null,null,t,"11"+i),e.ee(),e.ee()}}if(e.ee(),k)e.be("button",{type:r?"submit":"button","aria-label":M,class:n(`${l}__footer`)},"12",a,null,0,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),e.t(k,a),e.ee();else if(_){const{renderBody:p,a11yFooterText:C,...s}=_;e.be("button",I(v(s),{type:r?"submit":"button","aria-label":C,class:n(`${l}__footer`)}),"13",a,null,4,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),T(e,p,null,null,null,null,t,"14"),e.ee()}g?e.ee():e.ef()}e.ee()},{t:y},E);d.Component=J(E,d._);export{pe as C}; +import{t as V,r as q,b as z,f as I,p as v,g as n,h as G,d as J}from"./registry-zqrnEiYK.js";import{C as O}from"./index-qcbGa1eL.js";import{_ as o}from"./render-tag-_0PNNh6Y.js";import{_ as Q}from"./index-aYjb7RMT.js";import{_ as W,a as X}from"./index-vNEQ4tAH.js";import{c as Y,b as Z}from"./index-GxCEZ36B.js";import{_ as T}from"./dynamic-tag-4Gch17f1.js";import{a as D,r as ee}from"./index-sDZ0BqWo.js";import{c as te}from"./index-j_KV6Utw.js";import{h as ae,a as ie}from"./index-XjwwBzg5.js";import{M as se,s as le}from"./index-j-rYSiF3.js";class re extends se{onCreate(){le(this)}resetIndex(){this._rovingTabIndex.index=0,this.lastTabIndexPosition=0}handleRadioClick(e,t,a){this._toggleItemChecked(e,t.originalEvent,a)}handleItemClick(e,t,a){const h=t.originalEvent||t;(this.input.variant!=="form"||h.target.tagName!=="INPUT")&&this._toggleItemChecked(e,t,a)}handleItemKeydown(e,t,a){ae(t,()=>{this._emitComponentEvent("keydown",t,{index:e})}),this.input.variant!=="form"&&ie(t,()=>{this._toggleItemChecked(e,t,a)})}handleFooterButtonClick(e){this._emitComponentEvent("footer-click",e)}handleFormSubmit(e){this._emitComponentEvent("form-submit",e)}onInput(e){this.state=super.getInputState(e)}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_toggleItemChecked(e,t,a){this.isDisabled(e)||(this.toggleChecked(e),this._emitComponentEvent("change",t,{el:a,index:e}))}_emitComponentEvent(e,t,a){const{el:h,index:c}=a||{},f=this.getCheckedValues(),_=this.getCheckedIndexes(),k=c===void 0?void 0:this.isChecked(c);this.emit(`${e}`,{el:h,checked:f,checkedIndex:_,originalEvent:t,index:c,currentChecked:k})}_setupMakeup(){this.input.variant!=="form"&&(this._rovingTabIndex=te(this.getEl("menu"),"div",{autoInit:this.lastTabIndexPosition||"interactive"}),D(this.getEl("container")))}_cleanupMakeup(){this._rovingTabIndex&&(this.lastTabIndexPosition=this._rovingTabIndex.index,this._rovingTabIndex.destroy(),this._rovingTabIndex=void 0,ee(this.getEl("container")))}}const y="gMNvjT4K",d=V(y),pe=d;q.r(y,()=>d);const E=re;d._=z(function(x,e,t,a,h,c){const{variant:f,footer:_,footerText:k,a11yFooterText:M,class:w,style:F,classPrefix:$,formName:N,formAction:B,formMethod:K,items:P,type:S,...R}=x;var b=S==="radio",u=b?"radio":"checkbox",l=$||"filter-menu",r=f==="form";e.be("span",I(v(R),{class:n([$?`${l}__menu`:l,w]),style:G(F)}),"@container",a,null,4);{const g=r&&"form";g?e.be(g,{name:N,action:B,method:K},"0",a,null,0,{onsubmit:t.d("submit","handleFormSubmit",!1)}):e.bf("f_0",a),e.be("div",{class:n(`${l}__items`),role:!r&&"menu"},"@menu",a,null,0);{let p=0;for(const C of P||[]){let s=p++;const i=`[${s}]`,{class:A,disabled:U,renderBody:j,value:ne,...H}=C;var m=a.isChecked(s);const L=r?"label":"div";e.be(L,I(v(H),{class:n([`${l}__item`,A]),role:b?"menuitemradio":"menuitemcheckbox","aria-checked":String(m),"aria-disabled":U&&"true",for:r&&a.elId(`${u}-${s}`)}),"1"+i,a,null,4,{onclick:t.d("click","handleItemClick",!1,[s]),onkeydown:t.d("keydown","handleItemKeydown",!1,[s])}),r?b?o(O,{id:t.elId(`${u}-${s}`),checked:m},e,t,"2"+i,[["change","handleRadioClick",!1,[s]]]):o(Q,{id:t.elId(`${u}-${s}`),checked:m},e,t,"3"+i):b?(e.be("span",{class:n(`${l}__radio`)},"4"+i,a,null,1),m?o(W,{},e,t,"5"+i):o(X,{},e,t,"6"+i),e.ee()):(e.be("span",{class:n(`${l}__checkbox`)},"7"+i,a,null,1),m?o(Y,{},e,t,"8"+i):o(Z,{},e,t,"9"+i),e.ee()),e.be("span",{class:n(`${l}__text`)},"10"+i,a,null,1),T(e,j,null,null,null,null,t,"11"+i),e.ee(),e.ee()}}if(e.ee(),k)e.be("button",{type:r?"submit":"button","aria-label":M,class:n(`${l}__footer`)},"12",a,null,0,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),e.t(k,a),e.ee();else if(_){const{renderBody:p,a11yFooterText:C,...s}=_;e.be("button",I(v(s),{type:r?"submit":"button","aria-label":C,class:n(`${l}__footer`)}),"13",a,null,4,{onclick:t.d("click",!r&&"handleFooterButtonClick",!1)}),T(e,p,null,null,null,null,t,"14"),e.ee()}g?e.ee():e.ef()}e.ee()},{t:y},E);d.Component=J(E,d._);export{pe as C}; diff --git a/docs/assets/index-T-tr__32.js b/docs/assets/index-T-tr__32.js new file mode 100644 index 000000000..2e17b0156 --- /dev/null +++ b/docs/assets/index-T-tr__32.js @@ -0,0 +1 @@ +import{r as E,b as N,f as $,p as I,g as A,d as T,t as M}from"./registry-zqrnEiYK.js";/* empty css */let n,d;function O(t){if(!t.name)return;const e=document.createElementNS("http://www.w3.org/2000/svg",t.name);for(const s of Object.keys(t.attr))e.setAttribute(s,t.attr[s]);return t.children.forEach(s=>{const r=document.createElementNS("http://www.w3.org/2000/svg",s.name);for(const i of Object.keys(s.attr))r.setAttribute(i,s.attr[i]);e.appendChild(r)}),e}class j extends Marko.Component{onMount(){var s;n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",document.body.insertBefore(n,document.body.firstChild),d=document.createElementNS("http://www.w3.org/2000/svg","defs"),n.appendChild(d));const e=this.getEl("defs");if(e){let r;this.input&&this.input._themes&&(e.innerHTML=this.input._themes()),this.input&&this.input._def&&(r=O(this.input._def()));const i=e.querySelector("symbol");(s=e.parentNode)==null||s.removeChild(e),i&&(n.appendChild(i),r&&d.appendChild(r))}}}const c="6QPrxgYy",f=M(c);var g=typeof window<"u",B={};function D(){}function G(t,e){if(t==="icon")return`icon icon--${e}`;var s=e.replace(t,`${t}-`);return`${t} ${s}`}E.r(c,()=>j);const b={};f._=N(function(t,e,s,r,i,H){const{_name:a,_type:m,_themes:_,_def:L,a11yText:o,a11yVariant:w,class:v,noSkinClasses:y,...k}=t;t.toJSON=D;var l=w==="label",u=g?B:e.global,C=o?{role:"img"}:{"aria-hidden":"true"},S=m==="icon"?"icon-":"";e.be("svg",$(C,I(k),{class:A([v,!y&&G(m,a)]),focusable:"false","aria-labelledby":o&&!l&&r.elId("text"),"aria-label":l&&o}),"@svg",r,null,4);var p=_,h="rendered_ebay_icon_"+a,x=!u[h];u[h]=!0,x&&p&&(e.be("defs",null,"@defs",r,null,0),g||e.h(p(),r),e.ee()),o&&!l&&(e.be("title",{id:s.elId("text")},"0",r,null,1),e.t(o,r),e.ee()),e.e("use",{href:`#${S}${a}`},"1",r,0,0),e.ee()},{t:c,s:!0},b);f.Component=T(b,f._);export{f as _}; diff --git a/docs/assets/index-oMMN6Ovq.js b/docs/assets/index-V1SEMiue.js similarity index 91% rename from docs/assets/index-oMMN6Ovq.js rename to docs/assets/index-V1SEMiue.js index b47beaf21..ae42044e5 100644 --- a/docs/assets/index-oMMN6Ovq.js +++ b/docs/assets/index-V1SEMiue.js @@ -1 +1 @@ -import{t as d,r as p,b,f as c,p as k,d as u}from"./registry-zqrnEiYK.js";import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as f}from"./index-0sOjhOVp.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";const l="16+/P/p6",t=d(l),A=t;p.r(l,()=>t);const _={};t._=b(function(i,e,a,r,h,x){const{renderBody:m,disabled:n,a11yDeleteButton:s,...o}=i;e.be("span",c({class:"chip"},k(o)),"0",r,null,4),e.be("span",{class:"chip__text",id:a.elId("text")},"1",r,null,1),y(e,m,null,null,null,null,a,"2"),e.ee(),s&&(e.be("button",{type:"button",class:"chip__button","aria-label":s,disabled:n,"aria-describedby":a.elId("text")},"3",r,null,0,{onclick:a.d("click","emit",!1,["delete"])}),g(f,{},e,a,"4"),e.ee()),e.ee()},{t:l,i:!0},_);t.Component=u(_,t._);export{A as _}; +import{t as d,r as p,b,f as c,p as k,d as u}from"./registry-zqrnEiYK.js";import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as f}from"./index-avw8iGTO.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";const l="16+/P/p6",t=d(l),A=t;p.r(l,()=>t);const _={};t._=b(function(i,e,a,r,h,x){const{renderBody:m,disabled:n,a11yDeleteButton:s,...o}=i;e.be("span",c({class:"chip"},k(o)),"0",r,null,4),e.be("span",{class:"chip__text",id:a.elId("text")},"1",r,null,1),y(e,m,null,null,null,null,a,"2"),e.ee(),s&&(e.be("button",{type:"button",class:"chip__button","aria-label":s,disabled:n,"aria-describedby":a.elId("text")},"3",r,null,0,{onclick:a.d("click","emit",!1,["delete"])}),g(f,{},e,a,"4"),e.ee()),e.ee()},{t:l,i:!0},_);t.Component=u(_,t._);export{A as _}; diff --git a/docs/assets/index-CCP4HZWQ.js b/docs/assets/index-XLHqpDln.js similarity index 99% rename from docs/assets/index-CCP4HZWQ.js rename to docs/assets/index-XLHqpDln.js index 1435c9955..a6ba71810 100644 --- a/docs/assets/index-CCP4HZWQ.js +++ b/docs/assets/index-XLHqpDln.js @@ -1 +1 @@ -import{r as xe,b as Ie,p as U,g as b,f as He,d as Re,t as Me}from"./registry-zqrnEiYK.js";/* empty css */import{_ as d}from"./dynamic-tag-4Gch17f1.js";import{_ as Ke}from"./index-0sOjhOVp.js";import{_ as V}from"./render-tag-_0PNNh6Y.js";import{_ as O}from"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import{s as Ue}from"./index-ERL0bCNR.js";import{r as ne,h as Ve}from"./index-XjwwBzg5.js";let c,h,B,C,S,N,P,se,le;function qe(){const e=document.createElement("div");return e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","0"),e.className="keyboard-trap-boundary",e}function q(){se.focus()}function z(){le.focus()}function ze(){h=qe(),B=h.cloneNode(),C=h.cloneNode(),S=h.cloneNode(),N=h.cloneNode(),P=h.cloneNode(),h.addEventListener("focus",q),B.addEventListener("focus",q),C.addEventListener("focus",z),S.addEventListener("focus",q),N.addEventListener("focus",z),P.addEventListener("focus",z)}function re(){return c&&(h=w(h),B=w(B),C=w(C),S=w(S),N=w(N),P=w(P),c.classList.remove("keyboard-trap--active"),c.dispatchEvent(new CustomEvent("keyboardUntrap",{bubbles:!0})),c=null),c}function w(e){const t=e.parentNode;return t?t.removeChild(e):e}function Xe(e){h?re():ze(),c=e;const t=typeof document>"u"?null:document.body,i=Ue(c,!0);return se=i[0],le=i[i.length-1],t.insertBefore(h,t.childNodes[0]),c.parentNode.insertBefore(B,c),c.insertBefore(C,c.childNodes[0]),c.appendChild(S),c.parentNode.insertBefore(N,c.nextElementSibling),t.appendChild(P),c.dispatchEvent(new CustomEvent("keyboardTrap",{bubbles:!0})),c.classList.add("keyboard-trap--active"),c}const Ye=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="body"&&e.tagName.toLowerCase()!=="html",Ze=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="script",Ge=(e,t)=>e.concat(t);function oe(e,t=[]){const i=e.previousSibling;return i?(t.push(i),oe(i,t)):t}function ae(e,t=[]){const i=e.nextSibling;return i?(t.push(i),ae(i,t)):t}function ce(e){return oe(e).concat(ae(e)).filter(Ze)}function ue(e,t=[]){const i=e.parentNode;return i?(t.push(i),ue(i,t)):t}function de(e){return ue(e).filter(Ye)}function Je(e){return de(e).map(t=>ce(t)).reduce(Ge,[])}let A,p,F;const j=e=>e.tagName.toLowerCase()!=="svg";function D(e,t){let i;return t===!1?i=$(e,"aria-hidden","false"):i=$(e,"hidden",!1),i}function ee(e,t){let i;return t===!1?i=$(e,"aria-hidden","true"):i=$(e,"hidden",!0),i}function $(e,t,i){const n=typeof i=="boolean";return{el:e,attributeName:t,cleanValue:n?e[t]:e.getAttribute(t),dirtyValue:i,isProperty:n}}function Qe(e){e.isProperty===!0?e.el[e.attributeName]=e.dirtyValue:e.el.setAttribute(e.attributeName,e.dirtyValue)}function We(e){e.cleanValue?e.isProperty===!0?e.el[e.attributeName]=e.cleanValue:e.el.setAttribute(e.attributeName,e.cleanValue):e.el.removeAttribute(e.attributeName)}function fe(){p&&(F.forEach(e=>We(e)),F=[],A&&A.setAttribute("role","main"),p.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),p=null)}const Oe={useHiddenProperty:!1};function je(e,t){fe();const i=Object.assign({},Oe,t);p=e,A=document.querySelector('main, [role="main"]'),A&&A.setAttribute("role","presentation");const n=de(p);let l=ce(p),o=Je(p);i.useHiddenProperty===!0&&(l=l.filter(j),o=o.filter(j)),F=[D(p,i.useHiddenProperty)].concat(n.map(a=>D(a,i.useHiddenProperty))).concat(l.map(a=>ee(a,i.useHiddenProperty))).concat(o.map(a=>ee(a,i.useHiddenProperty))),F.forEach(a=>Qe(a)),p.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}let he,k,x=!1;function pe(){if(!x){const{body:e}=document,{pageXOffset:t,pageYOffset:i}=window,{width:n,height:l,marginTop:o,marginLeft:a}=getComputedStyle(e);let r="position:fixed;overflow:hidden;";he=[t,i],k=e.getAttribute("style"),r+=`height:${l};`,r+=`width:${n};`,i&&(r+=`margin-top:${-1*(i-parseInt(o,10))}px;`),t&&(r+=`margin-left:${-1*(t-parseInt(a,10))}px`),k&&(r=`${k};${r}`),e.setAttribute("style",r),ne.addEventListener("",ge),x=!0}}function me(){if(x){const{body:e}=document;k?e.setAttribute("style",k):e.removeAttribute("style"),window.scrollTo(...he),ne.removeEventListener("",ge),x=!1}}function ge(){me(),pe()}const X="transitionend",te=({el:e,className:t,waitFor:i},n)=>{let l,o=0;const a=i?i.length:0,r=e.classList,f=`${t}-init`;if(!("ontransitionend"in e)){const u=setTimeout(n,0);return()=>clearTimeout(u)}let g=De(()=>{g=void 0,r.add(t),r.remove(f),a?i.forEach(u=>u.addEventListener(X,m)):(v(),n&&n())});return r.add(f),v;function v(){if(!l){l=!0;for(let u=o;u{t=requestAnimationFrame(e)}),()=>{t&&(cancelAnimationFrame(t),t=0)}}class et extends Marko.Component{get useHiddenProperty(){return this.input.useHiddenProperty||!1}trackLastClick(t){if(t.defaultPrevented||t.metaKey||t.ctrlKey||t.shiftKey||t.button!==0)return;let i=t.target;for(;i!==null&&i.nodeName!=="BUTTON";)i=i.parentNode;this.clickTarget=i}getActiveElement(t){let i=null;t&&t.closeFocus&&(i=document.getElementById(t.closeFocus));const n=document.activeElement===document.body?this.clickTarget:document.activeElement;return i||n}handleStartClick({target:t}){this.startEl=t}handleScroll(){this.emit("scroll")}handleKeydown(t){Ve(t,()=>{this.state.open=!1})}handleDialogClick({target:t,clientY:i}){const{closeEl:n,windowEl:l,startEl:o}=this;if(this.startEl=null,this.input.buttonPosition!=="hidden"&&!(l!=null&&l.contains(o??null))){if(!(n!=null&&n.contains(t))&&(l!=null&&l.contains(t))){const{bottom:a}=l.getBoundingClientRect(),{paddingBottom:r}=getComputedStyle(l),f=a-parseInt(r,10);if(i{}),this._trap({firstRender:!0})}onUpdate(){this._trap({firstRender:!1})}_triggerFocus(t){this.input.isModal&&t&&t.focus()}_triggerBodyScroll(t){this.input.isModal&&(t?pe():me())}onDestroy(){this._cancelAsync(),this._release(),this.isTrapped&&this._triggerBodyScroll(!1)}_getTrapCallback(t,i,n){const l=this.input.isModal&&(t||i&&!n),o=this.useHiddenProperty;return()=>{l&&(je(this.el,{useHiddenProperty:o}),o||Xe(this.windowEl))}}_trap(t){var g,v;const{isTrapped:i,restoreTrap:n}=this,l=this.isTrapped=this.state.open,o=t&&t.firstRender,a=l!==i,r=this.input.focus&&document.getElementById(this.input.focus)||this.closeEl,f=this._getTrapCallback(n??!1,l,i??!1);if(o&&this.input.isModal&&l&&(this._prevFocusEl=this.getActiveElement(this.input),r&&this._triggerFocus(r),this._triggerBodyScroll(!0)),a){this._cancelAsync();const m=()=>{var u,T,E;if(this.cancelTransition=void 0,f(),l)(u=this.rootEl)==null||u.removeAttribute("hidden"),this._triggerFocus(r),this.emit("open"),this.isAnimating=!1;else{this._triggerBodyScroll(!1);const _=this.getActiveElement(this.input);(T=this.rootEl)==null||T.setAttribute("hidden",""),this.emit("close"),this.isAnimating=!1,_===this.getActiveElement(this.input)&&document.documentElement.contains(this._prevFocusEl??null)&&((E=this._prevFocusEl)==null||E.focus()),this.cancelScrollReset=setTimeout(()=>{var H,L;(L=(H=this.rootEl)==null?void 0:H.parentNode)==null||L.replaceChild(this.rootEl,this.rootEl),this.cancelScrollReset=void 0},20)}};l?o?(this.isAnimating=!1,(g=this.rootEl)==null||g.removeAttribute("hidden"),f()):(this._prevFocusEl=this.getActiveElement(this.input),this._triggerBodyScroll(!0),this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--show`,waitFor:this.transitionEls??[]},m)):o?(this.isAnimating=!1,(v=this.rootEl)==null||v.setAttribute("hidden","")):(this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--hide`,waitFor:this.transitionEls??[]},m))}else n&&f()}_release(){this.isTrapped&&this.input.isModal?(this.restoreTrap=this.state.open,fe(this.el),this.useHiddenProperty||re(this.windowEl)):this.restoreTrap=!1}_cancelAsync(){this.cancelScrollReset&&(clearTimeout(this.cancelScrollReset),this.cancelScrollReset=void 0),this.cancelTransition&&(this.cancelTransition(),this.cancelTransition=void 0)}}const Y="ZSiMe4+1",I=Me(Y),ie=typeof window<"u";xe.r(Y,()=>I);const Ee=et;I._=Ie(function(e,t,i,n,l,o){const{open:a,classPrefix:r,class:f,focus:g,closeFocus:v,a11yCloseText:m,windowClass:u,baseEl:T="div",header:E,footer:_,transitionEl:H,isModal:L,closeButton:Z,closeButtonClass:ye,closeButtonText:R,ignoreEscape:be,windowType:G,mainId:ve,ariaLabelledby:we,buttonPosition:y="right",useHiddenProperty:tt,top:J,action:M,prevButton:K,role:Te,renderBody:_e,...Ae}=e,{id:ke,as:Be,class:Ce,renderBody:Se,...Ne}=E||{},{id:it,class:Pe,a11yText:Le,renderBody:nt,...Fe}=K||{};function Q(s){d(s,Be||"h2",()=>({class:[Ce,`${r}__title`],...U(Ne),id:ke||n.getElId("dialog-title")}),$e=>{d($e,Se,null,null,null,null,i,"2")},null,null,i,"1")}function W(s){y!=="hidden"&&(s.be("button",{class:b([R?"fake-link":"icon-btn",ye,`${r}__close`]),type:"button","aria-label":m},"@close",n,null,0,{onclick:i.d("click","handleCloseButtonClick",!1)}),R?s.t(R,n):Z?d(s,Z,null,null,null,null,i,"4"):V(Ke,{},s,i,"5"),s.ee())}d(t,T,()=>({...U(Ae),"aria-labelledby":we||E&&n.getElId("dialog-title"),"aria-modal":"true",role:Te||"dialog",class:[r,f],hidden:!l.open,"aria-live":!L&&"polite"}),s=>{l.open&&ie&&!be&&V(O,{to:typeof window=="object"&&document,__events:["on","keydown"]},s,i,"7",[["keydown","handleKeydown",!1]]),!l.open&&ie&&V(O,{to:typeof window=="object"&&window,__events:["on","click"]},s,i,"8",[["click","trackLastClick",!1]]),s.be("div",{class:b([G?`${r}__${G}-window`:`${r}__window`,u])},"@window",n,null,1,{onmouseenter:i.d("mouseenter","emit",!1,["mouseEnter"]),onmouseleave:i.d("mouseleave","emit",!1,["mouseLeave"])}),J&&d(s,J.renderBody,null,null,null,null,i,"9"),s.be("div",{class:b(`${r}__header`)},"10",n,null,1),K&&(s.be("button",He(U(Fe),{class:b(["icon-btn","lightbox-dialog__prev",Pe]),type:"button","aria-label":Le}),"11",n,null,4,{onclick:i.d("click","emit",!1,["prevButtonClick"])}),d(s,K,null,null,null,null,i,"12"),s.ee()),E&&y==="right"&&d(s,Q,null,null,null,null,i,"13"),y!=="bottom"&&d(s,W,null,null,null,null,i,"14"),E&&(y==="left"||y==="hidden")&&d(s,Q,null,null,null,null,i,"15"),s.ee(),s.be("div",{id:ve,class:b(`${r}__main`)},"@body",n,null,1,{onscroll:i.d("scroll","handleScroll",!1)}),d(s,_e,null,null,null,null,i,"16"),s.ee(),M&&(s.be("span",{class:b(`${r}__actions`)},"17",n,null,1),d(s,M&&M.renderBody,null,null,null,null,i,"18"),s.ee()),(_||y==="bottom")&&(s.be("div",{class:b(`${r}__footer`)},"19",n,null,1),d(s,_&&_.renderBody,null,null,null,null,i,"20"),y==="bottom"&&d(s,W,null,null,null,null,i,"21"),s.ee()),s.ee()},null,{pa:["hidden"]},i,"6",[["click","handleDialogClick",!1],["mousedown","handleStartClick",!1]])},{t:Y},Ee);I.Component=Re(Ee,I._);export{I as _}; +import{r as xe,b as Ie,p as U,g as b,f as He,d as Re,t as Me}from"./registry-zqrnEiYK.js";/* empty css */import{_ as d}from"./dynamic-tag-4Gch17f1.js";import{_ as Ke}from"./index-avw8iGTO.js";import{_ as V}from"./render-tag-_0PNNh6Y.js";import{_ as O}from"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import{s as Ue}from"./index-ERL0bCNR.js";import{r as ne,h as Ve}from"./index-XjwwBzg5.js";let c,h,B,C,S,N,P,se,le;function qe(){const e=document.createElement("div");return e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","0"),e.className="keyboard-trap-boundary",e}function q(){se.focus()}function z(){le.focus()}function ze(){h=qe(),B=h.cloneNode(),C=h.cloneNode(),S=h.cloneNode(),N=h.cloneNode(),P=h.cloneNode(),h.addEventListener("focus",q),B.addEventListener("focus",q),C.addEventListener("focus",z),S.addEventListener("focus",q),N.addEventListener("focus",z),P.addEventListener("focus",z)}function re(){return c&&(h=w(h),B=w(B),C=w(C),S=w(S),N=w(N),P=w(P),c.classList.remove("keyboard-trap--active"),c.dispatchEvent(new CustomEvent("keyboardUntrap",{bubbles:!0})),c=null),c}function w(e){const t=e.parentNode;return t?t.removeChild(e):e}function Xe(e){h?re():ze(),c=e;const t=typeof document>"u"?null:document.body,i=Ue(c,!0);return se=i[0],le=i[i.length-1],t.insertBefore(h,t.childNodes[0]),c.parentNode.insertBefore(B,c),c.insertBefore(C,c.childNodes[0]),c.appendChild(S),c.parentNode.insertBefore(N,c.nextElementSibling),t.appendChild(P),c.dispatchEvent(new CustomEvent("keyboardTrap",{bubbles:!0})),c.classList.add("keyboard-trap--active"),c}const Ye=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="body"&&e.tagName.toLowerCase()!=="html",Ze=e=>e.nodeType===1&&e.tagName.toLowerCase()!=="script",Ge=(e,t)=>e.concat(t);function oe(e,t=[]){const i=e.previousSibling;return i?(t.push(i),oe(i,t)):t}function ae(e,t=[]){const i=e.nextSibling;return i?(t.push(i),ae(i,t)):t}function ce(e){return oe(e).concat(ae(e)).filter(Ze)}function ue(e,t=[]){const i=e.parentNode;return i?(t.push(i),ue(i,t)):t}function de(e){return ue(e).filter(Ye)}function Je(e){return de(e).map(t=>ce(t)).reduce(Ge,[])}let A,p,F;const j=e=>e.tagName.toLowerCase()!=="svg";function D(e,t){let i;return t===!1?i=$(e,"aria-hidden","false"):i=$(e,"hidden",!1),i}function ee(e,t){let i;return t===!1?i=$(e,"aria-hidden","true"):i=$(e,"hidden",!0),i}function $(e,t,i){const n=typeof i=="boolean";return{el:e,attributeName:t,cleanValue:n?e[t]:e.getAttribute(t),dirtyValue:i,isProperty:n}}function Qe(e){e.isProperty===!0?e.el[e.attributeName]=e.dirtyValue:e.el.setAttribute(e.attributeName,e.dirtyValue)}function We(e){e.cleanValue?e.isProperty===!0?e.el[e.attributeName]=e.cleanValue:e.el.setAttribute(e.attributeName,e.cleanValue):e.el.removeAttribute(e.attributeName)}function fe(){p&&(F.forEach(e=>We(e)),F=[],A&&A.setAttribute("role","main"),p.dispatchEvent(new CustomEvent("screenreaderUntrap",{bubbles:!0})),p=null)}const Oe={useHiddenProperty:!1};function je(e,t){fe();const i=Object.assign({},Oe,t);p=e,A=document.querySelector('main, [role="main"]'),A&&A.setAttribute("role","presentation");const n=de(p);let l=ce(p),o=Je(p);i.useHiddenProperty===!0&&(l=l.filter(j),o=o.filter(j)),F=[D(p,i.useHiddenProperty)].concat(n.map(a=>D(a,i.useHiddenProperty))).concat(l.map(a=>ee(a,i.useHiddenProperty))).concat(o.map(a=>ee(a,i.useHiddenProperty))),F.forEach(a=>Qe(a)),p.dispatchEvent(new CustomEvent("screenreaderTrap",{bubbles:!0}))}let he,k,x=!1;function pe(){if(!x){const{body:e}=document,{pageXOffset:t,pageYOffset:i}=window,{width:n,height:l,marginTop:o,marginLeft:a}=getComputedStyle(e);let r="position:fixed;overflow:hidden;";he=[t,i],k=e.getAttribute("style"),r+=`height:${l};`,r+=`width:${n};`,i&&(r+=`margin-top:${-1*(i-parseInt(o,10))}px;`),t&&(r+=`margin-left:${-1*(t-parseInt(a,10))}px`),k&&(r=`${k};${r}`),e.setAttribute("style",r),ne.addEventListener("",ge),x=!0}}function me(){if(x){const{body:e}=document;k?e.setAttribute("style",k):e.removeAttribute("style"),window.scrollTo(...he),ne.removeEventListener("",ge),x=!1}}function ge(){me(),pe()}const X="transitionend",te=({el:e,className:t,waitFor:i},n)=>{let l,o=0;const a=i?i.length:0,r=e.classList,f=`${t}-init`;if(!("ontransitionend"in e)){const u=setTimeout(n,0);return()=>clearTimeout(u)}let g=De(()=>{g=void 0,r.add(t),r.remove(f),a?i.forEach(u=>u.addEventListener(X,m)):(v(),n&&n())});return r.add(f),v;function v(){if(!l){l=!0;for(let u=o;u{t=requestAnimationFrame(e)}),()=>{t&&(cancelAnimationFrame(t),t=0)}}class et extends Marko.Component{get useHiddenProperty(){return this.input.useHiddenProperty||!1}trackLastClick(t){if(t.defaultPrevented||t.metaKey||t.ctrlKey||t.shiftKey||t.button!==0)return;let i=t.target;for(;i!==null&&i.nodeName!=="BUTTON";)i=i.parentNode;this.clickTarget=i}getActiveElement(t){let i=null;t&&t.closeFocus&&(i=document.getElementById(t.closeFocus));const n=document.activeElement===document.body?this.clickTarget:document.activeElement;return i||n}handleStartClick({target:t}){this.startEl=t}handleScroll(){this.emit("scroll")}handleKeydown(t){Ve(t,()=>{this.state.open=!1})}handleDialogClick({target:t,clientY:i}){const{closeEl:n,windowEl:l,startEl:o}=this;if(this.startEl=null,this.input.buttonPosition!=="hidden"&&!(l!=null&&l.contains(o??null))){if(!(n!=null&&n.contains(t))&&(l!=null&&l.contains(t))){const{bottom:a}=l.getBoundingClientRect(),{paddingBottom:r}=getComputedStyle(l),f=a-parseInt(r,10);if(i{}),this._trap({firstRender:!0})}onUpdate(){this._trap({firstRender:!1})}_triggerFocus(t){this.input.isModal&&t&&t.focus()}_triggerBodyScroll(t){this.input.isModal&&(t?pe():me())}onDestroy(){this._cancelAsync(),this._release(),this.isTrapped&&this._triggerBodyScroll(!1)}_getTrapCallback(t,i,n){const l=this.input.isModal&&(t||i&&!n),o=this.useHiddenProperty;return()=>{l&&(je(this.el,{useHiddenProperty:o}),o||Xe(this.windowEl))}}_trap(t){var g,v;const{isTrapped:i,restoreTrap:n}=this,l=this.isTrapped=this.state.open,o=t&&t.firstRender,a=l!==i,r=this.input.focus&&document.getElementById(this.input.focus)||this.closeEl,f=this._getTrapCallback(n??!1,l,i??!1);if(o&&this.input.isModal&&l&&(this._prevFocusEl=this.getActiveElement(this.input),r&&this._triggerFocus(r),this._triggerBodyScroll(!0)),a){this._cancelAsync();const m=()=>{var u,T,E;if(this.cancelTransition=void 0,f(),l)(u=this.rootEl)==null||u.removeAttribute("hidden"),this._triggerFocus(r),this.emit("open"),this.isAnimating=!1;else{this._triggerBodyScroll(!1);const _=this.getActiveElement(this.input);(T=this.rootEl)==null||T.setAttribute("hidden",""),this.emit("close"),this.isAnimating=!1,_===this.getActiveElement(this.input)&&document.documentElement.contains(this._prevFocusEl??null)&&((E=this._prevFocusEl)==null||E.focus()),this.cancelScrollReset=setTimeout(()=>{var H,L;(L=(H=this.rootEl)==null?void 0:H.parentNode)==null||L.replaceChild(this.rootEl,this.rootEl),this.cancelScrollReset=void 0},20)}};l?o?(this.isAnimating=!1,(g=this.rootEl)==null||g.removeAttribute("hidden"),f()):(this._prevFocusEl=this.getActiveElement(this.input),this._triggerBodyScroll(!0),this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--show`,waitFor:this.transitionEls??[]},m)):o?(this.isAnimating=!1,(v=this.rootEl)==null||v.setAttribute("hidden","")):(this.isAnimating=!0,this.cancelTransition=te({el:this.rootEl,className:`${this.input.classPrefix}--hide`,waitFor:this.transitionEls??[]},m))}else n&&f()}_release(){this.isTrapped&&this.input.isModal?(this.restoreTrap=this.state.open,fe(this.el),this.useHiddenProperty||re(this.windowEl)):this.restoreTrap=!1}_cancelAsync(){this.cancelScrollReset&&(clearTimeout(this.cancelScrollReset),this.cancelScrollReset=void 0),this.cancelTransition&&(this.cancelTransition(),this.cancelTransition=void 0)}}const Y="ZSiMe4+1",I=Me(Y),ie=typeof window<"u";xe.r(Y,()=>I);const Ee=et;I._=Ie(function(e,t,i,n,l,o){const{open:a,classPrefix:r,class:f,focus:g,closeFocus:v,a11yCloseText:m,windowClass:u,baseEl:T="div",header:E,footer:_,transitionEl:H,isModal:L,closeButton:Z,closeButtonClass:ye,closeButtonText:R,ignoreEscape:be,windowType:G,mainId:ve,ariaLabelledby:we,buttonPosition:y="right",useHiddenProperty:tt,top:J,action:M,prevButton:K,role:Te,renderBody:_e,...Ae}=e,{id:ke,as:Be,class:Ce,renderBody:Se,...Ne}=E||{},{id:it,class:Pe,a11yText:Le,renderBody:nt,...Fe}=K||{};function Q(s){d(s,Be||"h2",()=>({class:[Ce,`${r}__title`],...U(Ne),id:ke||n.getElId("dialog-title")}),$e=>{d($e,Se,null,null,null,null,i,"2")},null,null,i,"1")}function W(s){y!=="hidden"&&(s.be("button",{class:b([R?"fake-link":"icon-btn",ye,`${r}__close`]),type:"button","aria-label":m},"@close",n,null,0,{onclick:i.d("click","handleCloseButtonClick",!1)}),R?s.t(R,n):Z?d(s,Z,null,null,null,null,i,"4"):V(Ke,{},s,i,"5"),s.ee())}d(t,T,()=>({...U(Ae),"aria-labelledby":we||E&&n.getElId("dialog-title"),"aria-modal":"true",role:Te||"dialog",class:[r,f],hidden:!l.open,"aria-live":!L&&"polite"}),s=>{l.open&&ie&&!be&&V(O,{to:typeof window=="object"&&document,__events:["on","keydown"]},s,i,"7",[["keydown","handleKeydown",!1]]),!l.open&&ie&&V(O,{to:typeof window=="object"&&window,__events:["on","click"]},s,i,"8",[["click","trackLastClick",!1]]),s.be("div",{class:b([G?`${r}__${G}-window`:`${r}__window`,u])},"@window",n,null,1,{onmouseenter:i.d("mouseenter","emit",!1,["mouseEnter"]),onmouseleave:i.d("mouseleave","emit",!1,["mouseLeave"])}),J&&d(s,J.renderBody,null,null,null,null,i,"9"),s.be("div",{class:b(`${r}__header`)},"10",n,null,1),K&&(s.be("button",He(U(Fe),{class:b(["icon-btn","lightbox-dialog__prev",Pe]),type:"button","aria-label":Le}),"11",n,null,4,{onclick:i.d("click","emit",!1,["prevButtonClick"])}),d(s,K,null,null,null,null,i,"12"),s.ee()),E&&y==="right"&&d(s,Q,null,null,null,null,i,"13"),y!=="bottom"&&d(s,W,null,null,null,null,i,"14"),E&&(y==="left"||y==="hidden")&&d(s,Q,null,null,null,null,i,"15"),s.ee(),s.be("div",{id:ve,class:b(`${r}__main`)},"@body",n,null,1,{onscroll:i.d("scroll","handleScroll",!1)}),d(s,_e,null,null,null,null,i,"16"),s.ee(),M&&(s.be("span",{class:b(`${r}__actions`)},"17",n,null,1),d(s,M&&M.renderBody,null,null,null,null,i,"18"),s.ee()),(_||y==="bottom")&&(s.be("div",{class:b(`${r}__footer`)},"19",n,null,1),d(s,_&&_.renderBody,null,null,null,null,i,"20"),y==="bottom"&&d(s,W,null,null,null,null,i,"21"),s.ee()),s.ee()},null,{pa:["hidden"]},i,"6",[["click","handleDialogClick",!1],["mousedown","handleStartClick",!1]])},{t:Y},Ee);I.Component=Re(Ee,I._);export{I as _}; diff --git a/docs/assets/index-MwzY8iYS.js b/docs/assets/index-Yh_PXuyA.js similarity index 89% rename from docs/assets/index-MwzY8iYS.js rename to docs/assets/index-Yh_PXuyA.js index 0fae8f5dc..69fb48b32 100644 --- a/docs/assets/index-MwzY8iYS.js +++ b/docs/assets/index-Yh_PXuyA.js @@ -1 +1 @@ -import{r as m,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="/i6O0XEw",o=p(e);m.r(e,()=>o);const t={};o._=_(function(r,n,a,d,f,h){s(l,{...r,_name:"chevron-right-12",_type:"icon",_themes:c},n,a,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; +import{r as m,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="/i6O0XEw",o=p(e);m.r(e,()=>o);const t={};o._=_(function(r,n,a,d,f,h){s(l,{...r,_name:"chevron-right-12",_type:"icon",_themes:c},n,a,"0")},{t:e,i:!0},t);o.Component=i(t,o._);export{o as _}; diff --git a/docs/assets/index-4lRyQCLB.js b/docs/assets/index-aYjb7RMT.js similarity index 95% rename from docs/assets/index-4lRyQCLB.js rename to docs/assets/index-aYjb7RMT.js index e2874c229..5c33e6f5e 100644 --- a/docs/assets/index-4lRyQCLB.js +++ b/docs/assets/index-aYjb7RMT.js @@ -1 +1 @@ -import{t as d,r as h,b as f,g as p,h as u,f as x,p as y,d as C}from"./registry-zqrnEiYK.js";/* empty css */import{_ as g,a as w,b as S,c as v}from"./index-nYpLpsKM.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";class $ extends Marko.Component{forwardEvent(e,s,a){const r=a||this.el.querySelector("input"),k=r.value,t=r.checked;this.emit(`${e}`,{originalEvent:s,value:k,checked:t})}}const n="QCRbkPsA",o=d(n),I=o;function E(){}h.r(n,()=>$);const _={};o._=f(function(l,e,s,a,r,k){const{class:t,style:m,size:i,iconStyle:A,...b}=l;l.toJSON=E,e.be("span",{class:p(["checkbox",t]),style:u(m)},"0",a,null,1),e.e("input",x(y(b),{class:"checkbox__control",type:"checkbox"}),"1",a,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),e.be("span",{class:"checkbox__icon",hidden:""},"2",a,null,0),i==="large"?(c(g,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"3"),c(w,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"4")):(c(S,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"5"),c(v,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"6")),e.ee(),e.ee()},{t:n,s:!0},_);o.Component=C(_,o._);export{I as _}; +import{t as d,r as h,b as f,g as p,h as u,f as x,p as y,d as C}from"./registry-zqrnEiYK.js";/* empty css */import{_ as g,a as w,b as S,c as v}from"./index-GxCEZ36B.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";class $ extends Marko.Component{forwardEvent(e,s,a){const r=a||this.el.querySelector("input"),k=r.value,t=r.checked;this.emit(`${e}`,{originalEvent:s,value:k,checked:t})}}const n="QCRbkPsA",o=d(n),I=o;function E(){}h.r(n,()=>$);const _={};o._=f(function(l,e,s,a,r,k){const{class:t,style:m,size:i,iconStyle:A,...b}=l;l.toJSON=E,e.be("span",{class:p(["checkbox",t]),style:u(m)},"0",a,null,1),e.e("input",x(y(b),{class:"checkbox__control",type:"checkbox"}),"1",a,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),e.be("span",{class:"checkbox__icon",hidden:""},"2",a,null,0),i==="large"?(c(g,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"3"),c(w,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"4")):(c(S,{class:"checkbox__unchecked",focusable:"false",noSkinClasses:!0},e,s,"5"),c(v,{class:"checkbox__checked",focusable:"false",noSkinClasses:!0},e,s,"6")),e.ee(),e.ee()},{t:n,s:!0},_);o.Component=C(_,o._);export{I as _}; diff --git a/docs/assets/index-_vCgt_Po.js b/docs/assets/index-afjEbwFG.js similarity index 87% rename from docs/assets/index-_vCgt_Po.js rename to docs/assets/index-afjEbwFG.js index 7a54f835c..115c9fdfe 100644 --- a/docs/assets/index-_vCgt_Po.js +++ b/docs/assets/index-afjEbwFG.js @@ -1 +1 @@ -import{R as o}from"./chunk-HLWAVYOI-bPp9GyXi.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w}; +import{R as o}from"./chunk-HLWAVYOI-CrIFzHE4.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w}; diff --git a/docs/assets/index-touo30Yf.js b/docs/assets/index-asvJB4Ap.js similarity index 98% rename from docs/assets/index-touo30Yf.js rename to docs/assets/index-asvJB4Ap.js index 1516a8391..c1831670f 100644 --- a/docs/assets/index-touo30Yf.js +++ b/docs/assets/index-asvJB4Ap.js @@ -1 +1 @@ -import{t as T,r as D,b as R,g as a,h as U,f as c,p as r,d as N}from"./registry-zqrnEiYK.js";/* empty css *//* empty css */import{_ as j}from"./dynamic-tag-4Gch17f1.js";import{_ as z}from"./index-i1smj9EI.js";import{_ as C}from"./render-tag-_0PNNh6Y.js";import{_ as H}from"./index--HiXohkr.js";import"./preserve-attrs-PKQRsRTw.js";import{s as W,c as q}from"./index-QozpcpzM.js";import{s as G}from"./index-4ijq5S5t.js";import{s as J}from"./index-l3FQEXUN.js";import{b as P,c as Q,h as X,d as Y}from"./index-XjwwBzg5.js";function Z(o=""){return new RegExp(o.trim().replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i")}let ee=class extends Marko.Component{focus(){this.getEl("combobox").focus()}handleFocus(){this._emitComboboxEvent("focus")}isExpanded(){return this.expander&&this.expander.expanded}isCollapsed(){return this.expander&&!this.expander.expanded}expand(){this.isCollapsed()&&(this.expander.expanded=!0)}collapse(){this.isExpanded()&&(this.expander.expanded=!1)}handleButtonClick(e){this.buttonClicked=!0,this.emit("button-click",{originalEvent:e})}handleActiveDescendantChange(e){if(this.listSelection==="automatic"){const t=this._getVisibleOptions()[e.detail.toIndex];this.getEl("combobox").value=t.text}}setSelectedView(){const e=this._getVisibleOptions().indexOf(this._getSelectedOption());this.activeDescendant.index=e;const t=this.getEls("options")[e];t&&W(t)}handleExpand(){this.state.viewAllOptions?this.setSelectedView():(this.state.viewAllOptions=!0,this.once("update",()=>{this.setSelectedView()})),this.emit("expand")}handleCollapse(){this.activeDescendant.reset(),this.emit("collapse")}handleComboboxClick(e){e.target===document.activeElement&&this.expand()}handleComboboxKeyDown(e){P(e,()=>{e.preventDefault(),this.expand()}),Q(e,()=>{if(this.isExpanded()){const t=this.activeDescendant.index;t!==-1&&this._setSelectedText(this._getVisibleOptions()[t].text),this.input.expanded!==!0&&this.collapse()}}),X(e,()=>{this.collapse()}),this.emit("keydown",e)}handleComboboxKeyUp(e){Y(e,()=>{this.state.currentValue=this.getEl("combobox").value,this.once("update",()=>{this.expand()}),this.state.viewAllOptions=!1,this._emitComboboxEvent("input-change")})}handleComboboxBlur(){const e=this.optionClicked;e&&this.focus(),!e&&!this.buttonClicked&&this.input.expanded!==!0&&this.collapse(),this.buttonClicked=!1;const t=this.getEl("combobox");this.listSelection==="automatic"&&t.value!==this.state.currentValue&&(this.state.currentValue=t.value),this.lastValue!==this.state.currentValue&&(this.lastValue=this.state.currentValue,this._emitComboboxEvent("change"))}handleSelectOption(e){this._setSelectedText(e),this.emit("option-click",e)}handleFloatingLabelInit(){this._emitComboboxEvent("floating-label-init")}onInput(e){this.autocomplete=e.autocomplete==="list"?"list":"none",this.listSelection=e.listSelection==="manual"?"manual":"automatic",this.lastValue=e.value,this.state={currentValue:this.lastValue,viewAllOptions:this.state&&this.state.viewAllOptions||!0},this.expander&&(this.expandedChange=e.expanded!==this.expanded,this.expandedChange&&(this.expander.expanded=e.expanded)),this.expanded=e.expanded}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupFloatingLabel(){this._floatingLabel?(this._floatingLabel.refresh(),this.handleFloatingLabelInit()):document.readyState==="complete"?this.el&&(this._floatingLabel=new G(this.el),this.handleFloatingLabelInit()):this.subscribeTo(window).once("load",()=>{this._setupFloatingLabel()})}_setupMakeup(){this._hasVisibleOptions()&&(this.activeDescendant||(this.activeDescendant=q(this.el,this.getEl("combobox"),this.getEl("listbox"),'[role="option"]',{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,axis:"y",autoScroll:!0})),this.expander||(this.expander=new J(this.el,{autoCollapse:!this.expanded,expandOnFocus:!0,collapseOnFocusOut:!this.expanded&&!this.input.button,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0})),this.expandedChange&&(this.expander.expanded=this.expanded,this.expandedChange=!1)),this.input.floatingLabel&&this._setupFloatingLabel()}_cleanupMakeup(){this.activeDescendant&&(this.activeDescendant.reset(),this.activeDescendant.destroy(),this.activeDescendant=null),this.expander&&(this.expander.destroy(),this.expander=null),this._floatingLabel&&(this._floatingLabel.destroy(),this._floatingLabel=null)}_setSelectedText(e){if(this.state.currentValue!==e){const t=this.getEl("combobox");this.state.currentValue=t.value=e,t.selectionStart=t.selectionEnd=e.length,t.focus(),this._emitComboboxEvent("select")}}_getSelectedOption(){return[...this.input.options??[]].find(e=>e.text===this.state.currentValue)}_getVisibleOptions(){var t;if(this.autocomplete==="none"||this.state.viewAllOptions)return[...this.input.options??[]];const e=Z((t=this.state.currentValue)==null?void 0:t.toString());return[...this.input.options??[]].filter(s=>e.test(s.text||"")||s.sticky)}_hasVisibleOptions(){return!this.input.disabled&&this._getVisibleOptions().length>0}_emitComboboxEvent(e){this.emit(`${e}`,{currentInputValue:this.state.currentValue,selectedOption:this._getSelectedOption(),options:this.input.options})}};const h="ypw76W2j",l=T(h),ge=l;D.r(h,()=>l);const k=ee;l._=R(function(o,e,t,s,p,te){const{class:v,id:y,button:u,disabled:b,style:w,borderless:V,autocomplete:se,options:ie,roledescription:O=`Use up and down arrow keys to navigate options.${s.autocomplete==="none"?"":" Options change based on text input"}`,floatingLabel:d,listSelection:ae,expanded:le,fluid:x,chevronSize:S,...E}=o,{class:L,renderBody:m,...I}=u||{};var f=!!u,A=x?"div":"span",_=y||s.getElId("input");e.be(A,{class:a(["combobox",d&&"floating-label",x&&"combobox--fluid",v]),style:U(w)},"0",s,null,1,{onactiveDescendantChange:t.d("activeDescendantChange","handleActiveDescendantChange",!1),"onexpander-expand":t.d("expander-expand","handleExpand",!1),"onexpander-collapse":t.d("expander-collapse","handleCollapse",!1)}),d&&(e.be("label",{for:_,class:a(["floating-label__label",b&&"floating-label__label--disabled"])},"1",s,null,0),e.t(d,s),e.ee()),e.be("span",{class:a(["combobox__control",f&&"combobox__control--actionable",V&&"combobox__control--borderless"])},"2",s,null,1);{e.e("input",c(r(E),{id:_,type:"text",role:"combobox",disabled:b,value:p.currentValue,"aria-autocomplete":s.autocomplete,"aria-roledescription":O,"aria-haspopup":"listbox",autocomplete:"off","aria-expanded":"false"}),"@combobox",s,0,4,{onblur:t.d("blur","handleComboboxBlur",!1),onclick:t.d("click","handleComboboxClick",!1),onfocus:t.d("focus","handleFocus",!1),onkeydown:t.d("keydown","handleComboboxKeyDown",!1),onkeyup:t.d("keyup","handleComboboxKeyUp",!1)});const i=f?"button":null;i?e.be(i,c(r(I),{class:a(["icon-btn","icon-btn--transparent",L])}),"@actionable",s,null,4,{onclick:t.d("click","handleButtonClick",!1)}):e.bf("f_@actionable",s),m?j(e,m,null,null,null,null,t,"3"):S==="large"?C(z,{},e,t,"4"):C(H,{},e,t,"5"),i?e.ee():e.ef()}if(e.ee(),s._hasVisibleOptions()){e.be("div",{role:"listbox",class:"combobox__listbox"},"@listbox",s,null,0);for(const i of s._getVisibleOptions()||[]){const{text:n,value:$,class:B,...M}=i;var F=($||n)===p.currentValue;const g="@options[]",K=`[${g}]`;e.be("div",c(r(M),{role:"option",class:a(["combobox__option",B]),tabindex:"-1","aria-selected":F&&"true"}),g,s,null,4,{pa:["class","tabindex"],onclick:t.d("click","handleSelectOption",!1,[n]),onmousedown:t.d("mousedown","handleSelectOption",!1,[n])}),e.be("span",null,"6"+K,s,null,0),e.t(n,s),e.ee(),e.ee()}e.ee()}e.ee()},{t:h},k);l.Component=N(k,l._);export{ge as C}; +import{t as T,r as D,b as R,g as a,h as U,f as c,p as r,d as N}from"./registry-zqrnEiYK.js";/* empty css *//* empty css */import{_ as j}from"./dynamic-tag-4Gch17f1.js";import{_ as z}from"./index-kURT6dDW.js";import{_ as C}from"./render-tag-_0PNNh6Y.js";import{_ as H}from"./index-fsHgTAj9.js";import"./preserve-attrs-PKQRsRTw.js";import{s as W,c as q}from"./index-QozpcpzM.js";import{s as G}from"./index-4ijq5S5t.js";import{s as J}from"./index-l3FQEXUN.js";import{b as P,c as Q,h as X,d as Y}from"./index-XjwwBzg5.js";function Z(o=""){return new RegExp(o.trim().replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i")}let ee=class extends Marko.Component{focus(){this.getEl("combobox").focus()}handleFocus(){this._emitComboboxEvent("focus")}isExpanded(){return this.expander&&this.expander.expanded}isCollapsed(){return this.expander&&!this.expander.expanded}expand(){this.isCollapsed()&&(this.expander.expanded=!0)}collapse(){this.isExpanded()&&(this.expander.expanded=!1)}handleButtonClick(e){this.buttonClicked=!0,this.emit("button-click",{originalEvent:e})}handleActiveDescendantChange(e){if(this.listSelection==="automatic"){const t=this._getVisibleOptions()[e.detail.toIndex];this.getEl("combobox").value=t.text}}setSelectedView(){const e=this._getVisibleOptions().indexOf(this._getSelectedOption());this.activeDescendant.index=e;const t=this.getEls("options")[e];t&&W(t)}handleExpand(){this.state.viewAllOptions?this.setSelectedView():(this.state.viewAllOptions=!0,this.once("update",()=>{this.setSelectedView()})),this.emit("expand")}handleCollapse(){this.activeDescendant.reset(),this.emit("collapse")}handleComboboxClick(e){e.target===document.activeElement&&this.expand()}handleComboboxKeyDown(e){P(e,()=>{e.preventDefault(),this.expand()}),Q(e,()=>{if(this.isExpanded()){const t=this.activeDescendant.index;t!==-1&&this._setSelectedText(this._getVisibleOptions()[t].text),this.input.expanded!==!0&&this.collapse()}}),X(e,()=>{this.collapse()}),this.emit("keydown",e)}handleComboboxKeyUp(e){Y(e,()=>{this.state.currentValue=this.getEl("combobox").value,this.once("update",()=>{this.expand()}),this.state.viewAllOptions=!1,this._emitComboboxEvent("input-change")})}handleComboboxBlur(){const e=this.optionClicked;e&&this.focus(),!e&&!this.buttonClicked&&this.input.expanded!==!0&&this.collapse(),this.buttonClicked=!1;const t=this.getEl("combobox");this.listSelection==="automatic"&&t.value!==this.state.currentValue&&(this.state.currentValue=t.value),this.lastValue!==this.state.currentValue&&(this.lastValue=this.state.currentValue,this._emitComboboxEvent("change"))}handleSelectOption(e){this._setSelectedText(e),this.emit("option-click",e)}handleFloatingLabelInit(){this._emitComboboxEvent("floating-label-init")}onInput(e){this.autocomplete=e.autocomplete==="list"?"list":"none",this.listSelection=e.listSelection==="manual"?"manual":"automatic",this.lastValue=e.value,this.state={currentValue:this.lastValue,viewAllOptions:this.state&&this.state.viewAllOptions||!0},this.expander&&(this.expandedChange=e.expanded!==this.expanded,this.expandedChange&&(this.expander.expanded=e.expanded)),this.expanded=e.expanded}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupFloatingLabel(){this._floatingLabel?(this._floatingLabel.refresh(),this.handleFloatingLabelInit()):document.readyState==="complete"?this.el&&(this._floatingLabel=new G(this.el),this.handleFloatingLabelInit()):this.subscribeTo(window).once("load",()=>{this._setupFloatingLabel()})}_setupMakeup(){this._hasVisibleOptions()&&(this.activeDescendant||(this.activeDescendant=q(this.el,this.getEl("combobox"),this.getEl("listbox"),'[role="option"]',{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,axis:"y",autoScroll:!0})),this.expander||(this.expander=new J(this.el,{autoCollapse:!this.expanded,expandOnFocus:!0,collapseOnFocusOut:!this.expanded&&!this.input.button,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0})),this.expandedChange&&(this.expander.expanded=this.expanded,this.expandedChange=!1)),this.input.floatingLabel&&this._setupFloatingLabel()}_cleanupMakeup(){this.activeDescendant&&(this.activeDescendant.reset(),this.activeDescendant.destroy(),this.activeDescendant=null),this.expander&&(this.expander.destroy(),this.expander=null),this._floatingLabel&&(this._floatingLabel.destroy(),this._floatingLabel=null)}_setSelectedText(e){if(this.state.currentValue!==e){const t=this.getEl("combobox");this.state.currentValue=t.value=e,t.selectionStart=t.selectionEnd=e.length,t.focus(),this._emitComboboxEvent("select")}}_getSelectedOption(){return[...this.input.options??[]].find(e=>e.text===this.state.currentValue)}_getVisibleOptions(){var t;if(this.autocomplete==="none"||this.state.viewAllOptions)return[...this.input.options??[]];const e=Z((t=this.state.currentValue)==null?void 0:t.toString());return[...this.input.options??[]].filter(s=>e.test(s.text||"")||s.sticky)}_hasVisibleOptions(){return!this.input.disabled&&this._getVisibleOptions().length>0}_emitComboboxEvent(e){this.emit(`${e}`,{currentInputValue:this.state.currentValue,selectedOption:this._getSelectedOption(),options:this.input.options})}};const h="ypw76W2j",l=T(h),ge=l;D.r(h,()=>l);const k=ee;l._=R(function(o,e,t,s,p,te){const{class:v,id:y,button:u,disabled:b,style:w,borderless:V,autocomplete:se,options:ie,roledescription:O=`Use up and down arrow keys to navigate options.${s.autocomplete==="none"?"":" Options change based on text input"}`,floatingLabel:d,listSelection:ae,expanded:le,fluid:x,chevronSize:S,...E}=o,{class:L,renderBody:m,...I}=u||{};var f=!!u,A=x?"div":"span",_=y||s.getElId("input");e.be(A,{class:a(["combobox",d&&"floating-label",x&&"combobox--fluid",v]),style:U(w)},"0",s,null,1,{onactiveDescendantChange:t.d("activeDescendantChange","handleActiveDescendantChange",!1),"onexpander-expand":t.d("expander-expand","handleExpand",!1),"onexpander-collapse":t.d("expander-collapse","handleCollapse",!1)}),d&&(e.be("label",{for:_,class:a(["floating-label__label",b&&"floating-label__label--disabled"])},"1",s,null,0),e.t(d,s),e.ee()),e.be("span",{class:a(["combobox__control",f&&"combobox__control--actionable",V&&"combobox__control--borderless"])},"2",s,null,1);{e.e("input",c(r(E),{id:_,type:"text",role:"combobox",disabled:b,value:p.currentValue,"aria-autocomplete":s.autocomplete,"aria-roledescription":O,"aria-haspopup":"listbox",autocomplete:"off","aria-expanded":"false"}),"@combobox",s,0,4,{onblur:t.d("blur","handleComboboxBlur",!1),onclick:t.d("click","handleComboboxClick",!1),onfocus:t.d("focus","handleFocus",!1),onkeydown:t.d("keydown","handleComboboxKeyDown",!1),onkeyup:t.d("keyup","handleComboboxKeyUp",!1)});const i=f?"button":null;i?e.be(i,c(r(I),{class:a(["icon-btn","icon-btn--transparent",L])}),"@actionable",s,null,4,{onclick:t.d("click","handleButtonClick",!1)}):e.bf("f_@actionable",s),m?j(e,m,null,null,null,null,t,"3"):S==="large"?C(z,{},e,t,"4"):C(H,{},e,t,"5"),i?e.ee():e.ef()}if(e.ee(),s._hasVisibleOptions()){e.be("div",{role:"listbox",class:"combobox__listbox"},"@listbox",s,null,0);for(const i of s._getVisibleOptions()||[]){const{text:n,value:$,class:B,...M}=i;var F=($||n)===p.currentValue;const g="@options[]",K=`[${g}]`;e.be("div",c(r(M),{role:"option",class:a(["combobox__option",B]),tabindex:"-1","aria-selected":F&&"true"}),g,s,null,4,{pa:["class","tabindex"],onclick:t.d("click","handleSelectOption",!1,[n]),onmousedown:t.d("mousedown","handleSelectOption",!1,[n])}),e.be("span",null,"6"+K,s,null,0),e.t(n,s),e.ee(),e.ee()}e.ee()}e.ee()},{t:h},k);l.Component=N(k,l._);export{ge as C}; diff --git a/docs/assets/index-0sOjhOVp.js b/docs/assets/index-avw8iGTO.js similarity index 89% rename from docs/assets/index-0sOjhOVp.js rename to docs/assets/index-avw8iGTO.js index 26cbe1ee8..e0dbd3ae9 100644 --- a/docs/assets/index-0sOjhOVp.js +++ b/docs/assets/index-avw8iGTO.js @@ -1 +1 @@ -import{r as _,b as n,d as s,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="SYxGakwO",o=p(t);_.r(t,()=>o);const a={};o._=n(function(e,m,r,k,b,f){l(i,{...e,_name:"close-16",_type:"icon",_themes:c},m,r,"0")},{t,i:!0},a);o.Component=s(a,o._);export{o as _}; +import{r as _,b as n,d as s,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="SYxGakwO",o=p(t);_.r(t,()=>o);const a={};o._=n(function(e,m,r,k,b,f){l(i,{...e,_name:"close-16",_type:"icon",_themes:c},m,r,"0")},{t,i:!0},a);o.Component=s(a,o._);export{o as _}; diff --git a/docs/assets/index-vuK-pQni.js b/docs/assets/index-bDnsfnFH.js similarity index 93% rename from docs/assets/index-vuK-pQni.js rename to docs/assets/index-bDnsfnFH.js index c11ae9f7e..a25823146 100644 --- a/docs/assets/index-vuK-pQni.js +++ b/docs/assets/index-bDnsfnFH.js @@ -1 +1 @@ -import{r,b as p,d as i,t as s}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function k(){return''}const n="SDs2AeQd",o=s(n);r.r(n,()=>o);const h={};o._=p(function(t,e,m,u,y,f){c(l,{...t,_name:"full-view-24",_type:"icon",_themes:k},e,m,"0")},{t:n,i:!0},h);o.Component=i(h,o._);function v(){return''}const _="ToGWmquL",a=s(_);r.r(_,()=>a);const b={};a._=p(function(t,e,m,u,y,f){c(l,{...t,_name:"mobile-24",_type:"icon",_themes:v},e,m,"0")},{t:_,i:!0},b);a.Component=i(b,a._);export{o as _,a}; +import{r,b as p,d as i,t as s}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function k(){return''}const n="SDs2AeQd",o=s(n);r.r(n,()=>o);const h={};o._=p(function(t,e,m,u,y,f){c(l,{...t,_name:"full-view-24",_type:"icon",_themes:k},e,m,"0")},{t:n,i:!0},h);o.Component=i(h,o._);function v(){return''}const _="ToGWmquL",a=s(_);r.r(_,()=>a);const b={};a._=p(function(t,e,m,u,y,f){c(l,{...t,_name:"mobile-24",_type:"icon",_themes:v},e,m,"0")},{t:_,i:!0},b);a.Component=i(b,a._);export{o as _,a}; diff --git a/docs/assets/index-W-vPr4VJ.js b/docs/assets/index-c4SlkSUb.js similarity index 97% rename from docs/assets/index-W-vPr4VJ.js rename to docs/assets/index-c4SlkSUb.js index 8fb500f4b..3c6c240cd 100644 --- a/docs/assets/index-W-vPr4VJ.js +++ b/docs/assets/index-c4SlkSUb.js @@ -1 +1 @@ -import{r as x,b as w,d as T,t as k}from"./registry-zqrnEiYK.js";import{_ as y}from"./repeatable-jmdwKenu.js";import{_ as E}from"./self-iterator-6yU_KG2T.js";import{_ as S}from"./dynamic-tag-4Gch17f1.js";import{_ as b}from"./index-CCP4HZWQ.js";import{_ as M}from"./render-tag-_0PNNh6Y.js";class C extends Marko.Component{setExpandedState(t){t!==this.state.expanded&&(this.state.expanded=t,t?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(t){const e=t.changedTouches;this.touches=[];for(let a=0;an.identifier===a.identifier),s=a.pageY-this.touches[o].pageY;s>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(t)):s<-30&&(this.setExpandedState(!0),this.handleTouchEnd(t))}}handleTouchEnd(t){for(let e=0;es.identifier===a.identifier);o>-1&&this.touches.splice(o,1)}}onMount(){this.touches=[]}onInput(t){this.state={expanded:t.expanded||!1}}}const r="xXHbgy5g",d=k(r);x.r(r,()=>d);const c=C;d._=w(function(h,t,e,a,o,s){const{class:n,noHandle:u,renderBody:p,a11yMaximizeText:m="Maximize Drawer",a11yMinimizeText:f="Minimize Drawer",..._}=h,g=o.expanded?f:m;let i=null;u||(i=y(i,{renderBody:l=>{l.e("button",{"aria-label":g,type:"button",class:"drawer-dialog__handle"},"0",a,0,0,{onclick:e.d("click","handleExpand",!1),ontouchstart:e.d("touchstart","handleTouchStart",!1),ontouchmove:e.d("touchmove","handleTouchMove",!1),ontouchend:e.d("touchend","handleTouchEnd",!1),ontouchcancel:e.d("touchcancel","handleTouchEnd",!1)})},[Symbol.iterator]:E})),M(b,{..._,classPrefix:"drawer-dialog",class:[n,"drawer-dialog--mask-fade-slow"],windowClass:["drawer-dialog__window","drawer-dialog__window--slide",o.expanded&&"drawer-dialog__window--expanded"],top:i,renderBody:l=>{S(l,p,null,null,null,null,e,"1")}},t,e,"@dialog",[["scroll","handleScroll",!1],["open","emit",!1,["open"]],["close","emit",!1,["close"]]])},{t:r},c);d.Component=T(c,d._);export{d as _}; +import{r as x,b as w,d as T,t as k}from"./registry-zqrnEiYK.js";import{_ as y}from"./repeatable-jmdwKenu.js";import{_ as E}from"./self-iterator-6yU_KG2T.js";import{_ as S}from"./dynamic-tag-4Gch17f1.js";import{_ as b}from"./index-XLHqpDln.js";import{_ as M}from"./render-tag-_0PNNh6Y.js";class C extends Marko.Component{setExpandedState(t){t!==this.state.expanded&&(this.state.expanded=t,t?this.emit("expanded"):this.emit("collapsed"))}handleExpand(){this.setExpandedState(!this.state.expanded)}handleScroll(){this.setExpandedState(!0)}handleTouchStart(t){const e=t.changedTouches;this.touches=[];for(let a=0;an.identifier===a.identifier),s=a.pageY-this.touches[o].pageY;s>30?(this.state.expanded?this.setExpandedState(!1):this.getComponent("dialog").state.open=!1,this.handleTouchEnd(t)):s<-30&&(this.setExpandedState(!0),this.handleTouchEnd(t))}}handleTouchEnd(t){for(let e=0;es.identifier===a.identifier);o>-1&&this.touches.splice(o,1)}}onMount(){this.touches=[]}onInput(t){this.state={expanded:t.expanded||!1}}}const r="xXHbgy5g",d=k(r);x.r(r,()=>d);const c=C;d._=w(function(h,t,e,a,o,s){const{class:n,noHandle:u,renderBody:p,a11yMaximizeText:m="Maximize Drawer",a11yMinimizeText:f="Minimize Drawer",..._}=h,g=o.expanded?f:m;let i=null;u||(i=y(i,{renderBody:l=>{l.e("button",{"aria-label":g,type:"button",class:"drawer-dialog__handle"},"0",a,0,0,{onclick:e.d("click","handleExpand",!1),ontouchstart:e.d("touchstart","handleTouchStart",!1),ontouchmove:e.d("touchmove","handleTouchMove",!1),ontouchend:e.d("touchend","handleTouchEnd",!1),ontouchcancel:e.d("touchcancel","handleTouchEnd",!1)})},[Symbol.iterator]:E})),M(b,{..._,classPrefix:"drawer-dialog",class:[n,"drawer-dialog--mask-fade-slow"],windowClass:["drawer-dialog__window","drawer-dialog__window--slide",o.expanded&&"drawer-dialog__window--expanded"],top:i,renderBody:l=>{S(l,p,null,null,null,null,e,"1")}},t,e,"@dialog",[["scroll","handleScroll",!1],["open","emit",!1,["open"]],["close","emit",!1,["close"]]])},{t:r},c);d.Component=T(c,d._);export{d as _}; diff --git a/docs/assets/index-ZDtYD_HQ.js b/docs/assets/index-cvF98qL5.js similarity index 99% rename from docs/assets/index-ZDtYD_HQ.js rename to docs/assets/index-cvF98qL5.js index 9cc25e2b7..5985ec316 100644 --- a/docs/assets/index-ZDtYD_HQ.js +++ b/docs/assets/index-cvF98qL5.js @@ -1 +1 @@ -import{r as Ct,b as Et,g as j,p as wt,i as It,d as Ot,t as At}from"./registry-zqrnEiYK.js";import{_ as K}from"./dynamic-tag-4Gch17f1.js";import{_ as zt}from"./index-0sOjhOVp.js";import{_ as jt}from"./render-tag-_0PNNh6Y.js";import{s as Xt}from"./index-l3FQEXUN.js";import{s as Yt}from"./index-ERL0bCNR.js";const qt={tourtip:"region",tooltip:"tooltip",infotip:"tooltip"};class Jt extends Marko.Component{handleCloseButton(e){this.emit("overlay-close",{originalEvent:e})}}const ut="lqFcW5yW",lt=At(ut);function Ut(){}Ct.r(ut,()=>Jt);const Tt={};lt._=Et(function(t,e,o,n,i,s){t.toJSON=Ut;const{id:r,type:l,heading:c,content:a,footer:d,a11yCloseText:f}=t;if(e.be("span",{id:r,class:j(`${l}__overlay`),role:qt[l],"aria-labelledby":l==="tourtip"&&c&&n.elId("tourtip-label")},"0",n,null,0),e.e("span",{class:j(`${l}__pointer`)},"1",n,0,1),e.be("span",{class:j(`${l}__mask`)},"2",n,null,1),e.be("span",{class:j(`${l}__cell`)},"3",n,null,1),e.be("span",{class:j(`${l}__content`)},"4",n,null,1),c){const{as:h,class:u,renderBody:p,id:m,...y}=c;K(e,h||"span",()=>({...wt(y),class:[`${l}__heading`,u],id:o.elId("tourtip-label")}),g=>{K(g,p,null,null,null,null,o,"6")},null,null,o,"5")}if(a){const h=Object.keys(a).length>1&&"span";h?e.be(h,It(wt(a)),"7",n,null,4):e.bf("f_7",n),K(e,a.renderBody,null,null,null,null,o,"8"),h?e.ee():e.ef()}e.ee(),l!=="tooltip"&&(e.be("button",{"aria-label":f,class:j(["icon-btn","icon-btn--transparent",`${l}__close`]),type:"button"},"9",n,null,0,{onclick:o.d("click","handleCloseButton",!1)}),jt(zt,{},e,o,"10"),e.ee()),d&&(e.be("span",{class:j([`${l}__footer`,d.class])},"11",n,null,1),K(e,d,null,null,null,null,o,"12"),e.ee()),e.ee(),e.ee(),e.ee()},{t:ut,s:!0},Tt);lt.Component=Ot(Tt,lt._);const N=Math.min,$=Math.max,nt=Math.round,et=Math.floor,V=t=>({x:t,y:t}),Kt={left:"right",right:"left",bottom:"top",top:"bottom"},Gt={start:"end",end:"start"};function ct(t,e,o){return $(t,N(e,o))}function U(t,e){return typeof t=="function"?t(e):t}function D(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function kt(t){return t==="x"?"y":"x"}function dt(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(D(t))?"y":"x"}function pt(t){return kt(Z(t))}function Qt(t,e,o){o===void 0&&(o=!1);const n=Q(t),i=pt(t),s=dt(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=ot(r)),[r,ot(r)]}function Zt(t){const e=ot(t);return[at(t),e,at(e)]}function at(t){return t.replace(/start|end/g,e=>Gt[e])}function te(t,e,o){const n=["left","right"],i=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?s:r;default:return[]}}function ee(t,e,o,n){const i=Q(t);let s=te(D(t),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(at)))),s}function ot(t){return t.replace(/left|right|bottom|top/g,e=>Kt[e])}function ne(t){return{top:0,right:0,bottom:0,left:0,...t}}function ht(t){return typeof t!="number"?ne(t):{top:t,right:t,bottom:t,left:t}}function q(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function bt(t,e,o){let{reference:n,floating:i}=t;const s=Z(e),r=pt(e),l=dt(r),c=D(e),a=s==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,h=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:d,y:n.y-i.height};break;case"bottom":u={x:d,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-i.width,y:f};break;default:u={x:n.x,y:n.y}}switch(Q(e)){case"start":u[r]-=h*(o&&a?-1:1);break;case"end":u[r]+=h*(o&&a?-1:1);break}return u}const oe=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let a=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:f}=bt(a,n,c),h=n,u={},p=0;for(let m=0;m({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=U(t,e)||{};if(a==null)return{};const f=ht(d),h={x:o,y:n},u=pt(i),p=dt(u),m=await r.getDimensions(a),y=u==="y",g=y?"top":"left",x=y?"bottom":"right",w=y?"clientHeight":"clientWidth",v=s.reference[p]+s.reference[u]-h[u]-s.floating[p],b=h[u]-s.reference[u],C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let A=C?C[w]:0;(!A||!await(r.isElement==null?void 0:r.isElement(C)))&&(A=l.floating[w]||s.floating[p]);const F=v/2-b/2,z=A/2-m[p]/2-1,_=N(f[g],z),P=N(f[x],z),E=_,M=A-m[p]-P,R=A/2-m[p]/2+F,O=ct(E,R,M),T=!c.arrow&&Q(i)!=null&&R!==O&&s.reference[p]/2-(RE<=0)){var z,_;const E=(((z=s.flip)==null?void 0:z.index)||0)+1,M=b[E];if(M)return{data:{index:E,overflows:F},reset:{placement:M}};let R=(_=F.filter(O=>O.overflows[0]<=0).sort((O,T)=>O.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!R)switch(u){case"bestFit":{var P;const O=(P=F.map(T=>[T.placement,T.overflows.filter(S=>S>0).reduce((S,rt)=>S+rt,0)]).sort((T,S)=>T[1]-S[1])[0])==null?void 0:P[0];O&&(R=O);break}case"initialPlacement":R=l;break}if(i!==R)return{reset:{placement:R}}}return{}}}};function St(t){const e=N(...t.map(s=>s.left)),o=N(...t.map(s=>s.top)),n=$(...t.map(s=>s.right)),i=$(...t.map(s=>s.bottom));return{x:e,y:o,width:n-e,height:i-o}}function re(t){const e=t.slice().sort((i,s)=>i.y-s.y),o=[];let n=null;for(let i=0;in.height/2?o.push([s]):o[o.length-1].push(s),n=s}return o.map(i=>q(St(i)))}const le=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:n,rects:i,platform:s,strategy:r}=e,{padding:l=2,x:c,y:a}=U(t,e),d=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),f=re(d),h=q(St(d)),u=ht(l);function p(){if(f.length===2&&f[0].left>f[1].right&&c!=null&&a!=null)return f.find(y=>c>y.left-u.left&&cy.top-u.top&&a=2){if(Z(o)==="y"){const _=f[0],P=f[f.length-1],E=D(o)==="top",M=_.top,R=P.bottom,O=E?_.left:P.left,T=E?_.right:P.right,S=T-O,rt=R-M;return{top:M,bottom:R,left:O,right:T,width:S,height:rt,x:O,y:M}}const y=D(o)==="left",g=$(...f.map(_=>_.right)),x=N(...f.map(_=>_.left)),w=f.filter(_=>y?_.left===x:_.right===g),v=w[0].top,b=w[w.length-1].bottom,C=x,A=g,F=A-C,z=b-v;return{top:v,bottom:b,left:C,right:A,width:F,height:z,x:C,y:v}}return h}const m=await s.getElementRects({reference:{getBoundingClientRect:p},floating:n.floating,strategy:r});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};async function ce(t,e){const{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=D(o),l=Q(o),c=Z(o)==="y",a=["left","top"].includes(r)?-1:1,d=s&&c?-1:1,f=U(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof p=="number"&&(u=l==="end"?p*-1:p),c?{x:u*d,y:h*a}:{x:h*a,y:u*d}}const ae=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:s,placement:r,middlewareData:l}=e,c=await ce(e,t);return r===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},fe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:y=>{let{x:g,y:x}=y;return{x:g,y:x}}},...c}=U(t,e),a={x:o,y:n},d=await Lt(e,c),f=Z(D(i)),h=kt(f);let u=a[h],p=a[f];if(s){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=u+d[y],w=u-d[g];u=ct(x,u,w)}if(r){const y=f==="y"?"top":"left",g=f==="y"?"bottom":"right",x=p+d[y],w=p-d[g];p=ct(x,p,w)}const m=l.fn({...e,[h]:u,[f]:p});return{...m,data:{x:m.x-o,y:m.y-n}}}}};function I(t){return $t(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function H(t){var e;return(e=($t(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $t(t){return t instanceof Node||t instanceof k(t).Node}function W(t){return t instanceof Element||t instanceof k(t).Element}function B(t){return t instanceof HTMLElement||t instanceof k(t).HTMLElement}function vt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof k(t).ShadowRoot}function tt(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=L(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ue(t){return["table","td","th"].includes(I(t))}function mt(t){const e=gt(),o=L(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Bt(t){let e=J(t);for(;B(e)&&!it(e);){if(mt(e))return e;e=J(e)}return null}function gt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(I(t))}function L(t){return k(t).getComputedStyle(t)}function st(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function J(t){if(I(t)==="html")return t;const e=t.assignedSlot||t.parentNode||vt(t)&&t.host||H(t);return vt(e)?e.host:e}function Ft(t){const e=J(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&tt(e)?e:Ft(e)}function G(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Ft(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),r=k(i);return s?e.concat(r,r.visualViewport||[],tt(i)?i:[],r.frameElement&&o?G(r.frameElement):[]):e.concat(i,G(i,[],o))}function Pt(t){const e=L(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=B(t),s=i?t.offsetWidth:o,r=i?t.offsetHeight:n,l=nt(o)!==s||nt(n)!==r;return l&&(o=s,n=r),{width:o,height:n,$:l}}function yt(t){return W(t)?t:t.contextElement}function Y(t){const e=yt(t);if(!B(e))return V(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:s}=Pt(e);let r=(s?nt(o.width):o.width)/n,l=(s?nt(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const de=V(0);function Mt(t){const e=k(t);return!gt()||!e.visualViewport?de:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pe(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==k(t)?!1:e}function X(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),s=yt(t);let r=V(1);e&&(n?W(n)&&(r=Y(n)):r=Y(t));const l=pe(s,o,n)?Mt(s):V(0);let c=(i.left+l.x)/r.x,a=(i.top+l.y)/r.y,d=i.width/r.x,f=i.height/r.y;if(s){const h=k(s),u=n&&W(n)?k(n):n;let p=h.frameElement;for(;p&&n&&u!==h;){const m=Y(p),y=p.getBoundingClientRect(),g=L(p),x=y.left+(p.clientLeft+parseFloat(g.paddingLeft))*m.x,w=y.top+(p.clientTop+parseFloat(g.paddingTop))*m.y;c*=m.x,a*=m.y,d*=m.x,f*=m.y,c+=x,a+=w,p=k(p).frameElement}}return q({width:d,height:f,x:c,y:a})}const he=[":popover-open",":modal"];function Nt(t){let e=!1,o=0,n=0;function i(r){try{e=e||t.matches(r)}catch{}}he.forEach(r=>{i(r)});const s=Bt(t);if(e&&s){const r=s.getBoundingClientRect();o=r.x,n=r.y}return[e,o,n]}function me(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const s=H(n),[r]=e?Nt(e.floating):[!1];if(n===s||r)return o;let l={scrollLeft:0,scrollTop:0},c=V(1);const a=V(0),d=B(n);if((d||!d&&i!=="fixed")&&((I(n)!=="body"||tt(s))&&(l=st(n)),B(n))){const f=X(n);c=Y(n),a.x=f.x+n.clientLeft,a.y=f.y+n.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+a.x,y:o.y*c.y-l.scrollTop*c.y+a.y}}function ge(t){return Array.from(t.getClientRects())}function Dt(t){return X(H(t)).left+st(t).scrollLeft}function ye(t){const e=H(t),o=st(t),n=t.ownerDocument.body,i=$(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=$(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Dt(t);const l=-o.scrollTop;return L(n).direction==="rtl"&&(r+=$(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:l}}function xe(t,e){const o=k(t),n=H(t),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,l=0,c=0;if(i){s=i.width,r=i.height;const a=gt();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:l,y:c}}function we(t,e){const o=X(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=B(t)?Y(t):V(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,a=n*s.y;return{width:r,height:l,x:c,y:a}}function _t(t,e,o){let n;if(e==="viewport")n=xe(t,o);else if(e==="document")n=ye(H(t));else if(W(e))n=we(e,o);else{const i=Mt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return q(n)}function Wt(t,e){const o=J(t);return o===e||!W(o)||it(o)?!1:L(o).position==="fixed"||Wt(o,e)}function be(t,e){const o=e.get(t);if(o)return o;let n=G(t,[],!1).filter(l=>W(l)&&I(l)!=="body"),i=null;const s=L(t).position==="fixed";let r=s?J(t):t;for(;W(r)&&!it(r);){const l=L(r),c=mt(r);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||tt(r)&&!c&&Wt(t,r))?n=n.filter(d=>d!==r):i=l,r=J(r)}return e.set(t,n),n}function ve(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?be(e,this._c):[].concat(o),n],l=r[0],c=r.reduce((a,d)=>{const f=_t(e,d,i);return a.top=$(f.top,a.top),a.right=N(f.right,a.right),a.bottom=N(f.bottom,a.bottom),a.left=$(f.left,a.left),a},_t(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function _e(t){const{width:e,height:o}=Pt(t);return{width:e,height:o}}function Re(t,e,o,n){const i=B(e),s=H(e),r=o==="fixed",l=X(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=V(0);if(i||!i&&!r)if((I(e)!=="body"||tt(s))&&(c=st(e)),i){const m=X(e,!0,r,e);a.x=m.x+e.clientLeft,a.y=m.y+e.clientTop}else s&&(a.x=Dt(s));let d=l.left+c.scrollLeft-a.x,f=l.top+c.scrollTop-a.y;const[h,u,p]=Nt(n);return h&&(d+=u,f+=p,i&&(d+=e.clientLeft,f+=e.clientTop)),{x:d,y:f,width:l.width,height:l.height}}function Rt(t,e){return!B(t)||L(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ht(t,e){const o=k(t);if(!B(t))return o;let n=Rt(t,e);for(;n&&ue(n)&&L(n).position==="static";)n=Rt(n,e);return n&&(I(n)==="html"||I(n)==="body"&&L(n).position==="static"&&!mt(n))?o:n||Bt(t)||o}const Ce=async function(t){const e=this.getOffsetParent||Ht,o=this.getDimensions;return{reference:Re(t.reference,await e(t.floating),t.strategy,t.floating),floating:{x:0,y:0,...await o(t.floating)}}};function Ee(t){return L(t).direction==="rtl"}const Oe={convertOffsetParentRelativeRectToViewportRelativeRect:me,getDocumentElement:H,getClippingRect:ve,getOffsetParent:Ht,getElementRects:Ce,getClientRects:ge,getDimensions:_e,getScale:Y,isElement:W,isRTL:Ee};function Ae(t,e){let o=null,n;const i=H(t);function s(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:a,top:d,width:f,height:h}=t.getBoundingClientRect();if(l||e(),!f||!h)return;const u=et(d),p=et(i.clientWidth-(a+f)),m=et(i.clientHeight-(d+h)),y=et(a),x={rootMargin:-u+"px "+-p+"px "+-m+"px "+-y+"px",threshold:$(0,N(1,c))||1};let w=!0;function v(b){const C=b[0].intersectionRatio;if(C!==c){if(!w)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},100)}w=!1}try{o=new IntersectionObserver(v,{...x,root:i.ownerDocument})}catch{o=new IntersectionObserver(v,x)}o.observe(t)}return r(!0),s}function Te(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=yt(t),d=i||s?[...a?G(a):[],...G(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const f=a&&l?Ae(a,o):null;let h=-1,u=null;r&&(u=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),a&&!c&&u.observe(a),u.observe(e));let p,m=c?X(t):null;c&&y();function y(){const g=X(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&o(),m=g,p=requestAnimationFrame(y)}return o(),()=>{var g;d.forEach(x=>{i&&x.removeEventListener("scroll",o),s&&x.removeEventListener("resize",o)}),f==null||f(),(g=u)==null||g.disconnect(),u=null,c&&cancelAnimationFrame(p)}}const ke=fe,Le=se,Se=ie,$e=le,Be=(t,e,o)=>{const n=new Map,i={platform:Oe,...o},s={...i.platform,_c:n};return oe(t,e,{...i,platform:s})},Fe={left:"right","left-top":"right-start","left-bottom":"right-end",right:"left","right-top":"left-start","right-bottom":"left-end",top:"bottom","top-left":"bottom-start","top-right":"bottom-end","bottom-right":"top-end","bottom-left":"top-start",bottom:"top"};class Pe extends Marko.Component{handleExpand(){this.emit("base-expand"),this.hostEl&&this.overlayEl&&this.updateTip()}handleCollapse(){this.emit("base-collapse")}onMount(){this._setupBaseTooltip()}onUpdate(){this._setupBaseTooltip()}onInput(e){e.open===!0?this.action="expand":e.open===!1&&(this.action="collapse")}onRender(){typeof window<"u"&&this._cleanupMakeup()}collapse(){this._expander.expanded=!1}expand(){this._expander.expanded=!0}isExpanded(){return this._expander.expanded}onDestroy(){this._cleanupMakeup()}_setupExpander(e,o){const{input:n}=this,{type:i}=n,s=this.getEl("container"),r=i==="tooltip",l=i==="infotip",c=i==="tourtip",a=s==null?void 0:s.getElementsByClassName(i)[0];e&&!c&&(this._expander=new Xt(a,{hostSelector:o,contentSelector:`.${i}__overlay`,expandedClass:`${i}--expanded`,focusManagement:null,expandOnFocus:r,expandOnHover:r&&!n.noHover,expandOnClick:l,autoCollapse:r}),r&&!e.hasAttribute("aria-describedby")&&e.setAttribute("aria-describedby",n.overlayId)),this.hostEl&&this.overlayEl&&(this.updateTip(),this.cleanup=Te(this.hostEl,this.overlayEl,this.update.bind(this)))}updateTip(){Be(this.hostEl,this.overlayEl,{placement:this.input.placement||Fe[this.input.pointer??"bottom"],middleware:[ae(this.input.offset||6),$e(),Le(),ke(),Se({element:this.arrowEl,padding:20})]}).then(({x:e,y:o,placement:n,middlewareData:i})=>{var c,a,d,f;Object.assign(((c=this.overlayEl)==null?void 0:c.style)||{},{left:`${e}px`,top:`${o}px`});const s=(a=i.arrow)==null?void 0:a.x,r=(d=i.arrow)==null?void 0:d.y,l={top:"bottom",strategy:"fixed",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];Object.assign(((f=this.arrowEl)==null?void 0:f.style)||{},{left:s!=null?`${s}px`:"",top:r!=null?`${r}px`:"",right:"",bottom:"",[l||""]:"-4px"})})}_setupBaseTooltip(){var i,s,r;const{type:e}=this.input,n=`.${`${e}__host`}`;this.hostEl=((i=this.el)==null?void 0:i.querySelector(n))||null,this.overlayEl=((s=this.el)==null?void 0:s.querySelector(`.${e}__overlay`))||null,this.arrowEl=((r=this.el)==null?void 0:r.querySelector(`.${e}__pointer`))||null,this.input.type!=="dialog--mini"&&this._setupMakeup(),this.action&&this._expander&&(this.action==="expand"?this.expand():this.action==="collapse"&&this.collapse(),this.action=null)}_setupMakeup(){const{input:e}=this,{type:o}=e,n=this.getEl("container"),i=`${o}__host`,s=`.${i}`;let r=n==null?void 0:n.querySelector(s);r?this._setupExpander(r,s):(this.cancelFocus&&this.cancelFocus(),this.cancelFocus=Yt(n,!1,l=>{const c=l[0];c&&(r=c,c.classList.contains(i)||c.classList.add(i)),this._setupExpander(r,s)}))}_cleanupMakeup(){this.cancelFocus&&this.cancelFocus(),this._expander&&(this._expander.destroy(),this._expander=void 0),this.cleanup&&(this.cleanup(),this.cleanup=void 0)}}const xt="r0ag73au",ft=At(xt);function Me(){return{type:this.type,noHover:this.noHover,overlayId:this.overlayId}}Ct.r(xt,()=>Pe);const Vt={};ft._=Et(function(t,e,o,n,i,s){t.toJSON=Me;const{overlayStyle:r,renderBody:l}=t;e.be("span",{"overlay-style":r},"@container",n,null,0,{"onexpander-expand":o.d("expander-expand","handleExpand",!1),"onexpander-collapse":o.d("expander-collapse","handleCollapse",!1)}),K(e,l,null,null,null,null,o,"0"),e.ee()},{t:xt,s:!0},Vt);ft.Component=Ot(Vt,ft._);export{ft as _,lt as a}; +import{r as Ct,b as Et,g as j,p as wt,i as It,d as Ot,t as At}from"./registry-zqrnEiYK.js";import{_ as K}from"./dynamic-tag-4Gch17f1.js";import{_ as zt}from"./index-avw8iGTO.js";import{_ as jt}from"./render-tag-_0PNNh6Y.js";import{s as Xt}from"./index-l3FQEXUN.js";import{s as Yt}from"./index-ERL0bCNR.js";const qt={tourtip:"region",tooltip:"tooltip",infotip:"tooltip"};class Jt extends Marko.Component{handleCloseButton(e){this.emit("overlay-close",{originalEvent:e})}}const ut="lqFcW5yW",lt=At(ut);function Ut(){}Ct.r(ut,()=>Jt);const Tt={};lt._=Et(function(t,e,o,n,i,s){t.toJSON=Ut;const{id:r,type:l,heading:c,content:a,footer:d,a11yCloseText:f}=t;if(e.be("span",{id:r,class:j(`${l}__overlay`),role:qt[l],"aria-labelledby":l==="tourtip"&&c&&n.elId("tourtip-label")},"0",n,null,0),e.e("span",{class:j(`${l}__pointer`)},"1",n,0,1),e.be("span",{class:j(`${l}__mask`)},"2",n,null,1),e.be("span",{class:j(`${l}__cell`)},"3",n,null,1),e.be("span",{class:j(`${l}__content`)},"4",n,null,1),c){const{as:h,class:u,renderBody:p,id:m,...y}=c;K(e,h||"span",()=>({...wt(y),class:[`${l}__heading`,u],id:o.elId("tourtip-label")}),g=>{K(g,p,null,null,null,null,o,"6")},null,null,o,"5")}if(a){const h=Object.keys(a).length>1&&"span";h?e.be(h,It(wt(a)),"7",n,null,4):e.bf("f_7",n),K(e,a.renderBody,null,null,null,null,o,"8"),h?e.ee():e.ef()}e.ee(),l!=="tooltip"&&(e.be("button",{"aria-label":f,class:j(["icon-btn","icon-btn--transparent",`${l}__close`]),type:"button"},"9",n,null,0,{onclick:o.d("click","handleCloseButton",!1)}),jt(zt,{},e,o,"10"),e.ee()),d&&(e.be("span",{class:j([`${l}__footer`,d.class])},"11",n,null,1),K(e,d,null,null,null,null,o,"12"),e.ee()),e.ee(),e.ee(),e.ee()},{t:ut,s:!0},Tt);lt.Component=Ot(Tt,lt._);const N=Math.min,$=Math.max,nt=Math.round,et=Math.floor,V=t=>({x:t,y:t}),Kt={left:"right",right:"left",bottom:"top",top:"bottom"},Gt={start:"end",end:"start"};function ct(t,e,o){return $(t,N(e,o))}function U(t,e){return typeof t=="function"?t(e):t}function D(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function kt(t){return t==="x"?"y":"x"}function dt(t){return t==="y"?"height":"width"}function Z(t){return["top","bottom"].includes(D(t))?"y":"x"}function pt(t){return kt(Z(t))}function Qt(t,e,o){o===void 0&&(o=!1);const n=Q(t),i=pt(t),s=dt(i);let r=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=ot(r)),[r,ot(r)]}function Zt(t){const e=ot(t);return[at(t),e,at(e)]}function at(t){return t.replace(/start|end/g,e=>Gt[e])}function te(t,e,o){const n=["left","right"],i=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?s:r;default:return[]}}function ee(t,e,o,n){const i=Q(t);let s=te(D(t),o==="start",n);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(at)))),s}function ot(t){return t.replace(/left|right|bottom|top/g,e=>Kt[e])}function ne(t){return{top:0,right:0,bottom:0,left:0,...t}}function ht(t){return typeof t!="number"?ne(t):{top:t,right:t,bottom:t,left:t}}function q(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function bt(t,e,o){let{reference:n,floating:i}=t;const s=Z(e),r=pt(e),l=dt(r),c=D(e),a=s==="y",d=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,h=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:d,y:n.y-i.height};break;case"bottom":u={x:d,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-i.width,y:f};break;default:u={x:n.x,y:n.y}}switch(Q(e)){case"start":u[r]-=h*(o&&a?-1:1);break;case"end":u[r]+=h*(o&&a?-1:1);break}return u}const oe=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:r}=o,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let a=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:f}=bt(a,n,c),h=n,u={},p=0;for(let m=0;m({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:d=0}=U(t,e)||{};if(a==null)return{};const f=ht(d),h={x:o,y:n},u=pt(i),p=dt(u),m=await r.getDimensions(a),y=u==="y",g=y?"top":"left",x=y?"bottom":"right",w=y?"clientHeight":"clientWidth",v=s.reference[p]+s.reference[u]-h[u]-s.floating[p],b=h[u]-s.reference[u],C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let A=C?C[w]:0;(!A||!await(r.isElement==null?void 0:r.isElement(C)))&&(A=l.floating[w]||s.floating[p]);const F=v/2-b/2,z=A/2-m[p]/2-1,_=N(f[g],z),P=N(f[x],z),E=_,M=A-m[p]-P,R=A/2-m[p]/2+F,O=ct(E,R,M),T=!c.arrow&&Q(i)!=null&&R!==O&&s.reference[p]/2-(RE<=0)){var z,_;const E=(((z=s.flip)==null?void 0:z.index)||0)+1,M=b[E];if(M)return{data:{index:E,overflows:F},reset:{placement:M}};let R=(_=F.filter(O=>O.overflows[0]<=0).sort((O,T)=>O.overflows[1]-T.overflows[1])[0])==null?void 0:_.placement;if(!R)switch(u){case"bestFit":{var P;const O=(P=F.map(T=>[T.placement,T.overflows.filter(S=>S>0).reduce((S,rt)=>S+rt,0)]).sort((T,S)=>T[1]-S[1])[0])==null?void 0:P[0];O&&(R=O);break}case"initialPlacement":R=l;break}if(i!==R)return{reset:{placement:R}}}return{}}}};function St(t){const e=N(...t.map(s=>s.left)),o=N(...t.map(s=>s.top)),n=$(...t.map(s=>s.right)),i=$(...t.map(s=>s.bottom));return{x:e,y:o,width:n-e,height:i-o}}function re(t){const e=t.slice().sort((i,s)=>i.y-s.y),o=[];let n=null;for(let i=0;in.height/2?o.push([s]):o[o.length-1].push(s),n=s}return o.map(i=>q(St(i)))}const le=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:o,elements:n,rects:i,platform:s,strategy:r}=e,{padding:l=2,x:c,y:a}=U(t,e),d=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(n.reference))||[]),f=re(d),h=q(St(d)),u=ht(l);function p(){if(f.length===2&&f[0].left>f[1].right&&c!=null&&a!=null)return f.find(y=>c>y.left-u.left&&cy.top-u.top&&a=2){if(Z(o)==="y"){const _=f[0],P=f[f.length-1],E=D(o)==="top",M=_.top,R=P.bottom,O=E?_.left:P.left,T=E?_.right:P.right,S=T-O,rt=R-M;return{top:M,bottom:R,left:O,right:T,width:S,height:rt,x:O,y:M}}const y=D(o)==="left",g=$(...f.map(_=>_.right)),x=N(...f.map(_=>_.left)),w=f.filter(_=>y?_.left===x:_.right===g),v=w[0].top,b=w[w.length-1].bottom,C=x,A=g,F=A-C,z=b-v;return{top:v,bottom:b,left:C,right:A,width:F,height:z,x:C,y:v}}return h}const m=await s.getElementRects({reference:{getBoundingClientRect:p},floating:n.floating,strategy:r});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}};async function ce(t,e){const{placement:o,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),r=D(o),l=Q(o),c=Z(o)==="y",a=["left","top"].includes(r)?-1:1,d=s&&c?-1:1,f=U(e,t);let{mainAxis:h,crossAxis:u,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof p=="number"&&(u=l==="end"?p*-1:p),c?{x:u*d,y:h*a}:{x:h*a,y:u*d}}const ae=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:s,placement:r,middlewareData:l}=e,c=await ce(e,t);return r===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},fe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:y=>{let{x:g,y:x}=y;return{x:g,y:x}}},...c}=U(t,e),a={x:o,y:n},d=await Lt(e,c),f=Z(D(i)),h=kt(f);let u=a[h],p=a[f];if(s){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=u+d[y],w=u-d[g];u=ct(x,u,w)}if(r){const y=f==="y"?"top":"left",g=f==="y"?"bottom":"right",x=p+d[y],w=p-d[g];p=ct(x,p,w)}const m=l.fn({...e,[h]:u,[f]:p});return{...m,data:{x:m.x-o,y:m.y-n}}}}};function I(t){return $t(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function H(t){var e;return(e=($t(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $t(t){return t instanceof Node||t instanceof k(t).Node}function W(t){return t instanceof Element||t instanceof k(t).Element}function B(t){return t instanceof HTMLElement||t instanceof k(t).HTMLElement}function vt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof k(t).ShadowRoot}function tt(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=L(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ue(t){return["table","td","th"].includes(I(t))}function mt(t){const e=gt(),o=L(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Bt(t){let e=J(t);for(;B(e)&&!it(e);){if(mt(e))return e;e=J(e)}return null}function gt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(I(t))}function L(t){return k(t).getComputedStyle(t)}function st(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function J(t){if(I(t)==="html")return t;const e=t.assignedSlot||t.parentNode||vt(t)&&t.host||H(t);return vt(e)?e.host:e}function Ft(t){const e=J(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&tt(e)?e:Ft(e)}function G(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Ft(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),r=k(i);return s?e.concat(r,r.visualViewport||[],tt(i)?i:[],r.frameElement&&o?G(r.frameElement):[]):e.concat(i,G(i,[],o))}function Pt(t){const e=L(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=B(t),s=i?t.offsetWidth:o,r=i?t.offsetHeight:n,l=nt(o)!==s||nt(n)!==r;return l&&(o=s,n=r),{width:o,height:n,$:l}}function yt(t){return W(t)?t:t.contextElement}function Y(t){const e=yt(t);if(!B(e))return V(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:s}=Pt(e);let r=(s?nt(o.width):o.width)/n,l=(s?nt(o.height):o.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const de=V(0);function Mt(t){const e=k(t);return!gt()||!e.visualViewport?de:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pe(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==k(t)?!1:e}function X(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),s=yt(t);let r=V(1);e&&(n?W(n)&&(r=Y(n)):r=Y(t));const l=pe(s,o,n)?Mt(s):V(0);let c=(i.left+l.x)/r.x,a=(i.top+l.y)/r.y,d=i.width/r.x,f=i.height/r.y;if(s){const h=k(s),u=n&&W(n)?k(n):n;let p=h.frameElement;for(;p&&n&&u!==h;){const m=Y(p),y=p.getBoundingClientRect(),g=L(p),x=y.left+(p.clientLeft+parseFloat(g.paddingLeft))*m.x,w=y.top+(p.clientTop+parseFloat(g.paddingTop))*m.y;c*=m.x,a*=m.y,d*=m.x,f*=m.y,c+=x,a+=w,p=k(p).frameElement}}return q({width:d,height:f,x:c,y:a})}const he=[":popover-open",":modal"];function Nt(t){let e=!1,o=0,n=0;function i(r){try{e=e||t.matches(r)}catch{}}he.forEach(r=>{i(r)});const s=Bt(t);if(e&&s){const r=s.getBoundingClientRect();o=r.x,n=r.y}return[e,o,n]}function me(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const s=H(n),[r]=e?Nt(e.floating):[!1];if(n===s||r)return o;let l={scrollLeft:0,scrollTop:0},c=V(1);const a=V(0),d=B(n);if((d||!d&&i!=="fixed")&&((I(n)!=="body"||tt(s))&&(l=st(n)),B(n))){const f=X(n);c=Y(n),a.x=f.x+n.clientLeft,a.y=f.y+n.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+a.x,y:o.y*c.y-l.scrollTop*c.y+a.y}}function ge(t){return Array.from(t.getClientRects())}function Dt(t){return X(H(t)).left+st(t).scrollLeft}function ye(t){const e=H(t),o=st(t),n=t.ownerDocument.body,i=$(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=$(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+Dt(t);const l=-o.scrollTop;return L(n).direction==="rtl"&&(r+=$(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:r,y:l}}function xe(t,e){const o=k(t),n=H(t),i=o.visualViewport;let s=n.clientWidth,r=n.clientHeight,l=0,c=0;if(i){s=i.width,r=i.height;const a=gt();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:l,y:c}}function we(t,e){const o=X(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,s=B(t)?Y(t):V(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,a=n*s.y;return{width:r,height:l,x:c,y:a}}function _t(t,e,o){let n;if(e==="viewport")n=xe(t,o);else if(e==="document")n=ye(H(t));else if(W(e))n=we(e,o);else{const i=Mt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return q(n)}function Wt(t,e){const o=J(t);return o===e||!W(o)||it(o)?!1:L(o).position==="fixed"||Wt(o,e)}function be(t,e){const o=e.get(t);if(o)return o;let n=G(t,[],!1).filter(l=>W(l)&&I(l)!=="body"),i=null;const s=L(t).position==="fixed";let r=s?J(t):t;for(;W(r)&&!it(r);){const l=L(r),c=mt(r);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||tt(r)&&!c&&Wt(t,r))?n=n.filter(d=>d!==r):i=l,r=J(r)}return e.set(t,n),n}function ve(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const r=[...o==="clippingAncestors"?be(e,this._c):[].concat(o),n],l=r[0],c=r.reduce((a,d)=>{const f=_t(e,d,i);return a.top=$(f.top,a.top),a.right=N(f.right,a.right),a.bottom=N(f.bottom,a.bottom),a.left=$(f.left,a.left),a},_t(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function _e(t){const{width:e,height:o}=Pt(t);return{width:e,height:o}}function Re(t,e,o,n){const i=B(e),s=H(e),r=o==="fixed",l=X(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=V(0);if(i||!i&&!r)if((I(e)!=="body"||tt(s))&&(c=st(e)),i){const m=X(e,!0,r,e);a.x=m.x+e.clientLeft,a.y=m.y+e.clientTop}else s&&(a.x=Dt(s));let d=l.left+c.scrollLeft-a.x,f=l.top+c.scrollTop-a.y;const[h,u,p]=Nt(n);return h&&(d+=u,f+=p,i&&(d+=e.clientLeft,f+=e.clientTop)),{x:d,y:f,width:l.width,height:l.height}}function Rt(t,e){return!B(t)||L(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ht(t,e){const o=k(t);if(!B(t))return o;let n=Rt(t,e);for(;n&&ue(n)&&L(n).position==="static";)n=Rt(n,e);return n&&(I(n)==="html"||I(n)==="body"&&L(n).position==="static"&&!mt(n))?o:n||Bt(t)||o}const Ce=async function(t){const e=this.getOffsetParent||Ht,o=this.getDimensions;return{reference:Re(t.reference,await e(t.floating),t.strategy,t.floating),floating:{x:0,y:0,...await o(t.floating)}}};function Ee(t){return L(t).direction==="rtl"}const Oe={convertOffsetParentRelativeRectToViewportRelativeRect:me,getDocumentElement:H,getClippingRect:ve,getOffsetParent:Ht,getElementRects:Ce,getClientRects:ge,getDimensions:_e,getScale:Y,isElement:W,isRTL:Ee};function Ae(t,e){let o=null,n;const i=H(t);function s(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:a,top:d,width:f,height:h}=t.getBoundingClientRect();if(l||e(),!f||!h)return;const u=et(d),p=et(i.clientWidth-(a+f)),m=et(i.clientHeight-(d+h)),y=et(a),x={rootMargin:-u+"px "+-p+"px "+-m+"px "+-y+"px",threshold:$(0,N(1,c))||1};let w=!0;function v(b){const C=b[0].intersectionRatio;if(C!==c){if(!w)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},100)}w=!1}try{o=new IntersectionObserver(v,{...x,root:i.ownerDocument})}catch{o=new IntersectionObserver(v,x)}o.observe(t)}return r(!0),s}function Te(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=yt(t),d=i||s?[...a?G(a):[],...G(e)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const f=a&&l?Ae(a,o):null;let h=-1,u=null;r&&(u=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&u&&(u.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),a&&!c&&u.observe(a),u.observe(e));let p,m=c?X(t):null;c&&y();function y(){const g=X(t);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&o(),m=g,p=requestAnimationFrame(y)}return o(),()=>{var g;d.forEach(x=>{i&&x.removeEventListener("scroll",o),s&&x.removeEventListener("resize",o)}),f==null||f(),(g=u)==null||g.disconnect(),u=null,c&&cancelAnimationFrame(p)}}const ke=fe,Le=se,Se=ie,$e=le,Be=(t,e,o)=>{const n=new Map,i={platform:Oe,...o},s={...i.platform,_c:n};return oe(t,e,{...i,platform:s})},Fe={left:"right","left-top":"right-start","left-bottom":"right-end",right:"left","right-top":"left-start","right-bottom":"left-end",top:"bottom","top-left":"bottom-start","top-right":"bottom-end","bottom-right":"top-end","bottom-left":"top-start",bottom:"top"};class Pe extends Marko.Component{handleExpand(){this.emit("base-expand"),this.hostEl&&this.overlayEl&&this.updateTip()}handleCollapse(){this.emit("base-collapse")}onMount(){this._setupBaseTooltip()}onUpdate(){this._setupBaseTooltip()}onInput(e){e.open===!0?this.action="expand":e.open===!1&&(this.action="collapse")}onRender(){typeof window<"u"&&this._cleanupMakeup()}collapse(){this._expander.expanded=!1}expand(){this._expander.expanded=!0}isExpanded(){return this._expander.expanded}onDestroy(){this._cleanupMakeup()}_setupExpander(e,o){const{input:n}=this,{type:i}=n,s=this.getEl("container"),r=i==="tooltip",l=i==="infotip",c=i==="tourtip",a=s==null?void 0:s.getElementsByClassName(i)[0];e&&!c&&(this._expander=new Xt(a,{hostSelector:o,contentSelector:`.${i}__overlay`,expandedClass:`${i}--expanded`,focusManagement:null,expandOnFocus:r,expandOnHover:r&&!n.noHover,expandOnClick:l,autoCollapse:r}),r&&!e.hasAttribute("aria-describedby")&&e.setAttribute("aria-describedby",n.overlayId)),this.hostEl&&this.overlayEl&&(this.updateTip(),this.cleanup=Te(this.hostEl,this.overlayEl,this.update.bind(this)))}updateTip(){Be(this.hostEl,this.overlayEl,{placement:this.input.placement||Fe[this.input.pointer??"bottom"],middleware:[ae(this.input.offset||6),$e(),Le(),ke(),Se({element:this.arrowEl,padding:20})]}).then(({x:e,y:o,placement:n,middlewareData:i})=>{var c,a,d,f;Object.assign(((c=this.overlayEl)==null?void 0:c.style)||{},{left:`${e}px`,top:`${o}px`});const s=(a=i.arrow)==null?void 0:a.x,r=(d=i.arrow)==null?void 0:d.y,l={top:"bottom",strategy:"fixed",right:"left",bottom:"top",left:"right"}[n.split("-")[0]];Object.assign(((f=this.arrowEl)==null?void 0:f.style)||{},{left:s!=null?`${s}px`:"",top:r!=null?`${r}px`:"",right:"",bottom:"",[l||""]:"-4px"})})}_setupBaseTooltip(){var i,s,r;const{type:e}=this.input,n=`.${`${e}__host`}`;this.hostEl=((i=this.el)==null?void 0:i.querySelector(n))||null,this.overlayEl=((s=this.el)==null?void 0:s.querySelector(`.${e}__overlay`))||null,this.arrowEl=((r=this.el)==null?void 0:r.querySelector(`.${e}__pointer`))||null,this.input.type!=="dialog--mini"&&this._setupMakeup(),this.action&&this._expander&&(this.action==="expand"?this.expand():this.action==="collapse"&&this.collapse(),this.action=null)}_setupMakeup(){const{input:e}=this,{type:o}=e,n=this.getEl("container"),i=`${o}__host`,s=`.${i}`;let r=n==null?void 0:n.querySelector(s);r?this._setupExpander(r,s):(this.cancelFocus&&this.cancelFocus(),this.cancelFocus=Yt(n,!1,l=>{const c=l[0];c&&(r=c,c.classList.contains(i)||c.classList.add(i)),this._setupExpander(r,s)}))}_cleanupMakeup(){this.cancelFocus&&this.cancelFocus(),this._expander&&(this._expander.destroy(),this._expander=void 0),this.cleanup&&(this.cleanup(),this.cleanup=void 0)}}const xt="r0ag73au",ft=At(xt);function Me(){return{type:this.type,noHover:this.noHover,overlayId:this.overlayId}}Ct.r(xt,()=>Pe);const Vt={};ft._=Et(function(t,e,o,n,i,s){t.toJSON=Me;const{overlayStyle:r,renderBody:l}=t;e.be("span",{"overlay-style":r},"@container",n,null,0,{"onexpander-expand":o.d("expander-expand","handleExpand",!1),"onexpander-collapse":o.d("expander-collapse","handleCollapse",!1)}),K(e,l,null,null,null,null,o,"0"),e.ee()},{t:xt,s:!0},Vt);ft.Component=Ot(Vt,ft._);export{ft as _,lt as a}; diff --git a/docs/assets/index-dCAZr4YS.js b/docs/assets/index-dCAZr4YS.js deleted file mode 100644 index de3827f00..000000000 --- a/docs/assets/index-dCAZr4YS.js +++ /dev/null @@ -1 +0,0 @@ -import{r as E,b as $,f as I,p as N,g as A,d as T,t as M}from"./registry-zqrnEiYK.js";/* empty css */let n,d;function j(r){if(!r.name)return;const e=document.createElementNS("http://www.w3.org/2000/svg",r.name);for(const s of Object.keys(r.attr))e.setAttribute(s,r.attr[s]);return r.children.forEach(s=>{const t=document.createElementNS("http://www.w3.org/2000/svg",s.name);for(const i of Object.keys(s.attr))t.setAttribute(i,s.attr[i]);e.appendChild(t)}),e}class B extends Marko.Component{onMount(){var s;n||(n=document.createElementNS("http://www.w3.org/2000/svg","svg"),n.style.position="absolute",n.style.width="0",n.style.height="0",document.body.insertBefore(n,document.body.firstChild),d=document.createElementNS("http://www.w3.org/2000/svg","defs"),n.appendChild(d));const e=this.getEl("defs");if(e){let t;this.input&&this.input._themes&&(e.innerHTML=this.input._themes()),this.input&&this.input._def&&(t=j(this.input._def()));const i=e.querySelector("symbol");(s=e.parentNode)==null||s.removeChild(e),i&&(n.appendChild(i),t&&d.appendChild(t))}}}const c="6QPrxgYy",f=M(c);var g=typeof window<"u",D={};function G(r,e){if(r==="icon")return`icon icon--${e}`;var s=e.replace(r,`${r}-`);return`${r} ${s}`}E.r(c,()=>B);const b={};f._=$(function(r,e,s,t,i,H){const{_name:o,_type:m,_themes:_,_def:L,a11yText:a,a11yVariant:w,class:v,noSkinClasses:y,...k}=r;var l=w==="label",u=g?D:e.global,C=a?{role:"img"}:{"aria-hidden":"true"},S=m==="icon"?"icon-":"";e.be("svg",I(C,N(k),{class:A([v,!y&&G(m,o)]),focusable:"false","aria-labelledby":a&&!l&&t.elId("text"),"aria-label":l&&a}),"@svg",t,null,4);var p=_,h="rendered_ebay_icon_"+o,x=!u[h];u[h]=!0,x&&p&&(e.be("defs",null,"@defs",t,null,0),g||e.h(p(),t),e.ee()),a&&!l&&(e.be("title",{id:s.elId("text")},"0",t,null,1),e.t(a,t),e.ee()),e.e("use",{href:`#${S}${o}`},"1",t,0,0),e.ee()},{t:c,s:!0},b);f.Component=T(b,f._);export{f as _}; diff --git a/docs/assets/index-L4qsNbB0.js b/docs/assets/index-fBgtz-n7.js similarity index 89% rename from docs/assets/index-L4qsNbB0.js rename to docs/assets/index-fBgtz-n7.js index 1a257a0de..ccb4b2ad8 100644 --- a/docs/assets/index-L4qsNbB0.js +++ b/docs/assets/index-fBgtz-n7.js @@ -1 +1 @@ -import{r as e,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function f(){return''}const t="4cnfXS6i",o=p(t);e.r(t,()=>o);const a={};o._=_(function(m,n,r,k,l,b){c(s,{...m,_name:"information-16",_type:"icon",_themes:f},n,r,"0")},{t,i:!0},a);o.Component=i(a,o._);export{o as _}; +import{r as e,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function f(){return''}const t="4cnfXS6i",o=p(t);e.r(t,()=>o);const a={};o._=_(function(m,n,r,k,l,b){c(s,{...m,_name:"information-16",_type:"icon",_themes:f},n,r,"0")},{t,i:!0},a);o.Component=i(a,o._);export{o as _}; diff --git a/docs/assets/index--HiXohkr.js b/docs/assets/index-fsHgTAj9.js similarity index 89% rename from docs/assets/index--HiXohkr.js rename to docs/assets/index-fsHgTAj9.js index 745d177e8..f4d6af0cc 100644 --- a/docs/assets/index--HiXohkr.js +++ b/docs/assets/index-fsHgTAj9.js @@ -1 +1 @@ -import{r as m,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="b6GE96HR",o=l(e);m.r(e,()=>o);const t={};o._=_(function(n,r,a,d,b,f){s(i,{...n,_name:"chevron-down-12",_type:"icon",_themes:c},r,a,"0")},{t:e,i:!0},t);o.Component=p(t,o._);export{o as _}; +import{r as m,b as _,d as p,t as l}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const e="b6GE96HR",o=l(e);m.r(e,()=>o);const t={};o._=_(function(n,r,a,d,b,f){s(i,{...n,_name:"chevron-down-12",_type:"icon",_themes:c},r,a,"0")},{t:e,i:!0},t);o.Component=p(t,o._);export{o as _}; diff --git a/docs/assets/index-tjucyUeZ.js b/docs/assets/index-g2xi1LKt.js similarity index 93% rename from docs/assets/index-tjucyUeZ.js rename to docs/assets/index-g2xi1LKt.js index 189af3c87..0af8140b4 100644 --- a/docs/assets/index-tjucyUeZ.js +++ b/docs/assets/index-g2xi1LKt.js @@ -1 +1 @@ -import{t as N,r as O,b as T,f as G,p as I,g as M,d as X}from"./registry-zqrnEiYK.js";/* empty css */import{_ as j}from"./index-XUhq6uHT.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as q}from"./index-i1smj9EI.js";import{h as E}from"./index-XjwwBzg5.js";class Q extends Marko.Component{handleClick(a){this.input.disabled||this.emit("click",{originalEvent:a})}handleKeydown(a){E(a,()=>{this.input.disabled||this.emit("escape",{originalEvent:a})})}handleFocus(a){this.emit("focus",{originalEvent:a})}handleBlur(a){this.emit("blur",{originalEvent:a})}}const c="in0GADXd",t=N(c),ta=t,R=["large","small"];function U(){return{disabled:this.disabled}}var V=["primary","secondary","tertiary","delete"];O.r(c,()=>Q);const C={};t._=T(function(i,a,s,r,W,Y){const{a11yText:$,ariaLabel:x,bodyState:n,borderless:m,class:S,fixedHeight:w,fluid:z,href:d,partiallyDisabled:B,priority:H,renderBody:p,size:o,split:_="none",transparent:K,truncate:P,type:A="button",variant:u="standard",...F}=i;i.toJSON=U;var h=o&&R.includes(o)?o:null,b=H||"secondary";(m||u==="form")&&(b="none");var e=d?"fake-btn":"btn",l=h&&e+"--"+h,f=P&&(l?l+"-truncated":e+"--truncated"),J=K?e+"--transparent":"",y=w&&(l?l+"-fixed-height":e+"--fixed-height"),L=u!=="standard"&&`${e}--${u}`,k=d?"a":"button";a.be(k,G(I(F),{class:M([S,e,z&&`${e}--fluid`,f,y,J,L,!f&&!y&&l,_!=="none"&&`${e}--split-${_}`,m&&`${e}--borderless`,V.includes(b)&&`${e}--${b}`]),href:d,"data-ebayui":"",type:k==="button"&&(A||"button"),"aria-disabled":B&&"true","aria-label":n==="loading"?$||"Loading...":x}),"0",r,null,4,{onclick:s.d("click","handleClick",!1),onkeydown:s.d("keydown","handleKeydown",!1),onfocus:s.d("focus","handleFocus",!1),onblur:s.d("blur","handleBlur",!1)}),n==="loading"?(a.be("span",{class:"btn__cell"},"1",r,null,1),g(j,{},a,s,"2"),a.ee()):n==="expand"?(a.be("span",{class:"btn__cell"},"3",r,null,1),a.be("span",{class:"btn__text"},"4",r,null,1),v(a,p,null,null,null,null,s,"5"),a.ee(),g(q,{},a,s,"6"),a.ee()):v(a,p,null,null,null,null,s,"7"),a.ee()},{t:c,s:!0},C);t.Component=X(C,t._);export{ta as _}; +import{t as N,r as O,b as T,f as G,p as I,g as M,d as X}from"./registry-zqrnEiYK.js";/* empty css */import{_ as j}from"./index-Fzo01Ouc.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as q}from"./index-kURT6dDW.js";import{h as E}from"./index-XjwwBzg5.js";class Q extends Marko.Component{handleClick(a){this.input.disabled||this.emit("click",{originalEvent:a})}handleKeydown(a){E(a,()=>{this.input.disabled||this.emit("escape",{originalEvent:a})})}handleFocus(a){this.emit("focus",{originalEvent:a})}handleBlur(a){this.emit("blur",{originalEvent:a})}}const c="in0GADXd",t=N(c),ta=t,R=["large","small"];function U(){return{disabled:this.disabled}}var V=["primary","secondary","tertiary","delete"];O.r(c,()=>Q);const C={};t._=T(function(i,a,s,r,W,Y){const{a11yText:$,ariaLabel:x,bodyState:n,borderless:m,class:S,fixedHeight:w,fluid:z,href:d,partiallyDisabled:B,priority:H,renderBody:p,size:o,split:_="none",transparent:K,truncate:P,type:A="button",variant:u="standard",...F}=i;i.toJSON=U;var h=o&&R.includes(o)?o:null,b=H||"secondary";(m||u==="form")&&(b="none");var e=d?"fake-btn":"btn",l=h&&e+"--"+h,f=P&&(l?l+"-truncated":e+"--truncated"),J=K?e+"--transparent":"",y=w&&(l?l+"-fixed-height":e+"--fixed-height"),L=u!=="standard"&&`${e}--${u}`,k=d?"a":"button";a.be(k,G(I(F),{class:M([S,e,z&&`${e}--fluid`,f,y,J,L,!f&&!y&&l,_!=="none"&&`${e}--split-${_}`,m&&`${e}--borderless`,V.includes(b)&&`${e}--${b}`]),href:d,"data-ebayui":"",type:k==="button"&&(A||"button"),"aria-disabled":B&&"true","aria-label":n==="loading"?$||"Loading...":x}),"0",r,null,4,{onclick:s.d("click","handleClick",!1),onkeydown:s.d("keydown","handleKeydown",!1),onfocus:s.d("focus","handleFocus",!1),onblur:s.d("blur","handleBlur",!1)}),n==="loading"?(a.be("span",{class:"btn__cell"},"1",r,null,1),g(j,{},a,s,"2"),a.ee()):n==="expand"?(a.be("span",{class:"btn__cell"},"3",r,null,1),a.be("span",{class:"btn__text"},"4",r,null,1),v(a,p,null,null,null,null,s,"5"),a.ee(),g(q,{},a,s,"6"),a.ee()):v(a,p,null,null,null,null,s,"7"),a.ee()},{t:c,s:!0},C);t.Component=X(C,t._);export{ta as _}; diff --git a/docs/assets/index-2yWgcJbo.js b/docs/assets/index-hesef6OJ.js similarity index 92% rename from docs/assets/index-2yWgcJbo.js rename to docs/assets/index-hesef6OJ.js index 78aec3a64..4d94bbcdf 100644 --- a/docs/assets/index-2yWgcJbo.js +++ b/docs/assets/index-hesef6OJ.js @@ -1 +1 @@ -import{r as c,b as m,d as _,t as i}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function p(){return''}const r="pyj2cWn4",o=i(r);c.r(r,()=>o);const e={};o._=m(function(a,t,n,d,y,f){s(l,{...a,_name:"avatar-signed-out",_type:"icon",_themes:p},t,n,"0")},{t:r,i:!0},e);o.Component=_(e,o._);export{o as _}; +import{r as c,b as m,d as _,t as i}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function p(){return''}const r="pyj2cWn4",o=i(r);c.r(r,()=>o);const e={};o._=m(function(a,t,n,d,y,f){s(l,{...a,_name:"avatar-signed-out",_type:"icon",_themes:p},t,n,"0")},{t:r,i:!0},e);o.Component=_(e,o._);export{o as _}; diff --git a/docs/assets/index-8TTZzN75.js b/docs/assets/index-iOo4hJOd.js similarity index 93% rename from docs/assets/index-8TTZzN75.js rename to docs/assets/index-iOo4hJOd.js index 96e381bd3..233a1b503 100644 --- a/docs/assets/index-8TTZzN75.js +++ b/docs/assets/index-iOo4hJOd.js @@ -1 +1 @@ -import{r as _,b as c,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function x(){return''}const n="0T92xfW5",o=p(n);_.r(n,()=>o);const d={};o._=c(function(t,a,m,h,k,u){s(l,{...t,_name:"checkbox-mixed-18",_type:"icon",_themes:x},a,m,"0")},{t:n,i:!0},d);o.Component=i(d,o._);function y(){return''}const r="Ipy972jw",e=p(r);_.r(r,()=>e);const b={};e._=c(function(t,a,m,h,k,u){s(l,{...t,_name:"checkbox-mixed-24",_type:"icon",_themes:y},a,m,"0")},{t:r,i:!0},b);e.Component=i(b,e._);export{e as _,o as a}; +import{r as _,b as c,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function x(){return''}const n="0T92xfW5",o=p(n);_.r(n,()=>o);const d={};o._=c(function(t,a,m,h,k,u){s(l,{...t,_name:"checkbox-mixed-18",_type:"icon",_themes:x},a,m,"0")},{t:n,i:!0},d);o.Component=i(d,o._);function y(){return''}const r="Ipy972jw",e=p(r);_.r(r,()=>e);const b={};e._=c(function(t,a,m,h,k,u){s(l,{...t,_name:"checkbox-mixed-24",_type:"icon",_themes:y},a,m,"0")},{t:r,i:!0},b);e.Component=i(b,e._);export{e as _,o as a}; diff --git a/docs/assets/index-Cl8k8pjy.js b/docs/assets/index-in-YqcOA.js similarity index 96% rename from docs/assets/index-Cl8k8pjy.js rename to docs/assets/index-in-YqcOA.js index 0fee78ee8..f8e67427b 100644 --- a/docs/assets/index-Cl8k8pjy.js +++ b/docs/assets/index-in-YqcOA.js @@ -1 +1 @@ -import{r as _,b as r,d as l,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function $(){return''}const s="89zfi9Ly",n=p(s);_.r(s,()=>n);const k={};n._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"close-24",_type:"icon",_themes:$},e,t,"0")},{t:s,i:!0},k);n.Component=l(k,n._);function Z(){return''}const d="GRO3fdJf",a=p(d);_.r(d,()=>a);const h={};a._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"mail-24",_type:"icon",_themes:Z},e,t,"0")},{t:d,i:!0},h);a.Component=l(h,a._);function C(){return''}const f="9T0QkzQR",m=p(f);_.r(f,()=>m);const v={};m._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"profile-24",_type:"icon",_themes:C},e,t,"0")},{t:f,i:!0},v);m.Component=l(v,m._);export{n as _,m as a,a as b}; +import{r as _,b as r,d as l,t as p}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function $(){return''}const s="89zfi9Ly",n=p(s);_.r(s,()=>n);const k={};n._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"close-24",_type:"icon",_themes:$},e,t,"0")},{t:s,i:!0},k);n.Component=l(k,n._);function Z(){return''}const d="GRO3fdJf",a=p(d);_.r(d,()=>a);const h={};a._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"mail-24",_type:"icon",_themes:Z},e,t,"0")},{t:d,i:!0},h);a.Component=l(h,a._);function C(){return''}const f="9T0QkzQR",m=p(f);_.r(f,()=>m);const v={};m._=r(function(o,e,t,u,b,y){c(i,{...o,_name:"profile-24",_type:"icon",_themes:C},e,t,"0")},{t:f,i:!0},v);m.Component=l(v,m._);export{n as _,m as a,a as b}; diff --git a/docs/assets/index-i1smj9EI.js b/docs/assets/index-kURT6dDW.js similarity index 88% rename from docs/assets/index-i1smj9EI.js rename to docs/assets/index-kURT6dDW.js index 6466413fa..00c317649 100644 --- a/docs/assets/index-i1smj9EI.js +++ b/docs/assets/index-kURT6dDW.js @@ -1 +1 @@ -import{r as a,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="xnF/B16o",o=s(t);a.r(t,()=>o);const e={};o._=_(function(n,r,m,d,k,b){c(i,{...n,_name:"chevron-down-16",_type:"icon",_themes:l},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as a,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const t="xnF/B16o",o=s(t);a.r(t,()=>o);const e={};o._=_(function(n,r,m,d,k,b){c(i,{...n,_name:"chevron-down-16",_type:"icon",_themes:l},r,m,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-9wWf9YFH.js b/docs/assets/index-mevY6pWh.js similarity index 98% rename from docs/assets/index-9wWf9YFH.js rename to docs/assets/index-mevY6pWh.js index 812a5b15d..514411506 100644 --- a/docs/assets/index-9wWf9YFH.js +++ b/docs/assets/index-mevY6pWh.js @@ -1 +1 @@ -import{t as D,r as E,b as K,f as b,p as x,g as r,d as L}from"./registry-zqrnEiYK.js";import{_ as $}from"./dynamic-tag-4Gch17f1.js";import{_ as V}from"./index-Zo2k51hY.js";import{_ as N}from"./render-tag-_0PNNh6Y.js";import"./preserve-attrs-PKQRsRTw.js";import{s as f,c as O}from"./index-QozpcpzM.js";import{h as R,a as H}from"./index-XjwwBzg5.js";class T extends Marko.Component{get isAutoSelection(){return this.input.listSelection==="auto"}elementScroll(){f(this.getEls("option")[this.state.selectedIndex])}handleChange(e,s){var t;if(this.state.selectedIndex!==e){const a=(t=this.input.options)==null?void 0:t[e];if(a.disabled)return;this.state.selectedIndex=e,this.once("update",()=>{this.emit("change",{index:e,wasClicked:s,selected:[a.value],el:this.getEls("option")[e]})})}}handleClick(e){this.handleChange(e,!0)}handleMouseDown(){this.wasClicked=!0}handleKeyDown(e){R(e,()=>{this.emit("escape")}),H(e,()=>this.handleChange(this._activeDescendant.index,!1))}handleListboxChange(e){const s=parseInt(e.detail.toIndex,10),t=this.getEls("option")[s],a=this.wasClicked;f(t),this.wasClicked&&(this.wasClicked=!1),this.handleChange(s,a)}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:s}=this;e.options=e.options||[],s.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected))}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e,state:s}=this;if(e.options.length&&!e.disabled){const t=this.getEl("options"),a=this.getEl("options");this._activeDescendant=O(t,a,a,".listbox__option[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:s.selectedIndex,autoReset:null,autoScroll:!this.isAutoSelection})}}_cleanupMakeup(){this._activeDescendant&&(this._activeDescendant.destroy(),this._activeDescendant=void 0)}}const h="8VNv28AI",i=D(h),X=i;E.r(h,()=>i);const C=T;i._=K(function(p,e,s,t,a,U){const{name:g,class:v,disabled:j,options:l,tabindex:w=0,...y}=p;var u=l[a.selectedIndex];e.be("div",b(x(y),{role:"listbox",class:r(["listbox__options",v]),tabindex:w}),"@options",t,null,4,{pa:["tabindex"],onactiveDescendantChange:s.d("activeDescendantChange",t.isAutoSelection?"handleListboxChange":void 0,!1),onkeydown:s.d("keydown",!t.isAutoSelection&&"handleKeyDown",!1)});{let d=0;for(const n of l||[]){let c=d++;const{value:q,class:I,text:M,selected:z,disabled:_,tabindex:S,description:k,...A}=n,m="@option[]",o=`[${m}]`;e.be("div",b(x(A),{class:r(["listbox__option",I]),role:"option",tabindex:_?-1:S,"aria-disabled":_&&"true","aria-selected":u===n&&"true"}),m,t,null,4,{pa:["class"],onclick:s.d("click",!t.isAutoSelection&&"handleClick",!1,[c]),onmousedown:s.d("mousedown",t.isAutoSelection&&"handleMouseDown",!1)}),e.be("span",{class:"listbox__value"},"0"+o,t,null,1),e.t(M,t),e.ee(),k&&(e.be("span",{class:"listbox__description"},"1"+o,t,null,1),$(e,k,null,null,null,null,s,"2"+o),e.ee()),N(V,{},e,s,"3"+o),e.ee()}}e.ee(),e.be("select",{hidden:"",class:"listbox__native",name:g},"4",t,null,0);{let d=0;for(const n of l||[]){const c=`[${d++}]`;e.e("option",{value:n.value,selected:n===u,class:r(n.class)},"5"+c,t,0,0)}}e.ee()},{t:h},C);i.Component=L(C,i._);export{X as C}; +import{t as D,r as E,b as K,f as b,p as x,g as r,d as L}from"./registry-zqrnEiYK.js";import{_ as $}from"./dynamic-tag-4Gch17f1.js";import{_ as V}from"./index-FQXijakt.js";import{_ as N}from"./render-tag-_0PNNh6Y.js";import"./preserve-attrs-PKQRsRTw.js";import{s as f,c as O}from"./index-QozpcpzM.js";import{h as R,a as H}from"./index-XjwwBzg5.js";class T extends Marko.Component{get isAutoSelection(){return this.input.listSelection==="auto"}elementScroll(){f(this.getEls("option")[this.state.selectedIndex])}handleChange(e,s){var t;if(this.state.selectedIndex!==e){const a=(t=this.input.options)==null?void 0:t[e];if(a.disabled)return;this.state.selectedIndex=e,this.once("update",()=>{this.emit("change",{index:e,wasClicked:s,selected:[a.value],el:this.getEls("option")[e]})})}}handleClick(e){this.handleChange(e,!0)}handleMouseDown(){this.wasClicked=!0}handleKeyDown(e){R(e,()=>{this.emit("escape")}),H(e,()=>this.handleChange(this._activeDescendant.index,!1))}handleListboxChange(e){const s=parseInt(e.detail.toIndex,10),t=this.getEls("option")[s],a=this.wasClicked;f(t),this.wasClicked&&(this.wasClicked=!1),this.handleChange(s,a)}onCreate(){this.state={selectedIndex:-1}}onInput(e){const{state:s}=this;e.options=e.options||[],s.selectedIndex=Math.max(-1,e.options.findIndex(t=>t.selected))}onMount(){this._setupMakeup()}onUpdate(){this._setupMakeup()}onRender(){typeof window<"u"&&this._cleanupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){const{input:e,state:s}=this;if(e.options.length&&!e.disabled){const t=this.getEl("options"),a=this.getEl("options");this._activeDescendant=O(t,a,a,".listbox__option[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:s.selectedIndex,autoReset:null,autoScroll:!this.isAutoSelection})}}_cleanupMakeup(){this._activeDescendant&&(this._activeDescendant.destroy(),this._activeDescendant=void 0)}}const h="8VNv28AI",i=D(h),X=i;E.r(h,()=>i);const C=T;i._=K(function(p,e,s,t,a,U){const{name:g,class:v,disabled:j,options:l,tabindex:w=0,...y}=p;var u=l[a.selectedIndex];e.be("div",b(x(y),{role:"listbox",class:r(["listbox__options",v]),tabindex:w}),"@options",t,null,4,{pa:["tabindex"],onactiveDescendantChange:s.d("activeDescendantChange",t.isAutoSelection?"handleListboxChange":void 0,!1),onkeydown:s.d("keydown",!t.isAutoSelection&&"handleKeyDown",!1)});{let d=0;for(const n of l||[]){let c=d++;const{value:q,class:I,text:M,selected:z,disabled:_,tabindex:S,description:k,...A}=n,m="@option[]",o=`[${m}]`;e.be("div",b(x(A),{class:r(["listbox__option",I]),role:"option",tabindex:_?-1:S,"aria-disabled":_&&"true","aria-selected":u===n&&"true"}),m,t,null,4,{pa:["class"],onclick:s.d("click",!t.isAutoSelection&&"handleClick",!1,[c]),onmousedown:s.d("mousedown",t.isAutoSelection&&"handleMouseDown",!1)}),e.be("span",{class:"listbox__value"},"0"+o,t,null,1),e.t(M,t),e.ee(),k&&(e.be("span",{class:"listbox__description"},"1"+o,t,null,1),$(e,k,null,null,null,null,s,"2"+o),e.ee()),N(V,{},e,s,"3"+o),e.ee()}}e.ee(),e.be("select",{hidden:"",class:"listbox__native",name:g},"4",t,null,0);{let d=0;for(const n of l||[]){const c=`[${d++}]`;e.e("option",{value:n.value,selected:n===u,class:r(n.class)},"5"+c,t,0,0)}}e.ee()},{t:h},C);i.Component=L(C,i._);export{X as C}; diff --git a/docs/assets/index--MAS_RS0.js b/docs/assets/index-nZ7E-k9d.js similarity index 93% rename from docs/assets/index--MAS_RS0.js rename to docs/assets/index-nZ7E-k9d.js index 26a3c61ab..0bf803af2 100644 --- a/docs/assets/index--MAS_RS0.js +++ b/docs/assets/index-nZ7E-k9d.js @@ -1 +1 @@ -import{r as _,b as p,d as c,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function u(){return''}const a="yyFi9Q1Q",o=i(a);_.r(a,()=>o);const y={};o._=p(function(e,n,m,h,f,k){l(s,{...e,_name:"chevron-left-24",_type:"icon",_themes:u},n,m,"0")},{t:a,i:!0},y);o.Component=c(y,o._);function d(){return''}const r="C65XDbom",t=i(r);_.r(r,()=>t);const b={};t._=p(function(e,n,m,h,f,k){l(s,{...e,_name:"chevron-right-24",_type:"icon",_themes:d},n,m,"0")},{t:r,i:!0},b);t.Component=c(b,t._);export{o as _,t as a}; +import{r as _,b as p,d as c,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function u(){return''}const a="yyFi9Q1Q",o=i(a);_.r(a,()=>o);const y={};o._=p(function(e,n,m,h,f,k){l(s,{...e,_name:"chevron-left-24",_type:"icon",_themes:u},n,m,"0")},{t:a,i:!0},y);o.Component=c(y,o._);function d(){return''}const r="C65XDbom",t=i(r);_.r(r,()=>t);const b={};t._=p(function(e,n,m,h,f,k){l(s,{...e,_name:"chevron-right-24",_type:"icon",_themes:d},n,m,"0")},{t:r,i:!0},b);t.Component=c(b,t._);export{o as _,t as a}; diff --git a/docs/assets/index-q7KQv1ry.js b/docs/assets/index-o5F2CW61.js similarity index 97% rename from docs/assets/index-q7KQv1ry.js rename to docs/assets/index-o5F2CW61.js index fbb7dc7d6..e2b985291 100644 --- a/docs/assets/index-q7KQv1ry.js +++ b/docs/assets/index-o5F2CW61.js @@ -1 +1 @@ -import{r as a,b as p,d as s,t as l}from"./registry-zqrnEiYK.js";import{_ as m}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function v(){return''}const _="kwQUe/e4",r=l(_);a.r(_,()=>r);const f={};r._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-30",_type:"icon",_themes:v},n,e,"0")},{t:_,i:!0},f);r.Component=s(f,r._);function $(){return''}const d="aneurO0+",t=l(d);a.r(d,()=>t);const h={};t._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-20",_type:"icon",_themes:$},n,e,"0")},{t:d,i:!0},h);t.Component=s(h,t._);function g(){return''}const k="YTqPpaR1",i=l(k);a.r(k,()=>i);const y={};i._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-24",_type:"icon",_themes:g},n,e,"0")},{t:k,i:!0},y);i.Component=s(y,i._);export{r as _,t as a,i as b}; +import{r as a,b as p,d as s,t as l}from"./registry-zqrnEiYK.js";import{_ as m}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function v(){return''}const _="kwQUe/e4",r=l(_);a.r(_,()=>r);const f={};r._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-30",_type:"icon",_themes:v},n,e,"0")},{t:_,i:!0},f);r.Component=s(f,r._);function $(){return''}const d="aneurO0+",t=l(d);a.r(d,()=>t);const h={};t._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-20",_type:"icon",_themes:$},n,e,"0")},{t:d,i:!0},h);t.Component=s(h,t._);function g(){return''}const k="YTqPpaR1",i=l(k);a.r(k,()=>i);const y={};i._=p(function(o,n,e,C,u,b){c(m,{...o,_name:"spinner-24",_type:"icon",_themes:g},n,e,"0")},{t:k,i:!0},y);i.Component=s(y,i._);export{r as _,t as a,i as b}; diff --git a/docs/assets/index-BUVaW_kc.js b/docs/assets/index-oJVpUktL.js similarity index 99% rename from docs/assets/index-BUVaW_kc.js rename to docs/assets/index-oJVpUktL.js index a05bb89e7..1a1196dc8 100644 --- a/docs/assets/index-BUVaW_kc.js +++ b/docs/assets/index-oJVpUktL.js @@ -1 +1 @@ -import{r as l,b as t,d as n,t as m}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-dCAZr4YS.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";function w(){return''}const b="AwWojVPt",i=m(b);l.r(b,()=>i);const f={};i._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"atv-24",_type:"icon",_themes:w},o,e,"0")},{t:b,i:!0},f);i.Component=n(f,i._);function C(){return''}const y="85Kl4xh0",s=m(y);l.r(y,()=>s);const k={};s._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"car-24",_type:"icon",_themes:C},o,e,"0")},{t:y,i:!0},k);s.Component=n(k,s._);function x(){return''}const A="qXbYyM/W",d=m(A);l.r(A,()=>d);const H={};d._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"jet-ski-24",_type:"icon",_themes:x},o,e,"0")},{t:A,i:!0},H);d.Component=n(H,d._);function V(){return''}const Z="u1D57zwD",v=m(Z);l.r(Z,()=>v);const M={};v._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"motorcycle-24",_type:"icon",_themes:V},o,e,"0")},{t:Z,i:!0},M);v.Component=n(M,v._);function g(){return''}const $="xnpY/hfy",u=m($);l.r($,()=>u);const L={};u._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"snowmobile-24",_type:"icon",_themes:g},o,e,"0")},{t:$,i:!0},L);u.Component=n(L,u._);export{s as _,i as a,d as b,v as c,u as d}; +import{r as l,b as t,d as n,t as m}from"./registry-zqrnEiYK.js";import{_ as c}from"./index-T-tr__32.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";function w(){return''}const b="AwWojVPt",i=m(b);l.r(b,()=>i);const f={};i._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"atv-24",_type:"icon",_themes:w},o,e,"0")},{t:b,i:!0},f);i.Component=n(f,i._);function C(){return''}const y="85Kl4xh0",s=m(y);l.r(y,()=>s);const k={};s._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"car-24",_type:"icon",_themes:C},o,e,"0")},{t:y,i:!0},k);s.Component=n(k,s._);function x(){return''}const A="qXbYyM/W",d=m(A);l.r(A,()=>d);const H={};d._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"jet-ski-24",_type:"icon",_themes:x},o,e,"0")},{t:A,i:!0},H);d.Component=n(H,d._);function V(){return''}const Z="u1D57zwD",v=m(Z);l.r(Z,()=>v);const M={};v._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"motorcycle-24",_type:"icon",_themes:V},o,e,"0")},{t:Z,i:!0},M);v.Component=n(M,v._);function g(){return''}const $="xnpY/hfy",u=m($);l.r($,()=>u);const L={};u._=t(function(a,o,e,_,p,r){h(c,{...a,_name:"snowmobile-24",_type:"icon",_themes:g},o,e,"0")},{t:$,i:!0},L);u.Component=n(L,u._);export{s as _,i as a,d as b,v as c,u as d}; diff --git a/docs/assets/index-PAD5b3ff.js b/docs/assets/index-py3x4x1i.js similarity index 88% rename from docs/assets/index-PAD5b3ff.js rename to docs/assets/index-py3x4x1i.js index a932fce4d..2a3739611 100644 --- a/docs/assets/index-PAD5b3ff.js +++ b/docs/assets/index-py3x4x1i.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="2Lz+w0Px",o=p(t);r.r(t,()=>o);const e={};o._=_(function(a,m,n,f,d,k){l(s,{...a,_name:"attention-filled-16",_type:"icon",_themes:c},m,n,"0")},{t,i:!0},e);o.Component=i(e,o._);export{o as _}; +import{r,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="2Lz+w0Px",o=p(t);r.r(t,()=>o);const e={};o._=_(function(a,m,n,f,d,k){l(s,{...a,_name:"attention-filled-16",_type:"icon",_themes:c},m,n,"0")},{t,i:!0},e);o.Component=i(e,o._);export{o as _}; diff --git a/docs/assets/index-8tJUpmL_.js b/docs/assets/index-qGww6RZi.js similarity index 99% rename from docs/assets/index-8tJUpmL_.js rename to docs/assets/index-qGww6RZi.js index 029c0944d..b3f503c29 100644 --- a/docs/assets/index-8tJUpmL_.js +++ b/docs/assets/index-qGww6RZi.js @@ -1 +1 @@ -import{t as ie,r as le,b as re,g as Q,d as ne}from"./registry-zqrnEiYK.js";import{_ as he,a as de}from"./index--MAS_RS0.js";import{_ as k}from"./render-tag-_0PNNh6Y.js";import{_ as X}from"./index-7jFeXTCh.js";function fe(i){const e=new Intl.Locale(i);return e.weekInfo?e.weekInfo.firstDay:0}function be(i){const e=fe(i),s=new Intl.DateTimeFormat(i,{weekday:"short"}),t=new Date(2022,9,2+e),a=[...Array(7)].map(()=>{const f=s.format(t);return t.setDate(t.getDate()+1),f});return{firstDayOfWeek:e,weekdayLabels:a}}function B(i){if(i)return/^\d\d\d\d-\d\d-\d\d$/g.test(i)?i:d(new Date(i))}function d(i){return i.toISOString().slice(0,10)}function D(i){return new Date(i)}function $(i,e){const s=D(i);return s.setUTCDate(s.getUTCDate()+e),d(s)}function Z(i){return i||navigator.language}const oe={ArrowRight:1,ArrowLeft:-1,ArrowDown:7,ArrowUp:-7};class ce extends Marko.Component{onCreate(e){const{firstDayOfWeek:s,weekdayLabels:t}=be(Z(e.locale)),a=d(new Date);this.state={focusISO:null,baseISO:a,tabindexISO:a,todayISO:a,offset:0,firstDayOfWeek:s,weekdayLabels:t,rangeStart:null,rangeEnd:null,disableBefore:null,disableAfter:null,disableWeekdays:[],disableList:[]}}onInput(e){var s;if(e.selected){const t=Array.isArray(e.selected)?e.selected:[e.selected],a=this.getFirstVisibleISO(),f=this.getLastVisibleISO(e);t.find(c=>c>=a&&c<=f)===void 0&&(this.state.baseISO=this.state.tabindexISO=t[0],this.state.offset=0)}if(this.calculateRangeDisplay(e),this.state.disableBefore=B(e.disableBefore),this.state.disableAfter=B(e.disableAfter),this.state.disableWeekdays=e.disableWeekdays??[],this.state.disableList=((s=e.disableList)==null?void 0:s.map(B))??[],this.isDisabled(this.state.tabindexISO)){const t=this.getFirstActiveISO(e);t?this.state.tabindexISO=t:this.state.disableBefore&&this.state.tabindexISOthis.state.disableAfter&&(this.state.baseISO=this.state.disableAfter,this.state.offset=0,this.state.tabindexISO=this.getFirstActiveISO(e)??this.state.disableAfter)}for(;this.state.disableAfter&&this.getMonthDate(this.state.offset+(e.numMonths||1)-1).toISOString()>this.state.disableAfter;)this.state.offset--}isDisabled(e){return this.state.disableBefore&&ethis.state.disableAfter||this.state.disableWeekdays.includes(D(e).getUTCDay())||this.state.disableList.includes(e)}onDaySelect(e){this.emit("select",{iso:e})}onDayFocus(e){this.state.focusISO=this.state.tabindexISO=e,this.calculateRangeDisplay()}onDayBlur(){this.state.focusISO=null,this.calculateRangeDisplay()}onKeyDown(e){const s=oe[e.key];if(s){e.preventDefault();let t=7,a=this.state.tabindexISO;do a=$(a,s);while(t-- >0&&this.isDisabled(a));if(t>0){const f=this.getFirstVisibleISO(),b=this.getLastVisibleISO();ab&&(this.input.navigable?this.nextMonth():a=b),this.setTabindexAndFocus(a),this.emit("focus",{iso:this.state.tabindexISO})}}else switch(e.key){case"PageUp":this.prevMonth(!0);break;case"PageDown":this.nextMonth(!0);break;case"Home":{const t=this.getFirstActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}case"End":{const t=this.getLastActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}}}getMonthDate(e){const s=D(this.state.baseISO);return new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+e))}getFirstVisibleISO(){return d(this.getMonthDate(this.state.offset))}getLastVisibleISO(e=this.input){const s=D(this.state.baseISO);return d(new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+this.state.offset+(e.numMonths||1),0)))}getFirstActiveISO(e=this.input){let s=this.getFirstVisibleISO();const t=this.getLastVisibleISO(e);for(;s<=t&&this.isDisabled(s);)s=$(s,1);return s>t?null:s}getLastActiveISO(e=this.input){let s=this.getLastVisibleISO(e);const t=this.getFirstVisibleISO();for(;s>=t&&this.isDisabled(s);)s=$(s,-1);return st&&(s=this.state.tabindexISO=t),e&&this.setTabindexAndFocus(s),this.emit("month-change",{iso:d(this.getMonthDate(this.state.offset))}),!0}nextMonth(e){if(this.state.disableAfter&&this.getLastVisibleISO()>=this.state.disableAfter)return!1;this.state.offset++;let s=this.state.tabindexISO;const t=this.getFirstActiveISO();return t&&this.state.tabindexISO{var s;return(s=this.getEl(e))==null?void 0:s.focus()})}calculateRangeDisplay(e=this.input){if(e.selected&&e.range){let s,t;Array.isArray(e.selected)?[s,t]=e.selected:this.state.focusISO&&(s=e.selected,t=this.state.focusISO),s&&t?sthis.state.rangeEnd)}}const E="uB4h6qrc",I=ie(E),Oe=I;le.r(E,()=>I);const ee=ce;I._=re(function(i,e,s,t,a,f){const{numMonths:b=1,getA11yShowMonthText:c=o=>`Show ${o}`,a11ySelectedText:W="selected",a11yRangeStartText:Y="start of range",a11yInRangeText:R="in range",a11yRangeEndText:P="end of range",a11yTodayText:p="today",a11yDisabledText:K="inactive",a11ySeparator:j=" - ",navigable:te,selected:O,interactive:se,linkBuilder:z}=i;var q=[...Array(b)].map((o,r)=>t.getMonthDate(a.offset+r));if(e.be("div",{class:"calendar"},"0",t,null,1),te){e.be("div",{class:"calendar__header"},"1",t,null,1),e.be("div",{class:"calendar__header--inner"},"2",t,null,1);{k(X,{transparent:!0,size:"small",disabled:a.disableBefore&&t.getFirstVisibleISO()<=a.disableBefore,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset-1))),renderBody:r=>{k(he,{},r,s,"4")}},e,s,"3",[["click","prevMonth",!1,[!1]]]);let o=0;for(const r of q||[]){const h=`[${o++}]`;e.be("h3",null,"5"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee()}k(X,{transparent:!0,size:"small",disabled:a.disableAfter&&t.getLastVisibleISO()>=a.disableAfter,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset+b))),renderBody:r=>{k(de,{},r,s,"7")}},e,s,"6",[["click","nextMonth",!1,[!1]]])}e.ee(),e.ee()}e.be("div",{class:"calendar__body"},"8",t,null,1);{let o=0;for(const r of q||[]){const h=`[${o++}]`;e.be("div",{class:"calendar__month"},"9"+h,t,null,1),e.be("table",null,"10"+h,t,null,0,{onkeydown:s.d("keydown","onKeyDown",!1)}),e.be("caption",null,"11"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee(),e.be("thead",null,"12"+h,t,null,0),e.be("tr",null,"13"+h,t,null,0);{let L=0;for(const g of a.weekdayLabels||[]){const u=`[${L+++h}]`;e.be("th",null,"14"+u,t,null,0),e.t(g,t),e.ee()}}e.ee(),e.ee(),e.be("tbody",null,"15"+h,t,null,0);var A=(r.getUTCDay()-a.firstDayOfWeek+7)%7,H=r.getUTCFullYear(),N=r.getUTCMonth(),w=new Date(H,N+1,0).getDate();for(let L=(Math.floor((A+w)/7)-0)/1,g=0;g<=L;g++){const u=0+g*1,V=`[${u+h}]`;e.be("tr",null,"16"+V,t,null,0);var v=u*7-A+1,x=v+6;u===0&&A!==0?(e.e("td",{colspan:A},"17"+V,t,0,0),v=1):x>w&&(x=w);for(let ae=(x-v)/1,C=0;C<=ae;C++){const S=v+C*1,_=`[${S+V}]`;var l=d(new Date(Date.UTC(H,N,S))),T=l===a.todayISO,F=Array.isArray(O)?O.some(U=>U===l):O&&O===l,m=l===a.rangeStart,G=t.isInRange(l),M=l===a.rangeEnd,y=t.isDisabled(l),n=[""];if(W&&F&&n.push(W),Y&&m&&n.push(Y),R&&!m&&!M&&G&&n.push(R),P&&M&&n.push(P),e.be("td",{class:Q({"calendar__cell--selected":F,"calendar__range--start":m,calendar__range:G,"calendar__range--end":M})},"18"+_,t,null,1),se)e.be("button",{disabled:y,"aria-label":n.length>1&&`${S}${n.join(j)}`,tabindex:a.tabindexISO!==l&&-1,"aria-current":T&&"date","aria-pressed":F&&"true"},`@${l}`,t,null,0,{onclick:s.d("click","onDaySelect",!1,[l]),onfocus:s.d("focus","onDayFocus",!1,[l]),onmouseover:s.d("mouseover","onDayFocus",!1,[l]),onblur:s.d("blur","onDayBlur",!1),onmouseout:s.d("mouseout","onDayBlur",!1)}),e.t(S,t),e.ee();else{p&&T&&n.push(p),K&&y&&n.push(K);var J=!y&&z&&z(l);const U=J?"a":"span";e.be(U,{class:Q({"calendar__cell--disabled":y,"calendar__cell--current":T}),href:J},"19"+_,t,null,0),e.t(S,t),n.length>1&&(e.be("span",{class:"clipped"},"20"+_,t,null,1),e.t(n.join(j),t),e.ee()),e.ee()}e.ee()}e.ee()}e.ee(),e.ee(),e.ee()}}e.ee(),e.ee()},{t:E},ee);I.Component=ne(ee,I._);export{Oe as _,B as d,d as t}; +import{t as ie,r as le,b as re,g as Q,d as ne}from"./registry-zqrnEiYK.js";import{_ as he,a as de}from"./index-nZ7E-k9d.js";import{_ as k}from"./render-tag-_0PNNh6Y.js";import{_ as X}from"./index-7jFeXTCh.js";function fe(i){const e=new Intl.Locale(i);return e.weekInfo?e.weekInfo.firstDay:0}function be(i){const e=fe(i),s=new Intl.DateTimeFormat(i,{weekday:"short"}),t=new Date(2022,9,2+e),a=[...Array(7)].map(()=>{const f=s.format(t);return t.setDate(t.getDate()+1),f});return{firstDayOfWeek:e,weekdayLabels:a}}function B(i){if(i)return/^\d\d\d\d-\d\d-\d\d$/g.test(i)?i:d(new Date(i))}function d(i){return i.toISOString().slice(0,10)}function D(i){return new Date(i)}function $(i,e){const s=D(i);return s.setUTCDate(s.getUTCDate()+e),d(s)}function Z(i){return i||navigator.language}const oe={ArrowRight:1,ArrowLeft:-1,ArrowDown:7,ArrowUp:-7};class ce extends Marko.Component{onCreate(e){const{firstDayOfWeek:s,weekdayLabels:t}=be(Z(e.locale)),a=d(new Date);this.state={focusISO:null,baseISO:a,tabindexISO:a,todayISO:a,offset:0,firstDayOfWeek:s,weekdayLabels:t,rangeStart:null,rangeEnd:null,disableBefore:null,disableAfter:null,disableWeekdays:[],disableList:[]}}onInput(e){var s;if(e.selected){const t=Array.isArray(e.selected)?e.selected:[e.selected],a=this.getFirstVisibleISO(),f=this.getLastVisibleISO(e);t.find(c=>c>=a&&c<=f)===void 0&&(this.state.baseISO=this.state.tabindexISO=t[0],this.state.offset=0)}if(this.calculateRangeDisplay(e),this.state.disableBefore=B(e.disableBefore),this.state.disableAfter=B(e.disableAfter),this.state.disableWeekdays=e.disableWeekdays??[],this.state.disableList=((s=e.disableList)==null?void 0:s.map(B))??[],this.isDisabled(this.state.tabindexISO)){const t=this.getFirstActiveISO(e);t?this.state.tabindexISO=t:this.state.disableBefore&&this.state.tabindexISOthis.state.disableAfter&&(this.state.baseISO=this.state.disableAfter,this.state.offset=0,this.state.tabindexISO=this.getFirstActiveISO(e)??this.state.disableAfter)}for(;this.state.disableAfter&&this.getMonthDate(this.state.offset+(e.numMonths||1)-1).toISOString()>this.state.disableAfter;)this.state.offset--}isDisabled(e){return this.state.disableBefore&&ethis.state.disableAfter||this.state.disableWeekdays.includes(D(e).getUTCDay())||this.state.disableList.includes(e)}onDaySelect(e){this.emit("select",{iso:e})}onDayFocus(e){this.state.focusISO=this.state.tabindexISO=e,this.calculateRangeDisplay()}onDayBlur(){this.state.focusISO=null,this.calculateRangeDisplay()}onKeyDown(e){const s=oe[e.key];if(s){e.preventDefault();let t=7,a=this.state.tabindexISO;do a=$(a,s);while(t-- >0&&this.isDisabled(a));if(t>0){const f=this.getFirstVisibleISO(),b=this.getLastVisibleISO();ab&&(this.input.navigable?this.nextMonth():a=b),this.setTabindexAndFocus(a),this.emit("focus",{iso:this.state.tabindexISO})}}else switch(e.key){case"PageUp":this.prevMonth(!0);break;case"PageDown":this.nextMonth(!0);break;case"Home":{const t=this.getFirstActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}case"End":{const t=this.getLastActiveISO();t&&(this.setTabindexAndFocus(t),this.emit("focus",{iso:this.state.tabindexISO}));break}}}getMonthDate(e){const s=D(this.state.baseISO);return new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+e))}getFirstVisibleISO(){return d(this.getMonthDate(this.state.offset))}getLastVisibleISO(e=this.input){const s=D(this.state.baseISO);return d(new Date(Date.UTC(s.getUTCFullYear(),s.getUTCMonth()+this.state.offset+(e.numMonths||1),0)))}getFirstActiveISO(e=this.input){let s=this.getFirstVisibleISO();const t=this.getLastVisibleISO(e);for(;s<=t&&this.isDisabled(s);)s=$(s,1);return s>t?null:s}getLastActiveISO(e=this.input){let s=this.getLastVisibleISO(e);const t=this.getFirstVisibleISO();for(;s>=t&&this.isDisabled(s);)s=$(s,-1);return st&&(s=this.state.tabindexISO=t),e&&this.setTabindexAndFocus(s),this.emit("month-change",{iso:d(this.getMonthDate(this.state.offset))}),!0}nextMonth(e){if(this.state.disableAfter&&this.getLastVisibleISO()>=this.state.disableAfter)return!1;this.state.offset++;let s=this.state.tabindexISO;const t=this.getFirstActiveISO();return t&&this.state.tabindexISO{var s;return(s=this.getEl(e))==null?void 0:s.focus()})}calculateRangeDisplay(e=this.input){if(e.selected&&e.range){let s,t;Array.isArray(e.selected)?[s,t]=e.selected:this.state.focusISO&&(s=e.selected,t=this.state.focusISO),s&&t?sthis.state.rangeEnd)}}const E="uB4h6qrc",I=ie(E),Oe=I;le.r(E,()=>I);const ee=ce;I._=re(function(i,e,s,t,a,f){const{numMonths:b=1,getA11yShowMonthText:c=o=>`Show ${o}`,a11ySelectedText:W="selected",a11yRangeStartText:Y="start of range",a11yInRangeText:R="in range",a11yRangeEndText:P="end of range",a11yTodayText:p="today",a11yDisabledText:K="inactive",a11ySeparator:j=" - ",navigable:te,selected:O,interactive:se,linkBuilder:z}=i;var q=[...Array(b)].map((o,r)=>t.getMonthDate(a.offset+r));if(e.be("div",{class:"calendar"},"0",t,null,1),te){e.be("div",{class:"calendar__header"},"1",t,null,1),e.be("div",{class:"calendar__header--inner"},"2",t,null,1);{k(X,{transparent:!0,size:"small",disabled:a.disableBefore&&t.getFirstVisibleISO()<=a.disableBefore,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset-1))),renderBody:r=>{k(he,{},r,s,"4")}},e,s,"3",[["click","prevMonth",!1,[!1]]]);let o=0;for(const r of q||[]){const h=`[${o++}]`;e.be("h3",null,"5"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee()}k(X,{transparent:!0,size:"small",disabled:a.disableAfter&&t.getLastVisibleISO()>=a.disableAfter,ariaLabel:c(t.monthTitle(t.getMonthDate(a.offset+b))),renderBody:r=>{k(de,{},r,s,"7")}},e,s,"6",[["click","nextMonth",!1,[!1]]])}e.ee(),e.ee()}e.be("div",{class:"calendar__body"},"8",t,null,1);{let o=0;for(const r of q||[]){const h=`[${o++}]`;e.be("div",{class:"calendar__month"},"9"+h,t,null,1),e.be("table",null,"10"+h,t,null,0,{onkeydown:s.d("keydown","onKeyDown",!1)}),e.be("caption",null,"11"+h,t,null,0),e.t(t.monthTitle(r),t),e.ee(),e.be("thead",null,"12"+h,t,null,0),e.be("tr",null,"13"+h,t,null,0);{let L=0;for(const g of a.weekdayLabels||[]){const u=`[${L+++h}]`;e.be("th",null,"14"+u,t,null,0),e.t(g,t),e.ee()}}e.ee(),e.ee(),e.be("tbody",null,"15"+h,t,null,0);var A=(r.getUTCDay()-a.firstDayOfWeek+7)%7,H=r.getUTCFullYear(),N=r.getUTCMonth(),w=new Date(H,N+1,0).getDate();for(let L=(Math.floor((A+w)/7)-0)/1,g=0;g<=L;g++){const u=0+g*1,V=`[${u+h}]`;e.be("tr",null,"16"+V,t,null,0);var v=u*7-A+1,x=v+6;u===0&&A!==0?(e.e("td",{colspan:A},"17"+V,t,0,0),v=1):x>w&&(x=w);for(let ae=(x-v)/1,C=0;C<=ae;C++){const S=v+C*1,_=`[${S+V}]`;var l=d(new Date(Date.UTC(H,N,S))),T=l===a.todayISO,F=Array.isArray(O)?O.some(U=>U===l):O&&O===l,m=l===a.rangeStart,G=t.isInRange(l),M=l===a.rangeEnd,y=t.isDisabled(l),n=[""];if(W&&F&&n.push(W),Y&&m&&n.push(Y),R&&!m&&!M&&G&&n.push(R),P&&M&&n.push(P),e.be("td",{class:Q({"calendar__cell--selected":F,"calendar__range--start":m,calendar__range:G,"calendar__range--end":M})},"18"+_,t,null,1),se)e.be("button",{disabled:y,"aria-label":n.length>1&&`${S}${n.join(j)}`,tabindex:a.tabindexISO!==l&&-1,"aria-current":T&&"date","aria-pressed":F&&"true"},`@${l}`,t,null,0,{onclick:s.d("click","onDaySelect",!1,[l]),onfocus:s.d("focus","onDayFocus",!1,[l]),onmouseover:s.d("mouseover","onDayFocus",!1,[l]),onblur:s.d("blur","onDayBlur",!1),onmouseout:s.d("mouseout","onDayBlur",!1)}),e.t(S,t),e.ee();else{p&&T&&n.push(p),K&&y&&n.push(K);var J=!y&&z&&z(l);const U=J?"a":"span";e.be(U,{class:Q({"calendar__cell--disabled":y,"calendar__cell--current":T}),href:J},"19"+_,t,null,0),e.t(S,t),n.length>1&&(e.be("span",{class:"clipped"},"20"+_,t,null,1),e.t(n.join(j),t),e.ee()),e.ee()}e.ee()}e.ee()}e.ee(),e.ee(),e.ee()}}e.ee(),e.ee()},{t:E},ee);I.Component=ne(ee,I._);export{Oe as _,B as d,d as t}; diff --git a/docs/assets/index-mTXoXd8D.js b/docs/assets/index-qcbGa1eL.js similarity index 94% rename from docs/assets/index-mTXoXd8D.js rename to docs/assets/index-qcbGa1eL.js index 4818ecfbe..f2300768a 100644 --- a/docs/assets/index-mTXoXd8D.js +++ b/docs/assets/index-qcbGa1eL.js @@ -1 +1 @@ -import{t as f,r as p,b as u,g as b,h,f as y,p as C,d as g}from"./registry-zqrnEiYK.js";/* empty css */import{b as w,c as v,a as S,_ as E}from"./index-X2pdjzRH.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";class $ extends Marko.Component{forwardEvent(a,s,e){var t,n;this.emit(a,{originalEvent:s,value:(n=e||((t=this.el)==null?void 0:t.querySelector("input")))==null?void 0:n.value},e)}}const _="E2ARQ6uN",o=f(_),z=o;function x(){}p.r(_,()=>$);const c={};o._=u(function(l,a,s,e,t,n){const{class:i,style:d,size:m,...k}=l;l.toJSON=x,a.be("span",{class:b(["radio",i]),style:h(d)},"0",e,null,1),a.e("input",y(C(k),{type:"radio",class:"radio__control"}),"1",e,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),a.be("span",{class:"radio__icon",hidden:""},"2",e,null,0),m==="large"?(r(w,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"3"),r(v,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"4")):(r(S,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"5"),r(E,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"6")),a.ee(),a.ee()},{t:_,s:!0},c);o.Component=g(c,o._);export{z as C}; +import{t as f,r as p,b as u,g as b,h,f as y,p as C,d as g}from"./registry-zqrnEiYK.js";/* empty css */import{b as w,c as v,a as S,_ as E}from"./index-vNEQ4tAH.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";class $ extends Marko.Component{forwardEvent(a,s,e){var t,n;this.emit(a,{originalEvent:s,value:(n=e||((t=this.el)==null?void 0:t.querySelector("input")))==null?void 0:n.value},e)}}const _="E2ARQ6uN",o=f(_),z=o;function x(){}p.r(_,()=>$);const c={};o._=u(function(l,a,s,e,t,n){const{class:i,style:d,size:m,...k}=l;l.toJSON=x,a.be("span",{class:b(["radio",i]),style:h(d)},"0",e,null,1),a.e("input",y(C(k),{type:"radio",class:"radio__control"}),"1",e,0,4,{onclick:s.d("click","forwardEvent",!1,["change"]),onfocus:s.d("focus","forwardEvent",!1,["focus"]),onkeydown:s.d("keydown","forwardEvent",!1,["keydown"])}),a.be("span",{class:"radio__icon",hidden:""},"2",e,null,0),m==="large"?(r(w,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"3"),r(v,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"4")):(r(S,{class:"radio__unchecked",focusable:"false",noSkinClasses:!0},a,s,"5"),r(E,{class:"radio__checked",focusable:"false",noSkinClasses:!0},a,s,"6")),a.ee(),a.ee()},{t:_,s:!0},c);o.Component=g(c,o._);export{z as C}; diff --git a/docs/assets/index-98HIjKfK.js b/docs/assets/index-qhjahFr3.js similarity index 90% rename from docs/assets/index-98HIjKfK.js rename to docs/assets/index-qhjahFr3.js index aa6c31de6..83bcc76b1 100644 --- a/docs/assets/index-98HIjKfK.js +++ b/docs/assets/index-qhjahFr3.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const a="vQJ45vnJ",o=i(a);n.r(a,()=>o);const e={};o._=_(function(t,r,m,h,d,v){c(s,{...t,_name:"archive-24",_type:"icon",_themes:l},r,m,"0")},{t:a,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";function l(){return''}const a="vQJ45vnJ",o=i(a);n.r(a,()=>o);const e={};o._=_(function(t,r,m,h,d,v){c(s,{...t,_name:"archive-24",_type:"icon",_themes:l},r,m,"0")},{t:a,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-w1q3zmbb.js b/docs/assets/index-rQljMZk-.js similarity index 95% rename from docs/assets/index-w1q3zmbb.js rename to docs/assets/index-rQljMZk-.js index dbc40d522..58b8772dd 100644 --- a/docs/assets/index-w1q3zmbb.js +++ b/docs/assets/index-rQljMZk-.js @@ -1 +1 @@ -import{r as _,b as r,d as p,t as c}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function v(){return''}const i="iL/YrgqU",n=c(i);_.r(i,()=>n);const k={};n._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"chevron-left-12",_type:"icon",_themes:v},t,e,"0")},{t:i,i:!0},k);n.Component=p(k,n._);function g(){return''}const y="82Xr5HRH",a=c(y);_.r(y,()=>a);const $={};a._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"play-24",_type:"icon",_themes:g},t,e,"0")},{t:y,i:!0},$);a.Component=p($,a._);function C(){return''}const b="sAyGS9tw",m=c(b);_.r(b,()=>m);const h={};m._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"pause-24",_type:"icon",_themes:C},t,e,"0")},{t:b,i:!0},h);m.Component=p(h,m._);export{n as _,a,m as b}; +import{r as _,b as r,d as p,t as c}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function v(){return''}const i="iL/YrgqU",n=c(i);_.r(i,()=>n);const k={};n._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"chevron-left-12",_type:"icon",_themes:v},t,e,"0")},{t:i,i:!0},k);n.Component=p(k,n._);function g(){return''}const y="82Xr5HRH",a=c(y);_.r(y,()=>a);const $={};a._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"play-24",_type:"icon",_themes:g},t,e,"0")},{t:y,i:!0},$);a.Component=p($,a._);function C(){return''}const b="sAyGS9tw",m=c(b);_.r(b,()=>m);const h={};m._=r(function(o,t,e,u,d,f){l(s,{...o,_name:"pause-24",_type:"icon",_themes:C},t,e,"0")},{t:b,i:!0},h);m.Component=p(h,m._);export{n as _,a,m as b}; diff --git a/docs/assets/index-I1TU7Smy.js b/docs/assets/index-sQkzr8PD.js similarity index 91% rename from docs/assets/index-I1TU7Smy.js rename to docs/assets/index-sQkzr8PD.js index 503c9bae9..74ed5335e 100644 --- a/docs/assets/index-I1TU7Smy.js +++ b/docs/assets/index-sQkzr8PD.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as h}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const o="myKVwxii",a=h(o);n.r(o,()=>a);const t={};a._=_(function(m,e,r,v,l,d){s(i,{...m,_name:"calendar-24",_type:"icon",_themes:c},e,r,"0")},{t:o,i:!0},t);a.Component=p(t,a._);export{a as _}; +import{r as n,b as _,d as p,t as h}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";function c(){return''}const o="myKVwxii",a=h(o);n.r(o,()=>a);const t={};a._=_(function(m,e,r,v,l,d){s(i,{...m,_name:"calendar-24",_type:"icon",_themes:c},e,r,"0")},{t:o,i:!0},t);a.Component=p(t,a._);export{a as _}; diff --git a/docs/assets/index-ybkHVAw4.js b/docs/assets/index-t6MwYYcL.js similarity index 97% rename from docs/assets/index-ybkHVAw4.js rename to docs/assets/index-t6MwYYcL.js index e3f30f713..1fe5c1d24 100644 --- a/docs/assets/index-ybkHVAw4.js +++ b/docs/assets/index-t6MwYYcL.js @@ -1 +1 @@ -import{r,b as c,d as n,t as _}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";function i(){return''}const o="NrI7oofI",a=_(o);r.r(o,()=>a);const l={};a._=c(function(t,e,m,f,k,b){p(s,{...t,_name:"settings-24",_type:"icon",_themes:i},e,m,"0")},{t:o,i:!0},l);a.Component=n(l,a._);export{a as _}; +import{r,b as c,d as n,t as _}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";function i(){return''}const o="NrI7oofI",a=_(o);r.r(o,()=>a);const l={};a._=c(function(t,e,m,f,k,b){p(s,{...t,_name:"settings-24",_type:"icon",_themes:i},e,m,"0")},{t:o,i:!0},l);a.Component=n(l,a._);export{a as _}; diff --git a/docs/assets/index-jhxbAhNi.js b/docs/assets/index-vM9MgpNM.js similarity index 88% rename from docs/assets/index-jhxbAhNi.js rename to docs/assets/index-vM9MgpNM.js index b21588175..37373bc93 100644 --- a/docs/assets/index-jhxbAhNi.js +++ b/docs/assets/index-vM9MgpNM.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="GsZJ06UR",o=s(t);n.r(t,()=>o);const e={};o._=_(function(r,m,a,f,k,b){l(i,{...r,_name:"chevron-left-16",_type:"icon",_themes:c},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; +import{r as n,b as _,d as p,t as s}from"./registry-zqrnEiYK.js";import{_ as i}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="GsZJ06UR",o=s(t);n.r(t,()=>o);const e={};o._=_(function(r,m,a,f,k,b){l(i,{...r,_name:"chevron-left-16",_type:"icon",_themes:c},m,a,"0")},{t,i:!0},e);o.Component=p(e,o._);export{o as _}; diff --git a/docs/assets/index-X2pdjzRH.js b/docs/assets/index-vNEQ4tAH.js similarity index 96% rename from docs/assets/index-X2pdjzRH.js rename to docs/assets/index-vNEQ4tAH.js index d2145d8e7..7ff2335f8 100644 --- a/docs/assets/index-X2pdjzRH.js +++ b/docs/assets/index-vNEQ4tAH.js @@ -1 +1 @@ -import{r,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-dCAZr4YS.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";function g(){return''}const b="hCR0/wii",t=p(b);r.r(b,()=>t);const $={};t._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-unchecked-24",_type:"icon",_themes:g},e,n,"0")},{t:b,i:!0},$);t.Component=i($,t._);function A(){return''}const y="tyzQeW5v",m=p(y);r.r(y,()=>m);const v={};m._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-checked-24",_type:"icon",_themes:A},e,n,"0")},{t:y,i:!0},v);m.Component=i(v,m._);function w(){return''}const h="AQW3i7S4",a=p(h);r.r(h,()=>a);const C={};a._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-unchecked-18",_type:"icon",_themes:w},e,n,"0")},{t:h,i:!0},C);a.Component=i(C,a._);function x(){return''}const f="Rf2pZU3G",c=p(f);r.r(f,()=>c);const Z={};c._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-checked-18",_type:"icon",_themes:x},e,n,"0")},{t:f,i:!0},Z);c.Component=i(Z,c._);export{c as _,a,t as b,m as c}; +import{r,b as _,d as i,t as p}from"./registry-zqrnEiYK.js";import{_ as l}from"./index-T-tr__32.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";function g(){return''}const b="hCR0/wii",t=p(b);r.r(b,()=>t);const $={};t._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-unchecked-24",_type:"icon",_themes:g},e,n,"0")},{t:b,i:!0},$);t.Component=i($,t._);function A(){return''}const y="tyzQeW5v",m=p(y);r.r(y,()=>m);const v={};m._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-checked-24",_type:"icon",_themes:A},e,n,"0")},{t:y,i:!0},v);m.Component=i(v,m._);function w(){return''}const h="AQW3i7S4",a=p(h);r.r(h,()=>a);const C={};a._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-unchecked-18",_type:"icon",_themes:w},e,n,"0")},{t:h,i:!0},C);a.Component=i(C,a._);function x(){return''}const f="Rf2pZU3G",c=p(f);r.r(f,()=>c);const Z={};c._=_(function(o,e,n,s,u,k){d(l,{...o,_name:"radio-checked-18",_type:"icon",_themes:x},e,n,"0")},{t:f,i:!0},Z);c.Component=i(Z,c._);export{c as _,a,t as b,m as c}; diff --git a/docs/assets/index-zgw-oVoj.js b/docs/assets/index-w_DyqyRi.js similarity index 89% rename from docs/assets/index-zgw-oVoj.js rename to docs/assets/index-w_DyqyRi.js index 50dcb9a2a..3874ce3ff 100644 --- a/docs/assets/index-zgw-oVoj.js +++ b/docs/assets/index-w_DyqyRi.js @@ -1 +1 @@ -import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="9JqFYAqL",o=i(t);n.r(t,()=>o);const r={};o._=_(function(e,a,m,f,k,b){l(s,{...e,_name:"overflow-horizontal-16",_type:"icon",_themes:c},a,m,"0")},{t,i:!0},r);o.Component=p(r,o._);export{o as _}; +import{r as n,b as _,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="9JqFYAqL",o=i(t);n.r(t,()=>o);const r={};o._=_(function(e,a,m,f,k,b){l(s,{...e,_name:"overflow-horizontal-16",_type:"icon",_themes:c},a,m,"0")},{t,i:!0},r);o.Component=p(r,o._);export{o as _}; diff --git a/docs/assets/index-wCG8Mexi.js b/docs/assets/index-wsKKJ7f4.js similarity index 98% rename from docs/assets/index-wCG8Mexi.js rename to docs/assets/index-wsKKJ7f4.js index aefa393ee..436e5d0ef 100644 --- a/docs/assets/index-wCG8Mexi.js +++ b/docs/assets/index-wsKKJ7f4.js @@ -1 +1 @@ -import{t as A,r as H,b as U,f as g,p as b,g as u,h as f,d as B}from"./registry-zqrnEiYK.js";/* empty css */import{_ as N}from"./dynamic-tag-4Gch17f1.js";import{_ as W}from"./index-4Ud0-PVY.js";import{_ as x}from"./render-tag-_0PNNh6Y.js";import{_ as G}from"./index-Zo2k51hY.js";import{a as J,r as Y}from"./index-sDZ0BqWo.js";import{c as q}from"./index-j_KV6Utw.js";import{h as z,a as F}from"./index-XjwwBzg5.js";import{M as Q,s as X}from"./index-j-rYSiF3.js";function Z(){let r,e="";return{getIndex:function(t,s,n){e=e.concat(s);let a;if(t==null)return-1;const o=e.toLocaleLowerCase();return a=[...t].findIndex(i=>i.textContent.toLocaleLowerCase().startsWith(o)),a===-1&&(a=[...t].findIndex(i=>i.textContent.toLocaleLowerCase().includes(o))),setTimeout(()=>{clearTimeout(r),e=""},n),a},destroy:function(){}}}const D=1300;class ee extends Q{onCreate(){X(this)}toggleItemChecked(e,t,s){const n=this.isRadio()&&e!==this.state.checkedIndex;this.toggleChecked(e),n?this.emitComponentEvent({index:e,eventType:"change",el:s,originalEvent:t}):this.type!=="radio"&&this.emitComponentEvent({index:e,eventType:this.type?"change":"select",el:s,originalEvent:t}),this.rovingTabindex&&(this.tabindexPosition=this.rovingTabindex.items.findIndex(a=>a.tabIndex===0))}handleItemClick(e,t,s){this.toggleItemChecked(e,t,s)}handleItemKeydown(e,t,s){z(t,()=>{this.emitComponentEvent({eventType:"keydown",originalEvent:t,index:e})}),F(t,()=>this.toggleItemChecked(e,t,s))}handleItemKeypress({key:e}){const t=this.getTypeaheadIndex(this.getEl("menu").children,e,this.input.typeaheadTimeoutLength||D);t!==-1&&(this.tabindexPosition=this.rovingTabindex.index=t)}emitComponentEvent({eventType:e,el:t,originalEvent:s,index:n}){const a=this.getCheckedIndexes(),o=this.type==="checkbox",i={el:t,originalEvent:s};o&&a&&a.length>1?Object.assign(i,{index:n,indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):o||this.isRadio()?Object.assign(i,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):Object.assign(i,{index:n,checked:[n]}),this.emit(`${e}`,i)}onInput(e){this.state=this.getInputState(e)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this.tabindexPosition=0,this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.contentEl=this.getEl("menu"),this.rovingTabindex=q(this.contentEl,"div",{index:this.tabindexPosition,autoReset:null}),J(this.contentEl);const{getIndex:e,destroy:t}=Z();this.getTypeaheadIndex=e,this.destroyTypeahead=t}_cleanupMakeup(){this.rovingTabindex&&(this.rovingTabindex.destroy(),Y(this.contentEl)),this.destroyTypeahead&&this.destroyTypeahead()}}const y="6hbJ9uLV",c=A(y),ue=c;H.r(y,()=>c);const C=ee;c._=U(function(r,e,t,s,n,a){const{class:o,style:i,classPrefix:_,type:m,reverse:I,fixWidth:T,items:te,...v}=r;var w=m==="radio",M=m==="checkbox",E=m==="checkbox"||m==="radio",d=_||"menu",$=s.getSeparatorMap(r);e.be("span",g(b(v),{class:u([_?`${d}__menu`:"menu",I&&`${d}__menu--reverse`,T&&`${d}__menu--fix-width`,o]),style:f(i)}),"0",s,null,4),e.be("div",{role:"menu",class:u(`${d}__items`),id:t.elId("menu")},"@menu",s,null,0);{let P=0;for(const R of s.items||[]){let h=P++;const l=`[${h}]`,{class:O,style:S,value:se,checked:ae,badgeNumber:k,disabled:p,renderBody:V,...j}=R;var L=w?"menuitemradio":M?"menuitemcheckbox":"menuitem",K=s.isChecked(h);$[h]&&e.e("hr",{class:u(`${d}__separator`),role:"separator"},"1"+l,s,0,0),e.be("div",g(b(j),{class:u([`${d}__item`,O,k!==void 0&&`${d}__item--badged`]),style:f(S),"aria-checked":E&&(K?"true":"false"),"aria-disabled":p&&"true",role:L}),"@item[]",s,null,4,{onclick:t.d("click",!p&&"handleItemClick",!1,[h]),onkeydown:t.d("keydown",!p&&"handleItemKeydown",!1,[h]),onkeypress:t.d("keypress",!p&&"handleItemKeypress",!1)}),e.be("span",null,"2"+l,s,null,0),N(e,V,null,null,null,null,t,"3"+l),k&&x(W,{type:"menu",number:k},e,t,"4"+l),e.ee(),x(G,{},e,t,"5"+l),e.ee()}}e.ee(),e.ee()},{t:y},C);c.Component=B(C,c._);export{ue as C}; +import{t as A,r as H,b as U,f as g,p as b,g as u,h as f,d as B}from"./registry-zqrnEiYK.js";/* empty css */import{_ as N}from"./dynamic-tag-4Gch17f1.js";import{_ as W}from"./index-4Ud0-PVY.js";import{_ as x}from"./render-tag-_0PNNh6Y.js";import{_ as G}from"./index-FQXijakt.js";import{a as J,r as Y}from"./index-sDZ0BqWo.js";import{c as q}from"./index-j_KV6Utw.js";import{h as z,a as F}from"./index-XjwwBzg5.js";import{M as Q,s as X}from"./index-j-rYSiF3.js";function Z(){let r,e="";return{getIndex:function(t,s,n){e=e.concat(s);let a;if(t==null)return-1;const o=e.toLocaleLowerCase();return a=[...t].findIndex(i=>i.textContent.toLocaleLowerCase().startsWith(o)),a===-1&&(a=[...t].findIndex(i=>i.textContent.toLocaleLowerCase().includes(o))),setTimeout(()=>{clearTimeout(r),e=""},n),a},destroy:function(){}}}const D=1300;class ee extends Q{onCreate(){X(this)}toggleItemChecked(e,t,s){const n=this.isRadio()&&e!==this.state.checkedIndex;this.toggleChecked(e),n?this.emitComponentEvent({index:e,eventType:"change",el:s,originalEvent:t}):this.type!=="radio"&&this.emitComponentEvent({index:e,eventType:this.type?"change":"select",el:s,originalEvent:t}),this.rovingTabindex&&(this.tabindexPosition=this.rovingTabindex.items.findIndex(a=>a.tabIndex===0))}handleItemClick(e,t,s){this.toggleItemChecked(e,t,s)}handleItemKeydown(e,t,s){z(t,()=>{this.emitComponentEvent({eventType:"keydown",originalEvent:t,index:e})}),F(t,()=>this.toggleItemChecked(e,t,s))}handleItemKeypress({key:e}){const t=this.getTypeaheadIndex(this.getEl("menu").children,e,this.input.typeaheadTimeoutLength||D);t!==-1&&(this.tabindexPosition=this.rovingTabindex.index=t)}emitComponentEvent({eventType:e,el:t,originalEvent:s,index:n}){const a=this.getCheckedIndexes(),o=this.type==="checkbox",i={el:t,originalEvent:s};o&&a&&a.length>1?Object.assign(i,{index:n,indexes:this.getCheckedIndexes(),checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):o||this.isRadio()?Object.assign(i,{index:n,checked:this.getCheckedIndexes(),checkedValues:this.getCheckedValues()}):Object.assign(i,{index:n,checked:[n]}),this.emit(`${e}`,i)}onInput(e){this.state=this.getInputState(e)}onRender(){typeof window<"u"&&this._cleanupMakeup()}onMount(){this.tabindexPosition=0,this._setupMakeup()}onUpdate(){this._setupMakeup()}onDestroy(){this._cleanupMakeup()}_setupMakeup(){this.contentEl=this.getEl("menu"),this.rovingTabindex=q(this.contentEl,"div",{index:this.tabindexPosition,autoReset:null}),J(this.contentEl);const{getIndex:e,destroy:t}=Z();this.getTypeaheadIndex=e,this.destroyTypeahead=t}_cleanupMakeup(){this.rovingTabindex&&(this.rovingTabindex.destroy(),Y(this.contentEl)),this.destroyTypeahead&&this.destroyTypeahead()}}const y="6hbJ9uLV",c=A(y),ue=c;H.r(y,()=>c);const C=ee;c._=U(function(r,e,t,s,n,a){const{class:o,style:i,classPrefix:_,type:m,reverse:I,fixWidth:T,items:te,...v}=r;var w=m==="radio",M=m==="checkbox",E=m==="checkbox"||m==="radio",d=_||"menu",$=s.getSeparatorMap(r);e.be("span",g(b(v),{class:u([_?`${d}__menu`:"menu",I&&`${d}__menu--reverse`,T&&`${d}__menu--fix-width`,o]),style:f(i)}),"0",s,null,4),e.be("div",{role:"menu",class:u(`${d}__items`),id:t.elId("menu")},"@menu",s,null,0);{let P=0;for(const R of s.items||[]){let h=P++;const l=`[${h}]`,{class:O,style:S,value:se,checked:ae,badgeNumber:k,disabled:p,renderBody:V,...j}=R;var L=w?"menuitemradio":M?"menuitemcheckbox":"menuitem",K=s.isChecked(h);$[h]&&e.e("hr",{class:u(`${d}__separator`),role:"separator"},"1"+l,s,0,0),e.be("div",g(b(j),{class:u([`${d}__item`,O,k!==void 0&&`${d}__item--badged`]),style:f(S),"aria-checked":E&&(K?"true":"false"),"aria-disabled":p&&"true",role:L}),"@item[]",s,null,4,{onclick:t.d("click",!p&&"handleItemClick",!1,[h]),onkeydown:t.d("keydown",!p&&"handleItemKeydown",!1,[h]),onkeypress:t.d("keypress",!p&&"handleItemKeypress",!1)}),e.be("span",null,"2"+l,s,null,0),N(e,V,null,null,null,null,t,"3"+l),k&&x(W,{type:"menu",number:k},e,t,"4"+l),e.ee(),x(G,{},e,t,"5"+l),e.ee()}}e.ee(),e.ee()},{t:y},C);c.Component=B(C,c._);export{ue as C}; diff --git a/docs/assets/index-htmMtdsF.js b/docs/assets/index-xFOS7_Jj.js similarity index 94% rename from docs/assets/index-htmMtdsF.js rename to docs/assets/index-xFOS7_Jj.js index b9003fba9..2ba0d794d 100644 --- a/docs/assets/index-htmMtdsF.js +++ b/docs/assets/index-xFOS7_Jj.js @@ -1 +1 @@ -import{r as n,b as s,d as m,t as i}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-dCAZr4YS.js";import{_}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="CHLv0mOE",a=i(t);n.r(t,()=>a);const r={};a._=s(function(o,l,e,f,k,d){_(p,{...o,_name:"star-dynamic",_type:"icon",_themes:c},l,e,"0")},{t,i:!0},r);a.Component=m(r,a._);export{a as _}; +import{r as n,b as s,d as m,t as i}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-T-tr__32.js";import{_}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="CHLv0mOE",a=i(t);n.r(t,()=>a);const r={};a._=s(function(o,l,e,f,k,d){_(p,{...o,_name:"star-dynamic",_type:"icon",_themes:c},l,e,"0")},{t,i:!0},r);a.Component=m(r,a._);export{a as _}; diff --git a/docs/assets/index-H0xcJQHr.js b/docs/assets/index-xNrGRUEM.js similarity index 89% rename from docs/assets/index-H0xcJQHr.js rename to docs/assets/index-xNrGRUEM.js index 01b7ab924..33768c524 100644 --- a/docs/assets/index-H0xcJQHr.js +++ b/docs/assets/index-xNrGRUEM.js @@ -1 +1 @@ -import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-dCAZr4YS.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="pfeNRALT",o=i(t);_.r(t,()=>o);const r={};o._=n(function(a,e,m,f,k,b){l(s,{...a,_name:"arrow-right-24",_type:"icon",_themes:c},e,m,"0")},{t,i:!0},r);o.Component=p(r,o._);export{o as _}; +import{r as _,b as n,d as p,t as i}from"./registry-zqrnEiYK.js";import{_ as s}from"./index-T-tr__32.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";function c(){return''}const t="pfeNRALT",o=i(t);_.r(t,()=>o);const r={};o._=n(function(a,e,m,f,k,b){l(s,{...a,_name:"arrow-right-24",_type:"icon",_themes:c},e,m,"0")},{t,i:!0},r);o.Component=p(r,o._);export{o as _}; diff --git a/docs/assets/index-XBFm0t4a.js b/docs/assets/index-yX95ckNV.js similarity index 96% rename from docs/assets/index-XBFm0t4a.js rename to docs/assets/index-yX95ckNV.js index b54212cf2..90a9fc0a4 100644 --- a/docs/assets/index-XBFm0t4a.js +++ b/docs/assets/index-yX95ckNV.js @@ -1 +1 @@ -import{t as P,r as V,b as W,f as u,p as y,g as o,h as f,d as j}from"./registry-zqrnEiYK.js";/* empty css */import{_ as q}from"./dynamic-tag-4Gch17f1.js";import{_ as z}from"./index-4Ud0-PVY.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as F}from"./index-Zo2k51hY.js";import{h as G}from"./index-XjwwBzg5.js";import{M as L,s as O}from"./index-j-rYSiF3.js";class Q extends L{onCreate(){O(this)}handleItemClick(e,a,s){this.emitComponentEvent({eventType:"select",el:s,originalEvent:a,index:e})}handleItemKeydown(e,a,s){G(a,()=>{this.emitComponentEvent({eventType:"keydown",el:s,originalEvent:a,index:e})})}emitComponentEvent({eventType:e,...a}){this.emit(`${e}`,a)}onInput(e){this.items=(e.items||[]).filter(a=>!a.separator)}}const p="dJJgV64J",m=P(p),ie=m;V.r(p,()=>m);const h=Q;m._=W(function(d,e,a,s,R,X){const{class:g,style:C,classPrefix:c,type:Y,reverse:v,fixWidth:$,items:Z,...x}=d;var r=c||"fake-menu",I=s.getSeparatorMap(d);e.be("span",u(y(x),{class:o([c?`${r}__menu`:"fake-menu",v&&`${r}__menu--reverse`,$&&`${r}__menu--fix-width`,g]),style:f(C)}),"0",s,null,4),e.be("ul",{class:"fake-menu__items",tabindex:"-1",id:a.elId("menu")},"@menu",s,null,0);{let M=0;for(const E of s.items||[]){let i=M++;const l=`[${i}]`,{class:J,style:K,type:_,value:B,checked:D,current:T,badgeNumber:k,itemMatchesUrl:N,href:S,renderBody:U,disabled:t,...A}=E;var w=N===!1?"true":"page";I[i]&&(e.be("li",null,"1"+l,s,null,0),e.e("hr",{class:o(`${r}__separator`),role:"separator"},"2"+l,s,0,0),e.ee()),e.be("li",null,"3"+l,s,null,0);{var n=_==="button"||_==="submit";const H=n?"button":"a";e.be(H,u(y(A),{class:o([`${r}__item`,J]),style:f(K),disabled:n&&t,"aria-disabled":!n&&t&&"true","aria-current":T?w:!1,href:t?null:S,type:n&&_}),"@item[]",s,null,4,{onkeydown:a.d("keydown",!t&&"handleItemKeydown",!1,[i]),onclick:a.d("click",!t&&"handleItemClick",!1,[i])}),e.be("span",null,"4"+l,s,null,0),q(e,U,null,null,null,null,a,"5"+l),e.ee(),k&&b(z,{type:"menu",number:k},e,a,"6"+l),b(F,{},e,a,"7"+l),e.ee()}e.ee()}}e.ee(),e.ee()},{t:p},h);m.Component=j(h,m._);export{ie as C}; +import{t as P,r as V,b as W,f as u,p as y,g as o,h as f,d as j}from"./registry-zqrnEiYK.js";/* empty css */import{_ as q}from"./dynamic-tag-4Gch17f1.js";import{_ as z}from"./index-4Ud0-PVY.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as F}from"./index-FQXijakt.js";import{h as G}from"./index-XjwwBzg5.js";import{M as L,s as O}from"./index-j-rYSiF3.js";class Q extends L{onCreate(){O(this)}handleItemClick(e,a,s){this.emitComponentEvent({eventType:"select",el:s,originalEvent:a,index:e})}handleItemKeydown(e,a,s){G(a,()=>{this.emitComponentEvent({eventType:"keydown",el:s,originalEvent:a,index:e})})}emitComponentEvent({eventType:e,...a}){this.emit(`${e}`,a)}onInput(e){this.items=(e.items||[]).filter(a=>!a.separator)}}const p="dJJgV64J",m=P(p),ie=m;V.r(p,()=>m);const h=Q;m._=W(function(d,e,a,s,R,X){const{class:g,style:C,classPrefix:c,type:Y,reverse:v,fixWidth:$,items:Z,...x}=d;var r=c||"fake-menu",I=s.getSeparatorMap(d);e.be("span",u(y(x),{class:o([c?`${r}__menu`:"fake-menu",v&&`${r}__menu--reverse`,$&&`${r}__menu--fix-width`,g]),style:f(C)}),"0",s,null,4),e.be("ul",{class:"fake-menu__items",tabindex:"-1",id:a.elId("menu")},"@menu",s,null,0);{let M=0;for(const E of s.items||[]){let i=M++;const l=`[${i}]`,{class:J,style:K,type:_,value:B,checked:D,current:T,badgeNumber:k,itemMatchesUrl:N,href:S,renderBody:U,disabled:t,...A}=E;var w=N===!1?"true":"page";I[i]&&(e.be("li",null,"1"+l,s,null,0),e.e("hr",{class:o(`${r}__separator`),role:"separator"},"2"+l,s,0,0),e.ee()),e.be("li",null,"3"+l,s,null,0);{var n=_==="button"||_==="submit";const H=n?"button":"a";e.be(H,u(y(A),{class:o([`${r}__item`,J]),style:f(K),disabled:n&&t,"aria-disabled":!n&&t&&"true","aria-current":T?w:!1,href:t?null:S,type:n&&_}),"@item[]",s,null,4,{onkeydown:a.d("keydown",!t&&"handleItemKeydown",!1,[i]),onclick:a.d("click",!t&&"handleItemClick",!1,[i])}),e.be("span",null,"4"+l,s,null,0),q(e,U,null,null,null,null,a,"5"+l),e.ee(),k&&b(z,{type:"menu",number:k},e,a,"6"+l),b(F,{},e,a,"7"+l),e.ee()}e.ee()}}e.ee(),e.ee()},{t:p},h);m.Component=j(h,m._);export{ie as C}; diff --git a/docs/assets/infotip.stories--JyQl7_C.js b/docs/assets/infotip.stories-XhuN9uYP.js similarity index 94% rename from docs/assets/infotip.stories--JyQl7_C.js rename to docs/assets/infotip.stories-XhuN9uYP.js index 52cc76d5e..113251728 100644 --- a/docs/assets/infotip.stories--JyQl7_C.js +++ b/docs/assets/infotip.stories-XhuN9uYP.js @@ -1,4 +1,4 @@ -import{b as A}from"./utils-NX-dnf4r.js";import{t as h,r as _,b as g,f as F,p as J,g as L,d as x}from"./registry-zqrnEiYK.js";/* empty css */import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as K}from"./index-L4qsNbB0.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as Q,a as U}from"./index-ZDtYD_HQ.js";import"./preserve-attrs-PKQRsRTw.js";import{_ as l}from"./self-iterator-6yU_KG2T.js";import{_ as W}from"./index--Q9rylnC.js";import{_ as V}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";import"./index-CCP4HZWQ.js";import"./index-DimFlsuh.js";import"./index-XjwwBzg5.js";const X=`

+import{b as A}from"./utils-NX-dnf4r.js";import{t as h,r as _,b as g,f as F,p as J,g as L,d as x}from"./registry-zqrnEiYK.js";/* empty css */import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as K}from"./index-fBgtz-n7.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as Q,a as U}from"./index-cvF98qL5.js";import"./preserve-attrs-PKQRsRTw.js";import{_ as l}from"./self-iterator-6yU_KG2T.js";import{_ as W}from"./index-H41CNw8Q.js";import{_ as V}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-avw8iGTO.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";import"./index-XLHqpDln.js";import"./index-DimFlsuh.js";import"./index-XjwwBzg5.js";const X=`

ebay-infotip diff --git a/docs/assets/inline-notice.stories-XtP_eNaD.js b/docs/assets/inline-notice.stories-dwcBol80.js similarity index 92% rename from docs/assets/inline-notice.stories-XtP_eNaD.js rename to docs/assets/inline-notice.stories-dwcBol80.js index d0b6a81bb..bf1816fb9 100644 --- a/docs/assets/inline-notice.stories-XtP_eNaD.js +++ b/docs/assets/inline-notice.stories-dwcBol80.js @@ -1,4 +1,4 @@ -import{b as S}from"./utils-NX-dnf4r.js";import{t as d,r as f,b as h,d as b}from"./registry-zqrnEiYK.js";import{_ as $}from"./index-ZhNkRMuN.js";import{_ as y}from"./render-tag-_0PNNh6Y.js";import{_}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-zgZrJxNG.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-PAD5b3ff.js";import"./dynamic-tag-4Gch17f1.js";import"./index-0sOjhOVp.js";const w=`

+import{b as S}from"./utils-NX-dnf4r.js";import{t as d,r as f,b as h,d as b}from"./registry-zqrnEiYK.js";import{_ as $}from"./index-FbnwFjt5.js";import{_ as y}from"./render-tag-_0PNNh6Y.js";import{_}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-0by-wmmq.js";import"./index-T-tr__32.js";/* empty css */import"./index-py3x4x1i.js";import"./dynamic-tag-4Gch17f1.js";import"./index-avw8iGTO.js";const w=`

ebay-inline-notice diff --git a/docs/assets/jsx-runtime-pr3uamGJ.js b/docs/assets/jsx-runtime--PYeNBHd.js similarity index 93% rename from docs/assets/jsx-runtime-pr3uamGJ.js rename to docs/assets/jsx-runtime--PYeNBHd.js index 0cc62d255..ce237c878 100644 --- a/docs/assets/jsx-runtime-pr3uamGJ.js +++ b/docs/assets/jsx-runtime--PYeNBHd.js @@ -1,4 +1,4 @@ -import{r as l}from"./chunk-HLWAVYOI-bPp9GyXi.js";var f={exports:{}},n={};/** +import{r as l}from"./chunk-HLWAVYOI-CrIFzHE4.js";var f={exports:{}},n={};/** * @license React * react-jsx-runtime.production.min.js * diff --git a/docs/assets/lightbox-dialog.stories-yQQY5azz.js b/docs/assets/lightbox-dialog.stories-ZfQ3lGNk.js similarity index 97% rename from docs/assets/lightbox-dialog.stories-yQQY5azz.js rename to docs/assets/lightbox-dialog.stories-ZfQ3lGNk.js index a9d746a00..535fa6c87 100644 --- a/docs/assets/lightbox-dialog.stories-yQQY5azz.js +++ b/docs/assets/lightbox-dialog.stories-ZfQ3lGNk.js @@ -1,4 +1,4 @@ -import{b as q,a as ee}from"./utils-NX-dnf4r.js";import{t as x,r as w,b as _,d as k}from"./registry-zqrnEiYK.js";import{_ as oe}from"./dynamic-tag-4Gch17f1.js";import{_ as te}from"./repeatable-jmdwKenu.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import{_ as l}from"./v-element-BABk39ab.js";import{_ as v}from"./index--Q9rylnC.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";import{_ as D}from"./index-tjucyUeZ.js";import{_ as ne}from"./index-jhxbAhNi.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-CCP4HZWQ.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";const ae=`

+import{b as q,a as ee}from"./utils-NX-dnf4r.js";import{t as x,r as w,b as _,d as k}from"./registry-zqrnEiYK.js";import{_ as oe}from"./dynamic-tag-4Gch17f1.js";import{_ as te}from"./repeatable-jmdwKenu.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import{_ as l}from"./v-element-BABk39ab.js";import{_ as v}from"./index-H41CNw8Q.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";import{_ as D}from"./index-g2xi1LKt.js";import{_ as ne}from"./index-vM9MgpNM.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-XLHqpDln.js";/* empty css */import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";const ae=`

ebay-lightbox-dialog diff --git a/docs/assets/listbox-button.stories-ecuDiVvH.js b/docs/assets/listbox-button.stories-UDvhkbUN.js similarity index 96% rename from docs/assets/listbox-button.stories-ecuDiVvH.js rename to docs/assets/listbox-button.stories-UDvhkbUN.js index 1c51e4de9..e9fcc7633 100644 --- a/docs/assets/listbox-button.stories-ecuDiVvH.js +++ b/docs/assets/listbox-button.stories-UDvhkbUN.js @@ -1,4 +1,4 @@ -import{t as re}from"./index-iqhZMf16.js";import{b as U,a as pe}from"./utils-NX-dnf4r.js";import{t as v,r as w,b as k,f as de,p as ce,g,d as C}from"./registry-zqrnEiYK.js";import{_ as be}from"./index-i1smj9EI.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as a}from"./self-iterator-6yU_KG2T.js";import{C as me}from"./index-9wWf9YFH.js";import{s as ue}from"./index-l3FQEXUN.js";import{a as xe}from"./index-sDZ0BqWo.js";import{_ as he}from"./index-PAD5b3ff.js";import{_ as fe}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-Zo2k51hY.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-ERL0bCNR.js";const ye=`

+import{t as re}from"./index-iqhZMf16.js";import{b as U,a as pe}from"./utils-NX-dnf4r.js";import{t as v,r as w,b as k,f as de,p as ce,g,d as C}from"./registry-zqrnEiYK.js";import{_ as be}from"./index-kURT6dDW.js";import{_ as r}from"./render-tag-_0PNNh6Y.js";import{_ as a}from"./self-iterator-6yU_KG2T.js";import{C as me}from"./index-mevY6pWh.js";import{s as ue}from"./index-l3FQEXUN.js";import{a as xe}from"./index-sDZ0BqWo.js";import{_ as he}from"./index-py3x4x1i.js";import{_ as fe}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-FQXijakt.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-ERL0bCNR.js";const ye=`

ebay-listbox-button diff --git a/docs/assets/listbox.stories-zo_RzSwK.js b/docs/assets/listbox.stories-4K52zH_b.js similarity index 95% rename from docs/assets/listbox.stories-zo_RzSwK.js rename to docs/assets/listbox.stories-4K52zH_b.js index c29f7c837..4c6142cef 100644 --- a/docs/assets/listbox.stories-zo_RzSwK.js +++ b/docs/assets/listbox.stories-4K52zH_b.js @@ -1,4 +1,4 @@ -import{b as f,a as _}from"./utils-NX-dnf4r.js";import{t as O}from"./index-iqhZMf16.js";import{C as y}from"./index-9wWf9YFH.js";import{r as k,b as S,d as v,t as w}from"./registry-zqrnEiYK.js";import{_ as e}from"./self-iterator-6yU_KG2T.js";import{_ as T}from"./render-tag-_0PNNh6Y.js";import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-Zo2k51hY.js";import"./index-dCAZr4YS.js";/* empty css */import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const C=`

+import{b as f,a as _}from"./utils-NX-dnf4r.js";import{t as O}from"./index-iqhZMf16.js";import{C as y}from"./index-mevY6pWh.js";import{r as k,b as S,d as v,t as w}from"./registry-zqrnEiYK.js";import{_ as e}from"./self-iterator-6yU_KG2T.js";import{_ as T}from"./render-tag-_0PNNh6Y.js";import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-FQXijakt.js";import"./index-T-tr__32.js";/* empty css */import"./preserve-attrs-PKQRsRTw.js";import"./index-QozpcpzM.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const C=`

ebay-listbox diff --git a/docs/assets/media.stories-uhyK5QSy.js b/docs/assets/media.stories-uYCX8J74.js similarity index 82% rename from docs/assets/media.stories-uhyK5QSy.js rename to docs/assets/media.stories-uYCX8J74.js index 570bcc9db..ae19e632b 100644 --- a/docs/assets/media.stories-uhyK5QSy.js +++ b/docs/assets/media.stories-uYCX8J74.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as n}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(t){const o=Object.assign({h1:"h1",p:"p"},n(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"media/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as n}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(t){const o=Object.assign({h1:"h1",p:"p"},n(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"media/Overview"}),` `,e.jsx(o.h1,{id:"media-components",children:"Media Components"}),` `,e.jsx(o.p,{children:"These components are used to house media for the user, such as images and video."})]})}function m(t={}){const{wrapper:o}=Object.assign({},n(),t.components);return o?e.jsx(o,{...t,children:e.jsx(s,{...t})}):s(t)}const i=()=>{throw new Error("Docs-only story")};i.parameters={docsOnly:!0};const r={title:"media/Overview",tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:m};const g=["__page"];export{g as __namedExportsOrder,i as __page,r as default}; diff --git a/docs/assets/menu-button.stories-BJ203mGi.js b/docs/assets/menu-button.stories-frIItZ7A.js similarity index 96% rename from docs/assets/menu-button.stories-BJ203mGi.js rename to docs/assets/menu-button.stories-frIItZ7A.js index d8030cb96..348dd9a3d 100644 --- a/docs/assets/menu-button.stories-BJ203mGi.js +++ b/docs/assets/menu-button.stories-frIItZ7A.js @@ -1,4 +1,4 @@ -import{t as U}from"./index-iqhZMf16.js";import{b as x,a as X}from"./utils-NX-dnf4r.js";import{r as _,b as k,d as B,t as S}from"./registry-zqrnEiYK.js";import{_ as o}from"./self-iterator-6yU_KG2T.js";import{_ as b}from"./index-Vc-PSg2d.js";import{_ as m}from"./render-tag-_0PNNh6Y.js";import{_ as Y}from"./index-ybkHVAw4.js";import{_ as a}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-tjucyUeZ.js";import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";/* empty css */import"./index-wCr-XJjZ.js";import"./index--HiXohkr.js";import"./index-wCG8Mexi.js";/* empty css */import"./index-Zo2k51hY.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";const P=`

+import{t as U}from"./index-iqhZMf16.js";import{b as x,a as X}from"./utils-NX-dnf4r.js";import{r as _,b as k,d as B,t as S}from"./registry-zqrnEiYK.js";import{_ as o}from"./self-iterator-6yU_KG2T.js";import{_ as b}from"./index-KzZQXcwb.js";import{_ as m}from"./render-tag-_0PNNh6Y.js";import{_ as Y}from"./index-t6MwYYcL.js";import{_ as a}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./index-4Ud0-PVY.js";import"./index-XjwwBzg5.js";import"./index-g2xi1LKt.js";import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";/* empty css */import"./index-2FfeB2lc.js";import"./index-fsHgTAj9.js";import"./index-wsKKJ7f4.js";/* empty css */import"./index-FQXijakt.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";const P=`

ebay-menu-button diff --git a/docs/assets/menu.stories-ZwHg0g-F.js b/docs/assets/menu.stories-xHza_I2D.js similarity index 98% rename from docs/assets/menu.stories-ZwHg0g-F.js rename to docs/assets/menu.stories-xHza_I2D.js index 6ad5751d2..9c0279473 100644 --- a/docs/assets/menu.stories-ZwHg0g-F.js +++ b/docs/assets/menu.stories-xHza_I2D.js @@ -1,4 +1,4 @@ -import{b as k,a as F}from"./utils-NX-dnf4r.js";import{t as G}from"./index-iqhZMf16.js";import{C as u}from"./index-wCG8Mexi.js";import{r as f,b as S,d as x,t as _}from"./registry-zqrnEiYK.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as B}from"./render-tag-_0PNNh6Y.js";import{_ as i}from"./v-element-BABk39ab.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-Zo2k51hY.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const I=`

+import{b as k,a as F}from"./utils-NX-dnf4r.js";import{t as G}from"./index-iqhZMf16.js";import{C as u}from"./index-wsKKJ7f4.js";import{r as f,b as S,d as x,t as _}from"./registry-zqrnEiYK.js";import{_ as n}from"./self-iterator-6yU_KG2T.js";import{_ as B}from"./render-tag-_0PNNh6Y.js";import{_ as i}from"./v-element-BABk39ab.js";/* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4Ud0-PVY.js";import"./index-FQXijakt.js";import"./index-T-tr__32.js";/* empty css */import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-XjwwBzg5.js";import"./index-j-rYSiF3.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const I=`

ebay-menu diff --git a/docs/assets/navigation-and-disclosure.stories-o8zJSxE6.js b/docs/assets/navigation-and-disclosure.stories-z_0WdxY7.js similarity index 84% rename from docs/assets/navigation-and-disclosure.stories-o8zJSxE6.js rename to docs/assets/navigation-and-disclosure.stories-z_0WdxY7.js index 04a890be5..38df4b66a 100644 --- a/docs/assets/navigation-and-disclosure.stories-o8zJSxE6.js +++ b/docs/assets/navigation-and-disclosure.stories-z_0WdxY7.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as t}from"./jsx-runtime-pr3uamGJ.js";import{u as r}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(e){const o=Object.assign({h1:"h1",p:"p"},r(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(a,{title:"navigation & disclosure/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as t}from"./jsx-runtime--PYeNBHd.js";import{u as r}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(e){const o=Object.assign({h1:"h1",p:"p"},r(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(a,{title:"navigation & disclosure/Overview"}),` `,t.jsx(o.h1,{id:"navigation-and-disclosure-components",children:"Navigation and Disclosure Components"}),` `,t.jsx(o.p,{children:"Navigation components bring the user to a new page, and disclosure components show information to the user that was originally hidden."})]})}function i(e={}){const{wrapper:o}=Object.assign({},r(),e.components);return o?t.jsx(o,{...e,children:t.jsx(s,{...e})}):s(e)}const c=()=>{throw new Error("Docs-only story")};c.parameters={docsOnly:!0};const n={title:"navigation & disclosure/Overview",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:i};const _=["__page"];export{_ as __namedExportsOrder,c as __page,n as default}; diff --git a/docs/assets/notices-and-tips.stories-I0-XD4Sk.js b/docs/assets/notices-and-tips.stories-sz4tD2Rm.js similarity index 83% rename from docs/assets/notices-and-tips.stories-I0-XD4Sk.js rename to docs/assets/notices-and-tips.stories-sz4tD2Rm.js index 6d3699881..89d0c1c98 100644 --- a/docs/assets/notices-and-tips.stories-I0-XD4Sk.js +++ b/docs/assets/notices-and-tips.stories-sz4tD2Rm.js @@ -1,3 +1,3 @@ -import{M as i}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as t}from"./jsx-runtime-pr3uamGJ.js";import{u as s}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(e){const o=Object.assign({h1:"h1",p:"p"},s(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"notices & tips/Overview"}),` +import{M as i}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as t}from"./jsx-runtime--PYeNBHd.js";import{u as s}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function r(e){const o=Object.assign({h1:"h1",p:"p"},s(),e.components);return t.jsxs(t.Fragment,{children:[t.jsx(i,{title:"notices & tips/Overview"}),` `,t.jsx(o.h1,{id:"notice-and-tip-components",children:"Notice and Tip Components"}),` `,t.jsx(o.p,{children:"These components are used to draw attention to certain pieces of information, or provide the user with clarification."})]})}function a(e={}){const{wrapper:o}=Object.assign({},s(),e.components);return o?t.jsx(o,{...e,children:t.jsx(r,{...e})}):r(e)}const p=()=>{throw new Error("Docs-only story")};p.parameters={docsOnly:!0};const n={title:"notices & tips/Overview",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:a};const f=["__page"];export{f as __namedExportsOrder,p as __page,n as default}; diff --git a/docs/assets/page-notice.stories-2K5XpTVA.js b/docs/assets/page-notice.stories-PsXh_Wfe.js similarity index 96% rename from docs/assets/page-notice.stories-2K5XpTVA.js rename to docs/assets/page-notice.stories-PsXh_Wfe.js index 7e036ba96..791f76c7b 100644 --- a/docs/assets/page-notice.stories-2K5XpTVA.js +++ b/docs/assets/page-notice.stories-PsXh_Wfe.js @@ -1,4 +1,4 @@ -import{t as L}from"./index-iqhZMf16.js";import{a as R}from"./utils-NX-dnf4r.js";import{t as g,r as f,b,d as _}from"./registry-zqrnEiYK.js";/* empty css */import{_ as V}from"./index-ZhNkRMuN.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./v-element-BABk39ab.js";import{_ as u}from"./self-iterator-6yU_KG2T.js";import{_ as U}from"./index-VMMXlPq4.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-zgZrJxNG.js";import"./index-dCAZr4YS.js";import"./index-PAD5b3ff.js";import"./dynamic-tag-4Gch17f1.js";import"./index-0sOjhOVp.js";/* empty css */import"./index-XjwwBzg5.js";const j=`

+import{t as L}from"./index-iqhZMf16.js";import{a as R}from"./utils-NX-dnf4r.js";import{t as g,r as f,b,d as _}from"./registry-zqrnEiYK.js";/* empty css */import{_ as V}from"./index-FbnwFjt5.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./v-element-BABk39ab.js";import{_ as u}from"./self-iterator-6yU_KG2T.js";import{_ as U}from"./index-VMMXlPq4.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-0by-wmmq.js";import"./index-T-tr__32.js";import"./index-py3x4x1i.js";import"./dynamic-tag-4Gch17f1.js";import"./index-avw8iGTO.js";/* empty css */import"./index-XjwwBzg5.js";const j=`

ebay-page-notice diff --git a/docs/assets/pagination.stories-dlcBSOkU.js b/docs/assets/pagination.stories-yyXefkdt.js similarity index 95% rename from docs/assets/pagination.stories-dlcBSOkU.js rename to docs/assets/pagination.stories-yyXefkdt.js index b80e83421..1e8725adf 100644 --- a/docs/assets/pagination.stories-dlcBSOkU.js +++ b/docs/assets/pagination.stories-yyXefkdt.js @@ -1,4 +1,4 @@ -import{a as Q}from"./utils-NX-dnf4r.js";import{t as Y}from"./index-iqhZMf16.js";import{t as ee,r as te,b as ae,f as ue,p as B,g as L,d as re}from"./registry-zqrnEiYK.js";import{_ as me,a as j,b as pe}from"./index-0REQdKOV.js";import{g as he}from"./index-ekEOByf5.js";/* empty css *//* empty css */import{_ as C}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./dynamic-tag-4Gch17f1.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";import{_ as ge}from"./index-WZOdYf_S.js";import{r as be}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-tjucyUeZ.js";import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";/* empty css */import"./index-WjSr7Aa1.js";import"./index--HiXohkr.js";import"./index-XBFm0t4a.js";/* empty css */import"./index-Zo2k51hY.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const ye=`

+import{a as Q}from"./utils-NX-dnf4r.js";import{t as Y}from"./index-iqhZMf16.js";import{t as ee,r as te,b as ae,f as ue,p as B,g as L,d as re}from"./registry-zqrnEiYK.js";import{_ as me,a as j,b as pe}from"./index-DC-x0-tf.js";import{g as he}from"./index-ekEOByf5.js";/* empty css *//* empty css */import{_ as C}from"./render-tag-_0PNNh6Y.js";import{_ as P}from"./dynamic-tag-4Gch17f1.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";import{_ as ge}from"./index-BndDE7o0.js";import{r as be}from"./index-XjwwBzg5.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";import"./index-g2xi1LKt.js";import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";/* empty css */import"./index-S21L6oUf.js";import"./index-fsHgTAj9.js";import"./index-yX95ckNV.js";/* empty css */import"./index-FQXijakt.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const ye=`

ebay-pagination diff --git a/docs/assets/panel-dialog.stories-kfeA-QcU.js b/docs/assets/panel-dialog.stories-RS5CBpTy.js similarity index 91% rename from docs/assets/panel-dialog.stories-kfeA-QcU.js rename to docs/assets/panel-dialog.stories-RS5CBpTy.js index 340b24537..15fe7ad84 100644 --- a/docs/assets/panel-dialog.stories-kfeA-QcU.js +++ b/docs/assets/panel-dialog.stories-RS5CBpTy.js @@ -1,4 +1,4 @@ -import{t as T}from"./index-iqhZMf16.js";import{r as y,b as f,d as _,t as b}from"./registry-zqrnEiYK.js";import{_ as v}from"./self-iterator-6yU_KG2T.js";import{_ as h}from"./v-element-BABk39ab.js";import{_ as E}from"./dynamic-tag-4Gch17f1.js";import{_ as S}from"./index-CCP4HZWQ.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as $}from"./index-tjucyUeZ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";const q=`

+import{t as T}from"./index-iqhZMf16.js";import{r as y,b as f,d as _,t as b}from"./registry-zqrnEiYK.js";import{_ as v}from"./self-iterator-6yU_KG2T.js";import{_ as h}from"./v-element-BABk39ab.js";import{_ as E}from"./dynamic-tag-4Gch17f1.js";import{_ as S}from"./index-XLHqpDln.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as $}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";const q=`

ebay-panel-dialog diff --git a/docs/assets/preview-Cl87ww1j.js b/docs/assets/preview--VMa4KqD.js similarity index 94% rename from docs/assets/preview-Cl87ww1j.js rename to docs/assets/preview--VMa4KqD.js index 99e427754..7be60adc2 100644 --- a/docs/assets/preview-Cl87ww1j.js +++ b/docs/assets/preview--VMa4KqD.js @@ -1,4 +1,4 @@ -import{_ as N}from"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-miIg5IVQ.js").then(S=>S.a),__vite__mapDeps([0,1]),import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l); +import{_ as N}from"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-miIg5IVQ.js").then(S=>S.a),__vite__mapDeps([0,1]),import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l); function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["./axe-miIg5IVQ.js","./_commonjsHelpers-5-cIlDoe.js"] diff --git a/docs/assets/preview--VEjxujP.js b/docs/assets/preview-g2EqKIUf.js similarity index 61% rename from docs/assets/preview--VEjxujP.js rename to docs/assets/preview-g2EqKIUf.js index 9a4811a78..24de7e439 100644 --- a/docs/assets/preview--VEjxujP.js +++ b/docs/assets/preview-g2EqKIUf.js @@ -1,7 +1,7 @@ -import{_ as e}from"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-tv5EOvMj.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new r}}};export{a as parameters}; +import{_ as e}from"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-MjqRSvXj.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return new r}}};export{a as parameters}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./DocsRenderer-NNNQARDV-tv5EOvMj.js","./chunk-HLWAVYOI-bPp9GyXi.js","./iframe-T3i_FFBQ.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js"] + __vite__mapDeps.viteFileDeps = ["./DocsRenderer-NNNQARDV-MjqRSvXj.js","./chunk-HLWAVYOI-CrIFzHE4.js","./iframe-VgUVZRsZ.js","./_commonjsHelpers-5-cIlDoe.js","./_commonjs-dynamic-modules-h-SxKiO4.js","./index-xLzVGzoy.js","./index-PPLHz8o0.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } diff --git a/docs/assets/progress-spinner.stories-0y-DF_rY.js b/docs/assets/progress-spinner.stories-ckYx03Kp.js similarity index 90% rename from docs/assets/progress-spinner.stories-0y-DF_rY.js rename to docs/assets/progress-spinner.stories-ckYx03Kp.js index 0b221d669..2adcd653f 100644 --- a/docs/assets/progress-spinner.stories-0y-DF_rY.js +++ b/docs/assets/progress-spinner.stories-ckYx03Kp.js @@ -1,4 +1,4 @@ -import{t}from"./index-iqhZMf16.js";import{_ as p}from"./index-XUhq6uHT.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./render-tag-_0PNNh6Y.js";const i=`

+import{t}from"./index-iqhZMf16.js";import{_ as p}from"./index-Fzo01Ouc.js";import"./registry-zqrnEiYK.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./render-tag-_0PNNh6Y.js";const i=`

ebay-progress-spinner diff --git a/docs/assets/progress-stepper.stories-Zl7EX1Bc.js b/docs/assets/progress-stepper.stories-ANAqXJKn.js similarity index 98% rename from docs/assets/progress-stepper.stories-Zl7EX1Bc.js rename to docs/assets/progress-stepper.stories-ANAqXJKn.js index 23c3a44e5..94b792eb4 100644 --- a/docs/assets/progress-stepper.stories-Zl7EX1Bc.js +++ b/docs/assets/progress-stepper.stories-ANAqXJKn.js @@ -1,4 +1,4 @@ -import{t as C}from"./index-iqhZMf16.js";import{a as F}from"./utils-NX-dnf4r.js";import{t as G,r as L,b as M,f as T,g as h,p as b,d as N}from"./registry-zqrnEiYK.js";import{_ as u}from"./dynamic-tag-4Gch17f1.js";import{_ as k,a as Q,b as U,c as X}from"./index-x0gYoDBY.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const Y=`

+import{t as C}from"./index-iqhZMf16.js";import{a as F}from"./utils-NX-dnf4r.js";import{t as G,r as L,b as M,f as T,g as h,p as b,d as N}from"./registry-zqrnEiYK.js";import{_ as u}from"./dynamic-tag-4Gch17f1.js";import{_ as k,a as Q,b as U,c as X}from"./index-0jjW2cVY.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const Y=`

ebay-progress-stepper diff --git a/docs/assets/progress.stories-CnBUGfIX.js b/docs/assets/progress.stories-xJrDuoK7.js similarity index 83% rename from docs/assets/progress.stories-CnBUGfIX.js rename to docs/assets/progress.stories-xJrDuoK7.js index b150ec52f..1f2933cb5 100644 --- a/docs/assets/progress.stories-CnBUGfIX.js +++ b/docs/assets/progress.stories-xJrDuoK7.js @@ -1,3 +1,3 @@ -import{M as a}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as n}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(t){const o=Object.assign({h1:"h1",p:"p"},n(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"progress/Overview"}),` +import{M as a}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as n}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function s(t){const o=Object.assign({h1:"h1",p:"p"},n(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"progress/Overview"}),` `,e.jsx(o.h1,{id:"progress-components",children:"Progress Components"}),` `,e.jsx(o.p,{children:"Progress components indicate a portion of the page that is loading, or display information about a process such as a shipment."})]})}function p(t={}){const{wrapper:o}=Object.assign({},n(),t.components);return o?e.jsx(o,{...t,children:e.jsx(s,{...t})}):s(t)}const i=()=>{throw new Error("Docs-only story")};i.parameters={docsOnly:!0};const r={title:"progress/Overview",tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:p};const _=["__page"];export{_ as __namedExportsOrder,i as __page,r as default}; diff --git a/docs/assets/radio.stories-MvXv_M9D.js b/docs/assets/radio.stories--l0nycau.js similarity index 98% rename from docs/assets/radio.stories-MvXv_M9D.js rename to docs/assets/radio.stories--l0nycau.js index 754e1c3cf..a3fd6969e 100644 --- a/docs/assets/radio.stories-MvXv_M9D.js +++ b/docs/assets/radio.stories--l0nycau.js @@ -1,4 +1,4 @@ -import{t as K}from"./index-iqhZMf16.js";import{C as p}from"./index-mTXoXd8D.js";import{r as f,b as _,d as b,t as g}from"./registry-zqrnEiYK.js";import{_ as y}from"./v-element-BABk39ab.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-X2pdjzRH.js";import"./index-dCAZr4YS.js";/* empty css */import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const H=`

+import{t as K}from"./index-iqhZMf16.js";import{C as p}from"./index-qcbGa1eL.js";import{r as f,b as _,d as b,t as g}from"./registry-zqrnEiYK.js";import{_ as y}from"./v-element-BABk39ab.js";import{_ as h}from"./render-tag-_0PNNh6Y.js";/* empty css */import"./index-vNEQ4tAH.js";import"./index-T-tr__32.js";/* empty css */import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";const H=`

ebay-radio diff --git a/docs/assets/section-notice.stories-McC5N1Cp.js b/docs/assets/section-notice.stories-b1zZBJ1T.js similarity index 96% rename from docs/assets/section-notice.stories-McC5N1Cp.js rename to docs/assets/section-notice.stories-b1zZBJ1T.js index d33839014..befb873ef 100644 --- a/docs/assets/section-notice.stories-McC5N1Cp.js +++ b/docs/assets/section-notice.stories-b1zZBJ1T.js @@ -1,4 +1,4 @@ -import{t as M}from"./index-iqhZMf16.js";import{b as C,a as Z}from"./utils-NX-dnf4r.js";import{t as g,r as k,b as T,d as x}from"./registry-zqrnEiYK.js";/* empty css */import{_ as tt}from"./index-ZhNkRMuN.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{_ as i}from"./v-element-BABk39ab.js";import{_ as l}from"./self-iterator-6yU_KG2T.js";import{_ as et}from"./index-VMMXlPq4.js";import{_ as ot}from"./index-opp8Qyw0.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-zgZrJxNG.js";import"./index-dCAZr4YS.js";import"./index-PAD5b3ff.js";import"./dynamic-tag-4Gch17f1.js";import"./index-0sOjhOVp.js";/* empty css */import"./index-XjwwBzg5.js";const nt=`

+import{t as M}from"./index-iqhZMf16.js";import{b as C,a as Z}from"./utils-NX-dnf4r.js";import{t as g,r as k,b as T,d as x}from"./registry-zqrnEiYK.js";/* empty css */import{_ as tt}from"./index-FbnwFjt5.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{_ as i}from"./v-element-BABk39ab.js";import{_ as l}from"./self-iterator-6yU_KG2T.js";import{_ as et}from"./index-VMMXlPq4.js";import{_ as ot}from"./index-D9357-oV.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-0by-wmmq.js";import"./index-T-tr__32.js";import"./index-py3x4x1i.js";import"./dynamic-tag-4Gch17f1.js";import"./index-avw8iGTO.js";/* empty css */import"./index-XjwwBzg5.js";const nt=`

ebay-section-notice diff --git a/docs/assets/section-title.stories-DGJYi_4P.js b/docs/assets/section-title.stories-0EeB-iIX.js similarity index 90% rename from docs/assets/section-title.stories-DGJYi_4P.js rename to docs/assets/section-title.stories-0EeB-iIX.js index e14e121e7..1b9e70be3 100644 --- a/docs/assets/section-title.stories-DGJYi_4P.js +++ b/docs/assets/section-title.stories-0EeB-iIX.js @@ -1,4 +1,4 @@ -import{t as Z}from"./index-iqhZMf16.js";import{a as D}from"./utils-NX-dnf4r.js";import{t as T,r as B,b as k,f as S,p as w,g as c,h as J,d as x}from"./registry-zqrnEiYK.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as i}from"./self-iterator-6yU_KG2T.js";import{_ as K}from"./index-Vc-PSg2d.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as Q}from"./index-nX8OTwbZ.js";import{_ as U}from"./index-7jFeXTCh.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-tjucyUeZ.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-wCr-XJjZ.js";import"./index--HiXohkr.js";import"./index-wCG8Mexi.js";/* empty css */import"./index-4Ud0-PVY.js";import"./index-Zo2k51hY.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";/* empty css *//* empty css */const Y=`

+import{t as Z}from"./index-iqhZMf16.js";import{a as D}from"./utils-NX-dnf4r.js";import{t as T,r as B,b as k,f as S,p as w,g as c,h as J,d as x}from"./registry-zqrnEiYK.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as i}from"./self-iterator-6yU_KG2T.js";import{_ as K}from"./index-KzZQXcwb.js";import{_ as b}from"./render-tag-_0PNNh6Y.js";import{_ as Q}from"./index-RuUXU4eA.js";import{_ as U}from"./index-7jFeXTCh.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-g2xi1LKt.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-2FfeB2lc.js";import"./index-fsHgTAj9.js";import"./index-wsKKJ7f4.js";/* empty css */import"./index-4Ud0-PVY.js";import"./index-FQXijakt.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";/* empty css *//* empty css */const Y=`

ebay-section-title diff --git a/docs/assets/segmented-buttons.stories-e-N-aZ-Z.js b/docs/assets/segmented-buttons.stories-N3bT2u9a.js similarity index 95% rename from docs/assets/segmented-buttons.stories-e-N-aZ-Z.js rename to docs/assets/segmented-buttons.stories-N3bT2u9a.js index fe5c552ee..08915a559 100644 --- a/docs/assets/segmented-buttons.stories-e-N-aZ-Z.js +++ b/docs/assets/segmented-buttons.stories-N3bT2u9a.js @@ -1,4 +1,4 @@ -import{t as H}from"./index-iqhZMf16.js";import{b as L,a as X}from"./utils-NX-dnf4r.js";import{t as z,r as Q,b as W,f as x,g as B,p as v,d as w}from"./registry-zqrnEiYK.js";import{_ as b}from"./dynamic-tag-4Gch17f1.js";import{_ as Y,a as F}from"./index-vuK-pQni.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const G=["large"];class J extends Marko.Component{onCreate(){this.state={selectedIndex:0}}onInput(e){let t=(e.buttons||[]).findIndex(n=>n.selected);t===-1&&(t=0),this.state.selectedIndex=t}onButtonClick(e,t){e!==this.state.selectedIndex&&(this.state.selectedIndex=e,this.emit("change",{index:e,value:(this.input.buttons[e]||{}).value||void 0,originalEvent:t}))}}const g="LNSA3gQY",i=z(g),q=i;Q.r(g,()=>i);const A=J;i._=W(function(s,e,t,n,h,M){let{size:a,class:o,buttons:Z,...R}=s;var _=a&&G.includes(a)?a:null;e.be("div",x({class:B(["segmented-buttons",_&&`segmented-buttons--${_}`,s.class])},v(R)),"0",n,null,4),e.be("ul",null,"1",n,null,0);{let V=0;for(const f of s.buttons||[]){let m=V++;const r=`[${m}]`,{class:j,icon:k,renderBody:D,...N}=f;e.be("li",null,"2"+r,n,null,0),e.be("button",x({class:B(["segmented-buttons__button",j]),"aria-current":h.selectedIndex===m&&"true"},v(N)),"3"+r,n,null,4,{onclick:t.d("click","onButtonClick",!1,[m])}),k?(e.be("span",{class:"segmented-buttons__button-cell"},"4"+r,n,null,1),b(e,k,null,null,null,null,t,"5"+r),e.be("span",null,"6"+r,n,null,0),b(e,f,null,null,null,null,t,"7"+r),e.ee(),e.ee()):b(e,D,null,null,null,null,t,"8"+r),e.ee(),e.ee()}}e.ee(),e.ee()},{t:g},A);i.Component=w(A,i._);const K=`

+import{t as H}from"./index-iqhZMf16.js";import{b as L,a as X}from"./utils-NX-dnf4r.js";import{t as z,r as Q,b as W,f as x,g as B,p as v,d as w}from"./registry-zqrnEiYK.js";import{_ as b}from"./dynamic-tag-4Gch17f1.js";import{_ as Y,a as F}from"./index-bDnsfnFH.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const G=["large"];class J extends Marko.Component{onCreate(){this.state={selectedIndex:0}}onInput(e){let t=(e.buttons||[]).findIndex(n=>n.selected);t===-1&&(t=0),this.state.selectedIndex=t}onButtonClick(e,t){e!==this.state.selectedIndex&&(this.state.selectedIndex=e,this.emit("change",{index:e,value:(this.input.buttons[e]||{}).value||void 0,originalEvent:t}))}}const g="LNSA3gQY",i=z(g),q=i;Q.r(g,()=>i);const A=J;i._=W(function(s,e,t,n,h,M){let{size:a,class:o,buttons:Z,...R}=s;var _=a&&G.includes(a)?a:null;e.be("div",x({class:B(["segmented-buttons",_&&`segmented-buttons--${_}`,s.class])},v(R)),"0",n,null,4),e.be("ul",null,"1",n,null,0);{let V=0;for(const f of s.buttons||[]){let m=V++;const r=`[${m}]`,{class:j,icon:k,renderBody:D,...N}=f;e.be("li",null,"2"+r,n,null,0),e.be("button",x({class:B(["segmented-buttons__button",j]),"aria-current":h.selectedIndex===m&&"true"},v(N)),"3"+r,n,null,4,{onclick:t.d("click","onButtonClick",!1,[m])}),k?(e.be("span",{class:"segmented-buttons__button-cell"},"4"+r,n,null,1),b(e,k,null,null,null,null,t,"5"+r),e.be("span",null,"6"+r,n,null,0),b(e,f,null,null,null,null,t,"7"+r),e.ee(),e.ee()):b(e,D,null,null,null,null,t,"8"+r),e.ee(),e.ee()}}e.ee(),e.ee()},{t:g},A);i.Component=w(A,i._);const K=`

ebay-segmented-buttons diff --git a/docs/assets/select.stories-nkIpInTV.js b/docs/assets/select.stories-NNcfCNoa.js similarity index 95% rename from docs/assets/select.stories-nkIpInTV.js rename to docs/assets/select.stories-NNcfCNoa.js index ddd00ab2b..60d9d344e 100644 --- a/docs/assets/select.stories-nkIpInTV.js +++ b/docs/assets/select.stories-NNcfCNoa.js @@ -1,4 +1,4 @@ -import{t as me}from"./index-iqhZMf16.js";import{t as x,r as v,b as k,g as E,h as be,f as M,p as N,d as I}from"./registry-zqrnEiYK.js";/* empty css */import{_ as ue}from"./index--HiXohkr.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{s as he}from"./index-4ijq5S5t.js";import{_ as se}from"./v-element-BABk39ab.js";import{_ as i}from"./self-iterator-6yU_KG2T.js";import{_ as X}from"./index-tjucyUeZ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./dynamic-tag-4Gch17f1.js";import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";const ge=`

+import{t as me}from"./index-iqhZMf16.js";import{t as x,r as v,b as k,g as E,h as be,f as M,p as N,d as I}from"./registry-zqrnEiYK.js";/* empty css */import{_ as ue}from"./index-fsHgTAj9.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{s as he}from"./index-4ijq5S5t.js";import{_ as se}from"./v-element-BABk39ab.js";import{_ as i}from"./self-iterator-6yU_KG2T.js";import{_ as X}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./dynamic-tag-4Gch17f1.js";import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";const ge=`

ebay-select diff --git a/docs/assets/skeleton.stories-oPJaHuL1.js b/docs/assets/skeleton.stories-Q6itDuRD.js similarity index 98% rename from docs/assets/skeleton.stories-oPJaHuL1.js rename to docs/assets/skeleton.stories-Q6itDuRD.js index b652483ca..23d0afc06 100644 --- a/docs/assets/skeleton.stories-oPJaHuL1.js +++ b/docs/assets/skeleton.stories-Q6itDuRD.js @@ -1,4 +1,4 @@ -import{t as st}from"./index-iqhZMf16.js";import{b,a as lt}from"./utils-NX-dnf4r.js";import{t as r,r as i,b as m,f as rt,g as it,p as T,d as c}from"./registry-zqrnEiYK.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";import{_ as y}from"./v-element-BABk39ab.js";import{_ as mt}from"./index-tjucyUeZ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";const W="y+2jQ3Mo",C=r(W),_=C;i.r(W,()=>C);const qe={};C._=m(function(a,e,t,o,l,d){const{a11yText:n="Loading...",class:u,...p}=a;e.be("div",rt({role:"img","aria-label":n,class:it(["skeleton",u])},T(p)),"0",o,null,4),v(e,a.renderBody,null,null,null,null,t,"1"),e.ee()},{t:W,i:!0},qe);C.Component=c(qe,C._);const ct=`

+import{t as st}from"./index-iqhZMf16.js";import{b,a as lt}from"./utils-NX-dnf4r.js";import{t as r,r as i,b as m,f as rt,g as it,p as T,d as c}from"./registry-zqrnEiYK.js";import{_ as v}from"./dynamic-tag-4Gch17f1.js";import{_ as s}from"./render-tag-_0PNNh6Y.js";import{_ as y}from"./v-element-BABk39ab.js";import{_ as mt}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";const W="y+2jQ3Mo",C=r(W),_=C;i.r(W,()=>C);const qe={};C._=m(function(a,e,t,o,l,d){const{a11yText:n="Loading...",class:u,...p}=a;e.be("div",rt({role:"img","aria-label":n,class:it(["skeleton",u])},T(p)),"0",o,null,4),v(e,a.renderBody,null,null,null,null,t,"1"),e.ee()},{t:W,i:!0},qe);C.Component=c(qe,C._);const ct=`

ebay-skeleton diff --git a/docs/assets/snackbar-dialog.stories-Yq9nnI3e.js b/docs/assets/snackbar-dialog.stories-AdcwIyg6.js similarity index 93% rename from docs/assets/snackbar-dialog.stories-Yq9nnI3e.js rename to docs/assets/snackbar-dialog.stories-AdcwIyg6.js index 13f56ee7c..5b4564823 100644 --- a/docs/assets/snackbar-dialog.stories-Yq9nnI3e.js +++ b/docs/assets/snackbar-dialog.stories-AdcwIyg6.js @@ -1,4 +1,4 @@ -import{r as k,b as T,d as v,t as w}from"./registry-zqrnEiYK.js";import{_ as A}from"./index-tjucyUeZ.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as I}from"./index-VMMXlPq4.js";import{_ as L}from"./repeatable-jmdwKenu.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";import{_ as D}from"./index-CCP4HZWQ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";/* empty css *//* empty css */import"./index-0sOjhOVp.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const F=`

+import{r as k,b as T,d as v,t as w}from"./registry-zqrnEiYK.js";import{_ as A}from"./index-g2xi1LKt.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{_ as y}from"./dynamic-tag-4Gch17f1.js";import{_ as I}from"./index-VMMXlPq4.js";import{_ as L}from"./repeatable-jmdwKenu.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";import{_ as D}from"./index-XLHqpDln.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";/* empty css *//* empty css */import"./index-avw8iGTO.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const F=`

ebay-snackbar-dialog diff --git a/docs/assets/split-button.stories-CyiyPRSD.js b/docs/assets/split-button.stories-Y11ODcos.js similarity index 90% rename from docs/assets/split-button.stories-CyiyPRSD.js rename to docs/assets/split-button.stories-Y11ODcos.js index 88e144d94..a889fb16c 100644 --- a/docs/assets/split-button.stories-CyiyPRSD.js +++ b/docs/assets/split-button.stories-Y11ODcos.js @@ -1,4 +1,4 @@ -import{t as T}from"./index-iqhZMf16.js";import{a as v}from"./utils-NX-dnf4r.js";import{t as E,r as V,b as S,d as C}from"./registry-zqrnEiYK.js";import{_ as w}from"./dynamic-tag-4Gch17f1.js";import{_ as O}from"./index-tjucyUeZ.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{_ as z}from"./index-Vc-PSg2d.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";/* empty css */import"./index-wCr-XJjZ.js";import"./index--HiXohkr.js";import"./self-iterator-6yU_KG2T.js";import"./index-wCG8Mexi.js";/* empty css */import"./index-Zo2k51hY.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";class M extends Marko.Component{}const s="7VzXNbX0",o=E(s),R=o;V.r(s,()=>o);const b=M;o._=S(function(a,n,r,i,X,A){const{a11yButtonLoadingText:g,a11yMenuText:f,a11yText:D,bodyState:h,disabled:l,href:x,priority:p,renderBody:k,size:c,transparent:_,variant:F,...B}=a;n.be("span",{class:"split-button"},"0",i,null,1),d(O,{split:"start",type:"button",size:c,disabled:l,priority:p,bodyState:h,href:x,a11yText:g,renderBody:t=>{t.be("span",{class:"btn__cell"},"2",i,null,1),t.be("span",{class:"btn__text"},"3",i,null,1),w(t,k,null,null,null,null,r,"4"),t.ee(),t.ee()}},n,r,"1",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]]),d(z,{a11yText:f,split:"end",size:c,disabled:l,priority:p,transparent:_,reverse:!0,variant:"button",...B},n,r,"5",[["collapse","emit",!1,["collapse"]],["expand","emit",!1,["expand"]],["change","emit",!1,["change"]],["select","emit",!1,["select"]]]),n.ee()},{t:s},b);o.Component=C(b,o._);const j=`

+import{t as T}from"./index-iqhZMf16.js";import{a as v}from"./utils-NX-dnf4r.js";import{t as E,r as V,b as S,d as C}from"./registry-zqrnEiYK.js";import{_ as w}from"./dynamic-tag-4Gch17f1.js";import{_ as O}from"./index-g2xi1LKt.js";import{_ as d}from"./render-tag-_0PNNh6Y.js";import{_ as z}from"./index-KzZQXcwb.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";import"./index-7jFeXTCh.js";/* empty css *//* empty css */import"./index-4Ud0-PVY.js";/* empty css */import"./index-2FfeB2lc.js";import"./index-fsHgTAj9.js";import"./self-iterator-6yU_KG2T.js";import"./index-wsKKJ7f4.js";/* empty css */import"./index-FQXijakt.js";import"./index-sDZ0BqWo.js";import"./index-j_KV6Utw.js";import"./index-J8CKH9U9.js";import"./index-QGVtTfuc.js";import"./index-j-rYSiF3.js";import"./index-l3FQEXUN.js";import"./index-ERL0bCNR.js";class M extends Marko.Component{}const s="7VzXNbX0",o=E(s),R=o;V.r(s,()=>o);const b=M;o._=S(function(a,n,r,i,X,A){const{a11yButtonLoadingText:g,a11yMenuText:f,a11yText:D,bodyState:h,disabled:l,href:x,priority:p,renderBody:k,size:c,transparent:_,variant:F,...B}=a;n.be("span",{class:"split-button"},"0",i,null,1),d(O,{split:"start",type:"button",size:c,disabled:l,priority:p,bodyState:h,href:x,a11yText:g,renderBody:t=>{t.be("span",{class:"btn__cell"},"2",i,null,1),t.be("span",{class:"btn__text"},"3",i,null,1),w(t,k,null,null,null,null,r,"4"),t.ee(),t.ee()}},n,r,"1",[["click","emit",!1,["click"]],["escape","emit",!1,["escape"]],["focus","emit",!1,["focus"]],["blur","emit",!1,["blur"]]]),d(z,{a11yText:f,split:"end",size:c,disabled:l,priority:p,transparent:_,reverse:!0,variant:"button",...B},n,r,"5",[["collapse","emit",!1,["collapse"]],["expand","emit",!1,["expand"]],["change","emit",!1,["change"]],["select","emit",!1,["select"]]]),n.ee()},{t:s},b);o.Component=C(b,o._);const j=`

ebay-split-button diff --git a/docs/assets/star-rating-select.stories-fS4VlSVP.js b/docs/assets/star-rating-select.stories-Cw7iznyY.js similarity index 97% rename from docs/assets/star-rating-select.stories-fS4VlSVP.js rename to docs/assets/star-rating-select.stories-Cw7iznyY.js index 1233105ca..421a3202b 100644 --- a/docs/assets/star-rating-select.stories-fS4VlSVP.js +++ b/docs/assets/star-rating-select.stories-Cw7iznyY.js @@ -1,4 +1,4 @@ -import{t as A}from"./index-iqhZMf16.js";import{t as x,r as T,b as S,f as G,g as y,p as K,d as w}from"./registry-zqrnEiYK.js";import{_ as P}from"./index-htmMtdsF.js";import{_ as E}from"./render-tag-_0PNNh6Y.js";import{_ as z}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const D=`

+import{t as A}from"./index-iqhZMf16.js";import{t as x,r as T,b as S,f as G,g as y,p as K,d as w}from"./registry-zqrnEiYK.js";import{_ as P}from"./index-xFOS7_Jj.js";import{_ as E}from"./render-tag-_0PNNh6Y.js";import{_ as z}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const D=`

ebay-star-rating-select diff --git a/docs/assets/star-rating.stories-7TI2fslN.js b/docs/assets/star-rating.stories-03mY9CKD.js similarity index 99% rename from docs/assets/star-rating.stories-7TI2fslN.js rename to docs/assets/star-rating.stories-03mY9CKD.js index edf726f67..82027394c 100644 --- a/docs/assets/star-rating.stories-7TI2fslN.js +++ b/docs/assets/star-rating.stories-03mY9CKD.js @@ -1,4 +1,4 @@ -import{t as I1}from"./index-iqhZMf16.js";import{r as s,b as r,d as i,t as o,f as U1,g as G1,p as J1}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-dCAZr4YS.js";import{_ as t}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./v-element-BABk39ab.js";import{_ as X1}from"./index-htmMtdsF.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */const P1=`

+import{t as I1}from"./index-iqhZMf16.js";import{r as s,b as r,d as i,t as o,f as U1,g as G1,p as J1}from"./registry-zqrnEiYK.js";import{_ as p}from"./index-T-tr__32.js";import{_ as t}from"./render-tag-_0PNNh6Y.js";import{_ as c}from"./v-element-BABk39ab.js";import{_ as X1}from"./index-xFOS7_Jj.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */const P1=`

For full stars use (rating from 0-5): ebay-star-rating-{rating} diff --git a/docs/assets/syntaxhighlighter-V7JZZA35-NRPiM_IO.js b/docs/assets/syntaxhighlighter-V7JZZA35-tRH5LnFX.js similarity index 62% rename from docs/assets/syntaxhighlighter-V7JZZA35-NRPiM_IO.js rename to docs/assets/syntaxhighlighter-V7JZZA35-tRH5LnFX.js index 72b2a6c3d..8881390c3 100644 --- a/docs/assets/syntaxhighlighter-V7JZZA35-NRPiM_IO.js +++ b/docs/assets/syntaxhighlighter-V7JZZA35-tRH5LnFX.js @@ -1 +1 @@ -import{S as s,c,s as l}from"./chunk-HLWAVYOI-bPp9GyXi.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{s as SyntaxHighlighter,c as createCopyToClipboardFunction,l as default}; +import{S as s,c,s as l}from"./chunk-HLWAVYOI-CrIFzHE4.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";export{s as SyntaxHighlighter,c as createCopyToClipboardFunction,l as default}; diff --git a/docs/assets/textbox.stories-foNXIX_I.js b/docs/assets/textbox.stories-nLRb5hRp.js similarity index 99% rename from docs/assets/textbox.stories-foNXIX_I.js rename to docs/assets/textbox.stories-nLRb5hRp.js index 93e5e15d0..92afa9cb9 100644 --- a/docs/assets/textbox.stories-foNXIX_I.js +++ b/docs/assets/textbox.stories-nLRb5hRp.js @@ -1,4 +1,4 @@ -import{t as fe}from"./index-iqhZMf16.js";import{C as i}from"./index-alcEgMKG.js";import{r as c,b as m,d as u,t as p}from"./registry-zqrnEiYK.js";import{_ as le}from"./v-element-BABk39ab.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as ge,a as se,b as ye}from"./index-Cl8k8pjy.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4ijq5S5t.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";const ke=`

+import{t as fe}from"./index-iqhZMf16.js";import{C as i}from"./index-alcEgMKG.js";import{r as c,b as m,d as u,t as p}from"./registry-zqrnEiYK.js";import{_ as le}from"./v-element-BABk39ab.js";import{_ as a}from"./render-tag-_0PNNh6Y.js";import{_ as ge,a as se,b as ye}from"./index-in-YqcOA.js";import{_ as $}from"./self-iterator-6yU_KG2T.js";/* empty css *//* empty css *//* empty css */import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./index-4ijq5S5t.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";const ke=`

ebay-textbox diff --git a/docs/assets/toast-dialog.stories-ZPERgarZ.js b/docs/assets/toast-dialog.stories-b5lOSfVg.js similarity index 90% rename from docs/assets/toast-dialog.stories-ZPERgarZ.js rename to docs/assets/toast-dialog.stories-b5lOSfVg.js index bcf07cebe..8c882a2a2 100644 --- a/docs/assets/toast-dialog.stories-ZPERgarZ.js +++ b/docs/assets/toast-dialog.stories-b5lOSfVg.js @@ -1,4 +1,4 @@ -import{r as _,b as f,d as T,t as k}from"./registry-zqrnEiYK.js";import{_ as d}from"./self-iterator-6yU_KG2T.js";import{_ as w}from"./v-element-BABk39ab.js";import{_ as u}from"./index-tjucyUeZ.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as O}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./index-CCP4HZWQ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-0sOjhOVp.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const A=`

+import{r as _,b as f,d as T,t as k}from"./registry-zqrnEiYK.js";import{_ as d}from"./self-iterator-6yU_KG2T.js";import{_ as w}from"./v-element-BABk39ab.js";import{_ as u}from"./index-g2xi1LKt.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as O}from"./dynamic-tag-4Gch17f1.js";import{_ as v}from"./index-XLHqpDln.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";/* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-T-tr__32.js";/* empty css */import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";/* empty css */import"./index-avw8iGTO.js";import"./index-DimFlsuh.js";import"./preserve-attrs-PKQRsRTw.js";import"./index-ERL0bCNR.js";const A=`

ebay-toast-dialog diff --git a/docs/assets/toggle-button-group.stories-OLWMihsl.js b/docs/assets/toggle-button-group.stories-tB-YMHXJ.js similarity index 96% rename from docs/assets/toggle-button-group.stories-OLWMihsl.js rename to docs/assets/toggle-button-group.stories-tB-YMHXJ.js index ff7084786..c14086e05 100644 --- a/docs/assets/toggle-button-group.stories-OLWMihsl.js +++ b/docs/assets/toggle-button-group.stories-tB-YMHXJ.js @@ -1,4 +1,4 @@ -import{t as Q}from"./index-iqhZMf16.js";import{a as U}from"./utils-NX-dnf4r.js";import{t as S,r as B,b as f,f as Z,g as tt,p as et,d as _}from"./registry-zqrnEiYK.js";import{c as ot}from"./index-o6FvWjBp.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";import{_ as o}from"./self-iterator-6yU_KG2T.js";import{_ as nt,a as rt,b as st,c as at,d as it}from"./index-BUVaW_kc.js";import{_ as lt}from"./index-b0EQ-PRm.js";import{_ as ut}from"./index-tjucyUeZ.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-dCAZr4YS.js";/* empty css *//* empty css */import"./index-XUhq6uHT.js";import"./index-q7KQv1ry.js";import"./index-i1smj9EI.js";import"./index-XjwwBzg5.js";const dt=`

+import{t as Q}from"./index-iqhZMf16.js";import{a as U}from"./utils-NX-dnf4r.js";import{t as S,r as B,b as f,f as Z,g as tt,p as et,d as _}from"./registry-zqrnEiYK.js";import{c as ot}from"./index-o6FvWjBp.js";import{_ as i}from"./render-tag-_0PNNh6Y.js";import{_ as o}from"./self-iterator-6yU_KG2T.js";import{_ as nt,a as rt,b as st,c as at,d as it}from"./index-oJVpUktL.js";import{_ as lt}from"./index-1yeo952A.js";import{_ as ut}from"./index-g2xi1LKt.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./dynamic-tag-4Gch17f1.js";import"./index-T-tr__32.js";/* empty css *//* empty css */import"./index-Fzo01Ouc.js";import"./index-o5F2CW61.js";import"./index-kURT6dDW.js";import"./index-XjwwBzg5.js";const dt=`

ebay-toggle-button-group diff --git a/docs/assets/toggle-button.stories-A4gsGZ6z.js b/docs/assets/toggle-button.stories-DfcrQG2R.js similarity index 98% rename from docs/assets/toggle-button.stories-A4gsGZ6z.js rename to docs/assets/toggle-button.stories-DfcrQG2R.js index 60dc27912..2a5fcb5e0 100644 --- a/docs/assets/toggle-button.stories-A4gsGZ6z.js +++ b/docs/assets/toggle-button.stories-DfcrQG2R.js @@ -1,4 +1,4 @@ -import{t as Q}from"./index-iqhZMf16.js";import{a as V}from"./utils-NX-dnf4r.js";import{c as b}from"./index-o6FvWjBp.js";import{r as y,b as h,d as f,t as _}from"./registry-zqrnEiYK.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import{_ as Z}from"./index-98HIjKfK.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import{_ as A}from"./v-element-BABk39ab.js";import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const q=`

+import{t as Q}from"./index-iqhZMf16.js";import{a as V}from"./utils-NX-dnf4r.js";import{c as b}from"./index-o6FvWjBp.js";import{r as y,b as h,d as f,t as _}from"./registry-zqrnEiYK.js";import{_ as c}from"./self-iterator-6yU_KG2T.js";import{_ as Z}from"./index-qhjahFr3.js";import{_ as g}from"./render-tag-_0PNNh6Y.js";import{_ as A}from"./v-element-BABk39ab.js";import"./dynamic-tag-4Gch17f1.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const q=`

ebay-toggle-button diff --git a/docs/assets/tooltip.stories-STM6MrnG.js b/docs/assets/tooltip.stories-vouXGOUW.js similarity index 95% rename from docs/assets/tooltip.stories-STM6MrnG.js rename to docs/assets/tooltip.stories-vouXGOUW.js index 83de51517..ca869627c 100644 --- a/docs/assets/tooltip.stories-STM6MrnG.js +++ b/docs/assets/tooltip.stories-vouXGOUW.js @@ -1,4 +1,4 @@ -import{t as j}from"./index-iqhZMf16.js";import{a as M}from"./utils-NX-dnf4r.js";import{t as w,r as v,b as x,f as z,p as G,d as S}from"./registry-zqrnEiYK.js";/* empty css */import{_ as L}from"./index-DimFlsuh.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as N}from"./dynamic-tag-4Gch17f1.js";import{_ as O,a as Y}from"./index-ZDtYD_HQ.js";import"./preserve-attrs-PKQRsRTw.js";import{h as q}from"./index-XjwwBzg5.js";import{_ as D}from"./index-b0EQ-PRm.js";import{_ as y}from"./self-iterator-6yU_KG2T.js";import{_ as F}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const J=`

+import{t as j}from"./index-iqhZMf16.js";import{a as M}from"./utils-NX-dnf4r.js";import{t as w,r as v,b as x,f as z,p as G,d as S}from"./registry-zqrnEiYK.js";/* empty css */import{_ as L}from"./index-DimFlsuh.js";import{_ as p}from"./render-tag-_0PNNh6Y.js";import{_ as N}from"./dynamic-tag-4Gch17f1.js";import{_ as O,a as Y}from"./index-cvF98qL5.js";import"./preserve-attrs-PKQRsRTw.js";import{h as q}from"./index-XjwwBzg5.js";import{_ as D}from"./index-1yeo952A.js";import{_ as y}from"./self-iterator-6yU_KG2T.js";import{_ as F}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const J=`

ebay-tooltip diff --git a/docs/assets/tourtip.stories-aajcNxke.js b/docs/assets/tourtip.stories-LcWWpgDw.js similarity index 97% rename from docs/assets/tourtip.stories-aajcNxke.js rename to docs/assets/tourtip.stories-LcWWpgDw.js index 61b743fc8..9935f6665 100644 --- a/docs/assets/tourtip.stories-aajcNxke.js +++ b/docs/assets/tourtip.stories-LcWWpgDw.js @@ -1,4 +1,4 @@ -import{a as R}from"./utils-NX-dnf4r.js";import{t as D,r as E,b as N,f as c,p as b,g as h,d as A}from"./registry-zqrnEiYK.js";/* empty css */import{_ as f}from"./dynamic-tag-4Gch17f1.js";import{_ as P}from"./repeatable-jmdwKenu.js";import{_ as F}from"./self-iterator-6yU_KG2T.js";import{_ as V,a as $}from"./index-ZDtYD_HQ.js";import{_ as y}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-0sOjhOVp.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const j=`

+import{a as R}from"./utils-NX-dnf4r.js";import{t as D,r as E,b as N,f as c,p as b,g as h,d as A}from"./registry-zqrnEiYK.js";/* empty css */import{_ as f}from"./dynamic-tag-4Gch17f1.js";import{_ as P}from"./repeatable-jmdwKenu.js";import{_ as F}from"./self-iterator-6yU_KG2T.js";import{_ as V,a as $}from"./index-cvF98qL5.js";import{_ as y}from"./render-tag-_0PNNh6Y.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-avw8iGTO.js";import"./index-T-tr__32.js";/* empty css */import"./index-l3FQEXUN.js";import"./index-QGVtTfuc.js";import"./index-ERL0bCNR.js";const j=`

ebay-tourtip diff --git a/docs/assets/tri-state-checkbox.stories-AW1xDdOW.js b/docs/assets/tri-state-checkbox.stories-GkEPVrAi.js similarity index 97% rename from docs/assets/tri-state-checkbox.stories-AW1xDdOW.js rename to docs/assets/tri-state-checkbox.stories-GkEPVrAi.js index fa8c20886..c97c72dca 100644 --- a/docs/assets/tri-state-checkbox.stories-AW1xDdOW.js +++ b/docs/assets/tri-state-checkbox.stories-GkEPVrAi.js @@ -1,4 +1,4 @@ -import{t as Q}from"./index-iqhZMf16.js";import{t as g,r as _,b as y,h as X,g as Y,f as G,p as J,d as x}from"./registry-zqrnEiYK.js";import{_ as Z}from"./index-4lRyQCLB.js";/* empty css */import{_ as D,a as ee}from"./index-8TTZzN75.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{a as te,c as ae,_ as se,b as ne}from"./index-nYpLpsKM.js";import{_ as R}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */const ce=`

+import{t as Q}from"./index-iqhZMf16.js";import{t as g,r as _,b as y,h as X,g as Y,f as G,p as J,d as x}from"./registry-zqrnEiYK.js";import{_ as Z}from"./index-aYjb7RMT.js";/* empty css */import{_ as D,a as ee}from"./index-iOo4hJOd.js";import{_ as c}from"./render-tag-_0PNNh6Y.js";import{a as te,c as ae,_ as se,b as ne}from"./index-GxCEZ36B.js";import{_ as R}from"./v-element-BABk39ab.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */const ce=`

ebay-tri-state-checkbox diff --git a/docs/assets/video.stories-8st-35p0.js b/docs/assets/video.stories-oPo5AnoI.js similarity index 97% rename from docs/assets/video.stories-8st-35p0.js rename to docs/assets/video.stories-oPo5AnoI.js index 9910a5c22..3f56319ea 100644 --- a/docs/assets/video.stories-8st-35p0.js +++ b/docs/assets/video.stories-oPo5AnoI.js @@ -1,4 +1,4 @@ -import{t as g}from"./index-iqhZMf16.js";import{t as O,r as j,b as q,g as m,h as W,f as H,p as Q,i as E,d as Z}from"./registry-zqrnEiYK.js";import{_ as G}from"./index-DimFlsuh.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as J}from"./preserve-tag-alJxPOrs.js";import{_ as K,a as x}from"./index-pG5dWoAQ.js";import{_ as X}from"./index-XUhq6uHT.js";import{_ as Y}from"./index-fGg5uNfp.js";import{C as ee}from"./index-KUK9pJct.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-dCAZr4YS.js";/* empty css */import"./index-q7KQv1ry.js";const te=`

+import{t as g}from"./index-iqhZMf16.js";import{t as O,r as j,b as q,g as m,h as W,f as H,p as Q,i as E,d as Z}from"./registry-zqrnEiYK.js";import{_ as G}from"./index-DimFlsuh.js";import{_ as l}from"./render-tag-_0PNNh6Y.js";import{_ as J}from"./preserve-tag-alJxPOrs.js";import{_ as K,a as x}from"./index-BHGYRQhO.js";import{_ as X}from"./index-Fzo01Ouc.js";import{_ as Y}from"./index-0xgPFV6K.js";import{C as ee}from"./index-KUK9pJct.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-T-tr__32.js";/* empty css */import"./index-o5F2CW61.js";const te=`

ebay-video diff --git a/docs/assets/welcome.stories-zWkg26dj.js b/docs/assets/welcome.stories-m2dKJW3M.js similarity index 97% rename from docs/assets/welcome.stories-zWkg26dj.js rename to docs/assets/welcome.stories-m2dKJW3M.js index e0ecd8908..2607d63ea 100644 --- a/docs/assets/welcome.stories-zWkg26dj.js +++ b/docs/assets/welcome.stories-m2dKJW3M.js @@ -1,4 +1,4 @@ -import{M as t}from"./chunk-HLWAVYOI-bPp9GyXi.js";import{j as e}from"./jsx-runtime-pr3uamGJ.js";import{u as i}from"./index-_vCgt_Po.js";import"./iframe-T3i_FFBQ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function o(n){const r=Object.assign({h1:"h1",blockquote:"blockquote",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",em:"em",code:"code",h3:"h3"},i(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Welcome"}),` +import{M as t}from"./chunk-HLWAVYOI-CrIFzHE4.js";import{j as e}from"./jsx-runtime--PYeNBHd.js";import{u as i}from"./index-afjEbwFG.js";import"./iframe-VgUVZRsZ.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-5-cIlDoe.js";import"./_commonjs-dynamic-modules-h-SxKiO4.js";import"./index-xLzVGzoy.js";import"./index-PPLHz8o0.js";function o(n){const r=Object.assign({h1:"h1",blockquote:"blockquote",p:"p",h2:"h2",ul:"ul",li:"li",a:"a",em:"em",code:"code",h3:"h3"},i(),n.components);return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Welcome"}),` `,e.jsx(r.h1,{id:"ebayui-core",children:"eBayUI Core"}),` `,e.jsxs(r.blockquote,{children:[` `,e.jsx(r.p,{children:"Collection of Marko widgets; considered to be the core building blocks for all eBay components, pages & apps."}),` diff --git a/docs/iframe.html b/docs/iframe.html index 9369f0c94..ff0322c97 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -359,7 +359,7 @@ } - + diff --git a/docs/project.json b/docs/project.json index 9e5cb79b1..8535ca446 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1707873168481,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.2.3"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/marko-vite","options":{}},"builder":"@storybook/builder-vite","language":"javascript","storybookPackages":{"@storybook/addon-links":{"version":"7.6.10"},"@storybook/addon-storysource":{"version":"7.6.10"},"@storybook/builder-webpack5":{"version":"7.6.10"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/marko":{"version":"8.0.2"},"@storybook/marko-vite":{"version":"1.0.4"},"@storybook/mdx2-csf":{"version":"1.1.0"},"storybook":{"version":"7.6.10"}},"addons":{"@storybook/addon-docs":{"version":"7.6.10"},"@storybook/addon-essentials":{"version":"7.6.10"},"@storybook/addon-a11y":{"version":"7.6.10"}}} +{"generatedAt":1707938600786,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.2.3"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/marko-vite","options":{}},"builder":"@storybook/builder-vite","language":"javascript","storybookPackages":{"@storybook/addon-links":{"version":"7.6.10"},"@storybook/addon-storysource":{"version":"7.6.10"},"@storybook/builder-webpack5":{"version":"7.6.10"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/marko":{"version":"8.0.2"},"@storybook/marko-vite":{"version":"1.0.4"},"@storybook/mdx2-csf":{"version":"1.1.0"},"storybook":{"version":"7.6.10"}},"addons":{"@storybook/addon-docs":{"version":"7.6.10"},"@storybook/addon-essentials":{"version":"7.6.10"},"@storybook/addon-a11y":{"version":"7.6.10"}}} diff --git a/package-lock.json b/package-lock.json index a5defcfbf..941653fdc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ebay/ebayui-core", - "version": "13.1.4", + "version": "13.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ebay/ebayui-core", - "version": "13.1.4", + "version": "13.1.5", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.6.0", diff --git a/package.json b/package.json index 1dce40891..f85f6ca48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebay/ebayui-core", - "version": "13.1.4", + "version": "13.1.5", "description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.", "scripts": { "installMarkoV5": "npm i marko@5 @marko/compiler@5 --force",