@ganpatiinfo/gids-core-web 21.0.0 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +83 -34
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.js +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-bento-card.js +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-picker.d.ts +11 -0
- package/dist/gids-calendar-picker.js +1 -0
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-date-picker-field.d.ts +11 -0
- package/dist/gids-date-picker-field.js +1 -0
- package/dist/gids-date-picker.d.ts +11 -0
- package/dist/gids-date-picker.js +1 -0
- package/dist/gids-day-dropdown-picker.d.ts +11 -0
- package/dist/gids-day-dropdown-picker.js +1 -0
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-flyout-panel.js +1 -1
- package/dist/gids-form.js +1 -1
- package/dist/gids-header-navigation-item.js +1 -1
- package/dist/gids-header-navigation.js +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-month-dropdown-picker.d.ts +11 -0
- package/dist/gids-month-dropdown-picker.js +1 -0
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-profile-menu-header.js +1 -1
- package/dist/gids-profile-menu.js +1 -1
- package/dist/gids-profile.js +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-sidebar-item.js +1 -1
- package/dist/gids-sidebar-menu.js +1 -1
- package/dist/gids-sidebar.js +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.js +1 -1
- package/dist/gids-year-dropdown-picker.d.ts +11 -0
- package/dist/gids-year-dropdown-picker.js +1 -0
- package/dist/p-62akP0Ad.js +1 -0
- package/dist/{p-B_FEFM5I.js → p-B18yNcA0.js} +1 -1
- package/dist/p-B2YjHZsu.js +1 -0
- package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
- package/dist/{p-Ds5IzXj3.js → p-B4d07GWP.js} +1 -1
- package/dist/p-BBlUduEr.js +1 -0
- package/dist/{p-BAqWcL0K.js → p-BNW2xgxF.js} +1 -1
- package/dist/p-BcXumkjZ.js +1 -0
- package/dist/{p-DKSnGphd.js → p-C88Z_F_m.js} +1 -1
- package/dist/{p-bfWlRsx_.js → p-CKj2Ru6e.js} +1 -1
- package/dist/{p-B_St7yaX.js → p-COsSHfdc.js} +1 -1
- package/dist/{p-DrxfD2yZ.js → p-CSXuAs_X.js} +1 -1
- package/dist/{p-DzOOjiNH.js → p-CZgH5rZs.js} +1 -1
- package/dist/{p-BIxBMTG9.js → p-CueywyHC.js} +1 -1
- package/dist/p-CxfmNDsm.js +1 -0
- package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
- package/dist/{p-DMxvWIj1.js → p-DKe6orSY.js} +1 -1
- package/dist/{p-D0RJMGGj.js → p-DLX-l0-L.js} +1 -1
- package/dist/p-DOiDD7cS.js +1 -0
- package/dist/{p-B2flLE0s.js → p-DXlBK8TS.js} +1 -1
- package/dist/{p-E13ycS5K.js → p-DYKcsBzA.js} +1 -1
- package/dist/{p--kh67-_Z.js → p-D_mszaeq.js} +1 -1
- package/dist/p-DdJKIFk0.js +1 -0
- package/dist/p-DiX4HaE6.js +1 -0
- package/dist/{p-DQQhGF5N.js → p-DjnREsH0.js} +1 -1
- package/dist/{p-CIjK3iHM.js → p-FSv82P6v.js} +1 -1
- package/dist/p-MaJDBE6u.js +1 -0
- package/dist/p-XVlT5H5q.js +1 -0
- package/dist/p-fE-MdTCH.js +1 -0
- package/dist/{p-mv_7K1EM.js → p-gK9DvcL8.js} +1 -1
- package/dist/{p-_W77iniK.js → p-iEUyQs9t.js} +1 -1
- package/dist/{p-BCbovLBE.js → p-jtpLLxuw.js} +1 -1
- package/dist/p-lvArnlBV.js +1 -0
- package/dist/{p-TfH966_e.js → p-vz4tzbld.js} +1 -1
- package/dist/{p-DnRuhvRw.js → p-x1tVOUSt.js} +1 -1
- package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +4 -2
- package/dist/types/components/webComponents/GidsCalendarPicker/GidsCalendarPicker.d.ts +55 -0
- package/dist/types/components/webComponents/GidsDatePicker/GidsDatePicker.d.ts +74 -0
- package/dist/types/components/webComponents/GidsDatePickerField/GidsDatePickerField.d.ts +75 -0
- package/dist/types/components/webComponents/GidsDayDropdownPicker/GidsDayDropdownPicker.d.ts +40 -0
- package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +10 -8
- package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +5 -1
- package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +1 -0
- package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +7 -2
- package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +8 -0
- package/dist/types/components/webComponents/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
- package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
- package/dist/types/components.d.ts +877 -70
- package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
- package/dist-bundled/es/gids-action-bar.js +29 -29
- package/dist-bundled/es/gids-activity-gauge.js +3 -3
- package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +1 -1
- package/dist-bundled/es/gids-bento-card.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-picker.js +6 -0
- package/dist-bundled/es/gids-calendar-year-list.js +1 -1
- package/dist-bundled/es/gids-calendar.js +4 -151
- package/dist-bundled/es/gids-carousel.js +1 -1
- package/dist-bundled/es/gids-chart-legend-item.js +1 -1
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +7 -7
- package/dist-bundled/es/gids-chevron-button.js +8 -8
- package/dist-bundled/es/gids-date-picker-field.js +181 -0
- package/dist-bundled/es/gids-date-picker.js +6 -0
- package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +28 -18
- package/dist-bundled/es/gids-dropdown-picker.js +2 -2
- package/dist-bundled/es/gids-dropdown.js +4 -4
- package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +5 -5
- package/dist-bundled/es/gids-expansion.js +9 -9
- package/dist-bundled/es/gids-field.js +4 -4
- package/dist-bundled/es/gids-filter.js +1 -1
- package/dist-bundled/es/gids-flyout-panel.js +3 -3
- package/dist-bundled/es/gids-form.js +65 -49
- package/dist-bundled/es/gids-header-navigation-item.js +3 -3
- package/dist-bundled/es/gids-header-navigation.js +48 -61
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +3 -3
- package/dist-bundled/es/gids-md-table.js +2 -2
- package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
- package/dist-bundled/es/gids-overflow-container.js +9 -9
- package/dist-bundled/es/gids-overlay-provider.js +3 -3
- package/dist-bundled/es/gids-password-field.js +21 -21
- package/dist-bundled/es/gids-pie-chart.js +1 -1
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-profile-menu-header.js +4 -4
- package/dist-bundled/es/gids-profile-menu.js +4 -4
- package/dist-bundled/es/gids-profile.js +11 -11
- package/dist-bundled/es/gids-scrim.js +3 -3
- package/dist-bundled/es/gids-sidebar-item.js +1 -1
- package/dist-bundled/es/gids-sidebar-menu.js +1 -1
- package/dist-bundled/es/gids-sidebar.js +13 -13
- package/dist-bundled/es/gids-skeleton.js +8 -8
- package/dist-bundled/es/gids-tab-item.js +6 -6
- package/dist-bundled/es/gids-tab.js +7 -7
- package/dist-bundled/es/gids-text-field.js +11 -11
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/gids-transfer-list.js +10 -10
- package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
- package/dist-bundled/es/p-62akP0Ad-D4pJ0a_I.js +86 -0
- package/dist-bundled/es/{p-B_FEFM5I-WvEFe7I_.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
- package/dist-bundled/es/{p-kWyyLyT3-DhHcKhR9.js → p-B2YjHZsu-DxdrSYcE.js} +30 -30
- package/dist-bundled/es/{p-DLRj-mUX-B_ACFGx6.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
- package/dist-bundled/es/{p-Ds5IzXj3-BC_F0-JJ.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
- package/dist-bundled/es/{p-CAjDiWIc-BieYBjHk.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
- package/dist-bundled/es/{p-BAqWcL0K-DRjKDzoa.js → p-BNW2xgxF-DWKLliyn.js} +6 -6
- package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
- package/dist-bundled/es/{p-DKSnGphd-EpxzqjUA.js → p-C88Z_F_m-wMA27lx_.js} +4 -4
- package/dist-bundled/es/{p-bfWlRsx_-B9hzkHIt.js → p-CKj2Ru6e-B-Nk5B_P.js} +4 -4
- package/dist-bundled/es/{p-B_St7yaX-Dq9UwiaA.js → p-COsSHfdc-DfDYoLSS.js} +4 -4
- package/dist-bundled/es/{p-DrxfD2yZ-Juydw__6.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
- package/dist-bundled/es/{p-DzOOjiNH-Wm7KbI3O.js → p-CZgH5rZs-Clk0qfHN.js} +4 -4
- package/dist-bundled/es/{p-BIxBMTG9-Bs6G0Wvv.js → p-CueywyHC-CsEetdha.js} +3 -3
- package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CxfmNDsm-JHseL2it.js} +30 -18
- package/dist-bundled/es/{p-CV1-78HB-DGkn3SPO.js → p-D2VR17v2-C0k_l_CT.js} +1 -1
- package/dist-bundled/es/{p-DMxvWIj1-DPw-ITMY.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
- package/dist-bundled/es/{p-D0RJMGGj-DSjGfUhB.js → p-DLX-l0-L-gumz4bOG.js} +2 -2
- package/dist-bundled/es/{p-BQT5yy5L-DhdgFXTM.js → p-DOiDD7cS-j1RR9K9r.js} +9 -5
- package/dist-bundled/es/{p-B2flLE0s-UXdlvRVr.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
- package/dist-bundled/es/{p-E13ycS5K-D-yK6pqz.js → p-DYKcsBzA-BcupA9sw.js} +7 -7
- package/dist-bundled/es/{p-DZ1ZcTMe-tnPOECry.js → p-DZ1ZcTMe-W8kofPko.js} +1 -1
- package/dist-bundled/es/{p--kh67-_Z-BBhYy4ZX.js → p-D_mszaeq-ndcXN34-.js} +4 -4
- package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-DdJKIFk0-Co3FvR3K.js} +2 -2
- package/dist-bundled/es/p-DiX4HaE6-C35K492C.js +86 -0
- package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-DjnREsH0-Cm8vBvIX.js} +7 -7
- package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-FSv82P6v-C6jFH7Zo.js} +1 -1
- package/dist-bundled/es/p-MaJDBE6u-DjtEX6-I.js +157 -0
- package/dist-bundled/es/p-XVlT5H5q-CFIMyrM3.js +148 -0
- package/dist-bundled/es/p-fE-MdTCH-CDvG1Xn1.js +122 -0
- package/dist-bundled/es/{p-mv_7K1EM-lPgJqpPI.js → p-gK9DvcL8-Chw-ya2Q.js} +2 -2
- package/dist-bundled/es/{p-_W77iniK-DZ9pVDuI.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
- package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
- package/dist-bundled/es/{p-BCbovLBE-DfkhIEts.js → p-jtpLLxuw-BlEPhjmU.js} +2 -2
- package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
- package/dist-bundled/es/{p-TfH966_e-tyxLyzL3.js → p-vz4tzbld-BYJRjHJw.js} +6 -6
- package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
- package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- package/dist-bundled/umd/gids-carousel.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +5 -5
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- package/dist-bundled/umd/gids-date-picker-field.umd.js +5 -0
- package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-dot.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion.umd.js +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-form.umd.js +2 -2
- package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
- package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +5 -0
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
- package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
- package/dist-bundled/umd/gids-profile.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
- package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
- package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
- package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
- package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
- package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +55 -7
- package/dist/p-BQT5yy5L.js +0 -1
- package/dist/p-CAjDiWIc.js +0 -1
- package/dist/p-Do_VlNHg.js +0 -1
- package/dist/p-DpvdbdZ-.js +0 -1
- package/dist/p-kWyyLyT3.js +0 -1
- package/dist/p-tEbUT3n3.js +0 -1
- package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
- package/dist-bundled/es/p-tEbUT3n3-CWq8ErgN.js +0 -244
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(function(ne,ce){typeof exports=="object"&&typeof module<"u"?ce(exports):typeof define=="function"&&define.amd?define(["exports"],ce):(ne=typeof globalThis<"u"?globalThis:ne||self,ce(ne.gidsCoreWebGidsDayDropdownPicker={}))})(this,(function(ne){"use strict";var U;function ce(e,t,n){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const s=Object.getOwnPropertyDescriptor(e,t);if(s&&(!n||s.get))return s;e=Object.getPrototypeOf(e)}}var be,Tn=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([i,[s]])=>{if(31&s||32&s){const o=e[i],l=ce(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);l&&Object.defineProperty(e,i,{get(){return l.get.call(this)},set(r){l.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):o!==void 0&&(e[i]=o)}}))},B=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Pt=(e,t)=>t in e,ie=(e,t)=>(0,console.error)(e,t),Ce=new Map,At="http://www.w3.org/1999/xlink",Fn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],C=typeof window<"u"?window:{},ye=C.HTMLElement||class{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},$n=(()=>{var e;let t=!1;try{(e=C.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Ue=(()=>{try{return!!C.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ke=!!Ue&&!!C.document&&Object.getOwnPropertyDescriptor(C.document.adoptedStyleSheets,"length").writable,Ye=!1,Dt=[],Ot=[],Rn=(e,t)=>n=>{e.push(n),Ye||(Ye=!0,4&A.i?Ze(Xe):A.raf(Xe))},Nt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){ie(n)}e.length=0},Xe=()=>{Nt(Dt),Nt(Ot),(Ye=Dt.length>0)&&A.raf(Xe)},Ze=e=>Promise.resolve(void 0).then(e),Mn=Rn(Ot);function jn(){const e=this.attachShadow({mode:"open"});be===void 0&&(be=null),be&&(Ke?e.adoptedStyleSheets.push(be):e.adoptedStyleSheets=[...e.adoptedStyleSheets,be])}var It=e=>{const t=Qe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Je(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!Vn(i,we(i),!1).length)}));let n=0;for(n=0;n<t.length;n++){const i=t[n];i.nodeType===1&&Qe(i,"childNodes").length&&It(i)}};function Je(e,t,n){let i,s=0,o=[];for(;s<e.length;s++){if(i=e[s],i["s-sr"]&&(!t||i["s-hn"]===t)&&(n===void 0||we(i)===n)&&(o.push(i),n!==void 0))return o;o=[...o,...Je(i.childNodes,t,n)]}return o}var Vn=(e,t,n=!0)=>{const i=[];(n&&e["s-sr"]||!e["s-sr"])&&i.push(e);let s=e;for(;s=s.nextSibling;)we(s)!==t||!n&&s["s-sr"]||i.push(s);return i},Lt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",we=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Qe(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var et,se,Y=new WeakMap,Tt=e=>"sc-"+e.p,tt=e=>(e=typeof e)=="object"||e==="function",g=(e,t,...n)=>{let i=null,s=null,o=null,l=!1,r=!1;const a=[],c=d=>{for(let h=0;h<d.length;h++)i=d[h],Array.isArray(i)?c(i):i!=null&&typeof i!="boolean"&&((l=typeof e!="function"&&!tt(i))&&(i=String(i)),l&&r?a[a.length-1].h+=i:a.push(l?Pe(null,i):i),r=l)};if(c(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((h=>d[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,qn);const u=Pe(e,null);return u.v=t,a.length>0&&(u.m=a),u.$=s,u.j=o,u},Pe=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ft={},qn={forEach:(e,t)=>e.map($t).forEach(t),map:(e,t)=>e.map($t).map(t).map(zn)},$t=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),zn=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),g(e.vtag,n,...e.vchildren||[])}const t=Pe(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Rt=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const s of t){if(n)break;for(const o of e[s])if(typeof o=="string"){n=!0;break}}if(!n)return e;const i={};for(const s of t)i[s]=e[s].map((o=>typeof o=="string"?{[o]:0}:o));return i},Mt=(e,t,n)=>e==null||tt(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Bn=(e,t,n)=>{const i=A.ce(t,n);return e.dispatchEvent(i),i},jt=(e,t,n,i,s,o)=>{if(n===i)return;let l=Pt(e,t),r=t.toLowerCase();if(t==="class"){const a=e.classList,c=Vt(n);let u=Vt(i);a.remove(...c.filter((d=>d&&!u.includes(d)))),a.add(...u.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const a in n)i&&i[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in i)n&&i[a]===n[a]||(a.includes("-")?e.style.setProperty(a,i[a]):e.style[a]=i[a])}else if(t!=="key"){if(t==="ref")i&&Hn(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let c;{const u=B(e);if(u&&u.o&&u.o.t){const d=u.o.t[a];d&&d[1]&&(c=d[1])}}return c||(c=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=i}catch{}return}{const a=tt(i);if((l||a&&i!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const u=i??"";t==="list"?l=!1:n!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let c=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,c=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(At,t):e.removeAttribute(t)):(!l||4&o||s)&&!a&&e.nodeType===1&&(i=i===!0?"":i,c?e.setAttributeNS(At,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):Pt(C,r)?r.slice(2):r[2]+t.slice(3),n||i){const a=t.endsWith(qt);t=t.replace(Gn,""),n&&A.rel(e,t,n,a),i&&A.ael(e,t,i,a)}}},Wn=/\s/,Vt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Wn):[]),qt="Capture",Gn=new RegExp(qt+"$"),nt=(e,t,n)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,s=e&&e.v||{},o=t.v||{};for(const l of zt(Object.keys(s)))l in o||jt(i,l,s[l],void 0,n,t.i);for(const l of zt(Object.keys(o)))jt(i,l,s[l],o[l],n,t.i)};function zt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var ve=!1,Ae=!1,De=!1,N=!1,it=[],st=[],Oe=(e,t,n)=>{var i;const s=t.m[n];let o,l,r,a=0;if(ve||(De=!0,s.O==="slot"&&(s.i|=s.m?2:1)),s.h!=null)o=s.S=C.document.createTextNode(s.h);else if(1&s.i)o=s.S=C.document.createTextNode(""),nt(null,s,N);else{if(N||(N=s.O==="svg"),!C.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=s.S=C.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ve&&2&s.i?"slot-fb":s.O),N&&s.O==="foreignObject"&&(N=!1),nt(null,s,N),s.m){const c=s.O==="template"?o.content:o;for(a=0;a<s.m.length;++a)l=Oe(e,s,a),l&&c.appendChild(l)}s.O==="svg"?N=!1:o.tagName==="foreignObject"&&(N=!0)}return o["s-hn"]=se,3&s.i&&(o["s-sr"]=!0,o["s-cr"]=et,o["s-sn"]=s.j||"",o["s-rf"]=(i=s.v)==null?void 0:i.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const u=d=>(function(h){const f=[],p=this["s-sn"];h?.flatten&&console.error(`
|
|
2
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
3
|
+
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
|
+
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
+
`);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const m=[];for(let b=0;b<v.length;b++){const y=v[b]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(w.childNodes)).forEach((v=>{p===we(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(o),r=e&&e.m&&e.m[n],r&&r.O===s.O&&e.S&&Bt(e.S)),o},Bt=e=>{A.i|=1;const t=e.closest(se.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const s of n?i.reverse():i)s["s-sh"]!=null&&(F(t,s,n??null),s["s-sh"]=void 0,De=!0)}A.i&=-2},Ne=(e,t)=>{A.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===se&&n.push(i)}for(let i=n.length-1;i>=0;i--){const s=n[i];s["s-hn"]!==se&&s["s-ol"]&&(F(xe(s).parentNode,s,xe(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,De=!0),t&&Ne(s,t)}A.i&=-2},Wt=(e,t,n,i,s,o)=>{let l,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===se&&(r=r.shadowRoot),n.O==="template"&&(r=r.content);s<=o;++s)i[s]&&(l=Oe(null,n,s),l&&(i[s].S=l,F(r,l,xe(t))))},Gt=(e,t,n)=>{for(let i=t;i<=n;++i){const s=e[i];if(s){const o=s.S;Ut(s),o&&(Ae=!0,o["s-ol"]?o["s-ol"].remove():Ne(o,!0),o.remove())}}},Ie=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),xe=e=>e&&e["s-ol"]||e,de=(e,t,n=!1)=>{const i=t.S=e.S,s=e.m,o=t.m,l=t.O,r=t.h;let a;r==null?(N=l==="svg"||l!=="foreignObject"&&N,l!=="slot"||ve||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Bt(t.S.parentElement)),nt(e,t,N),s!==null&&o!==null?((c,u,d,h,f=!1)=>{let p,w,v=0,m=0,b=0,y=0,E=u.length-1,x=u[0],k=u[E],S=h.length-1,_=h[0],P=h[S];const D=d.O==="template"?c.content:c;for(;v<=E&&m<=S;)if(x==null)x=u[++v];else if(k==null)k=u[--E];else if(_==null)_=h[++m];else if(P==null)P=h[--S];else if(Ie(x,_,f))de(x,_,f),x=u[++v],_=h[++m];else if(Ie(k,P,f))de(k,P,f),k=u[--E],P=h[--S];else if(Ie(x,P,f))x.O!=="slot"&&P.O!=="slot"||Ne(x.S.parentNode,!1),de(x,P,f),F(D,x.S,k.S.nextSibling),x=u[++v],P=h[--S];else if(Ie(k,_,f))x.O!=="slot"&&P.O!=="slot"||Ne(k.S.parentNode,!1),de(k,_,f),F(D,k.S,x.S),k=u[--E],_=h[++m];else{for(b=-1,y=v;y<=E;++y)if(u[y]&&u[y].$!==null&&u[y].$===_.$){b=y;break}b>=0?(w=u[b],w.O!==_.O?p=Oe(u&&u[m],d,b):(de(w,_,f),u[b]=void 0,p=w.S),_=h[++m]):(p=Oe(u&&u[m],d,m),_=h[++m]),p&&F(xe(x.S).parentNode,p,xe(x.S))}v>E?Wt(c,h[S+1]==null?null:h[S+1].S,d,h,m,S):m>S&&Gt(u,v,E)})(i,s,t,o,n):o!==null?(e.h!==null&&(i.textContent=""),Wt(i,null,t,o,0,o.length-1)):!n&&s!==null&&Gt(s,0,s.length-1),N&&l==="svg"&&(N=!1)):(a=i["s-cr"])?a.parentNode.textContent=r:e.h!==r&&(i.data=r)},W=[],Ht=e=>{let t,n,i;const s=e.__childNodes||e.childNodes;for(const o of s){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=o["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Lt(t,l)){let r=W.find((a=>a.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,r?(r.k["s-sh"]=o["s-hn"],r.N=o):(t["s-sh"]=o["s-hn"],W.push({N:o,k:t})),t["s-sr"]&&W.map((a=>{Lt(a.k,t["s-sn"])&&(r=W.find((c=>c.k===t)),r&&!a.N&&(a.N=r.N))}))}else W.some((r=>r.k===t))||W.push({k:t})}o.nodeType===1&&Ht(o)}},Ut=e=>{e.v&&e.v.ref&&it.push((()=>e.v.ref(null))),e.m&&e.m.map(Ut)},Hn=(e,t)=>{st.push((()=>e(t)))},F=(e,t,n,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:s}=(function(o,l){var r;if(!(l=l||((r=o["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=o["s-sn"]=we(o)||"";return{slotNode:Je(Qe(l,"childNodes"),l.tagName,a)[0],slotName:a}})(t);return s&&!i&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},Un=(e,t,n=!1)=>{var i,s,o,l,r;const a=e.$hostElement$,c=e.o,u=e.M||Pe(null,null);var d;const h=(d=t)&&d.O===Ft?t:g(null,null,t);if(se=a.tagName,c.C&&(h.v=h.v||{},c.C.forEach((([f,p])=>{h.v[p]=a[f]}))),n&&h.v)for(const f of Object.keys(h.v))a.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(h.v[f]=a[f]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=a.shadowRoot||a,ve=!(!(1&c.i)||128&c.i),et=a["s-cr"],Ae=!1,de(u,h,n),A.i|=1,De){Ht(h.S);for(const f of W){const p=f.k;if(!p["s-ol"]&&C.document){const w=C.document.createTextNode("");w["s-nr"]=p,F(p.parentNode,p["s-ol"]=w,p,n)}}for(const f of W){const p=f.k,w=f.N;if(p.nodeType===1&&n&&(p["s-ih"]=(i=p.hidden)!=null&&i),w){const v=w.parentNode;let m=w.nextSibling;if(m&&m.nodeType===1){let b=(s=p["s-ol"])==null?void 0:s.previousSibling;for(;b;){let y=(o=b["s-nr"])!=null?o:null;if(y&&y["s-sn"]===p["s-sn"]&&v===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===p||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){m=y;break}}b=b.previousSibling}}if((!m&&v!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==m)&&p!==m){if(F(v,p,m,n),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const b=C.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));b["s-hn"]=p["s-hn"],b["s-sn"]=p["s-sn"],b["s-sh"]=p["s-sh"],b["s-sr"]=p["s-sr"],b["s-ol"]=p["s-ol"],b["s-ol"]["s-nr"]=b,F(p.parentNode,b,p,n),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(l=p["s-ih"])!=null&&l)}p&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else p.nodeType===1&&(p.hidden=!0)}}if(Ae&&It(h.S),A.i&=-2,W.length=0,!ve&&!(1&c.i)&&a["s-cr"]){const f=h.S.__childNodes||h.S.childNodes;for(const p of f)if(p["s-hn"]!==se&&!p["s-sh"]){if(n&&p["s-ih"]==null&&(p["s-ih"]=(r=p.hidden)!=null&&r),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const w=C.document.createComment("s-nt-"+p.nodeValue);w["s-sn"]=p["s-sn"],F(p.parentNode,w,p,n),p.parentNode.removeChild(p)}}}et=void 0,it.forEach((f=>f())),it.length=0,st.forEach((f=>f())),st.length=0},Kt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(n-1,1),i()})))}},ot=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Kt(e,e.R);const n=()=>Kn(e,t);if(!t)return Mn(n);queueMicrotask((()=>{n()}))},Kn=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=ke(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),s=Yt(s,(()=>ke(i,"componentWillRender",void 0,n))),Yt(s,(()=>Xn(e,i,t)))},Yt=(e,t)=>Yn(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Yn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xn=async(e,t,n)=>{var i;const s=e.$hostElement$,o=s["s-rc"];n&&(l=>{const r=l.o,a=l.$hostElement$,c=r.i,u=((d,h)=>{var f,p,w;const v=Tt(h),m=Ce.get(v);if(!C.document)return v;if(d=d.nodeType===11?d:C.document,m)if(typeof m=="string"){let b,y=Y.get(d=d.head||d);if(y||Y.set(d,y=new Set),!y.has(v)){b=C.document.createElement("style"),b.textContent=m;const E=(f=A._)!=null?f:(function(){var x,k,S;return(S=(k=(x=C.document.head)==null?void 0:x.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?S:void 0})();if(E!=null&&b.setAttribute("nonce",E),!(1&h.i))if(d.nodeName==="HEAD"){const x=d.querySelectorAll("link[rel=preconnect]"),k=x.length>0?x[x.length-1].nextSibling:d.querySelector("style");d.insertBefore(b,k?.parentNode===d?k:null)}else if("host"in d)if(Ue){const x=new((p=d.defaultView)!=null?p:d.ownerDocument.defaultView).CSSStyleSheet;x.replaceSync(m),Ke?d.adoptedStyleSheets.unshift(x):d.adoptedStyleSheets=[x,...d.adoptedStyleSheets]}else{const x=d.querySelector("style");x?x.textContent=m+x.textContent:d.prepend(b)}else d.append(b);1&h.i&&d.insertBefore(b,null),4&h.i&&(b.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(v)}}else{let b=Y.get(d);if(b||Y.set(d,b=new Set),!b.has(v)){const y=(w=d.defaultView)!=null?w:d.ownerDocument.defaultView;let E;if(m.constructor===y.CSSStyleSheet)E=m;else{E=new y.CSSStyleSheet;for(let x=0;x<m.cssRules.length;x++)E.insertRule(m.cssRules[x].cssText,x)}Ke?d.adoptedStyleSheets.push(E):d.adoptedStyleSheets=[...d.adoptedStyleSheets,E],b.add(v)}}return v})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&c&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),Zn(e,t,s,n),o&&(o.map((l=>l())),s["s-rc"]=void 0);{const l=(i=s["s-p"])!=null?i:[],r=()=>Jn(e);l.length===0?r():(Promise.all(l).then(r).catch(r),e.i|=4,l.length=0)}},Zn=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Un(e,t,i)}catch(s){ie(s,e.$hostElement$)}return null},Jn=e=>{const t=e.$hostElement$,n=t,i=e.R;ke(n,"componentDidRender",void 0,t),64&e.i?ke(n,"componentDidUpdate",void 0,t):(e.i|=64,ei(t),ke(n,"componentDidLoad",void 0,t),e.L(t),i||Qn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ze((()=>ot(e,!1))),e.i&=-517},Qn=()=>{Ze((()=>Bn(C,"appload",{detail:{namespace:"gids-core-web"}})))},ke=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(s){ie(s,i)}},ei=e=>e.classList.add("hydrated"),Xt=(e,t,n,i)=>{const s=B(e);if(!s)return;const o=e,l=s.l.get(t),r=s.i,a=o;n=Mt(n,i.t[t][0],!!(64&i.i));const c=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!c){if(s.l.set(t,n),i.F){const u=i.F[t];u&&u.map((d=>{try{const[[h,f]]=Object.entries(d);(128&r||1&f)&&(a?a[h](n,l,t):s.T.push((()=>{s.D[h](n,l,t)})))}catch(h){ie(h,o)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,l,t)===!1&&!(16&r))return;16&r||ot(s,!1)}}},ti=(e,t,n)=>{var i,s;const o=e.prototype;64&t.i&&1&n&&Fn.forEach((l=>{const r=o[l];Object.defineProperty(o,l,{value(...a){var c;const u=B(this),d=this;d?typeof r=="function"&&r.call(d,...a):(c=u?.H)==null||c.then((h=>{const f=h[l];typeof f=="function"&&f.call(h,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((i=t.t)!=null?i:{});l.map((([r,[a]])=>{if(31&a||32&a){const{get:c,set:u}=ce(o,r)||{};c&&(t.t[r][0]|=2048),u&&(t.t[r][0]|=4096),Object.defineProperty(o,r,{get(){return c?c.apply(this):(d=r,B(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,r,{set(d){const h=B(this);if(h){if(u)return(32&a?this[r]:h.$hostElement$[r])===void 0&&h.l.get(r)&&(d=h.l.get(r)),u.apply(this,[Mt(d,a,!!(64&t.i))]),void Xt(this,r,d=32&a?this[r]:h.$hostElement$[r],t);Xt(this,r,d,t)}}})}}));{const r=new Map;o.attributeChangedCallback=function(a,c,u){A.jmp((()=>{var d;const h=r.get(a),f=B(this);if(this.hasOwnProperty(h),o.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const b=f?.i;if(f&&b&&!(8&b)&&u!==c){const y=this,E=(d=t.F)==null?void 0:d[a];E?.forEach((x=>{const[[k,S]]=Object.entries(x);y[k]!=null&&(128&b||1&S)&&y[k].call(y,u,c,a)}))}return}const p=l.find((([b])=>b===h)),w=p&&4&p[1][0],v=w&&u===null&&this[h]===void 0;w&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(o,h);v||u==this[h]||m.get&&!m.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...l.filter((([a,c])=>31&c[0])).map((([a,c])=>{var u;const d=c[1]||a;return r.set(d,a),512&c[0]&&((u=t.C)==null||u.push([a,d])),d}))]))}}return e},Le=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Rt(e.F),n.P=e.P,n.U=e.U,n.C=[];const i=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,l)=>{const r={i:0,$hostElement$:o,o:l,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),o["s-p"]=[],o["s-rc"]=[];const a=r;o.__stencil__getHostRef=()=>a,512&l.i&&Tn(o,r)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=B(this);if(!o)return;Zt(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&A.i)){const l=B(o);if(!l)return;const r=l.o;if(1&l.i)Zt(o,l,r.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&r.i&&(a=>{if(!C.document)return;const c=a["s-cr"]=C.document.createComment("");c["s-cn"]=!0,F(a,c,a.firstChild)})(o);{let a=o;for(;a=a.parentNode||a.host;)if(a["s-p"]){Kt(l,l.R=a);break}}r.t&&Object.entries(r.t).map((([a,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(o,a)){const u=o[a];delete o[a],o[a]=u}})),(async(a,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=a.constructor,customElements.whenDefined(a.localName).then((()=>c.i|=128)),d&&d.style)){let p;typeof d.style=="string"&&(p=d.style);const w=Tt(u);Ce.has(w)||((v,m,b)=>{let y=Ce.get(v);Ue&&b?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Ce.set(v,y)})(w,p,!!(1&u.i))}const h=c.R,f=()=>ot(c,!0);h&&h["s-rc"]?h["s-rc"].push(f):f()}catch(h){ie(h,a),c.A&&(c.A(),c.A=void 0),c.L&&c.L(a)}})(o,l,r)}}})(this),i&&i.call(this)},disconnectedCallback(){(async o=>{if(!(1&A.i)){const l=B(o);l?.V&&(l.V.map((r=>r())),l.V=void 0)}Y.has(o)&&Y.delete(o),o.shadowRoot&&Y.has(o.shadowRoot)&&Y.delete(o.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else jn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),ti(e,n,3)}catch(i){return ie(i),e}},Te=(e,t)=>t,Zt=(e,t,n)=>{n&&C.document&&n.map((([i,s,o])=>{const l=ii(C.document,e,i),r=ni(t,o),a=si(i);A.ael(l,s,r,a),(t.V=t.V||[]).push((()=>A.rel(l,s,r,a)))}))},ni=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){ie(i,e.$hostElement$)}},ii=(e,t,n)=>8&n?C:t,si=e=>$n?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function lo(e){return e}const oi=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:n}=e,i=typeof t=="string"&&t.trim().length>0,s=typeof n=="string"&&n.trim().length>0;return{hasLabel:i,hasSupportingText:s}}},Symbol.toStringTag,{value:"Module"})),Fe=64,Jt=10,Qt=Fe/2-Jt/2,li=Fe/2,lt=2*Math.PI*Qt,ri=`0 0 ${Fe} ${Fe}`,ai=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(n,e))/n*100,o=(lt*s/100).toFixed(2),l=(lt-parseFloat(o)).toFixed(2);return`${o} ${l}`},centerPosition:li,circumference:lt,radius:Qt,thickness:Jt,viewBox:ri},Symbol.toStringTag,{value:"Module"})),$e="01",Re=new Date().getDate();new Date().getMonth()+1,new Date().getFullYear();const ci=({startDay:e=$e,endDay:t=`${Re}`})=>{if(!e||e===""||Number(e)===0||!t||t===""||Number(t)===0||Number(e)>=Number(t))return[];const n=Number(e),i=Number(t),s=[];for(let o=n;o<=i;o++){const l=String(o).padStart(2,"0");s.push({id:l,title:l,value:l,disabled:!1})}return s},di=({startDay:e=$e,endDay:t=`${Re}`})=>{const n=ci({startDay:e,endDay:t});let i=[];return n.length>0&&(i=[{sectionId:"dates",sectionLabel:"Dates",menuItems:n}]),i};function en(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=en(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function I(){for(var e,t,n=0,i="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=en(e))&&(i&&(i+=" "),i+=t);return i}const ui=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>I("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),hi=Object.freeze(Object.defineProperty({__proto__:null,getGidsDayDropdownPickerClassNames:e=>I("gids-day-dropdown-picker",e)},Symbol.toStringTag,{value:"Module"})),pi=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>I("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),fi=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownItemClassNames:e=>I("gids-dropdown-item",e)},Symbol.toStringTag,{value:"Module"})),mi=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuGroupClassNames:({type:e},t)=>I("gids-dropdown-menu-group",{"gids-dropdown-menu-group--default":e==="default","gids-dropdown-menu-group--no-options":e==="no-options","gids-dropdown-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),gi=Object.freeze(Object.defineProperty({__proto__:null,getGidsDropdownMenuClassNames:e=>I("gids-dropdown-menu",e)},Symbol.toStringTag,{value:"Module"})),bi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>I("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:e=>I("gids-dropdown",e)},Symbol.toStringTag,{value:"Module"})),yi=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>I("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),wi=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>I("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),vi=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>I("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),xi=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},n)=>I("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},n)},Symbol.toStringTag,{value:"Module"})),ki=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},i)=>I("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,i)},Symbol.toStringTag,{value:"Module"})),Ei=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>I("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),rt=Symbol("defaultPath"),tn=Symbol("pathSet"),at="gids-asset-paths-set";class Si extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#n(t){return this.#t.get(t)??null}#i=()=>{this.dispatchEvent(new Event(at))};haveAssetPathsBeenSet(){return this.#n(tn)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(rt,t);else{for(const i in t)this.#e(i,t[i]);n&&this.#e(rt,n)}this.#e(tn,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const n=this.#n(t);if(n===null){const i=this.#n(rt);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(at,t,{once:!0}),()=>{this.removeEventListener(at,t)}}}const ct=Symbol.for("GIDS"),_i=()=>(globalThis[ct]===void 0&&(globalThis[ct]={assetPaths:{}}),globalThis[ct]),Ci=e=>{const t=_i().assetPaths;return t[e]===void 0&&(t[e]=new Si),t[e]};function dt(){return Ci("@ganpatiinfo/gids-web-shared")}function Pi(){return dt().haveAssetPathsBeenSet()}function nn(e){return dt().getAssetFilePath(e)}function Ai(e){return dt().onAssetPathsSet(e)}let Di=0;const Oi=(e,t="gids")=>e||`${t}-${Di++}`,Ni=e=>e.type==="hidden",Ii=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Ni(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},{getGidsSpinnerControlClassNames:Li}=ki,{calculateStrokeDasharray:Ti,thickness:sn,radius:on,centerPosition:Me,viewBox:Fi}=ai,ln=({size:e,indeterminate:t,value:n,max:i,...s})=>{let o;return t||(o={strokeDashArray:Ti(n,i||0),strokeDashoffset:"0"}),g("svg",{class:Li({size:e,indeterminate:t,value:n}),viewBox:Fi,...s},g("circle",{class:"gids-spinner-control__track",cx:Me,cy:Me,r:on,"stroke-width":sn}),g("circle",{style:o,class:"gids-spinner-control__progress",cx:Me,cy:Me,r:on,"stroke-width":sn}))},{getGidsSpinnerClassNames:$i}=Ei,{getElementVisibility:Ri}=oi,Mi=({label:e,supportingText:t,size:n,indeterminate:i,value:s,max:o,class:l,...r})=>{const{hasLabel:a,hasSupportingText:c}=Ri({label:e,supportingText:t});return g("span",{class:$i({size:n},l),...r},g(ln,{size:n,indeterminate:i,value:s,max:o}),a&&g("span",{class:"gids-spinner__label"},e),c&&g("span",{class:"gids-spinner__supporting-text"},t))},rn={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind","acorn","address-book","address-book-tabs","air-traffic-control","airplane","airplane-in-flight","airplane-landing","airplane-takeoff","airplane-taxiing","airplane-tilt","airplay","alarm","alien","align-bottom","align-bottom-simple","align-center-horizontal","align-center-horizontal-simple","align-center-vertical","align-center-vertical-simple","align-left","align-left-simple","align-right","align-right-simple","align-top","align-top-simple","amazon-logo","ambulance","anchor","anchor-simple","android-logo","angle","angular-logo","aperture","app-store-logo","app-window","apple-logo","apple-podcasts-logo","approximate-equals","armchair","arrow-arc-left","arrow-arc-right","arrow-bend-double-up-left","arrow-bend-double-up-right","arrow-bend-down-left","arrow-bend-down-right","arrow-bend-left-down","arrow-bend-left-up","arrow-bend-right-down","arrow-bend-right-up","arrow-bend-up-left","arrow-bend-up-right","arrow-circle-down","arrow-circle-down-left","arrow-circle-down-right","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-up-left","arrow-circle-up-right","arrow-clockwise","arrow-counter-clockwise","arrow-down-left","arrow-down-right","arrow-elbow-down-left","arrow-elbow-down-right","arrow-elbow-left","arrow-elbow-left-down","arrow-elbow-left-up","arrow-elbow-right","arrow-elbow-right-down","arrow-elbow-right-up","arrow-elbow-up-left","arrow-elbow-up-right","arrow-fat-down","arrow-fat-left","arrow-fat-line-down","arrow-fat-line-left","arrow-fat-line-right","arrow-fat-line-up","arrow-fat-lines-down","arrow-fat-lines-left","arrow-fat-lines-right","arrow-fat-lines-up","arrow-fat-right","arrow-fat-up","arrow-line-down","arrow-line-down-left","arrow-line-down-right","arrow-line-left","arrow-line-right","arrow-line-up","arrow-line-up-left","arrow-line-up-right","arrow-square-down","arrow-square-down-left","arrow-square-down-right","arrow-square-in","arrow-square-left","arrow-square-out","arrow-square-right","arrow-square-up","arrow-square-up-left","arrow-square-up-right","arrow-u-down-left","arrow-u-down-right","arrow-u-left-down","arrow-u-left-up","arrow-u-right-down","arrow-u-right-up","arrow-u-up-left","arrow-u-up-right","arrow-up-left","arrow-up-right","arrows-clockwise","arrows-counter-clockwise","arrows-down-up","arrows-horizontal","arrows-in","arrows-in-cardinal","arrows-in-line-horizontal","arrows-in-line-vertical","arrows-in-simple","arrows-left-right","arrows-merge","arrows-out","arrows-out-cardinal","arrows-out-line-horizontal","arrows-out-line-vertical","arrows-out-simple","arrows-split","arrows-vertical","article","article-medium","article-ny-times","asclepius","asterisk","asterisk-simple","at","atom","avocado","axe","baby","baby-carriage","backpack","backspace","bag","bag-simple","balloon","bandaids","bank","barbell","barcode","barn","barricade","baseball","baseball-cap","baseball-helmet","basket","basketball","bathtub","battery-charging","battery-charging-vertical","battery-empty","battery-full","battery-high","battery-low","battery-medium","battery-plus","battery-plus-vertical","battery-vertical-empty","battery-vertical-full","battery-vertical-high","battery-vertical-low","battery-vertical-medium","battery-warning","battery-warning-vertical","beach-ball","beanie","bed","beer-bottle","beer-stein","behance-logo","bell","bell-ringing","bell-simple","bell-simple-ringing","bell-simple-slash","bell-simple-z","bell-slash","bell-z","belt","bezier-curve","bicycle","binary","binoculars","biohazard","bird","blueprint","bluetooth-connected","bluetooth-slash","bluetooth-x","boat","bomb","bone","book","book-bookmark","book-open","book-open-text","book-open-user","bookmark-simple","bookmarks","bookmarks-simple","books","boot","boules","bounding-box","bowl-food","bowl-steam","bowling-ball","box-arrow-down","box-arrow-up","boxing-glove","brackets-angle","brackets-curly","brackets-round","brackets-square","brain","brandy","bread","bridge","briefcase","briefcase-metal","broadcast","broom","browser","browsers","bug","bug-beetle","bug-droid","building","building-apartment","building-office","buildings","bulldozer","bus","butterfly","cable-car","cactus","cake","calculator","calendar-blank","calendar-check","calendar-dot","calendar-dots","calendar-heart","calendar-minus","calendar-plus","calendar-slash","calendar-star","calendar-x","call-bell","camera-plus","camera-rotate","camera-slash","campfire","car","car-battery","car-profile","car-simple","cardholder","cards","cards-three","caret-circle-double-down","caret-circle-double-left","caret-circle-double-right","caret-circle-double-up","caret-circle-down","caret-circle-left","caret-circle-right","caret-circle-up","caret-circle-up-down","caret-double-down","caret-double-left","caret-double-right","caret-double-up","caret-down","caret-left","caret-line-down","caret-line-left","caret-line-right","caret-line-up","caret-right","caret-up","caret-up-down","carrot","cash-register","cassette-tape","castle-turret","cat","cell-signal-full","cell-signal-high","cell-signal-low","cell-signal-medium","cell-signal-none","cell-signal-slash","cell-signal-x","cell-tower","certificate","chair","chalkboard","chalkboard-simple","chalkboard-teacher","champagne","charging-station","chart-bar","chart-bar-horizontal","chart-donut","chart-line","chart-line-down","chart-line-up","chart-pie","chart-pie-slice","chart-polar","chart-scatter","chat-centered","chat-centered-dots","chat-centered-slash","chat-centered-text","chat-circle","chat-circle-dots","chat-circle-slash","chat-circle-text","chat-dots","chat-slash","chat-teardrop","chat-teardrop-dots","chat-teardrop-slash","chat-teardrop-text","chat-text","chats","chats-circle","chats-teardrop","check","check-circle","check-fat","check-square","check-square-offset","checkerboard","checks","cheers","cheese","chef-hat","cherries","church","cigarette","cigarette-slash","circle","circle-dashed","circle-half","circle-half-tilt","circle-notch","circles-four","circles-three","circles-three-plus","circuitry","city","clipboard","clipboard-text","clock","clock-afternoon","clock-clockwise","clock-countdown","clock-counter-clockwise","clock-user","closed-captioning","cloud-arrow-down","cloud-arrow-up","cloud-check","cloud-fog","cloud-lightning","cloud-moon","cloud-rain","cloud-slash","cloud-snow","cloud-sun","cloud-warning","cloud-x","clover","club","coat-hanger","coda-logo","code-block","code-simple","codepen-logo","codesandbox-logo","coffee","coffee-bean","coin","coin-vertical","coins","columns","columns-plus-left","columns-plus-right","command","compass-rose","compass-tool","computer-tower","confetti","contactless-payment","control","cookie","cooking-pot","copy-simple","copyleft","copyright","corners-in","corners-out","couch","court-basketball","cow","cowboy-hat","cpu","crane","crane-tower","credit-card","cricket","crop","crosshair","crosshair-simple","crown","crown-cross","crown-simple","cube","cube-focus","cube-transparent","currency-btc","currency-circle-dollar","currency-cny","currency-dollar","currency-dollar-simple","currency-eth","currency-eur","currency-gbp","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-ngn","currency-rub","cursor","cursor-click","cursor-text","cylinder","database","desk","desktop-tower","detective","dev-to-logo","device-mobile","device-mobile-camera","device-mobile-slash","device-mobile-speaker","device-rotate","device-tablet","device-tablet-camera","device-tablet-speaker","devices","diamond","diamonds-four","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","disc","disco-ball","discord-logo","divide","dna","dog","door","door-open","dot","dot-outline","dots-nine","dots-six","dots-six-vertical","dots-three","dots-three-circle","dots-three-circle-vertical","dots-three-outline","dots-three-outline-vertical","dots-three-vertical","download-simple","dress","dresser","dribbble-logo","drone","drop","drop-half","drop-half-bottom","drop-simple","drop-slash","dropbox-logo","ear","ear-slash","egg","egg-crack","eject","eject-simple","elevator","empty","engine","envelope","envelope-open","envelope-simple","envelope-simple-open","equalizer","equals","eraser","escalator-down","escalator-up","exam","exclamation-mark","exclude","exclude-square","export","eye-closed","eye-slash","eyedropper","eyedropper-sample","eyeglasses","eyes","face-mask","facebook-logo","factory","faders","faders-horizontal","fallout-shelter","fan","farm","fast-forward","fast-forward-circle","feather","fediverse-logo","figma-logo","file","file-archive","file-arrow-down","file-arrow-up","file-audio","file-c","file-c-sharp","file-cloud","file-code","file-cpp","file-css","file-csv","file-dashed","file-doc","file-html","file-image","file-ini","file-jpg","file-js","file-jsx","file-lock","file-magnifying-glass","file-md","file-minus","file-pdf","file-plus","file-png","file-ppt","file-py","file-rs","file-sql","file-svg","file-text","file-ts","file-tsx","file-txt","file-video","file-vue","file-x","file-xls","file-zip","files","film-reel","film-script","film-slate","film-strip","fingerprint-simple","finn-the-human","fire","fire-extinguisher","fire-simple","fire-truck","first-aid","first-aid-kit","fish","fish-simple","flag-banner","flag-banner-fold","flag-checkered","flag-pennant","flame","flashlight","flask","flip-horizontal","flip-vertical","floppy-disk","floppy-disk-back","flow-arrow","flower","flower-lotus","flower-tulip","flying-saucer","folder-dashed","folder-lock","folder-minus","folder-open","folder-plus","folder-simple","folder-simple-dashed","folder-simple-lock","folder-simple-minus","folder-simple-plus","folder-simple-star","folder-simple-user","folder-star","folder-user","folders","football","football-helmet","footprints","fork-knife","four-k","frame-corners","framer-logo","function","funnel","funnel-simple","funnel-simple-x","funnel-x","game-controller","garage","gas-can","gas-pump","gauge","gavel","gear","gear-fine","gear-six","gender-female","gender-intersex","gender-male","gender-neuter","gender-nonbinary","gender-transgender","ghost","gif","git-branch","git-commit","git-diff","git-fork","git-merge","git-pull-request","github-logo","gitlab-logo","gitlab-logo-simple","globe-hemisphere-east","globe-hemisphere-west","globe-simple","globe-simple-x","globe-stand","globe-x","goggles","golf","goodreads-logo","google-cardboard-logo","google-chrome-logo","google-drive-logo","google-logo","google-photos-logo","google-play-logo","google-podcasts-logo","gps","gps-fix","gps-slash","gradient","graduation-cap","grains","grains-slash","graph","graphics-card","greater-than","greater-than-or-equal","grid-four","grid-nine","guitar","hair-dryer","hamburger","hammer","hand","hand-arrow-down","hand-arrow-up","hand-coins","hand-deposit","hand-eye","hand-fist","hand-grabbing","hand-heart","hand-palm","hand-peace","hand-pointing","hand-soap","hand-swipe-left","hand-swipe-right","hand-tap","hand-waving","hand-withdraw","handbag","handbag-simple","hands-clapping","hands-praying","handshake","hard-drive","hard-drives","hard-hat","hash","hash-straight","head-circuit","headlights","headset","heart","heart-break","heart-half","heart-straight","heart-straight-break","heartbeat","hexagon","high-definition","high-heel","highlighter","highlighter-circle","hockey","hoodie","horse","hospital","hourglass","hourglass-high","hourglass-low","hourglass-medium","hourglass-simple","hourglass-simple-high","hourglass-simple-low","hourglass-simple-medium","house","house-line","house-simple","hurricane","ice-cream","identification-badge","identification-card","image-broken","image-square","images","images-square","infinity","info","instagram-logo","intersect","intersect-square","intersect-three","intersection","invoice","island","jar","jar-label","jeep","joystick","kanban","key-return","keyboard","keyhole","knife","ladder","ladder-simple","lamp","lamp-pendant","laptop","lasso","lastfm-logo","layout","leaf","lectern","lego","lego-smiley","less-than","less-than-or-equal","letter-circle-h","letter-circle-p","letter-circle-v","lifebuoy","lightbulb","lightbulb-filament","lighthouse","lightning","lightning-a","lightning-slash","line-segment","line-segments","line-vertical","link-break","link-simple","link-simple-break","link-simple-horizontal","link-simple-horizontal-break","linkedin-logo","linktree-logo","linux-logo","list-bullets","list-checks","list-dashes","list-heart","list-magnifying-glass","list-numbers","list-plus","list-star","lock-key","lock-key-open","lock-laminated","lock-laminated-open","lock-open","lock-simple","lock-simple-open","lockers","log","magic-wand","magnet","magnet-straight","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","mailbox","map-pin","map-pin-area","map-pin-line","map-pin-plus","map-pin-simple","map-pin-simple-area","map-pin-simple-line","map-trifold","markdown-logo","marker-circle","martini","mask-happy","mask-sad","mastodon-logo","math-operations","matrix-logo","medal","medal-military","medium-logo","megaphone","megaphone-simple","member-of","memory","messenger-logo","meta-logo","meteor","metronome","microphone-slash","microphone-stage","microscope","microsoft-excel-logo","microsoft-outlook-logo","microsoft-powerpoint-logo","microsoft-teams-logo","microsoft-word-logo","minus-circle","minus-square","money","money-wavy","monitor","monitor-arrow-up","monitor-play","moon-stars","moped","moped-front","mosque","motorcycle","mountains","mouse","mouse-left-click","mouse-middle-click","mouse-right-click","mouse-scroll","mouse-simple","music-note","music-note-simple","music-notes","music-notes-minus","music-notes-plus","music-notes-simple","navigation-arrow","needle","network-slash","network-x","newspaper","newspaper-clipping","not-equals","not-member-of","not-subset-of","not-superset-of","notches","note","note-blank","note-pencil","notebook","notepad","notification","notion-logo","nuclear-plant","number-circle-eight","number-circle-five","number-circle-four","number-circle-nine","number-circle-one","number-circle-seven","number-circle-six","number-circle-three","number-circle-two","number-circle-zero","number-eight","number-five","number-four","number-nine","number-one","number-seven","number-six","number-square-eight","number-square-five","number-square-four","number-square-nine","number-square-one","number-square-seven","number-square-six","number-square-three","number-square-two","number-square-zero","number-three","number-two","number-zero","numpad","nut","ny-times-logo","octagon","office-chair","onigiri","open-ai-logo","option","orange","orange-slice","oven","package","paint-brush","paint-brush-broad","paint-brush-household","paint-bucket","paint-roller","palette","panorama","pants","paper-plane","paper-plane-right","paper-plane-tilt","paperclip","paperclip-horizontal","parachute","paragraph","parallelogram","park","password","path","patreon-logo","pause-circle","paw-print","paypal-logo","peace","pen","pen-nib","pen-nib-straight","pencil","pencil-circle","pencil-line","pencil-ruler","pencil-simple","pencil-simple-line","pencil-simple-slash","pencil-slash","pentagon","pentagram","pepper","person","person-arms-spread","person-simple","person-simple-bike","person-simple-circle","person-simple-hike","person-simple-run","person-simple-ski","person-simple-snowboard","person-simple-swim","person-simple-tai-chi","person-simple-throw","person-simple-walk","perspective","phone-call","phone-disconnect","phone-incoming","phone-list","phone-outgoing","phone-pause","phone-plus","phone-slash","phone-transfer","phone-x","phosphor-logo","pi","piano-keys","picnic-table","picture-in-picture","piggy-bank","pill","ping-pong","pint-glass","pinterest-logo","pinwheel","pipe","pipe-wrench","pix-logo","pizza","planet","plant","play-circle","play-pause","playlist","plug","plug-charging","plugs","plugs-connected","plus-circle","plus-minus","plus-square","poker-chip","police-car","polygon","popcorn","popsicle","potted-plant","prescription","presentation","presentation-chart","prohibit","prohibit-inset","projector-screen","projector-screen-chart","pulse","push-pin","push-pin-simple","push-pin-simple-slash","push-pin-slash","puzzle-piece","qr-code","question-mark","queue","quotes","rabbit","racquet","radical","radio","radio-button","radioactive","rainbow","rainbow-cloud","ranking","read-cv-logo","receipt","receipt-x","record","rectangle","rectangle-dashed","recycle","reddit-logo","repeat-once","replit-logo","resize","rewind","rewind-circle","road-horizon","robot","rocket","rocket-launch","rows","rows-plus-bottom","rows-plus-top","rss","rss-simple","rug","ruler","sailboat","scales","scan","scan-smiley","scissors","scooter","screencast","screwdriver","scribble","scribble-loop","scroll","seal","seal-check","seal-percent","seal-question","seal-warning","seat","seatbelt","security-camera","selection","selection-all","selection-background","selection-foreground","selection-inverse","selection-plus","selection-slash","shapes","share-fat","share-network","shield-check","shield-checkered","shield-chevron","shield-plus","shield-slash","shield-star","shield-warning","shipping-container","shirt-folded","shooting-star","shopping-bag","shopping-bag-open","shopping-cart","shopping-cart-simple","shovel","shower","shrimp","shuffle-angular","shuffle-simple","sidebar","sidebar-simple","sigma","sign-in","sign-out","signature","signpost","sim-card","siren","sketch-logo","skip-back","skip-back-circle","skip-forward","skip-forward-circle","skull","skype-logo","slack-logo","sliders","sliders-horizontal","slideshow","smiley","smiley-angry","smiley-blank","smiley-meh","smiley-melting","smiley-nervous","smiley-sad","smiley-sticker","smiley-wink","smiley-x-eyes","snapchat-logo","sneaker","sneaker-move","snowflake","soccer-ball","sock","solar-panel","solar-roof","sort-ascending","sort-descending","soundcloud-logo","spade","sparkle","speaker-hifi","speaker-high","speaker-low","speaker-none","speaker-simple-high","speaker-simple-low","speaker-simple-none","speaker-simple-slash","speaker-simple-x","speaker-slash","speaker-x","speedometer","sphere","spinner","spinner-ball","spinner-gap","spiral","split-horizontal","split-vertical","spotify-logo","spray-bottle","square","square-half","square-half-bottom","square-logo","square-split-horizontal","square-split-vertical","squares-four","stack","stack-minus","stack-overflow-logo","stack-plus","stack-simple","stairs","stamp","standard-definition","star-and-crescent","star-four","star-half","star-of-david","steam-logo","steering-wheel","steps","stethoscope","sticker","stool","stop-circle","storefront","strategy","stripe-logo","student","subset-of","subset-proper-of","subtitles","subtitles-slash","subtract","subtract-square","subway","suitcase","suitcase-rolling","suitcase-simple","sun-dim","sun-horizon","sunglasses","superset-of","superset-proper-of","swap","swatches","swimming-pool","sword","synagogue","syringe","t-shirt","table","tabs","tag","tag-chevron","tag-simple","target","taxi","tea-bag","telegram-logo","television","television-simple","tennis-ball","tent","terminal","terminal-window","test-tube","text-a-underline","text-aa","text-align-center","text-align-justify","text-align-left","text-align-right","text-b","text-columns","text-h","text-h-five","text-h-four","text-h-one","text-h-six","text-h-three","text-h-two","text-indent","text-italic","text-outdent","text-strikethrough","text-subscript","text-superscript","text-t","text-t-slash","text-underline","textbox","thermometer","thermometer-cold","thermometer-hot","thermometer-simple","threads-logo","three-d","ticket","tidal-logo","tiktok-logo","tilde","timer","tip-jar","tipi","tire","toggle-left","toggle-right","toilet","toilet-paper","toolbox","tooth","tornado","tote","tote-simple","towel","tractor","trademark","trademark-registered","traffic-cone","traffic-sign","traffic-signal","train","train-regional","train-simple","tram","translate","trash","trash-simple","tray","tray-arrow-down","tray-arrow-up","treasure-chest","tree","tree-evergreen","tree-palm","tree-structure","tree-view","triangle","triangle-dashed","trolley","trolley-suitcase","trophy","truck","truck-trailer","tumblr-logo","twitch-logo","twitter-logo","umbrella","umbrella-simple","union","unite","unite-square","upload-simple","usb","user-check","user-circle","user-circle-check","user-circle-dashed","user-circle-gear","user-circle-minus","user-circle-plus","user-focus","user-gear","user-list","user-minus","user-plus","user-rectangle","user-sound","user-square","user-switch","users-four","users-three","van","vault","vector-three","vector-two","vibrate","video-camera","video-camera-slash","video-conference","vignette","vinyl-record","virtual-reality","virus","visor","voicemail","volleyball","wall","warehouse","warning-circle","warning-diamond","warning-octagon","washing-machine","watch","wave-sawtooth","wave-sine","wave-square","wave-triangle","waveform","waveform-slash","waves","webcam","webcam-slash","webhooks-logo","wechat-logo","whatsapp-logo","wheelchair","wheelchair-motion","wifi-high","wifi-low","wifi-medium","wifi-none","wifi-slash","wifi-x","windmill","windows-logo","wine","wrench","x","x-circle","x-logo","x-square","yarn","yin-yang","youtube-logo"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},an=new Map;for(const e in rn)for(const t of rn[e])an.set(t,e);function ji(e){return an.get(e)}function cn(e,t="regular",n){const i=ji(e);let s=i??"";return n&&i&&(s=n(i)??i),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Vi}=vi,ue=({name:e,size:t,appearance:n,alt:i,class:s,titleId:o,src:l,...r})=>{const a=Oi(o);let c=l;return c===void 0&&Pi()&&(c=cn(e,n,nn)),g("svg",{ref:u=>{c===void 0&&Ai((()=>{(function(d,h,f){if(!d)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",cn(h,f,nn)),d.appendChild(p)})(u,e,n)}))},width:"16",height:"16",class:Vi({size:t},s),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...r},i!==""&&g("title",{id:a},i||e),c!==void 0?g("use",{href:c}):null)},{getGidsDividerClassNames:qi}=pi,zi=({orientation:e})=>g("hr",{class:qi({orientation:e})}),{getGidsButtonGroupClassNames:Bi}=ui,Wi=({layout:e,class:t},n)=>g("span",{class:Bi({layout:e},t)},n),{getGidsHeadingClassNames:Gi,getGidsHeadingSupportingTextTypographyClass:Hi}=wi,Ui=({heading:e,supportingText:t,level:n="section",children:i,supportingTextTypography:s,class:o})=>g("div",{class:Gi(o)},g("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?g("span",{class:n==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?g("span",{class:`${n==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${Hi(s)}`},t):null:t:null),i?g(Wi,{layout:"wrap"},i):null),{getGidsEditButtonClassNames:Ki}=yi,Yi=({disabled:e,children:t,size:n="md",editButtonType:i="add",onPressEditButton:s,class:o,...l})=>g("button",{class:Ki({size:n},o),...l,onClick:s,disabled:e},i==="custom"&&t?g("div",null,t):i==="add"?g("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},g(ue,{name:"add",appearance:"filled",size:n})):i==="remove"?g("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},g(ue,{appearance:"filled",name:"remove",size:n})):void 0),{getGidsListItemClassNames:Xi}=xi,Zi=({id:e,value:t,index:n,defaultSelected:i,disabled:s,selected:o,editButton:l,onPressEditButton:r,onPressListItem:a,leadingAccessory:c,leadingSupport:u,leadingParagraph:d,trailingContent:h,trailingAccessory:f,trailingSupport:p,trailingParagraph:w,divider:v,role:m="list-item-option",isPlaceholderItem:b,class:y,...E},x)=>{const k=o||i;return g("button",{type:"button",id:e,class:Xi({selected:k,disabled:s},y),role:m,"aria-selected":k?"true":"false",disabled:s,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const S=x;return S?(Array.isArray(S)?S:[S]).map((_=>typeof _=="string"||typeof _=="number"?String(_):_&&typeof _=="object"&&"text"in _?_.text??"":"")).join("").trim():""})(),tabIndex:n,onClick:S=>{const _=S.currentTarget;if(!_||S.defaultPrevented||_.disabled)return;const P=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:n,defaultSelected:i,isPlaceholderItem:b}});a?.(P)},"is-placeholder-item":b?"true":"false",...E},g("div",{class:"gids-list-item__main-container"},l==null||l==="none"||s?null:g(Yi,{size:"md",editButtonType:l,onPressEditButton:r}),c!=null?g("div",{class:s?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},c):null,g("div",{class:"gids-list-item__middle-content-container"},g("div",{class:"gids-list-item__leading-content-container"},g(Te,null,x!=null?g("span",{class:s?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},x):null,g("div",{class:"gids-list-item__leading-support-content"},u!=null?typeof u=="string"?g("p",{class:s?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},u):u:null,d!=null?typeof d=="string"?g("p",{class:s?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},d):d:null))),g("div",{class:"gids-list-item__trailing-content-container"},g(Te,null,h!=null?typeof h=="string"?g("span",{class:s?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},h):h:null,g("div",{class:"gids-list-item__trailing-support-content"},p!=null?typeof p=="string"?g("p",{class:s?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},p):p:null,w!=null?typeof w=="string"?g("p",{class:s?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},w):w:null)))),k?g("div",{class:s?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},g(ue,{name:"checkmark",size:"md",appearance:"regular"})):null,k||f==null?null:g("div",{class:s?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f)),v&&!k?g("div",{class:"gids-list-item__divider"},g(zi,{orientation:"horizontal"})):null)},{getGidsDropdownMenuGroupClassNames:Ji}=mi,Qi=({type:e="no-options",supportingText:t="No options",class:n,...i},s)=>g("div",{class:Ji({type:e},n),...i},e==="loading"?g(Mi,{indeterminate:!0,size:"md"}):null,e==="no-options"?g("span",null,t):null,e==="default"&&s!=null?s:null),{getGidsDropdownMenuClassNames:es}=gi,ts=({sectionLabel:e,class:t,...n},i)=>g("div",{class:es(t),...n},e!=null&&e!==""?g(Ui,{supportingText:e,supportingTextTypography:"eyebrow-medium"}):null,i!=null?g("div",{class:"gids-dropdown-menu__children"},i):null),{getGidsDropdownItemClassNames:ns}=fi,is=({id:e,title:t,class:n,selected:i=!1,disabled:s=!1,role:o="list-item-option",value:l,name:r,onPressDropdownItem:a,index:c,defaultSelected:u,leadingAccessory:d,divider:h,isPlaceholderItem:f,...p})=>{const w=ns(typeof n=="string"?n:void 0);return g(Zi,{id:e,index:c??0,defaultSelected:u,selected:i,disabled:s,role:o,value:l,name:r,leadingAccessory:d,class:w,onPressListItem:v=>{if(v.defaultPrevented)return;const m=new CustomEvent("onPressDropdownItem",{bubbles:!0,composed:!0,detail:{id:e,title:t,value:l,disabled:s,selectedIndex:c,defaultSelected:u,isPlaceholderItem:f}});a?.(m)},divider:h,isPlaceholderItem:f,...p},t)},X=Math.min,L=Math.max,je=Math.round,Ve=Math.floor,V=e=>({x:e,y:e}),ss={left:"right",right:"left",bottom:"top",top:"bottom"};function ut(e,t,n){return L(e,X(t,n))}function he(e,t){return typeof e=="function"?e(t):e}function Z(e){return e.split("-")[0]}function pe(e){return e.split("-")[1]}function dn(e){return e==="x"?"y":"x"}function ht(e){return e==="y"?"height":"width"}function G(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function pt(e){return dn(G(e))}function os(e,t,n){n===void 0&&(n=!1);const i=pe(e),s=pt(e),o=ht(s);let l=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=qe(l)),[l,qe(l)]}function ls(e){const t=qe(e);return[ft(e),t,ft(t)]}function ft(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const un=["left","right"],hn=["right","left"],rs=["top","bottom"],as=["bottom","top"];function cs(e,t,n){switch(e){case"top":case"bottom":return n?t?hn:un:t?un:hn;case"left":case"right":return t?rs:as;default:return[]}}function ds(e,t,n,i){const s=pe(e);let o=cs(Z(e),n==="start",i);return s&&(o=o.map(l=>l+"-"+s),t&&(o=o.concat(o.map(ft)))),o}function qe(e){const t=Z(e);return ss[t]+e.slice(t.length)}function us(e){return{top:0,right:0,bottom:0,left:0,...e}}function pn(e){return typeof e!="number"?us(e):{top:e,right:e,bottom:e,left:e}}function ze(e){const{x:t,y:n,width:i,height:s}=e;return{width:i,height:s,top:n,left:t,right:t+i,bottom:n+s,x:t,y:n}}function fn(e,t,n){let{reference:i,floating:s}=e;const o=G(t),l=pt(t),r=ht(l),a=Z(t),c=o==="y",u=i.x+i.width/2-s.width/2,d=i.y+i.height/2-s.height/2,h=i[r]/2-s[r]/2;let f;switch(a){case"top":f={x:u,y:i.y-s.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:d};break;case"left":f={x:i.x-s.width,y:d};break;default:f={x:i.x,y:i.y}}switch(pe(t)){case"start":f[l]-=h*(n&&c?-1:1);break;case"end":f[l]+=h*(n&&c?-1:1);break}return f}async function hs(e,t){var n;t===void 0&&(t={});const{x:i,y:s,platform:o,rects:l,elements:r,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=he(t,e),p=pn(f),v=r[h?d==="floating"?"reference":"floating":d],m=ze(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(r.floating)),boundary:c,rootBoundary:u,strategy:a})),b=d==="floating"?{x:i,y:s,width:l.floating.width,height:l.floating.height}:l.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(r.floating)),E=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},x=ze(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:b,offsetParent:y,strategy:a}):b);return{top:(m.top-x.top+p.top)/E.y,bottom:(x.bottom-m.bottom+p.bottom)/E.y,left:(m.left-x.left+p.left)/E.x,right:(x.right-m.right+p.right)/E.x}}const ps=50,fs=async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:l}=n,r=l.detectOverflow?l:{...l,detectOverflow:hs},a=await(l.isRTL==null?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:d}=fn(c,i,a),h=i,f=0;const p={};for(let w=0;w<o.length;w++){const v=o[w];if(!v)continue;const{name:m,fn:b}=v,{x:y,y:E,data:x,reset:k}=await b({x:u,y:d,initialPlacement:i,placement:h,strategy:s,middlewareData:p,rects:c,platform:r,elements:{reference:e,floating:t}});u=y??u,d=E??d,p[m]={...p[m],...x},k&&f<ps&&(f++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(c=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:s}):k.rects),{x:u,y:d}=fn(c,h,a)),w=-1)}return{x:u,y:d,placement:h,strategy:s,middlewareData:p}},ms=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:o,platform:l,elements:r,middlewareData:a}=t,{element:c,padding:u=0}=he(e,t)||{};if(c==null)return{};const d=pn(u),h={x:n,y:i},f=pt(s),p=ht(f),w=await l.getDimensions(c),v=f==="y",m=v?"top":"left",b=v?"bottom":"right",y=v?"clientHeight":"clientWidth",E=o.reference[p]+o.reference[f]-h[f]-o.floating[p],x=h[f]-o.reference[f],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(c));let S=k?k[y]:0;(!S||!await(l.isElement==null?void 0:l.isElement(k)))&&(S=r.floating[y]||o.floating[p]);const _=E/2-x/2,P=S/2-w[p]/2-1,D=X(d[m],P),Q=X(d[b],P),z=D,ee=S-w[p]-Q,O=S/2-w[p]/2+_,ae=ut(z,O,ee),K=!a.arrow&&pe(s)!=null&&O!==ae&&o.reference[p]/2-(O<z?D:Q)-w[p]/2<0,M=K?O<z?O-z:O-ee:0;return{[f]:h[f]+M,data:{[f]:ae,centerOffset:O-ae-M,...K&&{alignmentOffset:M}},reset:K}}}),gs=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:o,rects:l,initialPlacement:r,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:w=!0,...v}=he(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=Z(s),b=G(r),y=Z(r)===r,E=await(a.isRTL==null?void 0:a.isRTL(c.floating)),x=h||(y||!w?[qe(r)]:ls(r)),k=p!=="none";!h&&k&&x.push(...ds(r,w,p,E));const S=[r,...x],_=await a.detectOverflow(t,v),P=[];let D=((i=o.flip)==null?void 0:i.overflows)||[];if(u&&P.push(_[m]),d){const O=os(s,l,E);P.push(_[O[0]],_[O[1]])}if(D=[...D,{placement:s,overflows:P}],!P.every(O=>O<=0)){var Q,z;const O=(((Q=o.flip)==null?void 0:Q.index)||0)+1,ae=S[O];if(ae&&(!(d==="alignment"?b!==G(ae):!1)||D.every(j=>G(j.placement)===b?j.overflows[0]>0:!0)))return{data:{index:O,overflows:D},reset:{placement:ae}};let K=(z=D.filter(M=>M.overflows[0]<=0).sort((M,j)=>M.overflows[1]-j.overflows[1])[0])==null?void 0:z.placement;if(!K)switch(f){case"bestFit":{var ee;const M=(ee=D.filter(j=>{if(k){const te=G(j.placement);return te===b||te==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(te=>te>0).reduce((te,oo)=>te+oo,0)]).sort((j,te)=>j[1]-te[1])[0])==null?void 0:ee[0];M&&(K=M);break}case"initialPlacement":K=r;break}if(s!==K)return{reset:{placement:K}}}return{}}}},bs=new Set(["left","top"]);async function ys(e,t){const{placement:n,platform:i,elements:s}=e,o=await(i.isRTL==null?void 0:i.isRTL(s.floating)),l=Z(n),r=pe(n),a=G(n)==="y",c=bs.has(l)?-1:1,u=o&&a?-1:1,d=he(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:p}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return r&&typeof p=="number"&&(f=r==="end"?p*-1:p),a?{x:f*u,y:h*c}:{x:h*c,y:f*u}}const ws=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:o,placement:l,middlewareData:r}=t,a=await ys(t,e);return l===((n=r.offset)==null?void 0:n.placement)&&(i=r.arrow)!=null&&i.alignmentOffset?{}:{x:s+a.x,y:o+a.y,data:{...a,placement:l}}}}},vs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s,platform:o}=t,{mainAxis:l=!0,crossAxis:r=!1,limiter:a={fn:m=>{let{x:b,y}=m;return{x:b,y}}},...c}=he(e,t),u={x:n,y:i},d=await o.detectOverflow(t,c),h=G(Z(s)),f=dn(h);let p=u[f],w=u[h];if(l){const m=f==="y"?"top":"left",b=f==="y"?"bottom":"right",y=p+d[m],E=p-d[b];p=ut(y,p,E)}if(r){const m=h==="y"?"top":"left",b=h==="y"?"bottom":"right",y=w+d[m],E=w-d[b];w=ut(y,w,E)}const v=a.fn({...t,[f]:p,[h]:w});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[f]:l,[h]:r}}}}}},xs=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:s,rects:o,platform:l,elements:r}=t,{apply:a=()=>{},...c}=he(e,t),u=await l.detectOverflow(t,c),d=Z(s),h=pe(s),f=G(s)==="y",{width:p,height:w}=o.floating;let v,m;d==="top"||d==="bottom"?(v=d,m=h===(await(l.isRTL==null?void 0:l.isRTL(r.floating))?"start":"end")?"left":"right"):(m=d,v=h==="end"?"top":"bottom");const b=w-u.top-u.bottom,y=p-u.left-u.right,E=X(w-u[v],b),x=X(p-u[m],y),k=!t.middlewareData.shift;let S=E,_=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=y),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(S=b),k&&!h){const D=L(u.left,0),Q=L(u.right,0),z=L(u.top,0),ee=L(u.bottom,0);f?_=p-2*(D!==0||Q!==0?D+Q:L(u.left,u.right)):S=w-2*(z!==0||ee!==0?z+ee:L(u.top,u.bottom))}await a({...t,availableWidth:_,availableHeight:S});const P=await l.getDimensions(r.floating);return p!==P.width||w!==P.height?{reset:{rects:!0}}:{}}}};function Be(){return typeof window<"u"}function fe(e){return mn(e)?(e.nodeName||"").toLowerCase():"#document"}function T(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(mn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mn(e){return Be()?e instanceof Node||e instanceof T(e).Node:!1}function $(e){return Be()?e instanceof Element||e instanceof T(e).Element:!1}function H(e){return Be()?e instanceof HTMLElement||e instanceof T(e).HTMLElement:!1}function gn(e){return!Be()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof T(e).ShadowRoot}function Ee(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&s!=="inline"&&s!=="contents"}function ks(e){return/^(table|td|th)$/.test(fe(e))}function We(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Es=/transform|translate|scale|rotate|perspective|filter/,Ss=/paint|layout|strict|content/,oe=e=>!!e&&e!=="none";let mt;function gt(e){const t=$(e)?R(e):e;return oe(t.transform)||oe(t.translate)||oe(t.scale)||oe(t.rotate)||oe(t.perspective)||!bt()&&(oe(t.backdropFilter)||oe(t.filter))||Es.test(t.willChange||"")||Ss.test(t.contain||"")}function _s(e){let t=J(e);for(;H(t)&&!me(t);){if(gt(t))return t;if(We(t))return null;t=J(t)}return null}function bt(){return mt==null&&(mt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),mt}function me(e){return/^(html|body|#document)$/.test(fe(e))}function R(e){return T(e).getComputedStyle(e)}function Ge(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if(fe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gn(e)&&e.host||q(e);return gn(t)?t.host:t}function bn(e){const t=J(e);return me(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&Ee(t)?t:bn(t)}function Se(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=bn(e),o=s===((i=e.ownerDocument)==null?void 0:i.body),l=T(s);if(o){const r=yt(l);return t.concat(l,l.visualViewport||[],Ee(s)?s:[],r&&n?Se(r):[])}else return t.concat(s,Se(s,[],n))}function yt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yn(e){const t=R(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const s=H(e),o=s?e.offsetWidth:n,l=s?e.offsetHeight:i,r=je(n)!==o||je(i)!==l;return r&&(n=o,i=l),{width:n,height:i,$:r}}function wt(e){return $(e)?e:e.contextElement}function ge(e){const t=wt(e);if(!H(t))return V(1);const n=t.getBoundingClientRect(),{width:i,height:s,$:o}=yn(t);let l=(o?je(n.width):n.width)/i,r=(o?je(n.height):n.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!r||!Number.isFinite(r))&&(r=1),{x:l,y:r}}const Cs=V(0);function wn(e){const t=T(e);return!bt()||!t.visualViewport?Cs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ps(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==T(e)?!1:t}function le(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=wt(e);let l=V(1);t&&(i?$(i)&&(l=ge(i)):l=ge(e));const r=Ps(o,n,i)?wn(o):V(0);let a=(s.left+r.x)/l.x,c=(s.top+r.y)/l.y,u=s.width/l.x,d=s.height/l.y;if(o){const h=T(o),f=i&&$(i)?T(i):i;let p=h,w=yt(p);for(;w&&i&&f!==p;){const v=ge(w),m=w.getBoundingClientRect(),b=R(w),y=m.left+(w.clientLeft+parseFloat(b.paddingLeft))*v.x,E=m.top+(w.clientTop+parseFloat(b.paddingTop))*v.y;a*=v.x,c*=v.y,u*=v.x,d*=v.y,a+=y,c+=E,p=T(w),w=yt(p)}}return ze({width:u,height:d,x:a,y:c})}function He(e,t){const n=Ge(e).scrollLeft;return t?t.left+n:le(q(e)).left+n}function vn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-He(e,n),s=n.top+t.scrollTop;return{x:i,y:s}}function As(e){let{elements:t,rect:n,offsetParent:i,strategy:s}=e;const o=s==="fixed",l=q(i),r=t?We(t.floating):!1;if(i===l||r&&o)return n;let a={scrollLeft:0,scrollTop:0},c=V(1);const u=V(0),d=H(i);if((d||!d&&!o)&&((fe(i)!=="body"||Ee(l))&&(a=Ge(i)),d)){const f=le(i);c=ge(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}const h=l&&!d&&!o?vn(l,a):V(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}}function Ds(e){return Array.from(e.getClientRects())}function Os(e){const t=q(e),n=Ge(e),i=e.ownerDocument.body,s=L(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=L(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let l=-n.scrollLeft+He(e);const r=-n.scrollTop;return R(i).direction==="rtl"&&(l+=L(t.clientWidth,i.clientWidth)-s),{width:s,height:o,x:l,y:r}}const xn=25;function Ns(e,t){const n=T(e),i=q(e),s=n.visualViewport;let o=i.clientWidth,l=i.clientHeight,r=0,a=0;if(s){o=s.width,l=s.height;const u=bt();(!u||u&&t==="fixed")&&(r=s.offsetLeft,a=s.offsetTop)}const c=He(i);if(c<=0){const u=i.ownerDocument,d=u.body,h=getComputedStyle(d),f=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,p=Math.abs(i.clientWidth-d.clientWidth-f);p<=xn&&(o-=p)}else c<=xn&&(o+=c);return{width:o,height:l,x:r,y:a}}function Is(e,t){const n=le(e,!0,t==="fixed"),i=n.top+e.clientTop,s=n.left+e.clientLeft,o=H(e)?ge(e):V(1),l=e.clientWidth*o.x,r=e.clientHeight*o.y,a=s*o.x,c=i*o.y;return{width:l,height:r,x:a,y:c}}function kn(e,t,n){let i;if(t==="viewport")i=Ns(e,n);else if(t==="document")i=Os(q(e));else if($(t))i=Is(t,n);else{const s=wn(e);i={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ze(i)}function En(e,t){const n=J(e);return n===t||!$(n)||me(n)?!1:R(n).position==="fixed"||En(n,t)}function Ls(e,t){const n=t.get(e);if(n)return n;let i=Se(e,[],!1).filter(r=>$(r)&&fe(r)!=="body"),s=null;const o=R(e).position==="fixed";let l=o?J(e):e;for(;$(l)&&!me(l);){const r=R(l),a=gt(l);!a&&r.position==="fixed"&&(s=null),(o?!a&&!s:!a&&r.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||Ee(l)&&!a&&En(e,l))?i=i.filter(u=>u!==l):s=r,l=J(l)}return t.set(e,i),i}function Ts(e){let{element:t,boundary:n,rootBoundary:i,strategy:s}=e;const l=[...n==="clippingAncestors"?We(t)?[]:Ls(t,this._c):[].concat(n),i],r=kn(t,l[0],s);let a=r.top,c=r.right,u=r.bottom,d=r.left;for(let h=1;h<l.length;h++){const f=kn(t,l[h],s);a=L(f.top,a),c=X(f.right,c),u=X(f.bottom,u),d=L(f.left,d)}return{width:c-d,height:u-a,x:d,y:a}}function Fs(e){const{width:t,height:n}=yn(e);return{width:t,height:n}}function $s(e,t,n){const i=H(t),s=q(t),o=n==="fixed",l=le(e,!0,o,t);let r={scrollLeft:0,scrollTop:0};const a=V(0);function c(){a.x=He(s)}if(i||!i&&!o)if((fe(t)!=="body"||Ee(s))&&(r=Ge(t)),i){const f=le(t,!0,o,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else s&&c();o&&!i&&s&&c();const u=s&&!i&&!o?vn(s,r):V(0),d=l.left+r.scrollLeft-a.x-u.x,h=l.top+r.scrollTop-a.y-u.y;return{x:d,y:h,width:l.width,height:l.height}}function vt(e){return R(e).position==="static"}function Sn(e,t){if(!H(e)||R(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function _n(e,t){const n=T(e);if(We(e))return n;if(!H(e)){let s=J(e);for(;s&&!me(s);){if($(s)&&!vt(s))return s;s=J(s)}return n}let i=Sn(e,t);for(;i&&ks(i)&&vt(i);)i=Sn(i,t);return i&&me(i)&&vt(i)&&!gt(i)?n:i||_s(e)||n}const Rs=async function(e){const t=this.getOffsetParent||_n,n=this.getDimensions,i=await n(e.floating);return{reference:$s(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ms(e){return R(e).direction==="rtl"}const xt={convertOffsetParentRelativeRectToViewportRelativeRect:As,getDocumentElement:q,getClippingRect:Ts,getOffsetParent:_n,getElementRects:Rs,getClientRects:Ds,getDimensions:Fs,getScale:ge,isElement:$,isRTL:Ms};function Cn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function js(e,t){let n=null,i;const s=q(e);function o(){var r;clearTimeout(i),(r=n)==null||r.disconnect(),n=null}function l(r,a){r===void 0&&(r=!1),a===void 0&&(a=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:f}=c;if(r||t(),!h||!f)return;const p=Ve(d),w=Ve(s.clientWidth-(u+h)),v=Ve(s.clientHeight-(d+f)),m=Ve(u),y={rootMargin:-p+"px "+-w+"px "+-v+"px "+-m+"px",threshold:L(0,X(1,a))||1};let E=!0;function x(k){const S=k[0].intersectionRatio;if(S!==a){if(!E)return l();S?l(!1,S):i=setTimeout(()=>{l(!1,1e-7)},1e3)}S===1&&!Cn(c,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(x,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(x,y)}n.observe(e)}return l(!0),o}function Vs(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,c=wt(e),u=s||o?[...c?Se(c):[],...t?Se(t):[]]:[];u.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const d=c&&r?js(c,n):null;let h=-1,f=null;l&&(f=new ResizeObserver(m=>{let[b]=m;b&&b.target===c&&f&&t&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(t)})),n()}),c&&!a&&f.observe(c),t&&f.observe(t));let p,w=a?le(e):null;a&&v();function v(){const m=le(e);w&&!Cn(w,m)&&n(),w=m,p=requestAnimationFrame(v)}return n(),()=>{var m;u.forEach(b=>{s&&b.removeEventListener("scroll",n),o&&b.removeEventListener("resize",n)}),d?.(),(m=f)==null||m.disconnect(),f=null,a&&cancelAnimationFrame(p)}}const qs=ws,zs=vs,Bs=gs,Pn=xs,Ws=ms,Gs=(e,t,n)=>{const i=new Map,s={platform:xt,...n},o={...s.platform,_c:i};return fs(e,t,{...s,platform:o})};function An(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const Hs=/transform|translate|scale|rotate|perspective|filter/,Us=/paint|layout|strict|content/,re=e=>!!e&&e!=="none";let kt;function Ks(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof An(n).Element)?An(i=e).getComputedStyle(i):e);var n,i;return re(t.transform)||re(t.translate)||re(t.scale)||re(t.rotate)||re(t.perspective)||(kt==null&&(kt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!kt&&(re(t.backdropFilter)||re(t.filter)))||Hs.test(t.willChange||"")||Us.test(t.contain||"")}function Ys(e){return(function(t){for(let n=t;n;n=Et(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=Et(t);n;n=Et(n)){if(!(n instanceof Element))continue;const i=getComputedStyle(n);if(i.display!=="contents"&&(i.position!=="static"||Ks(i)||n.tagName==="BODY"))return n}return null})(e)}function Et(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var _e;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(_e||(_e={}));let Xs=(U=class{constructor(t,n){this.el=t,this.config=n,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=n.placement,this.cleanup=null}getRootElement(){return this.el.shadowRoot??this.el}initialize(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250;const t=this.getRootElement();this.floatingElement=t.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?t.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(t):this.el.shadowRoot?this.config.getAnchorElementFromSlot(this.el.shadowRoot):null,this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&(this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=Vs(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=this.config.offset??this.offset,n=[qs(t)],i=this.config.lockToMainAxis??!1,s=this.config.constrainPlacements,o=s&&s.length>0?s.includes(this.config.placement)?this.config.placement:s[0]:this.config.placement,l=Bs(s&&s.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:s.filter((c=>c!==o)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!i&&"alignment",fallbackAxisSideDirection:"end",padding:t}),r=this.config.elementType===_e.POPOVER,a=zs({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===_e.TOOLTIP||r&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(Pn({apply({elements:c,rects:u}){Object.assign(c.floating.style,{width:`${u.reference.width}px`})}})),o?.includes("-")?n.push(l,a):n.push(a,l),this.config.constrainToViewportHeight&&n.push(Pn({padding:t,apply:({availableHeight:c,elements:u})=>{const d=Array.from(u.floating.children).find((h=>h!==this.arrowEl));d instanceof HTMLElement&&Object.assign(d.style,{maxHeight:`${Math.max(0,c)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(Ws({element:this.arrowEl,padding:t})),Gs(this.anchorElement,this.floatingElement,{placement:o,strategy:"fixed",middleware:n,platform:{...xt,getOffsetParent:c=>xt.getOffsetParent(c,Ys)}}).then((({x:c,y:u,middlewareData:d,placement:h})=>{if(r){const v=h.startsWith("left")||h.startsWith("right"),m=h.startsWith("top")||h.startsWith("bottom"),b=this.isAnchorInViewport(),y=!!m||(v?b:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=h,Object.assign(this.floatingElement.style,{left:`${c}px`,top:`${u}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=h.split("-")[0]??"bottom",p={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(d.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:m,y:b}=d.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:b!==null?`${b}px`:"",right:"",bottom:"",[p]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(t,10),i=Number.isNaN(n)?-1:n-1,s=Number.isNaN(n)?i+1:n;return Number.isNaN(s)||(this.floatingElement.style.zIndex=`${s}`),Array.from(this.floatingElement.children).forEach((o=>{if(!(o instanceof HTMLElement)||o===this.arrowEl)return;const l=o.style.zIndex||(window.getComputedStyle?.(o).zIndex??""),r=Number.parseInt(l,10),a=window.getComputedStyle?.(o).position??"";(l===""||l==="auto"||Number.isNaN(r)||r<s)&&(o.style.zIndex=`${s}`,a!==""&&a!=="static"||(o.style.position="relative"))})),{contentZIndex:s,arrowZIndex:i}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),U.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=U.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),U.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,i=window.innerWidth||document.documentElement?.clientWidth||0,s=t.height/2+2*this.offset;return t.bottom>=s&&t.top<=n-s&&t.right>=0&&t.left<=i}},U.currentFloatingElements=new Map,U);const Zs=Le(class extends ye{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.constrainPlacements=["bottom","top"],this.matchReferenceWidth=!0,this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const n=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!n&&this.floatingElementManager.isVisible()?this.onFlyoutPanelShow():n&&!this.floatingElementManager.isVisible()&&this.onFlyoutPanelHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onFlyoutPanelHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onFlyoutPanelHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new Xs(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:_e.FLYOUT_PANEL,constrainPlacements:this?.constrainPlacements??["bottom","top"],constrainToViewportHeight:!0,matchReferenceWidth:this?.matchReferenceWidth??!0,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onFlyoutPanelShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onFlyoutPanelHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#flyout-panel");if(!e)return;const t=[],n=On(e);t.push(...n);const i=this._el.shadowRoot?.querySelector("slot:not([name])");i&&i.assignedElements({flatten:!0}).forEach((s=>{const o=On(s);t.push(...o)})),this.focusableElements=t.sort(((s,o)=>{const l=s.compareDocumentPosition(o),r=!!(l&Node.DOCUMENT_POSITION_FOLLOWING),a=!!(l&Node.DOCUMENT_POSITION_PRECEDING);return r?-1:a?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let i=document.activeElement;if(i===this._el){const o=this._el.shadowRoot?.activeElement;o!==null&&(i=o)}const s=this.focusableElements.indexOf(i)!==-1;e.shiftKey?i!==t&&s||(e.preventDefault(),n&&n.focus()):i!==n&&s||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}constrainPlacementsChanged(e){this.floatingElementManager?.updateConfig({constrainPlacements:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}flyoutPanelVisible(){return!!this.floatingElementManager.isVisible()}openPanel(e){this.floatingElementManager.isVisible()||this.handleToggleEvent(e)}closePanel(e){this.floatingElementManager.isVisible()&&this.handleToggleEvent(e)}async isFlyoutPanelVisible(){return this.flyoutPanelVisible()}async openFlyoutPanel(e){this.openPanel(e)}async closeFlyoutPanel(e){this.closePanel(e)}render(){return g(Te,{key:"5c1652a168d27045c28c7cae5d56fe3c3b43457f"},g("slot",{key:"dbadbb0e93053a04d647fd7af31c2363813c46c9",name:"anchor"}),g("div",{key:"ca341b9babdf1c8d5862e0517814892743f27a07",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},g("div",{key:"b7bd390c78988bd35673c6d7aee4fb122bc0d9e5"},g("slot",{key:"c989d0ac0497f350d2403aa075c6bc46c9821f2a"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-flyout-panel{--gidsFlyoutPanel-background:var(--gids-elevation-surface-overlay-default);--gidsFlyoutPanel-text-color:var(--gids-color-text-default);--gidsFlyoutPanel-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsFlyoutPanel-border-radius:var(--gids-border-radius-lg);--gidsFlyoutPanel-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsFlyoutPanel-background)}[part=flyout-panel]{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);position:absolute;display:inline-block;background-color:var(--gidsFlyoutPanel-background);color:var(--gidsFlyoutPanel-text-color);border-radius:var(--gidsFlyoutPanel-border-radius);box-shadow:var(--gidsFlyoutPanel-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=flyout-panel]:focus{outline:none}[part=flyout-panel].gids-flyout-panel--visible{pointer-events:initial;opacity:1}"}},[257,"gids-flyout-panel",{htmlFor:[513,"for"],placement:[513],constrainPlacements:[16],matchReferenceWidth:[516,"match-reference-width"],isFlyoutPanelVisible:[64],openFlyoutPanel:[64],closeFlyoutPanel:[64]},void 0,{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}]),Dn=e=>{if(!(e instanceof ye)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const n=e.tabIndex;e.tabIndex=-1,e.focus();const i=document.activeElement===e;return e.tabIndex=n,i&&e.blur(),i}catch{return!1}},On=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>Dn(s)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];Dn(e)&&n.push(e);let i=t.nextNode();for(;i!==null;)n.push(i),i=t.nextNode();return n};function St(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,Zs))}))}St();const Js=Le(class extends ye{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ii(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return g(Te,{key:"571ed3a5815c1cef82a0115634d4d181a73e0515"},g("slot",{key:"50188a10937675d31a93e46070fd2ce7709a0763",name:"leadingIcon"}),this.leadingLabel&&g("span",{key:"37aa8f33f1490ef0ca77f6ae7fabc0abb88ad749",class:"gids-input__label"},this.leadingLabel),g("slot",{key:"d1482ff4d6b9f2a0da0cedc45a738eeae6ee969d",name:"leadingAccessory"}),g("input",{key:"ba004d40d2feee851187e3c7d778b423976817d6",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),g("slot",{key:"b74721099ecf423895c306e63d42d6ae5ddbf8d2",name:"trailingAccessory"}),this.trailingLabel&&g("span",{key:"2ffdc81450931d653f76948961a4f55559df9010",class:"gids-input__label"},this.trailingLabel),g("slot",{key:"806cae677da57a02924ff0d0166a2bf16c5a9e15",name:"trailingIcon"}),this.status==="incomplete"&&g(ue,{key:"a238cdac45fc718976cce8ca022e32a946d9fe1a",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&g(ue,{key:"2ce2f8354b5f1c1d2d2376fae1b672e6361cd504",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&g(ln,{key:"1d93199143a67f7a1a0b1e9a96dc698974248a61",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function _t(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Js))}))}_t();const{getGidsDropdownClassNames:Qs,getGidsChevronButtonControlClassNames:eo}=bi,Ct="gids-dropdown-item--active",to=Le(class extends ye{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.menuPlacement="bottom",this.menuConstrainPlacements=["bottom","top"],this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.suppressNextFilterInput=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:i,disabled:s,id:o,isPlaceholderItem:l}=t.detail;s||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:i,disabled:!1,originalEvent:t,isPlaceholderItem:l}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const i=n.closest(".gids-dropdown-item");if(!i||!this.hostElement.contains(i)||i.hasAttribute("disabled")||i.getAttribute("aria-disabled")==="true")return;const s=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof s!="string"||s.length===0)return;const o=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const l=i.getAttribute("is-placeholder-item")??"";let r=i.textContent?.trim()??"";r.endsWith("checkmark")&&(r=r.slice(0,-9).trim()),this.applySelection({id:o,value:s,title:r.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!l||l!=="true")})},this.handleFilterInput=t=>{if(this.suppressNextFilterInput)return void(this.suppressNextFilterInput=!1);const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,i=n==="ArrowDown";return!i&&n!=="ArrowUp"||t.metaKey||t.ctrlKey?n==="Home"?(t.preventDefault(),void this.setActiveByIndex(0)):n==="End"?(t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1)):void(n==="Enter"&&this.selectActive()&&t.preventDefault()):(t.preventDefault(),void this.moveActive(i?1:-1))},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=()=>{},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)})))},this.handleDocumentPointerDown=t=>{t.button!==2&&!(typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)&&this.hostElement.contains(t.target)},this.handleDocumentKeyDown=t=>{const n=t.key;n!=="Escape"&&n!=="Esc"||t.preventDefault()},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue=""}}handleInteractivityChange(e){this.disabled=e,this.readOnly=e}menuPlacementChanged(e){this.menuPlacement=e}menuConstrainPlacementsChanged(e){this.menuConstrainPlacements=e}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}componentDidRender(){this.flyoutPanelElement=this.hostElement.querySelector("gids-flyout-panel")??void 0}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.resetItemVisibility(),this.onSelectionChange?.(e);const t=new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e});this.hostElement.dispatchEvent(t),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,this.suppressNextFilterInput=!0,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.suppressNextFilterInput&&(this.suppressNextFilterInput=!1))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(Ct))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((s=>s.classList.remove(Ct))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),i=t[n];if(!i)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,i.classList.add(Ct),i.scrollIntoView({block:"nearest"}),this.setActiveDescendant(i.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase();e.length===0||n.includes(e)?t.style.removeProperty("display"):t.style.display="none"}))}resetItemVisibility(){this.getItemElements().forEach((e=>{e.style.removeProperty("display")}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=s=>{t?.(s),this.handleFilterInput(s)};const n=e.onBlur;e.onBlur=s=>{n?.(s),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=s=>{i?.(s),s.defaultPrevented||this.handleInputKeyDown(s)},e}render(){const e=Qs(),t=this.getEnhancedInputProps(),n=typeof t.id=="string"?t.id:void 0,i=n?`${n}__menu`:void 0,s=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",o=this.disabled||this.readOnly?"":`dropdown-${i}`,l=g("button",{key:"7ea973413d842a50076beefa4c7e44e690ce64ca",class:eo({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:r=>this.handleChevronClickToggle(r),"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},g("span",{key:"1579fc5f3c7e582619754aef7830ea7079f38963",class:"gids-button__content"},g(ue,{key:"e2781f65e2eab2ea398070eca03855d89343870e",name:"chevron-vertical",alt:""})));return g("div",{key:"9c55513535108fb289d6011102ecd7ef9f217c79",class:e},g("gids-input",{key:"5c5be9280f69ef3b031a34f50927e1f649c4911e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:s,name:this.name,inputProps:t,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur,id:o},this.hasLeadingIcon&&g("slot",{key:"502e234e0fb147df023d1e969975167975b4dd7f",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&g("slot",{key:"f447253a177d9a724d4c60f63c30232dc23add11",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),l),g("gids-flyout-panel",{key:"905193245274409ea826af63a658c98de1e8966d",placement:this?.menuPlacement??"bottom",constrainPlacements:this?.menuConstrainPlacements??["bottom","top"],onClick:this.handleMenuClick,htmlFor:o},g("slot",{key:"b398ffd22d450277271a51fce7f52164b2f76229"})))}get hostElement(){return this}static get watchers(){return{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}}static get style(){return".gids-dropdown{position:relative}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}"}},[260,"gids-dropdown",{appearance:[1],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],menuPlacement:[1,"menu-placement"],menuConstrainPlacements:[16],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}]);function Nn(){typeof customElements<"u"&&["gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,to);break;case"gids-flyout-panel":customElements.get(e)||St();break;case"gids-input":customElements.get(e)||_t()}}))}Nn();const{getGidsDayDropdownPickerClassNames:no}=hi,In=Le(class extends ye{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.menuPlacement="bottom",this.menuConstrainPlacements=["bottom","top"],this.startDay=Number($e),this.endDay=Number(Re),this.hasLeadingIcon=!1,this.daysMenuData=[],this.selectedDayObj=void 0,this.handleDaySelectionChange=({event:t,sectionIndex:n,itemIndex:i})=>{const s=t?.detail,o={originalEvent:t,id:s.id,dayInNumber:s?.title?Number(s.title):void 0,sectionIndex:n,itemIndex:i,selected:!0};this.selectedDayObj=o,this.onDayChange&&this.onDayChange(o)},this.feedDaysDataState=()=>{const t=this?.startDay??$e,n=this?.endDay??Re;this.daysMenuData=di({startDay:String(t),endDay:String(n)})},this.isDaySelected=t=>t?.id===this?.selectedDayObj?.id,this.syncDayDropdownPickerValue=()=>this?.selectedDayObj?.dayInNumber?String(this.selectedDayObj.dayInNumber):this?.value}handleInteractivityChange(e){this.disabled=e,this.readOnly=e}menuPlacementChanged(e){this.menuPlacement=e}menuConstrainPlacementsChanged(e){this.menuConstrainPlacements=e}startDayChanged(e){this.startDay=e,this.feedDaysDataState()}endDayChanged(e){this.endDay=e,this.feedDaysDataState()}connectedCallback(){}componentWillLoad(){this.checkSlots(),this.feedDaysDataState()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]')}render(){const e=no(),t=typeof this?.inputProps?.id=="string"?this.inputProps.id:"day-input",n={id:t,appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:this.syncDayDropdownPickerValue(),name:this.name,inputProps:{...this?.inputProps??{},id:t}},i=this?.daysMenuData??[];return g(Ft,{key:"d776be44fac87006db16eb621c24b439c53967fe",class:e},g("gids-dropdown",{key:"6c2fa537971ff58d094cb3feee5740d903cdfd28",...n,menuPlacement:this?.menuPlacement??"bottom",menuConstrainPlacements:this.menuConstrainPlacements??["bottom","top"]},this.hasLeadingIcon&&g("slot",{key:"d1e9cf1b7664c579a6f05b34991ab71df89c6528",name:"leadingIconDropdown",slot:"leadingIconDropdown"}),g(Qi,{key:"0661486f9abe1dfd021ce9eace47988dadf1bc00",type:this.loading?"loading":"default"},i.map(((s,o)=>{const l=s?.menuItems??[];return g(ts,{key:`${s.sectionId}_${o}`,sectionLabel:s?.sectionLabel},l.map(((r,a)=>g(is,{id:r.id,title:r?.title,value:r?.value,index:a,disabled:r?.disabled,selected:this.isDaySelected(r),onPressDropdownItem:c=>this.handleDaySelectionChange({event:c,sectionIndex:o,itemIndex:a})}))))})))))}get hostElement(){return this}static get watchers(){return{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}],startDay:[{startDayChanged:0}],endDay:[{endDayChanged:0}]}}static get style(){return".gids-day-dropdown-picker{position:relative;display:flex;flex-direction:column}"}},[260,"gids-day-dropdown-picker",{appearance:[1],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onDayChange:[16],required:[4],menuPlacement:[1,"menu-placement"],menuConstrainPlacements:[16],startDay:[2,"start-day"],endDay:[2,"end-day"],hasLeadingIcon:[32],daysMenuData:[32],selectedDayObj:[32]},void 0,{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}],startDay:[{startDayChanged:0}],endDay:[{endDayChanged:0}]}]);function Ln(){typeof customElements<"u"&&["gids-day-dropdown-picker","gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-day-dropdown-picker":customElements.get(e)||customElements.define(e,In);break;case"gids-dropdown":customElements.get(e)||Nn();break;case"gids-flyout-panel":customElements.get(e)||St();break;case"gids-input":customElements.get(e)||_t()}}))}Ln();const io=In,so=Ln;ne.GidsDayDropdownPicker=io,ne.defineCustomElement=so,Object.defineProperty(ne,Symbol.toStringTag,{value:"Module"})}));
|