@televet/kibble-ui 4.0.0-beta.7 → 4.0.0-beta.71
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/README.md +40 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js +2 -0
- package/dist/chunks/IconLogo-C4aZqkn1.js.map +1 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js +62 -0
- package/dist/chunks/IconLogo-D8EHZ4Is.js.map +1 -0
- package/dist/chunks/alert.types-8JN84Qgi.js +219 -0
- package/dist/chunks/alert.types-8JN84Qgi.js.map +1 -0
- package/dist/chunks/alert.types-eZV4C-Lo.js +2 -0
- package/dist/chunks/alert.types-eZV4C-Lo.js.map +1 -0
- package/dist/chunks/attr-BMs6szZx.js +2 -0
- package/dist/chunks/attr-BMs6szZx.js.map +1 -0
- package/dist/chunks/attr-sm10PXOd.js +5 -0
- package/dist/chunks/attr-sm10PXOd.js.map +1 -0
- package/dist/chunks/avatar.component-DFECejcq.js +2 -0
- package/dist/chunks/avatar.component-DFECejcq.js.map +1 -0
- package/dist/chunks/avatar.component-DHEnOmiw.js +420 -0
- package/dist/chunks/avatar.component-DHEnOmiw.js.map +1 -0
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js → avatarGroup.component-BivC9ghH.js} +27 -28
- package/dist/chunks/{avatarGroup.component-CceV-fW0.js.map → avatarGroup.component-BivC9ghH.js.map} +1 -1
- package/dist/chunks/avatarGroup.component-CidA0JNq.js +2 -0
- package/dist/chunks/{avatarGroup.component-Q43nemix.js.map → avatarGroup.component-CidA0JNq.js.map} +1 -1
- package/dist/chunks/box-Baq7UBls.js +2 -0
- package/dist/chunks/box-Baq7UBls.js.map +1 -0
- package/dist/chunks/box-Ck9I7FYv.js +7 -0
- package/dist/chunks/box-Ck9I7FYv.js.map +1 -0
- package/dist/chunks/{button.component-BtkAjIWe.js → button.component-BpF3MzbZ.js} +10 -10
- package/dist/chunks/button.component-BpF3MzbZ.js.map +1 -0
- package/dist/chunks/button.component-Dd9AfGox.js +2 -0
- package/dist/chunks/button.component-Dd9AfGox.js.map +1 -0
- package/dist/chunks/buttonGroup.component-B6Z97Z5w.js +77 -0
- package/dist/chunks/buttonGroup.component-B6Z97Z5w.js.map +1 -0
- package/dist/chunks/buttonGroup.component-dEH5U2U9.js +2 -0
- package/dist/chunks/buttonGroup.component-dEH5U2U9.js.map +1 -0
- package/dist/chunks/card.component-DNX41NGG.js +59 -0
- package/dist/chunks/card.component-DNX41NGG.js.map +1 -0
- package/dist/chunks/card.component-KNc4HKSh.js +2 -0
- package/dist/chunks/card.component-KNc4HKSh.js.map +1 -0
- package/dist/chunks/card.types-Cixp7ouC.js +5 -0
- package/dist/chunks/card.types-Cixp7ouC.js.map +1 -0
- package/dist/chunks/card.types-MvkQTTZF.js +2 -0
- package/dist/chunks/card.types-MvkQTTZF.js.map +1 -0
- package/dist/chunks/{characterCounter.component-DhiMcztY.js → characterCounter.component-BnJlAXbZ.js} +14 -12
- package/dist/chunks/{characterCounter.component-DhiMcztY.js.map → characterCounter.component-BnJlAXbZ.js.map} +1 -1
- package/dist/chunks/characterCounter.component-D32B_18y.js +2 -0
- package/dist/chunks/{characterCounter.component-BXxyn_IB.js.map → characterCounter.component-D32B_18y.js.map} +1 -1
- package/dist/chunks/checkbox.component-Oc8lxpMw.js +2 -0
- package/dist/chunks/checkbox.component-Oc8lxpMw.js.map +1 -0
- package/dist/chunks/checkbox.component-PJondNuh.js +310 -0
- package/dist/chunks/checkbox.component-PJondNuh.js.map +1 -0
- package/dist/chunks/checkbox.records-B1tMW87O.js +2 -0
- package/dist/chunks/checkbox.records-B1tMW87O.js.map +1 -0
- package/dist/chunks/checkbox.records-BtZVOsgd.js +266 -0
- package/dist/chunks/checkbox.records-BtZVOsgd.js.map +1 -0
- package/dist/chunks/checkboxGroup.component-DUlVhjLO.js +52 -0
- package/dist/chunks/{checkboxGroup.component-DcIdfbbl.js.map → checkboxGroup.component-DUlVhjLO.js.map} +1 -1
- package/dist/chunks/checkboxGroup.component-Du63au-w.js +2 -0
- package/dist/chunks/{checkboxGroup.component-BYKUQW4y.js.map → checkboxGroup.component-Du63au-w.js.map} +1 -1
- package/dist/chunks/config-BFcXpdZo.js +2 -0
- package/dist/chunks/config-BFcXpdZo.js.map +1 -0
- package/dist/chunks/config-DlTdf-Yt.js +57 -0
- package/dist/chunks/config-DlTdf-Yt.js.map +1 -0
- package/dist/chunks/conversationCard.component-C1PQnKmJ.js +2 -0
- package/dist/chunks/conversationCard.component-C1PQnKmJ.js.map +1 -0
- package/dist/chunks/{conversationCard.component-BSfDNuuw.js → conversationCard.component-CYnBgT3a.js} +51 -49
- package/dist/chunks/conversationCard.component-CYnBgT3a.js.map +1 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js +62 -0
- package/dist/chunks/create-recipe-context-D7FewUR4.js.map +1 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js +2 -0
- package/dist/chunks/create-recipe-context-sESms8Eo.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js +97 -0
- package/dist/chunks/create-slot-recipe-context-BJmsuxih.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js +2 -0
- package/dist/chunks/create-slot-recipe-context-IwVIgtBt.js.map +1 -0
- package/dist/chunks/datePicker.component-B7jzOKQ9.js +15 -0
- package/dist/chunks/datePicker.component-B7jzOKQ9.js.map +1 -0
- package/dist/chunks/datePicker.component-Cu0sCxMB.js +3165 -0
- package/dist/chunks/datePicker.component-Cu0sCxMB.js.map +1 -0
- package/dist/chunks/dialog-trigger-B5NK0lr-.js +2 -0
- package/dist/chunks/dialog-trigger-B5NK0lr-.js.map +1 -0
- package/dist/chunks/dialog-trigger-BPlPzPU-.js +78 -0
- package/dist/chunks/dialog-trigger-BPlPzPU-.js.map +1 -0
- package/dist/chunks/divider.types-0j5qRXed.js +47 -0
- package/dist/chunks/divider.types-0j5qRXed.js.map +1 -0
- package/dist/chunks/divider.types-CK5oFy-i.js +2 -0
- package/dist/chunks/divider.types-CK5oFy-i.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.js +2 -0
- package/dist/chunks/empty-B5_AO6Pg.js.map +1 -0
- package/dist/chunks/empty-BU2EAux9.js +8 -0
- package/dist/chunks/empty-BU2EAux9.js.map +1 -0
- package/dist/chunks/factory-Ctbv0Ozn.js +500 -0
- package/dist/chunks/factory-Ctbv0Ozn.js.map +1 -0
- package/dist/chunks/factory-D6tdBUPG.js +3 -0
- package/dist/chunks/factory-D6tdBUPG.js.map +1 -0
- package/dist/chunks/flex-D14H6HbP.js +2 -0
- package/dist/chunks/flex-D14H6HbP.js.map +1 -0
- package/dist/chunks/flex-smlF8uQG.js +40 -0
- package/dist/chunks/flex-smlF8uQG.js.map +1 -0
- package/dist/chunks/float-DYLtz2A6.js +64 -0
- package/dist/chunks/float-DYLtz2A6.js.map +1 -0
- package/dist/chunks/float-OQXnYWBw.js +2 -0
- package/dist/chunks/float-OQXnYWBw.js.map +1 -0
- package/dist/chunks/format-BRt-TIiQ.js +2 -0
- package/dist/chunks/format-BRt-TIiQ.js.map +1 -0
- package/dist/chunks/format-DgHM6wFr.js +1275 -0
- package/dist/chunks/format-DgHM6wFr.js.map +1 -0
- package/dist/chunks/grid-item-BV4dwEBP.js +90 -0
- package/dist/chunks/grid-item-BV4dwEBP.js.map +1 -0
- package/dist/chunks/grid-item-CR-sXrjU.js +2 -0
- package/dist/chunks/grid-item-CR-sXrjU.js.map +1 -0
- package/dist/chunks/group-Cv7AQw1b.js +2 -0
- package/dist/chunks/group-Cv7AQw1b.js.map +1 -0
- package/dist/chunks/group-DPCVolOl.js +139 -0
- package/dist/chunks/group-DPCVolOl.js.map +1 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js +2 -0
- package/dist/chunks/h-stack-Bjx9hlJo.js.map +1 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js +12 -0
- package/dist/chunks/h-stack-Ce6JSBK2.js.map +1 -0
- package/dist/chunks/heading.component-D4rtbYK8.js +12 -0
- package/dist/chunks/heading.component-D4rtbYK8.js.map +1 -0
- package/dist/chunks/heading.component-uv536wYF.js +2 -0
- package/dist/chunks/heading.component-uv536wYF.js.map +1 -0
- package/dist/chunks/icon-button-DTZOklQ9.js +119 -0
- package/dist/chunks/icon-button-DTZOklQ9.js.map +1 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js +2 -0
- package/dist/chunks/icon-button-DtjZ-SdQ.js.map +1 -0
- package/dist/chunks/icon.component-C0e0UGBw.js +2 -0
- package/dist/chunks/icon.component-C0e0UGBw.js.map +1 -0
- package/dist/chunks/{icon.component-DjNY589M.js → icon.component-DGNCL1Yc.js} +14 -16
- package/dist/chunks/icon.component-DGNCL1Yc.js.map +1 -0
- package/dist/chunks/icons-BXxdrBrf.js +216 -0
- package/dist/chunks/icons-BXxdrBrf.js.map +1 -0
- package/dist/chunks/icons-CTpAjbC-.js +2 -0
- package/dist/chunks/icons-CTpAjbC-.js.map +1 -0
- package/dist/chunks/index-BBZxmcrY.js +2 -0
- package/dist/chunks/index-BBZxmcrY.js.map +1 -0
- package/dist/chunks/index-BDnnTdaJ.js +2 -0
- package/dist/chunks/index-BDnnTdaJ.js.map +1 -0
- package/dist/chunks/index-BGwwyukg.js +2 -0
- package/dist/chunks/index-BGwwyukg.js.map +1 -0
- package/dist/chunks/index-BNYygzo-.js +376 -0
- package/dist/chunks/index-BNYygzo-.js.map +1 -0
- package/dist/chunks/index-BYf7SZUC.js +2 -0
- package/dist/chunks/index-BYf7SZUC.js.map +1 -0
- package/dist/chunks/index-BknUKotT.js +38 -0
- package/dist/chunks/index-BknUKotT.js.map +1 -0
- package/dist/chunks/index-C2kxTsiE.js +291 -0
- package/dist/chunks/index-C2kxTsiE.js.map +1 -0
- package/dist/chunks/index-COoMV9Mh.js +2 -0
- package/dist/chunks/index-COoMV9Mh.js.map +1 -0
- package/dist/chunks/index-CYk-7wwG.js +1018 -0
- package/dist/chunks/index-CYk-7wwG.js.map +1 -0
- package/dist/chunks/index-CZ42b9rT.js +3 -0
- package/dist/chunks/index-CZ42b9rT.js.map +1 -0
- package/dist/chunks/index-CZz7hHWb.js +2 -0
- package/dist/chunks/index-CZz7hHWb.js.map +1 -0
- package/dist/chunks/index-CgivotaP.js +20 -0
- package/dist/chunks/index-CgivotaP.js.map +1 -0
- package/dist/chunks/index-CjNAJEk5.js +6313 -0
- package/dist/chunks/index-CjNAJEk5.js.map +1 -0
- package/dist/chunks/index-CkYZf9Pm.js +2 -0
- package/dist/chunks/index-CkYZf9Pm.js.map +1 -0
- package/dist/chunks/index-Co91SHhW.js +141 -0
- package/dist/chunks/index-Co91SHhW.js.map +1 -0
- package/dist/chunks/index-CzrXl0uD.js +2 -0
- package/dist/chunks/index-CzrXl0uD.js.map +1 -0
- package/dist/chunks/index-D9DU-5GF.js +1196 -0
- package/dist/chunks/index-D9DU-5GF.js.map +1 -0
- package/dist/chunks/index-DAWHN3cH.js +86 -0
- package/dist/chunks/index-DAWHN3cH.js.map +1 -0
- package/dist/chunks/index-DD49WSSW.js +2 -0
- package/dist/chunks/index-DD49WSSW.js.map +1 -0
- package/dist/chunks/index-DUHFrLMI.js +389 -0
- package/dist/chunks/index-DUHFrLMI.js.map +1 -0
- package/dist/chunks/index-DcJZ8q0f.js +1190 -0
- package/dist/chunks/index-DcJZ8q0f.js.map +1 -0
- package/dist/chunks/index-MlhL0PDC.js +2 -0
- package/dist/chunks/index-MlhL0PDC.js.map +1 -0
- package/dist/chunks/index-S1uNQPZj.js +444 -0
- package/dist/chunks/index-S1uNQPZj.js.map +1 -0
- package/dist/chunks/index-UWtj4ULm.js +8 -0
- package/dist/chunks/index-UWtj4ULm.js.map +1 -0
- package/dist/chunks/index-ZaGEDS_0.js +2 -0
- package/dist/chunks/index-ZaGEDS_0.js.map +1 -0
- package/dist/chunks/index-iyefwwxw.js +2 -0
- package/dist/chunks/index-iyefwwxw.js.map +1 -0
- package/dist/chunks/index-j7W9Hyzx.js +322 -0
- package/dist/chunks/index-j7W9Hyzx.js.map +1 -0
- package/dist/chunks/index-z-FFv-gK.js +257 -0
- package/dist/chunks/index-z-FFv-gK.js.map +1 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js +23 -0
- package/dist/chunks/jsx-runtime-BjDatQAs.js.map +1 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js +285 -0
- package/dist/chunks/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/dist/chunks/link.component-CCFg-LIe.js +2 -0
- package/dist/chunks/link.component-CCFg-LIe.js.map +1 -0
- package/dist/chunks/link.component-DprieyUG.js +60 -0
- package/dist/chunks/link.component-DprieyUG.js.map +1 -0
- package/dist/chunks/list-C_LmDoyW.js +2 -0
- package/dist/chunks/list-C_LmDoyW.js.map +1 -0
- package/dist/chunks/list-DqH5ttQG.js +20 -0
- package/dist/chunks/list-DqH5ttQG.js.map +1 -0
- package/dist/chunks/logo.types-By8TqyNf.js +76 -0
- package/dist/chunks/logo.types-By8TqyNf.js.map +1 -0
- package/dist/chunks/logo.types-CA_5hGAi.js +2 -0
- package/dist/chunks/logo.types-CA_5hGAi.js.map +1 -0
- package/dist/chunks/menu.component-DCtztozy.js +2 -0
- package/dist/chunks/menu.component-DCtztozy.js.map +1 -0
- package/dist/chunks/menu.component-DaWlH0RE.js +678 -0
- package/dist/chunks/menu.component-DaWlH0RE.js.map +1 -0
- package/dist/chunks/modal.types-Cx0d9C_x.js +206 -0
- package/dist/chunks/modal.types-Cx0d9C_x.js.map +1 -0
- package/dist/chunks/modal.types-DBKm96OL.js +2 -0
- package/dist/chunks/modal.types-DBKm96OL.js.map +1 -0
- package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js → notificationCounter.component-Bei8mHSZ.js} +10 -8
- package/dist/chunks/{notificationCounter.component-DU5P6Ilh.js.map → notificationCounter.component-Bei8mHSZ.js.map} +1 -1
- package/dist/chunks/notificationCounter.component-BhZcuBmr.js +2 -0
- package/dist/chunks/{notificationCounter.component-D6v39lna.js.map → notificationCounter.component-BhZcuBmr.js.map} +1 -1
- package/dist/chunks/notificationCounter.types-B_-siNfi.js +2 -0
- package/dist/chunks/notificationCounter.types-B_-siNfi.js.map +1 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js +11 -0
- package/dist/chunks/notificationCounter.types-S7ENT1Oj.js.map +1 -0
- package/dist/chunks/omit-C-j4TrF5.js +10 -0
- package/dist/chunks/omit-C-j4TrF5.js.map +1 -0
- package/dist/chunks/omit-DqNeoZ8h.js +2 -0
- package/dist/chunks/omit-DqNeoZ8h.js.map +1 -0
- package/dist/chunks/picture.component-C2C2r_BU.js +2 -0
- package/dist/chunks/picture.component-C2C2r_BU.js.map +1 -0
- package/dist/chunks/picture.component-DKbaaL64.js +35 -0
- package/dist/chunks/picture.component-DKbaaL64.js.map +1 -0
- package/dist/chunks/pinInput.types-DG_lLcFk.js +2 -0
- package/dist/chunks/pinInput.types-DG_lLcFk.js.map +1 -0
- package/dist/chunks/pinInput.types-HUZl_UUD.js +161 -0
- package/dist/chunks/pinInput.types-HUZl_UUD.js.map +1 -0
- package/dist/chunks/popover-80QH8HEJ.js +2 -0
- package/dist/chunks/popover-80QH8HEJ.js.map +1 -0
- package/dist/chunks/popover-B9rNOU0g.js +110 -0
- package/dist/chunks/popover-B9rNOU0g.js.map +1 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js +43 -0
- package/dist/chunks/popover-root-provider-CeLLpesI.js.map +1 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js +2 -0
- package/dist/chunks/popover-root-provider-DAMDDAHQ.js.map +1 -0
- package/dist/chunks/popover.component-D27f6GTu.js +322 -0
- package/dist/chunks/popover.component-D27f6GTu.js.map +1 -0
- package/dist/chunks/popover.component-KGVUAj9L.js +2 -0
- package/dist/chunks/popover.component-KGVUAj9L.js.map +1 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js +479 -0
- package/dist/chunks/popover.recipe--gMRcQTS.js.map +1 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js +2 -0
- package/dist/chunks/popover.recipe-DLeyokHo.js.map +1 -0
- package/dist/chunks/provider-ClCAdPxy.js +47 -0
- package/dist/chunks/provider-ClCAdPxy.js.map +1 -0
- package/dist/chunks/provider-NDo8kOkE.js +2 -0
- package/dist/chunks/provider-NDo8kOkE.js.map +1 -0
- package/dist/chunks/radio.records-C-MuxSPZ.js +2 -0
- package/dist/chunks/radio.records-C-MuxSPZ.js.map +1 -0
- package/dist/chunks/radio.records-DzITb4sg.js +382 -0
- package/dist/chunks/radio.records-DzITb4sg.js.map +1 -0
- package/dist/chunks/radioGroup.component-PdVYD3bp.js +275 -0
- package/dist/chunks/radioGroup.component-PdVYD3bp.js.map +1 -0
- package/dist/chunks/radioGroup.component-wgmJPLDW.js +2 -0
- package/dist/chunks/radioGroup.component-wgmJPLDW.js.map +1 -0
- package/dist/chunks/ratingDots.component-CUPAiIW_.js +2 -0
- package/dist/chunks/{ratingDots.component-DOZX6EE0.js.map → ratingDots.component-CUPAiIW_.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js → ratingDots.component-ClZHNCmw.js} +31 -28
- package/dist/chunks/{ratingDots.component-B4OK_lXC.js.map → ratingDots.component-ClZHNCmw.js.map} +1 -1
- package/dist/chunks/render-strategy-BmWbSgqh.js +2 -0
- package/dist/chunks/render-strategy-BmWbSgqh.js.map +1 -0
- package/dist/chunks/render-strategy-C8hwN3bm.js +12 -0
- package/dist/chunks/render-strategy-C8hwN3bm.js.map +1 -0
- package/dist/chunks/select.component-CGqMFhui.js +2 -0
- package/dist/chunks/select.component-CGqMFhui.js.map +1 -0
- package/dist/chunks/select.component-DHP33P1O.js +391 -0
- package/dist/chunks/select.component-DHP33P1O.js.map +1 -0
- package/dist/chunks/{dnd-DDR6viHX.js → sortableList.component-1gWWNAQS.js} +1015 -887
- package/dist/chunks/sortableList.component-1gWWNAQS.js.map +1 -0
- package/dist/chunks/sortableList.component-BLYlOg_f.js +6 -0
- package/dist/chunks/sortableList.component-BLYlOg_f.js.map +1 -0
- package/dist/chunks/spinner-BWqSIW6m.js +8 -0
- package/dist/chunks/spinner-BWqSIW6m.js.map +1 -0
- package/dist/chunks/spinner-BnpL14kK.js +2 -0
- package/dist/chunks/spinner-BnpL14kK.js.map +1 -0
- package/dist/chunks/{spinner.component-D5tkelNc.js → spinner.component-BnWQ5OjN.js} +21 -19
- package/dist/chunks/spinner.component-BnWQ5OjN.js.map +1 -0
- package/dist/chunks/spinner.component-Ebdkd2br.js +2 -0
- package/dist/chunks/{spinner.component-CUuidnSK.js.map → spinner.component-Ebdkd2br.js.map} +1 -1
- package/dist/chunks/stack-BKu3hWEQ.js +2 -0
- package/dist/chunks/stack-BKu3hWEQ.js.map +1 -0
- package/dist/chunks/stack-Dnuh5Zgf.js +85 -0
- package/dist/chunks/stack-Dnuh5Zgf.js.map +1 -0
- package/dist/chunks/styledAvatar.types-B1WPMZAS.js +2 -0
- package/dist/chunks/styledAvatar.types-B1WPMZAS.js.map +1 -0
- package/dist/chunks/{styledAvatar.types-CoxQchLt.js → styledAvatar.types-C0KWX23C.js} +3 -3
- package/dist/chunks/styledAvatar.types-C0KWX23C.js.map +1 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js +67 -0
- package/dist/chunks/swatch.types-DbgA3RWc.js.map +1 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js +2 -0
- package/dist/chunks/swatch.types-DiX-4lpJ.js.map +1 -0
- package/dist/chunks/switch.component-CbZlg5Iz.js +166 -0
- package/dist/chunks/switch.component-CbZlg5Iz.js.map +1 -0
- package/dist/chunks/switch.component-D5kgSKKx.js +2 -0
- package/dist/chunks/switch.component-D5kgSKKx.js.map +1 -0
- package/dist/chunks/tabs.component-Bi1vanBo.js +639 -0
- package/dist/chunks/tabs.component-Bi1vanBo.js.map +1 -0
- package/dist/chunks/tabs.component-SlXJb1rB.js +2 -0
- package/dist/chunks/tabs.component-SlXJb1rB.js.map +1 -0
- package/dist/chunks/tag.component-C6a6EzZB.js +2 -0
- package/dist/chunks/tag.component-C6a6EzZB.js.map +1 -0
- package/dist/chunks/tag.component-pexJ0TAT.js +82 -0
- package/dist/chunks/tag.component-pexJ0TAT.js.map +1 -0
- package/dist/chunks/{tagBlock.component-LX4_ve_f.js → tagBlock.component-C6cfZb0d.js} +18 -17
- package/dist/chunks/tagBlock.component-C6cfZb0d.js.map +1 -0
- package/dist/chunks/tagBlock.component-CLB4ggMT.js +2 -0
- package/dist/chunks/tagBlock.component-CLB4ggMT.js.map +1 -0
- package/dist/chunks/text.component-BZQWS29V.js +2 -0
- package/dist/chunks/text.component-BZQWS29V.js.map +1 -0
- package/dist/chunks/text.component-BZSCPJLf.js +12 -0
- package/dist/chunks/text.component-BZSCPJLf.js.map +1 -0
- package/dist/chunks/textInput.component-B0VClMq5.js +2 -0
- package/dist/chunks/textInput.component-B0VClMq5.js.map +1 -0
- package/dist/chunks/textInput.component-kSJAjj78.js +180 -0
- package/dist/chunks/textInput.component-kSJAjj78.js.map +1 -0
- package/dist/chunks/textarea.component-BubrZCI9.js +98 -0
- package/dist/chunks/textarea.component-BubrZCI9.js.map +1 -0
- package/dist/chunks/textarea.component-DZ89XNHw.js +2 -0
- package/dist/chunks/textarea.component-DZ89XNHw.js.map +1 -0
- package/dist/chunks/{chakra-BqBkjpvZ.js → theme.provider-BK05OKFS.js} +5186 -4303
- package/dist/chunks/theme.provider-BK05OKFS.js.map +1 -0
- package/dist/chunks/theme.provider-DNwKSEWO.js +48 -0
- package/dist/chunks/theme.provider-DNwKSEWO.js.map +1 -0
- package/dist/chunks/timePicker.component-DyoR0UBJ.js +2 -0
- package/dist/chunks/{timePicker.component-Dw_FjiQX.js.map → timePicker.component-DyoR0UBJ.js.map} +1 -1
- package/dist/chunks/{timePicker.component--ABdI3GF.js → timePicker.component-hHOzJUi7.js} +46 -43
- package/dist/chunks/{timePicker.component--ABdI3GF.js.map → timePicker.component-hHOzJUi7.js.map} +1 -1
- package/dist/chunks/timeRange.component-C2anTUsM.js +2 -0
- package/dist/chunks/{timeRange.component-RLisXhuw.js.map → timeRange.component-C2anTUsM.js.map} +1 -1
- package/dist/chunks/timeRange.component-PlO6xxkd.js +18 -0
- package/dist/chunks/{timeRange.component-B3OvVyo_.js.map → timeRange.component-PlO6xxkd.js.map} +1 -1
- package/dist/chunks/timestamp.component-C__DC7oq.js +54 -0
- package/dist/chunks/timestamp.component-C__DC7oq.js.map +1 -0
- package/dist/chunks/timestamp.component-T3aszXN_.js +2 -0
- package/dist/chunks/timestamp.component-T3aszXN_.js.map +1 -0
- package/dist/chunks/toaster.records-BGfpUOVt.js +824 -0
- package/dist/chunks/toaster.records-BGfpUOVt.js.map +1 -0
- package/dist/chunks/toaster.records-BJo0j1IZ.js +2 -0
- package/dist/chunks/toaster.records-BJo0j1IZ.js.map +1 -0
- package/dist/chunks/tooltip.component-G-RF87Zw.js +750 -0
- package/dist/chunks/tooltip.component-G-RF87Zw.js.map +1 -0
- package/dist/chunks/tooltip.component-Vo-2841s.js +2 -0
- package/dist/chunks/tooltip.component-Vo-2841s.js.map +1 -0
- package/dist/chunks/typography-Cqrokog3.js.map +1 -1
- package/dist/chunks/typography-CtiaGoJG.js.map +1 -1
- package/dist/chunks/typography.records-C6G_65b4.js +2 -0
- package/dist/chunks/typography.records-C6G_65b4.js.map +1 -0
- package/dist/chunks/typography.records-jnjWfTLS.js +66 -0
- package/dist/chunks/typography.records-jnjWfTLS.js.map +1 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js +72 -0
- package/dist/chunks/use-breakpoint-MQ7agQJe.js.map +1 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js +2 -0
- package/dist/chunks/use-breakpoint-uBg4-8yY.js.map +1 -0
- package/dist/chunks/use-field-context--wBJQY1R.js +2 -0
- package/dist/chunks/use-field-context--wBJQY1R.js.map +1 -0
- package/dist/chunks/use-field-context-B_G7Yziz.js +12 -0
- package/dist/chunks/use-field-context-B_G7Yziz.js.map +1 -0
- package/dist/chunks/use-locale-context-BdqHZ8L8.js +22 -0
- package/dist/chunks/use-locale-context-BdqHZ8L8.js.map +1 -0
- package/dist/chunks/use-locale-context-D-agiW5E.js +2301 -0
- package/dist/chunks/use-locale-context-D-agiW5E.js.map +1 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js +2 -0
- package/dist/chunks/use-recipe-DaPWl_pL.js.map +1 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js +13 -0
- package/dist/chunks/use-recipe-d63ABaZ3.js.map +1 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js +2 -0
- package/dist/chunks/use-slot-recipe-8liupslO.js.map +1 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js +13 -0
- package/dist/chunks/use-slot-recipe-DhtQ1j_5.js.map +1 -0
- package/dist/chunks/v-stack-BZT7R_9f.js +12 -0
- package/dist/chunks/v-stack-BZT7R_9f.js.map +1 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js +2 -0
- package/dist/chunks/v-stack-DxjgpeJ0.js.map +1 -0
- package/dist/chunks/walk-object-BrTExCqQ.js +2 -0
- package/dist/chunks/walk-object-BrTExCqQ.js.map +1 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js +28 -0
- package/dist/chunks/walk-object-_CL3Bkm9.js.map +1 -0
- package/dist/chunks/withFormControl-5ywq6Y2v.js +376 -0
- package/dist/chunks/withFormControl-5ywq6Y2v.js.map +1 -0
- package/dist/chunks/withFormControl-_nV7mlmV.js +2 -0
- package/dist/chunks/withFormControl-_nV7mlmV.js.map +1 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js → withTruncation-D4DrwvZ2.js} +21 -28
- package/dist/chunks/{withTruncation-BskZBBVs.js.map → withTruncation-D4DrwvZ2.js.map} +1 -1
- package/dist/chunks/withTruncation-DH07KRFn.js +2 -0
- package/dist/chunks/{withTruncation-C2xFKhgB.js.map → withTruncation-DH07KRFn.js.map} +1 -1
- package/dist/chunks/wrap-B8tBNeBY.js +45 -0
- package/dist/chunks/wrap-B8tBNeBY.js.map +1 -0
- package/dist/chunks/wrap-CNn1kyJX.js +2 -0
- package/dist/chunks/wrap-CNn1kyJX.js.map +1 -0
- package/dist/cjs/chakra/index.cjs +2 -0
- package/dist/cjs/chakra/index.cjs.map +1 -0
- package/dist/cjs/cli/generate-theme-types.cjs +6 -0
- package/dist/cjs/cli/generate-theme-types.cjs.map +1 -0
- package/dist/cjs/cli/postinstall.cjs +3 -0
- package/dist/cjs/cli/postinstall.cjs.map +1 -0
- package/dist/cjs/components/Alert/index.cjs +1 -1
- package/dist/cjs/components/Avatar/index.cjs +1 -1
- package/dist/cjs/components/AvatarGroup/index.cjs +1 -1
- package/dist/cjs/components/Button/index.cjs +1 -1
- package/dist/cjs/components/ButtonGroup/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs +1 -1
- package/dist/cjs/components/Card/index.cjs.map +1 -1
- package/dist/cjs/components/CharacterCounter/index.cjs +1 -1
- package/dist/cjs/components/Checkbox/index.cjs +1 -1
- package/dist/cjs/components/CheckboxGroup/index.cjs +1 -1
- package/dist/cjs/{patterns → components}/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Divider/index.cjs +2 -0
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs +1 -1
- package/dist/cjs/components/Icon/generated/index.cjs.map +1 -1
- package/dist/cjs/components/Icon/index.cjs +1 -1
- package/dist/cjs/components/Link/index.cjs +1 -1
- package/dist/cjs/components/Logo/generated/index.cjs +2 -0
- package/dist/cjs/components/Logo/index.cjs +2 -0
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs +1 -1
- package/dist/cjs/components/NotificationCounter/index.cjs.map +1 -1
- package/dist/cjs/components/Picture/index.cjs +1 -1
- package/dist/cjs/components/Picture/index.cjs.map +1 -1
- package/dist/cjs/components/PinInput/index.cjs +2 -0
- package/dist/cjs/components/Popover/index.cjs +1 -1
- package/dist/cjs/components/RadioGroup/index.cjs +1 -1
- package/dist/cjs/components/RatingDots/index.cjs +1 -1
- package/dist/cjs/components/Select/index.cjs +1 -1
- package/dist/cjs/components/SortableList/index.cjs +1 -1
- package/dist/cjs/components/Spinner/index.cjs +1 -1
- package/dist/cjs/{patterns → components}/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/StyledAvatar/index.cjs.map +1 -0
- package/dist/cjs/components/Swatch/index.cjs +1 -1
- package/dist/cjs/components/Swatch/index.cjs.map +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/Tag/index.cjs +1 -1
- package/dist/cjs/{patterns → components}/TagBlock/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs.map +1 -0
- package/dist/cjs/components/Text/index.cjs +1 -1
- package/dist/cjs/components/TextInput/index.cjs +1 -1
- package/dist/cjs/components/Textarea/index.cjs +1 -1
- package/dist/cjs/components/TimePicker/index.cjs +1 -1
- package/dist/cjs/components/TimeRange/index.cjs +1 -1
- package/dist/cjs/{patterns → components}/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Timestamp/index.cjs.map +1 -0
- package/dist/cjs/components/Toast/index.cjs +2 -0
- package/dist/cjs/components/Toast/index.cjs.map +1 -0
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs +1 -1
- package/dist/cjs/hocs/index.cjs.map +1 -1
- package/dist/cjs/hooks/index.cjs +1 -1
- package/dist/cjs/hooks/index.cjs.map +1 -1
- package/dist/cjs/hooks/useBreakpoint/index.cjs +2 -0
- package/dist/cjs/hooks/useBreakpoint/index.cjs.map +1 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs +2 -0
- package/dist/cjs/hooks/useDeviceType/index.cjs.map +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/shared/index.cjs +2 -0
- package/dist/cjs/shared/index.cjs.map +1 -0
- package/dist/cjs/shared/records/index.cjs +2 -0
- package/dist/cjs/shared/records/index.cjs.map +1 -0
- package/dist/cjs/theme/index.cjs +1 -23
- package/dist/cjs/theme/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs +1 -1
- package/dist/cjs/theme/tokens/blurs/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs +1 -1
- package/dist/cjs/theme/tokens/borders/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs +1 -1
- package/dist/cjs/theme/tokens/shadows/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs +1 -1
- package/dist/cjs/theme/tokens/sizes/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs +1 -1
- package/dist/cjs/theme/tokens/spacing/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs +1 -1
- package/dist/cjs/theme/tokens/transitions/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs +1 -1
- package/dist/cjs/theme/tokens/typography/index.cjs.map +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs +1 -1
- package/dist/cjs/theme/tokens/zIndices/index.cjs.map +1 -1
- package/dist/esm/chakra/index.js +3227 -0
- package/dist/esm/chakra/index.js.map +1 -0
- package/dist/esm/cli/generate-theme-types.js +22 -0
- package/dist/esm/cli/generate-theme-types.js.map +1 -0
- package/dist/esm/cli/postinstall.js +21 -0
- package/dist/esm/cli/postinstall.js.map +1 -0
- package/dist/esm/components/Alert/index.js +3 -5
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/Button/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +1 -1
- package/dist/esm/components/Card/index.js +4 -5
- package/dist/esm/components/Card/index.js.map +1 -1
- package/dist/esm/components/CharacterCounter/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/CheckboxGroup/index.js +1 -1
- package/dist/esm/{patterns → components}/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +3 -4
- package/dist/esm/components/Divider/index.js +8 -0
- package/dist/esm/components/Heading/index.js +2 -4
- package/dist/esm/components/Heading/index.js.map +1 -1
- package/dist/esm/components/Icon/generated/index.js +373 -338
- package/dist/esm/components/Icon/generated/index.js.map +1 -1
- package/dist/esm/components/Icon/index.js +4 -6
- package/dist/esm/components/Link/index.js +1 -1
- package/dist/esm/components/Logo/generated/index.js +6 -0
- package/dist/esm/components/Logo/index.js +7 -0
- package/dist/esm/components/Menu/index.js +1 -1
- package/dist/esm/components/Modal/index.js +1 -1
- package/dist/esm/components/NotificationCounter/index.js +5 -11
- package/dist/esm/components/NotificationCounter/index.js.map +1 -1
- package/dist/esm/components/Picture/index.js +1 -16
- package/dist/esm/components/Picture/index.js.map +1 -1
- package/dist/esm/components/PinInput/index.js +6 -0
- package/dist/esm/components/PinInput/index.js.map +1 -0
- package/dist/esm/components/Popover/index.js +1 -1
- package/dist/esm/components/RadioGroup/index.js +1 -1
- package/dist/esm/components/RatingDots/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/SortableList/index.js +1 -1
- package/dist/esm/components/Spinner/index.js +1 -1
- package/dist/esm/{patterns → components}/StyledAvatar/index.js +1 -1
- package/dist/esm/components/StyledAvatar/index.js.map +1 -0
- package/dist/esm/components/Swatch/index.js +3 -62
- package/dist/esm/components/Swatch/index.js.map +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/Tag/index.js +5 -6
- package/dist/esm/{patterns → components}/TagBlock/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js.map +1 -0
- package/dist/esm/components/Text/index.js +2 -4
- package/dist/esm/components/Text/index.js.map +1 -1
- package/dist/esm/components/TextInput/index.js +2 -3
- package/dist/esm/components/Textarea/index.js +1 -1
- package/dist/esm/components/TimePicker/index.js +1 -1
- package/dist/esm/components/TimeRange/index.js +1 -1
- package/dist/esm/components/Timestamp/index.js +5 -0
- package/dist/esm/components/Timestamp/index.js.map +1 -0
- package/dist/esm/components/Toast/index.js +59 -0
- package/dist/esm/components/Toast/index.js.map +1 -0
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +122 -111
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/hocs/index.js +3 -35
- package/dist/esm/hocs/index.js.map +1 -1
- package/dist/esm/hooks/index.js +7 -17
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useBreakpoint/index.js +12 -0
- package/dist/esm/hooks/useBreakpoint/index.js.map +1 -0
- package/dist/esm/hooks/useDeviceType/index.js +12 -0
- package/dist/esm/hooks/useDeviceType/index.js.map +1 -0
- package/dist/esm/index.js +141 -115
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/shared/index.js +9 -0
- package/dist/esm/shared/index.js.map +1 -0
- package/dist/esm/shared/records/index.js +18 -0
- package/dist/esm/shared/records/index.js.map +1 -0
- package/dist/esm/theme/index.js +4 -2477
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/tokens/blurs/index.js +1 -13
- package/dist/esm/theme/tokens/blurs/index.js.map +1 -1
- package/dist/esm/theme/tokens/borders/index.js +1 -22
- package/dist/esm/theme/tokens/borders/index.js.map +1 -1
- package/dist/esm/theme/tokens/index.js +2 -26
- package/dist/esm/theme/tokens/index.js.map +1 -1
- package/dist/esm/theme/tokens/shadows/index.js +1 -55
- package/dist/esm/theme/tokens/shadows/index.js.map +1 -1
- package/dist/esm/theme/tokens/sizes/index.js +1 -28
- package/dist/esm/theme/tokens/sizes/index.js.map +1 -1
- package/dist/esm/theme/tokens/spacing/index.js +1 -38
- package/dist/esm/theme/tokens/spacing/index.js.map +1 -1
- package/dist/esm/theme/tokens/transitions/index.js +1 -17
- package/dist/esm/theme/tokens/transitions/index.js.map +1 -1
- package/dist/esm/theme/tokens/typography/index.js +1 -53
- package/dist/esm/theme/tokens/typography/index.js.map +1 -1
- package/dist/esm/theme/tokens/zIndices/index.js +1 -19
- package/dist/esm/theme/tokens/zIndices/index.js.map +1 -1
- package/dist/types/chakra/index.d.ts +52 -0
- package/dist/types/cli/generate-theme-types.d.ts +2 -0
- package/dist/types/cli/postinstall.d.ts +2 -0
- package/dist/types/components/Alert/alert.component.d.ts +5 -13
- package/dist/types/components/Alert/alert.recipe.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +0 -1
- package/dist/types/components/Avatar/avatar.recipe.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +1 -1
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.recipe.d.ts +2 -2
- package/dist/types/components/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +1 -1
- package/dist/types/components/Button/button.component.d.ts +2 -3
- package/dist/types/components/Button/button.recipe.d.ts +2 -2
- package/dist/types/components/Card/card.component.d.ts +1 -1
- package/dist/types/components/Card/index.d.ts +0 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardButtons/conversationCardButtons.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardContent/conversationCardContent.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardFooter/conversationCardFooter.component.d.ts +2 -2
- package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardTags/conversationCardTags.component.d.ts +1 -1
- package/dist/types/{patterns → components}/ConversationCard/conversationCard.component.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +0 -1
- package/dist/types/components/Divider/divider.component.d.ts +4 -0
- package/dist/types/components/Divider/divider.types.d.ts +6 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Heading/heading.component.d.ts +1 -2
- package/dist/types/components/Heading/heading.recipe.d.ts +1 -1
- package/dist/types/components/Heading/heading.types.d.ts +1 -1
- package/dist/types/components/Heading/index.d.ts +0 -1
- package/dist/types/components/Icon/generated/AiMicrophone.d.ts +10 -0
- package/dist/types/components/Icon/generated/index.d.ts +1 -1
- package/dist/types/components/Icon/icon.component.d.ts +2 -3
- package/dist/types/components/Icon/index.d.ts +0 -1
- package/dist/types/components/Link/link.recipe.d.ts +1 -1
- package/dist/types/components/Logo/generated/FullLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/IconLogo.d.ts +10 -0
- package/dist/types/components/Logo/generated/index.d.ts +4 -0
- package/dist/types/components/Logo/index.d.ts +2 -0
- package/dist/types/components/Logo/logo.component.d.ts +10 -0
- package/dist/types/components/Logo/logo.recipe.d.ts +9 -0
- package/dist/types/components/Logo/logo.types.d.ts +4 -0
- package/dist/types/components/Menu/components/MenuItem/menuItem.component.d.ts +3 -2
- package/dist/types/components/Menu/menu.component.d.ts +1 -1
- package/dist/types/components/Modal/context/modal.context.d.ts +6 -0
- package/dist/types/components/Modal/modal.recipe.d.ts +1 -1
- package/dist/types/components/NotificationCounter/index.d.ts +0 -1
- package/dist/types/components/NotificationCounter/notificationCounter.recipe.d.ts +2 -2
- package/dist/types/components/PinInput/index.d.ts +2 -0
- package/dist/types/components/PinInput/pinInput.component.d.ts +10 -0
- package/dist/types/components/PinInput/pinInput.recipe.d.ts +21 -0
- package/dist/types/components/PinInput/pinInput.records.d.ts +1 -0
- package/dist/types/components/PinInput/pinInput.types.d.ts +2 -0
- package/dist/types/components/Popover/popover.recipe.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +1 -0
- package/dist/types/components/Select/select.component.d.ts +3 -0
- package/dist/types/components/SortableList/index.d.ts +1 -0
- package/dist/types/components/Spinner/spinner.component.d.ts +1 -1
- package/dist/types/components/Spinner/spinner.recipe.d.ts +2 -2
- package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.component.d.ts +1 -1
- package/dist/types/components/Swatch/swatch.recipe.d.ts +1 -1
- package/dist/types/components/Tabs/tabs.recipe.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +0 -1
- package/dist/types/components/Tag/tag.recipe.d.ts +1 -1
- package/dist/types/{patterns → components}/TagBlock/tagBlock.component.d.ts +1 -1
- package/dist/types/components/Text/index.d.ts +0 -1
- package/dist/types/components/Text/text.component.d.ts +1 -2
- package/dist/types/components/Text/text.recipe.d.ts +1 -2
- package/dist/types/components/Text/text.types.d.ts +1 -1
- package/dist/types/components/TextInput/index.d.ts +0 -1
- package/dist/types/{patterns → components}/Timestamp/timestamp.component.d.ts +1 -1
- package/dist/types/components/Toast/components/ToastAction/toastAction.component.d.ts +12 -0
- package/dist/types/components/Toast/components/Toaster/toaster.component.d.ts +7 -0
- package/dist/types/components/Toast/components/Toaster/toaster.records.d.ts +11 -0
- package/dist/types/components/Toast/components/Toaster/toaster.types.d.ts +12 -0
- package/dist/types/components/Toast/index.d.ts +2 -0
- package/dist/types/components/Toast/toast.component.d.ts +14 -0
- package/dist/types/components/Toast/toast.recipe.d.ts +21 -0
- package/dist/types/components/Toast/toast.types.d.ts +19 -0
- package/dist/types/components/Toast/useToast.d.ts +3 -0
- package/dist/types/components/Tooltip/tooltip.recipe.d.ts +1 -0
- package/dist/types/components/index.d.ts +9 -1
- package/dist/types/hocs/withFormControl/withFormControl.d.ts +2 -1
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useBreakpoint/index.d.ts +1 -0
- package/dist/types/hooks/useDeviceType/index.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/records/index.d.ts +1 -0
- package/dist/types/shared/records/status.d.ts +5 -0
- package/dist/types/shared/records/typography.d.ts +1 -1
- package/dist/types/theme/index.d.ts +2 -1
- package/dist/types/theme/providers/theme.provider.d.ts +3 -1
- package/dist/types/theme/semanticTokens/semanticTokens.config.d.ts +4 -0
- package/dist/types/theme/semanticTokens/semanticTokens.records.d.ts +8 -0
- package/dist/types/theme/theme.config.d.ts +2 -0
- package/dist/types/theme/tokens/blurs/blurs.config.d.ts +6 -6
- package/dist/types/theme/tokens/blurs/index.d.ts +0 -1
- package/dist/types/theme/tokens/borders/borders.config.d.ts +9 -9
- package/dist/types/theme/tokens/borders/index.d.ts +0 -1
- package/dist/types/theme/tokens/shadows/index.d.ts +0 -1
- package/dist/types/theme/tokens/shadows/shadows.config.d.ts +11 -11
- package/dist/types/theme/tokens/sizes/index.d.ts +0 -1
- package/dist/types/theme/tokens/sizes/sizes.config.d.ts +24 -10
- package/dist/types/theme/tokens/spacing/index.d.ts +0 -1
- package/dist/types/theme/tokens/spacing/spacing.config.d.ts +21 -21
- package/dist/types/theme/tokens/transitions/index.d.ts +0 -1
- package/dist/types/theme/tokens/transitions/transitions.config.d.ts +6 -6
- package/dist/types/theme/tokens/typography/index.d.ts +0 -1
- package/dist/types/theme/tokens/typography/typography.config.d.ts +29 -74
- package/dist/types/theme/tokens/zIndices/index.d.ts +0 -1
- package/dist/types/theme/tokens/zIndices/zIndices.config.d.ts +11 -11
- package/package.json +73 -43
- package/dist/chunks/alert.types-BgmtNKXK.js +0 -2
- package/dist/chunks/alert.types-BgmtNKXK.js.map +0 -1
- package/dist/chunks/alert.types-Bxdx-xbS.js +0 -172
- package/dist/chunks/alert.types-Bxdx-xbS.js.map +0 -1
- package/dist/chunks/avatar.component-BdxN6QYq.js +0 -307
- package/dist/chunks/avatar.component-BdxN6QYq.js.map +0 -1
- package/dist/chunks/avatar.component-BzPaBLJu.js +0 -2
- package/dist/chunks/avatar.component-BzPaBLJu.js.map +0 -1
- package/dist/chunks/avatarGroup.component-Q43nemix.js +0 -2
- package/dist/chunks/button.component-B0GkYzVz.js +0 -2
- package/dist/chunks/button.component-B0GkYzVz.js.map +0 -1
- package/dist/chunks/button.component-BtkAjIWe.js.map +0 -1
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js +0 -2
- package/dist/chunks/buttonGroup.component-B2VRV-q9.js.map +0 -1
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js +0 -67
- package/dist/chunks/buttonGroup.component-ZElXi_Hz.js.map +0 -1
- package/dist/chunks/card.component-HX-4Y0j7.js +0 -51
- package/dist/chunks/card.component-HX-4Y0j7.js.map +0 -1
- package/dist/chunks/card.component-ZIoJIWVV.js +0 -2
- package/dist/chunks/card.component-ZIoJIWVV.js.map +0 -1
- package/dist/chunks/chakra-BqBkjpvZ.js.map +0 -1
- package/dist/chunks/chakra-DmF8Cxqs.js +0 -5
- package/dist/chunks/chakra-DmF8Cxqs.js.map +0 -1
- package/dist/chunks/characterCounter.component-BXxyn_IB.js +0 -2
- package/dist/chunks/checkbox.component-DCdt-YxF.js +0 -90
- package/dist/chunks/checkbox.component-DCdt-YxF.js.map +0 -1
- package/dist/chunks/checkbox.component-jiWqSWP0.js +0 -2
- package/dist/chunks/checkbox.component-jiWqSWP0.js.map +0 -1
- package/dist/chunks/checkbox.records-DJfdKuOe.js +0 -2
- package/dist/chunks/checkbox.records-DJfdKuOe.js.map +0 -1
- package/dist/chunks/checkbox.records-JWbKQ684.js +0 -14
- package/dist/chunks/checkbox.records-JWbKQ684.js.map +0 -1
- package/dist/chunks/checkboxGroup.component-BYKUQW4y.js +0 -2
- package/dist/chunks/checkboxGroup.component-DcIdfbbl.js +0 -51
- package/dist/chunks/conversationCard.component-BSfDNuuw.js.map +0 -1
- package/dist/chunks/conversationCard.component-BcHNpQ76.js +0 -2
- package/dist/chunks/conversationCard.component-BcHNpQ76.js.map +0 -1
- package/dist/chunks/date-1NFv48Qu.js +0 -3598
- package/dist/chunks/date-1NFv48Qu.js.map +0 -1
- package/dist/chunks/date-Du64Exix.js +0 -15
- package/dist/chunks/date-Du64Exix.js.map +0 -1
- package/dist/chunks/datePicker.component-CnRDt24V.js +0 -2
- package/dist/chunks/datePicker.component-CnRDt24V.js.map +0 -1
- package/dist/chunks/datePicker.component-DubnEnlU.js +0 -750
- package/dist/chunks/datePicker.component-DubnEnlU.js.map +0 -1
- package/dist/chunks/dnd-4IMP_kRN.js +0 -6
- package/dist/chunks/dnd-4IMP_kRN.js.map +0 -1
- package/dist/chunks/dnd-DDR6viHX.js.map +0 -1
- package/dist/chunks/heading.component-B8niLTxz.js +0 -10
- package/dist/chunks/heading.component-B8niLTxz.js.map +0 -1
- package/dist/chunks/heading.component-CExbjSBi.js +0 -2
- package/dist/chunks/heading.component-CExbjSBi.js.map +0 -1
- package/dist/chunks/heading.records-BaWnrbgl.js +0 -14
- package/dist/chunks/heading.records-BaWnrbgl.js.map +0 -1
- package/dist/chunks/heading.records-CbR05iL_.js +0 -2
- package/dist/chunks/heading.records-CbR05iL_.js.map +0 -1
- package/dist/chunks/icon.component-DjNY589M.js.map +0 -1
- package/dist/chunks/icon.component-DtX9HDyk.js +0 -2
- package/dist/chunks/icon.component-DtX9HDyk.js.map +0 -1
- package/dist/chunks/link.component-DjkiASIu.js +0 -58
- package/dist/chunks/link.component-DjkiASIu.js.map +0 -1
- package/dist/chunks/link.component-XWINESZ0.js +0 -2
- package/dist/chunks/link.component-XWINESZ0.js.map +0 -1
- package/dist/chunks/menu.component-CT28-CuT.js +0 -2
- package/dist/chunks/menu.component-CT28-CuT.js.map +0 -1
- package/dist/chunks/menu.component-gxhQh-pU.js +0 -390
- package/dist/chunks/menu.component-gxhQh-pU.js.map +0 -1
- package/dist/chunks/modal.types-CcUqszK6.js +0 -2
- package/dist/chunks/modal.types-CcUqszK6.js.map +0 -1
- package/dist/chunks/modal.types-pXkUwszR.js +0 -146
- package/dist/chunks/modal.types-pXkUwszR.js.map +0 -1
- package/dist/chunks/notificationCounter.component-D6v39lna.js +0 -2
- package/dist/chunks/popover.component-CnJmg9qf.js +0 -221
- package/dist/chunks/popover.component-CnJmg9qf.js.map +0 -1
- package/dist/chunks/popover.component-DdC0CY7-.js +0 -2
- package/dist/chunks/popover.component-DdC0CY7-.js.map +0 -1
- package/dist/chunks/popover.recipe-DnCuZJd3.js +0 -123
- package/dist/chunks/popover.recipe-DnCuZJd3.js.map +0 -1
- package/dist/chunks/popover.recipe-Pfz3evii.js +0 -2
- package/dist/chunks/popover.recipe-Pfz3evii.js.map +0 -1
- package/dist/chunks/radio.records-BxCn4oUd.js +0 -2
- package/dist/chunks/radio.records-BxCn4oUd.js.map +0 -1
- package/dist/chunks/radio.records-Cc3kP4Vn.js +0 -14
- package/dist/chunks/radio.records-Cc3kP4Vn.js.map +0 -1
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js +0 -2
- package/dist/chunks/radioGroup.component-Cmi6MDqq.js.map +0 -1
- package/dist/chunks/radioGroup.component-D96ItNYx.js +0 -151
- package/dist/chunks/radioGroup.component-D96ItNYx.js.map +0 -1
- package/dist/chunks/ratingDots.component-DOZX6EE0.js +0 -2
- package/dist/chunks/select.component-CqhmG4oz.js +0 -2
- package/dist/chunks/select.component-CqhmG4oz.js.map +0 -1
- package/dist/chunks/select.component-_JVxRL_-.js +0 -129
- package/dist/chunks/select.component-_JVxRL_-.js.map +0 -1
- package/dist/chunks/sortableList.component-BH9-C_Pe.js +0 -2
- package/dist/chunks/sortableList.component-BH9-C_Pe.js.map +0 -1
- package/dist/chunks/sortableList.component-CdDArkRq.js +0 -145
- package/dist/chunks/sortableList.component-CdDArkRq.js.map +0 -1
- package/dist/chunks/spinner.component-CUuidnSK.js +0 -2
- package/dist/chunks/spinner.component-D5tkelNc.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js +0 -2
- package/dist/chunks/styledAvatar.types-CMdLnJHx.js.map +0 -1
- package/dist/chunks/styledAvatar.types-CoxQchLt.js.map +0 -1
- package/dist/chunks/switch.component-6jkW8-JB.js +0 -2
- package/dist/chunks/switch.component-6jkW8-JB.js.map +0 -1
- package/dist/chunks/switch.component-BopLXT0i.js +0 -53
- package/dist/chunks/switch.component-BopLXT0i.js.map +0 -1
- package/dist/chunks/tabs.component-BJv145kf.js +0 -2
- package/dist/chunks/tabs.component-BJv145kf.js.map +0 -1
- package/dist/chunks/tabs.component-DTvdLvkX.js +0 -87
- package/dist/chunks/tabs.component-DTvdLvkX.js.map +0 -1
- package/dist/chunks/tag.component-DK64cZSr.js +0 -67
- package/dist/chunks/tag.component-DK64cZSr.js.map +0 -1
- package/dist/chunks/tag.component-D_hbxu6m.js +0 -2
- package/dist/chunks/tag.component-D_hbxu6m.js.map +0 -1
- package/dist/chunks/tagBlock.component-LX4_ve_f.js.map +0 -1
- package/dist/chunks/tagBlock.component-a2gERgrx.js +0 -2
- package/dist/chunks/tagBlock.component-a2gERgrx.js.map +0 -1
- package/dist/chunks/text.component-CBa_saMP.js +0 -2
- package/dist/chunks/text.component-CBa_saMP.js.map +0 -1
- package/dist/chunks/text.component-XYjOAc2s.js +0 -10
- package/dist/chunks/text.component-XYjOAc2s.js.map +0 -1
- package/dist/chunks/text.records-BK_JBYsT.js +0 -16
- package/dist/chunks/text.records-BK_JBYsT.js.map +0 -1
- package/dist/chunks/text.records-CIL3bbY0.js +0 -2
- package/dist/chunks/text.records-CIL3bbY0.js.map +0 -1
- package/dist/chunks/textInput.component-Bk7D4sbG.js +0 -99
- package/dist/chunks/textInput.component-Bk7D4sbG.js.map +0 -1
- package/dist/chunks/textInput.component-GSpfSqUc.js +0 -2
- package/dist/chunks/textInput.component-GSpfSqUc.js.map +0 -1
- package/dist/chunks/textarea.component-B8U8KcND.js +0 -2
- package/dist/chunks/textarea.component-B8U8KcND.js.map +0 -1
- package/dist/chunks/textarea.component-CT8iVuNX.js +0 -51
- package/dist/chunks/textarea.component-CT8iVuNX.js.map +0 -1
- package/dist/chunks/timePicker.component-Dw_FjiQX.js +0 -2
- package/dist/chunks/timeRange.component-B3OvVyo_.js +0 -17
- package/dist/chunks/timeRange.component-RLisXhuw.js +0 -2
- package/dist/chunks/timestamp.component-CuqY4euh.js +0 -2
- package/dist/chunks/timestamp.component-CuqY4euh.js.map +0 -1
- package/dist/chunks/timestamp.component-D764INLm.js +0 -37
- package/dist/chunks/timestamp.component-D764INLm.js.map +0 -1
- package/dist/chunks/tooltip.component-C3v2m2T2.js +0 -70
- package/dist/chunks/tooltip.component-C3v2m2T2.js.map +0 -1
- package/dist/chunks/tooltip.component-qWFa28S5.js +0 -2
- package/dist/chunks/tooltip.component-qWFa28S5.js.map +0 -1
- package/dist/chunks/vendor-BBfll6i3.js +0 -11757
- package/dist/chunks/vendor-BBfll6i3.js.map +0 -1
- package/dist/chunks/vendor-D-x6W6ez.js +0 -57
- package/dist/chunks/vendor-D-x6W6ez.js.map +0 -1
- package/dist/chunks/withFormControl-B269FujS.js +0 -149
- package/dist/chunks/withFormControl-B269FujS.js.map +0 -1
- package/dist/chunks/withFormControl-Cy6Bwv0i.js +0 -2
- package/dist/chunks/withFormControl-Cy6Bwv0i.js.map +0 -1
- package/dist/chunks/withTruncation-BskZBBVs.js +0 -2
- package/dist/cjs/patterns/index.cjs +0 -2
- package/dist/esm/patterns/Timestamp/index.js +0 -5
- package/dist/esm/patterns/index.js +0 -13
- package/dist/esm/patterns/index.js.map +0 -1
- package/dist/types/components/Alert/alert.records.d.ts +0 -5
- package/dist/types/components/Alert/docs/alert.argTypes.d.ts +0 -5
- package/dist/types/components/Alert.d.ts +0 -2
- package/dist/types/components/Avatar/components/AvatarBadge/docs/avatarBadge.argTypes.d.ts +0 -3
- package/dist/types/components/Avatar/docs/avatar.argTypes.d.ts +0 -3
- package/dist/types/components/Avatar.d.ts +0 -2
- package/dist/types/components/AvatarGroup/docs/avatarGroup.argTypes.d.ts +0 -3
- package/dist/types/components/AvatarGroup.d.ts +0 -2
- package/dist/types/components/Button/docs/button.argTypes.d.ts +0 -3
- package/dist/types/components/Button.d.ts +0 -2
- package/dist/types/components/ButtonGroup/docs/buttonGroup.argTypes.d.ts +0 -3
- package/dist/types/components/ButtonGroup.d.ts +0 -2
- package/dist/types/components/Card/docs/card.argTypes.d.ts +0 -3
- package/dist/types/components/Card.d.ts +0 -2
- package/dist/types/components/CharacterCounter/docs/characterCounter.argTypes.d.ts +0 -3
- package/dist/types/components/CharacterCounter.d.ts +0 -2
- package/dist/types/components/Checkbox/docs/checkbox.argTypes.d.ts +0 -3
- package/dist/types/components/Checkbox.d.ts +0 -2
- package/dist/types/components/CheckboxGroup/docs/checkboxGroup.argTypes.d.ts +0 -3
- package/dist/types/components/CheckboxGroup.d.ts +0 -2
- package/dist/types/components/DatePicker/docs/datePicker.argTypes.d.ts +0 -3
- package/dist/types/components/DatePicker.d.ts +0 -2
- package/dist/types/components/Heading/docs/heading.argTypes.d.ts +0 -3
- package/dist/types/components/Heading.d.ts +0 -2
- package/dist/types/components/Icon/docs/icon.argTypes.d.ts +0 -3
- package/dist/types/components/Icon/generated.d.ts +0 -2
- package/dist/types/components/Icon.d.ts +0 -2
- package/dist/types/components/Link/docs/link.argTypes.d.ts +0 -5
- package/dist/types/components/Link.d.ts +0 -2
- package/dist/types/components/Menu/docs/menu.argTypes.d.ts +0 -4
- package/dist/types/components/Menu.d.ts +0 -2
- package/dist/types/components/Modal/docs/modal.argTypes.d.ts +0 -3
- package/dist/types/components/Modal.d.ts +0 -2
- package/dist/types/components/NotificationCounter/docs/notificationCounter.argTypes.d.ts +0 -3
- package/dist/types/components/NotificationCounter.d.ts +0 -2
- package/dist/types/components/Picture/docs/picture.argTypes.d.ts +0 -3
- package/dist/types/components/Picture.d.ts +0 -2
- package/dist/types/components/Popover/docs/popover.argTypes.d.ts +0 -3
- package/dist/types/components/Popover.d.ts +0 -2
- package/dist/types/components/RadioGroup/components/Radio/docs/radio.argTypes.d.ts +0 -3
- package/dist/types/components/RadioGroup/docs/radioGroup.argTypes.d.ts +0 -3
- package/dist/types/components/RadioGroup.d.ts +0 -2
- package/dist/types/components/RatingDots/docs/ratingDots.argTypes.d.ts +0 -3
- package/dist/types/components/RatingDots.d.ts +0 -2
- package/dist/types/components/Select/docs/select.argTypes.d.ts +0 -3
- package/dist/types/components/Select.d.ts +0 -2
- package/dist/types/components/SortableList/docs/sortableList.argTypes.d.ts +0 -3
- package/dist/types/components/SortableList.d.ts +0 -2
- package/dist/types/components/Spinner/docs/spinner.argTypes.d.ts +0 -3
- package/dist/types/components/Spinner.d.ts +0 -2
- package/dist/types/components/Swatch/docs/swatch.argTypes.d.ts +0 -3
- package/dist/types/components/Swatch.d.ts +0 -2
- package/dist/types/components/Switch/docs/switch.argTypes.d.ts +0 -3
- package/dist/types/components/Switch.d.ts +0 -2
- package/dist/types/components/Tabs/components/Tab/docs/tab.argTypes.d.ts +0 -3
- package/dist/types/components/Tabs/docs/tabs.argTypes.d.ts +0 -3
- package/dist/types/components/Tabs.d.ts +0 -2
- package/dist/types/components/Tag/docs/tag.argTypes.d.ts +0 -3
- package/dist/types/components/Tag.d.ts +0 -2
- package/dist/types/components/Text/docs/text.argTypes.d.ts +0 -3
- package/dist/types/components/Text.d.ts +0 -2
- package/dist/types/components/TextInput/docs/textInput.argTypes.d.ts +0 -3
- package/dist/types/components/TextInput.d.ts +0 -2
- package/dist/types/components/Textarea/docs/textarea.argTypes.d.ts +0 -3
- package/dist/types/components/Textarea.d.ts +0 -2
- package/dist/types/components/TimePicker/docs/timePicker.argTypes.d.ts +0 -3
- package/dist/types/components/TimePicker.d.ts +0 -2
- package/dist/types/components/TimeRange/docs/timeRange.argTypes.d.ts +0 -3
- package/dist/types/components/TimeRange.d.ts +0 -2
- package/dist/types/components/Tooltip/docs/tooltip.argTypes.d.ts +0 -3
- package/dist/types/components/Tooltip.d.ts +0 -2
- package/dist/types/components.d.ts +0 -2
- package/dist/types/hocs.d.ts +0 -2
- package/dist/types/hooks.d.ts +0 -2
- package/dist/types/patterns/ConversationCard/docs/conversationCard.argTypes.d.ts +0 -12
- package/dist/types/patterns/ConversationCard/docs/conversationCard.storiesData.d.ts +0 -22
- package/dist/types/patterns/ConversationCard.d.ts +0 -2
- package/dist/types/patterns/StyledAvatar/docs/styledAvatar.argTypes.d.ts +0 -3
- package/dist/types/patterns/StyledAvatar.d.ts +0 -2
- package/dist/types/patterns/TagBlock/docs/tagBlock.argTypes.d.ts +0 -3
- package/dist/types/patterns/TagBlock.d.ts +0 -2
- package/dist/types/patterns/Timestamp/docs/timestamp.argTypes.d.ts +0 -3
- package/dist/types/patterns/Timestamp.d.ts +0 -2
- package/dist/types/patterns/index.d.ts +0 -4
- package/dist/types/patterns.d.ts +0 -2
- package/dist/types/shared/types.d.ts +0 -2
- package/dist/types/theme/semanticTokens/docs/semanticTokens.d.ts +0 -7
- package/dist/types/theme/semanticTokens.d.ts +0 -2
- package/dist/types/theme/tokens/blurs.d.ts +0 -2
- package/dist/types/theme/tokens/borders/docs/borders.d.ts +0 -5
- package/dist/types/theme/tokens/borders.d.ts +0 -2
- package/dist/types/theme/tokens/colors.d.ts +0 -2
- package/dist/types/theme/tokens/shadows/docs/shadows.d.ts +0 -6
- package/dist/types/theme/tokens/shadows.d.ts +0 -2
- package/dist/types/theme/tokens/sizes.d.ts +0 -2
- package/dist/types/theme/tokens/spacing.d.ts +0 -2
- package/dist/types/theme/tokens/transitions.d.ts +0 -2
- package/dist/types/theme/tokens/typography/docs/typography.d.ts +0 -2
- package/dist/types/theme/tokens/typography.d.ts +0 -2
- package/dist/types/theme/tokens/zIndices.d.ts +0 -2
- package/dist/types/theme/tokens.d.ts +0 -2
- package/dist/types/theme.d.ts +0 -2
- /package/dist/cjs/{patterns → components}/ConversationCard/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/StyledAvatar → components/Divider}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/TagBlock → components/Logo/generated}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns/Timestamp → components/Logo}/index.cjs.map +0 -0
- /package/dist/cjs/{patterns → components/PinInput}/index.cjs.map +0 -0
- /package/dist/esm/{patterns → components}/ConversationCard/index.js.map +0 -0
- /package/dist/esm/{patterns/StyledAvatar → components/Divider}/index.js.map +0 -0
- /package/dist/esm/{patterns/TagBlock → components/Logo/generated}/index.js.map +0 -0
- /package/dist/esm/{patterns/Timestamp → components/Logo}/index.js.map +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardAvatarGroup/conversationCardAvatarGroup.component.d.ts +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/components/ConversationCardHeader/conversationCardHeader.component.d.ts +0 -0
- /package/dist/types/{patterns → components}/ConversationCard/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/StyledAvatar/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/StyledAvatar/styledAvatar.types.d.ts +0 -0
- /package/dist/types/{patterns → components}/TagBlock/index.d.ts +0 -0
- /package/dist/types/{patterns → components}/TagBlock/tagBlock.types.d.ts +0 -0
- /package/dist/types/{patterns → components}/Timestamp/index.d.ts +0 -0
|
@@ -0,0 +1,2301 @@
|
|
|
1
|
+
import { j as ue } from "./jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { a3 as mt, a2 as pt, b5 as yt, ac as Je, O as ht, b6 as re, b7 as Oe, b8 as vt, a8 as ie, a9 as He, b9 as xt, F as wt, Y as bt, c as Ot, ab as St, aq as Et, r as Re, e as Ze, D as Rt, ba as At, l as Tt, bb as _t, ad as Pt, Z as Nt } from "./index-CYk-7wwG.js";
|
|
3
|
+
import Qe, { createContext as Ct, useContext as Dt, useState as Ae, useSyncExternalStore as Mt, useEffect as se, Children as et, useMemo as Lt, useRef as L, useLayoutEffect as kt, memo as $t, forwardRef as Vt, createElement as Ht, isValidElement as zt, cloneElement as Ut, useCallback as Ft } from "react";
|
|
4
|
+
var fe = { exports: {} }, N = {};
|
|
5
|
+
/**
|
|
6
|
+
* @license React
|
|
7
|
+
* react-dom.production.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
var ze;
|
|
15
|
+
function It() {
|
|
16
|
+
if (ze) return N;
|
|
17
|
+
ze = 1;
|
|
18
|
+
var e = Qe;
|
|
19
|
+
function t(u) {
|
|
20
|
+
var s = "https://react.dev/errors/" + u;
|
|
21
|
+
if (1 < arguments.length) {
|
|
22
|
+
s += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
23
|
+
for (var g = 2; g < arguments.length; g++)
|
|
24
|
+
s += "&args[]=" + encodeURIComponent(arguments[g]);
|
|
25
|
+
}
|
|
26
|
+
return "Minified React error #" + u + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
27
|
+
}
|
|
28
|
+
function r() {
|
|
29
|
+
}
|
|
30
|
+
var n = {
|
|
31
|
+
d: {
|
|
32
|
+
f: r,
|
|
33
|
+
r: function() {
|
|
34
|
+
throw Error(t(522));
|
|
35
|
+
},
|
|
36
|
+
D: r,
|
|
37
|
+
C: r,
|
|
38
|
+
L: r,
|
|
39
|
+
m: r,
|
|
40
|
+
X: r,
|
|
41
|
+
S: r,
|
|
42
|
+
M: r
|
|
43
|
+
},
|
|
44
|
+
p: 0,
|
|
45
|
+
findDOMNode: null
|
|
46
|
+
}, o = Symbol.for("react.portal");
|
|
47
|
+
function c(u, s, g) {
|
|
48
|
+
var a = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
49
|
+
return {
|
|
50
|
+
$$typeof: o,
|
|
51
|
+
key: a == null ? null : "" + a,
|
|
52
|
+
children: u,
|
|
53
|
+
containerInfo: s,
|
|
54
|
+
implementation: g
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
var l = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
58
|
+
function f(u, s) {
|
|
59
|
+
if (u === "font") return "";
|
|
60
|
+
if (typeof s == "string")
|
|
61
|
+
return s === "use-credentials" ? s : "";
|
|
62
|
+
}
|
|
63
|
+
return N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, N.createPortal = function(u, s) {
|
|
64
|
+
var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
65
|
+
if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
|
|
66
|
+
throw Error(t(299));
|
|
67
|
+
return c(u, s, null, g);
|
|
68
|
+
}, N.flushSync = function(u) {
|
|
69
|
+
var s = l.T, g = n.p;
|
|
70
|
+
try {
|
|
71
|
+
if (l.T = null, n.p = 2, u) return u();
|
|
72
|
+
} finally {
|
|
73
|
+
l.T = s, n.p = g, n.d.f();
|
|
74
|
+
}
|
|
75
|
+
}, N.preconnect = function(u, s) {
|
|
76
|
+
typeof u == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, n.d.C(u, s));
|
|
77
|
+
}, N.prefetchDNS = function(u) {
|
|
78
|
+
typeof u == "string" && n.d.D(u);
|
|
79
|
+
}, N.preinit = function(u, s) {
|
|
80
|
+
if (typeof u == "string" && s && typeof s.as == "string") {
|
|
81
|
+
var g = s.as, a = f(g, s.crossOrigin), i = typeof s.integrity == "string" ? s.integrity : void 0, d = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
|
|
82
|
+
g === "style" ? n.d.S(
|
|
83
|
+
u,
|
|
84
|
+
typeof s.precedence == "string" ? s.precedence : void 0,
|
|
85
|
+
{
|
|
86
|
+
crossOrigin: a,
|
|
87
|
+
integrity: i,
|
|
88
|
+
fetchPriority: d
|
|
89
|
+
}
|
|
90
|
+
) : g === "script" && n.d.X(u, {
|
|
91
|
+
crossOrigin: a,
|
|
92
|
+
integrity: i,
|
|
93
|
+
fetchPriority: d,
|
|
94
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}, N.preinitModule = function(u, s) {
|
|
98
|
+
if (typeof u == "string")
|
|
99
|
+
if (typeof s == "object" && s !== null) {
|
|
100
|
+
if (s.as == null || s.as === "script") {
|
|
101
|
+
var g = f(
|
|
102
|
+
s.as,
|
|
103
|
+
s.crossOrigin
|
|
104
|
+
);
|
|
105
|
+
n.d.M(u, {
|
|
106
|
+
crossOrigin: g,
|
|
107
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0,
|
|
108
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
} else s == null && n.d.M(u);
|
|
112
|
+
}, N.preload = function(u, s) {
|
|
113
|
+
if (typeof u == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
|
|
114
|
+
var g = s.as, a = f(g, s.crossOrigin);
|
|
115
|
+
n.d.L(u, g, {
|
|
116
|
+
crossOrigin: a,
|
|
117
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0,
|
|
118
|
+
nonce: typeof s.nonce == "string" ? s.nonce : void 0,
|
|
119
|
+
type: typeof s.type == "string" ? s.type : void 0,
|
|
120
|
+
fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
|
|
121
|
+
referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
|
|
122
|
+
imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
|
|
123
|
+
imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
|
|
124
|
+
media: typeof s.media == "string" ? s.media : void 0
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}, N.preloadModule = function(u, s) {
|
|
128
|
+
if (typeof u == "string")
|
|
129
|
+
if (s) {
|
|
130
|
+
var g = f(s.as, s.crossOrigin);
|
|
131
|
+
n.d.m(u, {
|
|
132
|
+
as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
|
|
133
|
+
crossOrigin: g,
|
|
134
|
+
integrity: typeof s.integrity == "string" ? s.integrity : void 0
|
|
135
|
+
});
|
|
136
|
+
} else n.d.m(u);
|
|
137
|
+
}, N.requestFormReset = function(u) {
|
|
138
|
+
n.d.r(u);
|
|
139
|
+
}, N.unstable_batchedUpdates = function(u, s) {
|
|
140
|
+
return u(s);
|
|
141
|
+
}, N.useFormState = function(u, s, g) {
|
|
142
|
+
return l.H.useFormState(u, s, g);
|
|
143
|
+
}, N.useFormStatus = function() {
|
|
144
|
+
return l.H.useHostTransitionStatus();
|
|
145
|
+
}, N.version = "19.1.0", N;
|
|
146
|
+
}
|
|
147
|
+
var C = {};
|
|
148
|
+
/**
|
|
149
|
+
* @license React
|
|
150
|
+
* react-dom.development.js
|
|
151
|
+
*
|
|
152
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the MIT license found in the
|
|
155
|
+
* LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/
|
|
157
|
+
var Ue;
|
|
158
|
+
function Wt() {
|
|
159
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
160
|
+
function e() {
|
|
161
|
+
}
|
|
162
|
+
function t(a) {
|
|
163
|
+
return "" + a;
|
|
164
|
+
}
|
|
165
|
+
function r(a, i, d) {
|
|
166
|
+
var m = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
167
|
+
try {
|
|
168
|
+
t(m);
|
|
169
|
+
var p = !1;
|
|
170
|
+
} catch {
|
|
171
|
+
p = !0;
|
|
172
|
+
}
|
|
173
|
+
return p && (console.error(
|
|
174
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
175
|
+
typeof Symbol == "function" && Symbol.toStringTag && m[Symbol.toStringTag] || m.constructor.name || "Object"
|
|
176
|
+
), t(m)), {
|
|
177
|
+
$$typeof: s,
|
|
178
|
+
key: m == null ? null : "" + m,
|
|
179
|
+
children: a,
|
|
180
|
+
containerInfo: i,
|
|
181
|
+
implementation: d
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
function n(a, i) {
|
|
185
|
+
if (a === "font") return "";
|
|
186
|
+
if (typeof i == "string")
|
|
187
|
+
return i === "use-credentials" ? i : "";
|
|
188
|
+
}
|
|
189
|
+
function o(a) {
|
|
190
|
+
return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : 'something with type "' + typeof a + '"';
|
|
191
|
+
}
|
|
192
|
+
function c(a) {
|
|
193
|
+
return a === null ? "`null`" : a === void 0 ? "`undefined`" : a === "" ? "an empty string" : typeof a == "string" ? JSON.stringify(a) : typeof a == "number" ? "`" + a + "`" : 'something with type "' + typeof a + '"';
|
|
194
|
+
}
|
|
195
|
+
function l() {
|
|
196
|
+
var a = g.H;
|
|
197
|
+
return a === null && console.error(
|
|
198
|
+
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
199
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
200
|
+
2. You might be breaking the Rules of Hooks
|
|
201
|
+
3. You might have more than one copy of React in the same app
|
|
202
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
203
|
+
), a;
|
|
204
|
+
}
|
|
205
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
206
|
+
var f = Qe, u = {
|
|
207
|
+
d: {
|
|
208
|
+
f: e,
|
|
209
|
+
r: function() {
|
|
210
|
+
throw Error(
|
|
211
|
+
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
|
|
212
|
+
);
|
|
213
|
+
},
|
|
214
|
+
D: e,
|
|
215
|
+
C: e,
|
|
216
|
+
L: e,
|
|
217
|
+
m: e,
|
|
218
|
+
X: e,
|
|
219
|
+
S: e,
|
|
220
|
+
M: e
|
|
221
|
+
},
|
|
222
|
+
p: 0,
|
|
223
|
+
findDOMNode: null
|
|
224
|
+
}, s = Symbol.for("react.portal"), g = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
225
|
+
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
226
|
+
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
227
|
+
), C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, C.createPortal = function(a, i) {
|
|
228
|
+
var d = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
229
|
+
if (!i || i.nodeType !== 1 && i.nodeType !== 9 && i.nodeType !== 11)
|
|
230
|
+
throw Error("Target container is not a DOM element.");
|
|
231
|
+
return r(a, i, null, d);
|
|
232
|
+
}, C.flushSync = function(a) {
|
|
233
|
+
var i = g.T, d = u.p;
|
|
234
|
+
try {
|
|
235
|
+
if (g.T = null, u.p = 2, a)
|
|
236
|
+
return a();
|
|
237
|
+
} finally {
|
|
238
|
+
g.T = i, u.p = d, u.d.f() && console.error(
|
|
239
|
+
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
}, C.preconnect = function(a, i) {
|
|
243
|
+
typeof a == "string" && a ? i != null && typeof i != "object" ? console.error(
|
|
244
|
+
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
|
|
245
|
+
c(i)
|
|
246
|
+
) : i != null && typeof i.crossOrigin != "string" && console.error(
|
|
247
|
+
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
|
|
248
|
+
o(i.crossOrigin)
|
|
249
|
+
) : console.error(
|
|
250
|
+
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
251
|
+
o(a)
|
|
252
|
+
), typeof a == "string" && (i ? (i = i.crossOrigin, i = typeof i == "string" ? i === "use-credentials" ? i : "" : void 0) : i = null, u.d.C(a, i));
|
|
253
|
+
}, C.prefetchDNS = function(a) {
|
|
254
|
+
if (typeof a != "string" || !a)
|
|
255
|
+
console.error(
|
|
256
|
+
"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
257
|
+
o(a)
|
|
258
|
+
);
|
|
259
|
+
else if (1 < arguments.length) {
|
|
260
|
+
var i = arguments[1];
|
|
261
|
+
typeof i == "object" && i.hasOwnProperty("crossOrigin") ? console.error(
|
|
262
|
+
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
263
|
+
c(i)
|
|
264
|
+
) : console.error(
|
|
265
|
+
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
266
|
+
c(i)
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
typeof a == "string" && u.d.D(a);
|
|
270
|
+
}, C.preinit = function(a, i) {
|
|
271
|
+
if (typeof a == "string" && a ? i == null || typeof i != "object" ? console.error(
|
|
272
|
+
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
|
|
273
|
+
c(i)
|
|
274
|
+
) : i.as !== "style" && i.as !== "script" && console.error(
|
|
275
|
+
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
|
|
276
|
+
c(i.as)
|
|
277
|
+
) : console.error(
|
|
278
|
+
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
279
|
+
o(a)
|
|
280
|
+
), typeof a == "string" && i && typeof i.as == "string") {
|
|
281
|
+
var d = i.as, m = n(d, i.crossOrigin), p = typeof i.integrity == "string" ? i.integrity : void 0, y = typeof i.fetchPriority == "string" ? i.fetchPriority : void 0;
|
|
282
|
+
d === "style" ? u.d.S(
|
|
283
|
+
a,
|
|
284
|
+
typeof i.precedence == "string" ? i.precedence : void 0,
|
|
285
|
+
{
|
|
286
|
+
crossOrigin: m,
|
|
287
|
+
integrity: p,
|
|
288
|
+
fetchPriority: y
|
|
289
|
+
}
|
|
290
|
+
) : d === "script" && u.d.X(a, {
|
|
291
|
+
crossOrigin: m,
|
|
292
|
+
integrity: p,
|
|
293
|
+
fetchPriority: y,
|
|
294
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}, C.preinitModule = function(a, i) {
|
|
298
|
+
var d = "";
|
|
299
|
+
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && i.as !== "script" && (d += " The `as` option encountered was " + c(i.as) + "."), d)
|
|
300
|
+
console.error(
|
|
301
|
+
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
302
|
+
d
|
|
303
|
+
);
|
|
304
|
+
else
|
|
305
|
+
switch (d = i && typeof i.as == "string" ? i.as : "script", d) {
|
|
306
|
+
case "script":
|
|
307
|
+
break;
|
|
308
|
+
default:
|
|
309
|
+
d = c(d), console.error(
|
|
310
|
+
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
|
311
|
+
d,
|
|
312
|
+
a
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
typeof a == "string" && (typeof i == "object" && i !== null ? (i.as == null || i.as === "script") && (d = n(
|
|
316
|
+
i.as,
|
|
317
|
+
i.crossOrigin
|
|
318
|
+
), u.d.M(a, {
|
|
319
|
+
crossOrigin: d,
|
|
320
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0,
|
|
321
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0
|
|
322
|
+
})) : i == null && u.d.M(a));
|
|
323
|
+
}, C.preload = function(a, i) {
|
|
324
|
+
var d = "";
|
|
325
|
+
if (typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i == null || typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : typeof i.as == "string" && i.as || (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
|
|
326
|
+
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
327
|
+
d
|
|
328
|
+
), typeof a == "string" && typeof i == "object" && i !== null && typeof i.as == "string") {
|
|
329
|
+
d = i.as;
|
|
330
|
+
var m = n(
|
|
331
|
+
d,
|
|
332
|
+
i.crossOrigin
|
|
333
|
+
);
|
|
334
|
+
u.d.L(a, d, {
|
|
335
|
+
crossOrigin: m,
|
|
336
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0,
|
|
337
|
+
nonce: typeof i.nonce == "string" ? i.nonce : void 0,
|
|
338
|
+
type: typeof i.type == "string" ? i.type : void 0,
|
|
339
|
+
fetchPriority: typeof i.fetchPriority == "string" ? i.fetchPriority : void 0,
|
|
340
|
+
referrerPolicy: typeof i.referrerPolicy == "string" ? i.referrerPolicy : void 0,
|
|
341
|
+
imageSrcSet: typeof i.imageSrcSet == "string" ? i.imageSrcSet : void 0,
|
|
342
|
+
imageSizes: typeof i.imageSizes == "string" ? i.imageSizes : void 0,
|
|
343
|
+
media: typeof i.media == "string" ? i.media : void 0
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
}, C.preloadModule = function(a, i) {
|
|
347
|
+
var d = "";
|
|
348
|
+
typeof a == "string" && a || (d += " The `href` argument encountered was " + o(a) + "."), i !== void 0 && typeof i != "object" ? d += " The `options` argument encountered was " + o(i) + "." : i && "as" in i && typeof i.as != "string" && (d += " The `as` option encountered was " + o(i.as) + "."), d && console.error(
|
|
349
|
+
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
350
|
+
d
|
|
351
|
+
), typeof a == "string" && (i ? (d = n(
|
|
352
|
+
i.as,
|
|
353
|
+
i.crossOrigin
|
|
354
|
+
), u.d.m(a, {
|
|
355
|
+
as: typeof i.as == "string" && i.as !== "script" ? i.as : void 0,
|
|
356
|
+
crossOrigin: d,
|
|
357
|
+
integrity: typeof i.integrity == "string" ? i.integrity : void 0
|
|
358
|
+
})) : u.d.m(a));
|
|
359
|
+
}, C.requestFormReset = function(a) {
|
|
360
|
+
u.d.r(a);
|
|
361
|
+
}, C.unstable_batchedUpdates = function(a, i) {
|
|
362
|
+
return a(i);
|
|
363
|
+
}, C.useFormState = function(a, i, d) {
|
|
364
|
+
return l().useFormState(a, i, d);
|
|
365
|
+
}, C.useFormStatus = function() {
|
|
366
|
+
return l().useHostTransitionStatus();
|
|
367
|
+
}, C.version = "19.1.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
368
|
+
}()), C;
|
|
369
|
+
}
|
|
370
|
+
var Fe;
|
|
371
|
+
function jt() {
|
|
372
|
+
if (Fe) return fe.exports;
|
|
373
|
+
Fe = 1;
|
|
374
|
+
function e() {
|
|
375
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
376
|
+
if (process.env.NODE_ENV !== "production")
|
|
377
|
+
throw new Error("^_^");
|
|
378
|
+
try {
|
|
379
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
|
|
380
|
+
} catch (t) {
|
|
381
|
+
console.error(t);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
return process.env.NODE_ENV === "production" ? (e(), fe.exports = It()) : fe.exports = Wt(), fe.exports;
|
|
386
|
+
}
|
|
387
|
+
var ve = jt();
|
|
388
|
+
function Bt(e, t) {
|
|
389
|
+
return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
|
|
390
|
+
}
|
|
391
|
+
function Ne(e = {}) {
|
|
392
|
+
const {
|
|
393
|
+
name: t,
|
|
394
|
+
strict: r = !0,
|
|
395
|
+
hookName: n = "useContext",
|
|
396
|
+
providerName: o = "Provider",
|
|
397
|
+
errorMessage: c,
|
|
398
|
+
defaultValue: l
|
|
399
|
+
} = e, f = Ct(l);
|
|
400
|
+
f.displayName = t;
|
|
401
|
+
function u() {
|
|
402
|
+
const s = Dt(f);
|
|
403
|
+
if (!s && r) {
|
|
404
|
+
const g = new Error(c ?? Bt(n, o));
|
|
405
|
+
throw g.name = "ContextError", Error.captureStackTrace?.(g, u), g;
|
|
406
|
+
}
|
|
407
|
+
return s;
|
|
408
|
+
}
|
|
409
|
+
return [f.Provider, u, f];
|
|
410
|
+
}
|
|
411
|
+
const [xr, qt] = Ne({
|
|
412
|
+
name: "EnvironmentContext",
|
|
413
|
+
hookName: "useEnvironmentContext",
|
|
414
|
+
providerName: "<EnvironmentProvider />",
|
|
415
|
+
strict: !1,
|
|
416
|
+
defaultValue: {
|
|
417
|
+
getRootNode: () => document,
|
|
418
|
+
getDocument: () => document,
|
|
419
|
+
getWindow: () => window
|
|
420
|
+
}
|
|
421
|
+
}), wr = (e) => {
|
|
422
|
+
const { children: t, disabled: r } = e, [n, o] = Ae(e.container?.current), c = Mt(
|
|
423
|
+
Gt,
|
|
424
|
+
() => !1,
|
|
425
|
+
() => !0
|
|
426
|
+
), { getRootNode: l } = qt();
|
|
427
|
+
if (se(() => {
|
|
428
|
+
o(() => e.container?.current);
|
|
429
|
+
}, [e.container]), c || r) return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: t });
|
|
430
|
+
const f = n ?? Yt(l);
|
|
431
|
+
return /* @__PURE__ */ ue.jsx(ue.Fragment, { children: et.map(t, (u) => ve.createPortal(u, f)) });
|
|
432
|
+
}, Yt = (e) => {
|
|
433
|
+
const t = e?.(), r = t.getRootNode();
|
|
434
|
+
return mt(r) ? r : pt(t).body;
|
|
435
|
+
}, Gt = () => () => {
|
|
436
|
+
};
|
|
437
|
+
function Kt(e) {
|
|
438
|
+
return new Proxy({}, {
|
|
439
|
+
get(t, r) {
|
|
440
|
+
return r === "style" ? (n) => e({ style: n }).style : e;
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
var Xt = () => (e) => Array.from(new Set(e)), tt = typeof globalThis.document < "u" ? kt : se;
|
|
445
|
+
function me(e) {
|
|
446
|
+
const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = Ae(t), [o, c] = Ae(n), l = e().value !== void 0, f = L(o);
|
|
447
|
+
f.current = l ? e().value : o;
|
|
448
|
+
const u = L(f.current);
|
|
449
|
+
tt(() => {
|
|
450
|
+
u.current = f.current;
|
|
451
|
+
}, [o, e().value]);
|
|
452
|
+
const s = (a) => {
|
|
453
|
+
const i = u.current, d = ie(a) ? a(i) : a;
|
|
454
|
+
e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: d, prev: i }), l || c(d), r(d, i) || e().onChange?.(d, i);
|
|
455
|
+
};
|
|
456
|
+
function g() {
|
|
457
|
+
return l ? e().value : o;
|
|
458
|
+
}
|
|
459
|
+
return {
|
|
460
|
+
initial: n,
|
|
461
|
+
ref: f,
|
|
462
|
+
get: g,
|
|
463
|
+
set(a) {
|
|
464
|
+
(e().sync ? ve.flushSync : vt)(() => s(a));
|
|
465
|
+
},
|
|
466
|
+
invoke(a, i) {
|
|
467
|
+
e().onChange?.(a, i);
|
|
468
|
+
},
|
|
469
|
+
hash(a) {
|
|
470
|
+
return e().hash?.(a) ?? String(a);
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
me.cleanup = (e) => {
|
|
475
|
+
se(() => e, []);
|
|
476
|
+
};
|
|
477
|
+
me.ref = (e) => {
|
|
478
|
+
const t = L(e);
|
|
479
|
+
return {
|
|
480
|
+
get: () => t.current,
|
|
481
|
+
set: (r) => {
|
|
482
|
+
t.current = r;
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
function Jt(e) {
|
|
487
|
+
const t = L(e);
|
|
488
|
+
return {
|
|
489
|
+
get(r) {
|
|
490
|
+
return t.current[r];
|
|
491
|
+
},
|
|
492
|
+
set(r, n) {
|
|
493
|
+
t.current[r] = n;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
}
|
|
497
|
+
var Zt = (e, t) => {
|
|
498
|
+
const r = L(!1), n = L(!1);
|
|
499
|
+
se(() => {
|
|
500
|
+
if (r.current && n.current) return t();
|
|
501
|
+
n.current = !0;
|
|
502
|
+
}, [...(e ?? []).map((o) => typeof o == "function" ? o() : o)]), se(() => (r.current = !0, () => {
|
|
503
|
+
r.current = !1;
|
|
504
|
+
}), []);
|
|
505
|
+
};
|
|
506
|
+
function Qt(e, t = {}) {
|
|
507
|
+
const r = Lt(() => {
|
|
508
|
+
const { id: h, ids: x, getRootNode: R } = t;
|
|
509
|
+
return yt({ id: h, ids: x, getRootNode: R });
|
|
510
|
+
}, [t]), n = (...h) => {
|
|
511
|
+
e.debug && console.log(...h);
|
|
512
|
+
}, o = e.props?.({ props: Je(t), scope: r }) ?? t, c = en(o), l = e.context?.({
|
|
513
|
+
prop: c,
|
|
514
|
+
bindable: me,
|
|
515
|
+
scope: r,
|
|
516
|
+
flush: Ie,
|
|
517
|
+
getContext() {
|
|
518
|
+
return u;
|
|
519
|
+
},
|
|
520
|
+
getComputed() {
|
|
521
|
+
return S;
|
|
522
|
+
},
|
|
523
|
+
getRefs() {
|
|
524
|
+
return p;
|
|
525
|
+
}
|
|
526
|
+
}), f = nt(l), u = {
|
|
527
|
+
get(h) {
|
|
528
|
+
return f.current?.[h].ref.current;
|
|
529
|
+
},
|
|
530
|
+
set(h, x) {
|
|
531
|
+
f.current?.[h].set(x);
|
|
532
|
+
},
|
|
533
|
+
initial(h) {
|
|
534
|
+
return f.current?.[h].initial;
|
|
535
|
+
},
|
|
536
|
+
hash(h) {
|
|
537
|
+
const x = f.current?.[h].get();
|
|
538
|
+
return f.current?.[h].hash(x);
|
|
539
|
+
}
|
|
540
|
+
}, s = L(/* @__PURE__ */ new Map()), g = L(null), a = L(null), i = L({ type: "" }), d = () => ({
|
|
541
|
+
...i.current,
|
|
542
|
+
current() {
|
|
543
|
+
return i.current;
|
|
544
|
+
},
|
|
545
|
+
previous() {
|
|
546
|
+
return a.current;
|
|
547
|
+
}
|
|
548
|
+
}), m = () => ({
|
|
549
|
+
...A,
|
|
550
|
+
matches(...h) {
|
|
551
|
+
return h.includes(A.ref.current);
|
|
552
|
+
},
|
|
553
|
+
hasTag(h) {
|
|
554
|
+
return !!e.states[A.ref.current]?.tags?.includes(h);
|
|
555
|
+
}
|
|
556
|
+
}), p = Jt(e.refs?.({ prop: c, context: u }) ?? {}), y = () => ({
|
|
557
|
+
state: m(),
|
|
558
|
+
context: u,
|
|
559
|
+
event: d(),
|
|
560
|
+
prop: c,
|
|
561
|
+
send: M,
|
|
562
|
+
action: v,
|
|
563
|
+
guard: w,
|
|
564
|
+
track: Zt,
|
|
565
|
+
refs: p,
|
|
566
|
+
computed: S,
|
|
567
|
+
flush: Ie,
|
|
568
|
+
scope: r,
|
|
569
|
+
choose: E
|
|
570
|
+
}), v = (h) => {
|
|
571
|
+
const x = ie(h) ? h(y()) : h;
|
|
572
|
+
if (!x) return;
|
|
573
|
+
const R = x.map((O) => {
|
|
574
|
+
const T = e.implementations?.actions?.[O];
|
|
575
|
+
return T || He(`[zag-js] No implementation found for action "${JSON.stringify(O)}"`), T;
|
|
576
|
+
});
|
|
577
|
+
for (const O of R)
|
|
578
|
+
O?.(y());
|
|
579
|
+
}, w = (h) => ie(h) ? h(y()) : e.implementations?.guards?.[h](y()), b = (h) => {
|
|
580
|
+
const x = ie(h) ? h(y()) : h;
|
|
581
|
+
if (!x) return;
|
|
582
|
+
const R = x.map((T) => {
|
|
583
|
+
const P = e.implementations?.effects?.[T];
|
|
584
|
+
return P || He(`[zag-js] No implementation found for effect "${JSON.stringify(T)}"`), P;
|
|
585
|
+
}), O = [];
|
|
586
|
+
for (const T of R) {
|
|
587
|
+
const P = T?.(y());
|
|
588
|
+
P && O.push(P);
|
|
589
|
+
}
|
|
590
|
+
return () => O.forEach((T) => T?.());
|
|
591
|
+
}, E = (h) => xt(h).find((x) => {
|
|
592
|
+
let R = !x.guard;
|
|
593
|
+
return wt(x.guard) ? R = !!w(x.guard) : ie(x.guard) && (R = x.guard(y())), R;
|
|
594
|
+
}), S = (h) => {
|
|
595
|
+
ht(e.computed, () => "[zag-js] No computed object found on machine");
|
|
596
|
+
const x = e.computed[h];
|
|
597
|
+
return x({
|
|
598
|
+
context: u,
|
|
599
|
+
event: d(),
|
|
600
|
+
prop: c,
|
|
601
|
+
refs: p,
|
|
602
|
+
scope: r,
|
|
603
|
+
computed: S
|
|
604
|
+
});
|
|
605
|
+
}, A = me(() => ({
|
|
606
|
+
defaultValue: e.initialState({ prop: c }),
|
|
607
|
+
onChange(h, x) {
|
|
608
|
+
x && (s.current.get(x)?.(), s.current.delete(x)), x && v(e.states[x]?.exit), v(g.current?.actions);
|
|
609
|
+
const R = b(e.states[h]?.effects);
|
|
610
|
+
if (R && s.current.set(h, R), x === Oe) {
|
|
611
|
+
v(e.entry);
|
|
612
|
+
const O = b(e.effects);
|
|
613
|
+
O && s.current.set(Oe, O);
|
|
614
|
+
}
|
|
615
|
+
v(e.states[h]?.entry);
|
|
616
|
+
}
|
|
617
|
+
})), _ = L(void 0), D = L(re.NotStarted);
|
|
618
|
+
tt(() => {
|
|
619
|
+
queueMicrotask(() => {
|
|
620
|
+
const R = D.current === re.Started;
|
|
621
|
+
D.current = re.Started, n(R ? "rehydrating..." : "initializing...");
|
|
622
|
+
const O = _.current ?? A.initial;
|
|
623
|
+
A.invoke(O, R ? A.get() : Oe);
|
|
624
|
+
});
|
|
625
|
+
const h = s.current, x = A.ref.current;
|
|
626
|
+
return () => {
|
|
627
|
+
n("unmounting..."), _.current = x, D.current = re.Stopped, h.forEach((R) => R?.()), s.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
|
|
628
|
+
v(e.exit);
|
|
629
|
+
});
|
|
630
|
+
};
|
|
631
|
+
}, []);
|
|
632
|
+
const V = () => "ref" in A ? A.ref.current : A.get(), M = (h) => {
|
|
633
|
+
queueMicrotask(() => {
|
|
634
|
+
if (D.current !== re.Started) return;
|
|
635
|
+
a.current = i.current, i.current = h, n("send", h);
|
|
636
|
+
let x = V();
|
|
637
|
+
const R = (
|
|
638
|
+
// @ts-ignore
|
|
639
|
+
e.states[x].on?.[h.type] ?? // @ts-ignore
|
|
640
|
+
e.on?.[h.type]
|
|
641
|
+
), O = E(R);
|
|
642
|
+
if (!O) return;
|
|
643
|
+
g.current = O;
|
|
644
|
+
const T = O.target ?? x;
|
|
645
|
+
n("transition", O);
|
|
646
|
+
const P = T !== x;
|
|
647
|
+
P ? ve.flushSync(() => A.set(T)) : O.reenter && !P ? A.invoke(x, x) : v(O.actions ?? []);
|
|
648
|
+
});
|
|
649
|
+
};
|
|
650
|
+
return e.watch?.(y()), {
|
|
651
|
+
state: m(),
|
|
652
|
+
send: M,
|
|
653
|
+
context: u,
|
|
654
|
+
prop: c,
|
|
655
|
+
scope: r,
|
|
656
|
+
refs: p,
|
|
657
|
+
computed: S,
|
|
658
|
+
event: d(),
|
|
659
|
+
getStatus: () => D.current
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
function nt(e) {
|
|
663
|
+
const t = L(e);
|
|
664
|
+
return t.current = e, t;
|
|
665
|
+
}
|
|
666
|
+
function en(e) {
|
|
667
|
+
const t = nt(e);
|
|
668
|
+
return function(n) {
|
|
669
|
+
return t.current[n];
|
|
670
|
+
};
|
|
671
|
+
}
|
|
672
|
+
function Ie(e) {
|
|
673
|
+
queueMicrotask(() => {
|
|
674
|
+
ve.flushSync(() => e());
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
var br = Kt((e) => e);
|
|
678
|
+
function tn(...e) {
|
|
679
|
+
return (t) => {
|
|
680
|
+
const r = [];
|
|
681
|
+
for (const n of e)
|
|
682
|
+
if (typeof n == "function") {
|
|
683
|
+
const o = n(t);
|
|
684
|
+
typeof o == "function" && r.push(o);
|
|
685
|
+
} else n && (n.current = t);
|
|
686
|
+
if (r.length)
|
|
687
|
+
return () => {
|
|
688
|
+
for (const n of r)
|
|
689
|
+
n();
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
function nn(e) {
|
|
694
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
695
|
+
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
696
|
+
}
|
|
697
|
+
const Se = (e) => {
|
|
698
|
+
const t = $t(
|
|
699
|
+
Vt((r, n) => {
|
|
700
|
+
const { asChild: o, children: c, ...l } = r;
|
|
701
|
+
if (!o)
|
|
702
|
+
return Ht(e, { ...l, ref: n }, c);
|
|
703
|
+
const f = et.only(c);
|
|
704
|
+
if (!zt(f))
|
|
705
|
+
return null;
|
|
706
|
+
const u = nn(f);
|
|
707
|
+
return Ut(f, {
|
|
708
|
+
...bt(l, f.props),
|
|
709
|
+
ref: n ? tn(n, u) : u
|
|
710
|
+
});
|
|
711
|
+
})
|
|
712
|
+
);
|
|
713
|
+
return t.displayName = e.displayName || e.name, t;
|
|
714
|
+
}, rn = () => {
|
|
715
|
+
const e = /* @__PURE__ */ new Map();
|
|
716
|
+
return new Proxy(Se, {
|
|
717
|
+
apply(t, r, n) {
|
|
718
|
+
return Se(n[0]);
|
|
719
|
+
},
|
|
720
|
+
get(t, r) {
|
|
721
|
+
const n = r;
|
|
722
|
+
return e.has(n) || e.set(n, Se(n)), e.get(n);
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
}, Or = rn(), [Sr, Er] = Ne({
|
|
726
|
+
name: "PresenceContext",
|
|
727
|
+
hookName: "usePresenceContext",
|
|
728
|
+
providerName: "<PresenceProvider />"
|
|
729
|
+
}), on = () => (e, t) => t.reduce(
|
|
730
|
+
(r, n) => {
|
|
731
|
+
const [o, c] = r, l = n;
|
|
732
|
+
return c[l] !== void 0 && (o[l] = c[l]), delete c[l], [o, c];
|
|
733
|
+
},
|
|
734
|
+
[{}, { ...e }]
|
|
735
|
+
), Rr = (e) => on()(e, [
|
|
736
|
+
"immediate",
|
|
737
|
+
"lazyMount",
|
|
738
|
+
"onExitComplete",
|
|
739
|
+
"present",
|
|
740
|
+
"skipAnimationOnMount",
|
|
741
|
+
"unmountOnExit"
|
|
742
|
+
]);
|
|
743
|
+
function sn(e, t) {
|
|
744
|
+
const { state: r, send: n, context: o } = e, c = r.matches("mounted", "unmountSuspended");
|
|
745
|
+
return {
|
|
746
|
+
skip: !o.get("initial"),
|
|
747
|
+
present: c,
|
|
748
|
+
setNode(l) {
|
|
749
|
+
l && n({ type: "NODE.SET", node: l });
|
|
750
|
+
},
|
|
751
|
+
unmount() {
|
|
752
|
+
n({ type: "UNMOUNT" });
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
var cn = Ot({
|
|
757
|
+
props({ props: e }) {
|
|
758
|
+
return { ...e, present: !!e.present };
|
|
759
|
+
},
|
|
760
|
+
initialState({ prop: e }) {
|
|
761
|
+
return e("present") ? "mounted" : "unmounted";
|
|
762
|
+
},
|
|
763
|
+
refs() {
|
|
764
|
+
return {
|
|
765
|
+
node: null,
|
|
766
|
+
styles: null
|
|
767
|
+
};
|
|
768
|
+
},
|
|
769
|
+
context({ bindable: e }) {
|
|
770
|
+
return {
|
|
771
|
+
unmountAnimationName: e(() => ({ defaultValue: null })),
|
|
772
|
+
prevAnimationName: e(() => ({ defaultValue: null })),
|
|
773
|
+
present: e(() => ({ defaultValue: !1 })),
|
|
774
|
+
initial: e(() => ({
|
|
775
|
+
sync: !0,
|
|
776
|
+
defaultValue: !1
|
|
777
|
+
}))
|
|
778
|
+
};
|
|
779
|
+
},
|
|
780
|
+
exit: ["clearInitial", "cleanupNode"],
|
|
781
|
+
watch({ track: e, action: t, prop: r }) {
|
|
782
|
+
e([() => r("present")], () => {
|
|
783
|
+
t(["setInitial", "syncPresence"]);
|
|
784
|
+
});
|
|
785
|
+
},
|
|
786
|
+
on: {
|
|
787
|
+
"NODE.SET": {
|
|
788
|
+
actions: ["setNode", "setStyles"]
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
states: {
|
|
792
|
+
mounted: {
|
|
793
|
+
on: {
|
|
794
|
+
UNMOUNT: {
|
|
795
|
+
target: "unmounted",
|
|
796
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
797
|
+
},
|
|
798
|
+
"UNMOUNT.SUSPEND": {
|
|
799
|
+
target: "unmountSuspended"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
unmountSuspended: {
|
|
804
|
+
effects: ["trackAnimationEvents"],
|
|
805
|
+
on: {
|
|
806
|
+
MOUNT: {
|
|
807
|
+
target: "mounted",
|
|
808
|
+
actions: ["setPrevAnimationName"]
|
|
809
|
+
},
|
|
810
|
+
UNMOUNT: {
|
|
811
|
+
target: "unmounted",
|
|
812
|
+
actions: ["clearPrevAnimationName", "invokeOnExitComplete"]
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
unmounted: {
|
|
817
|
+
on: {
|
|
818
|
+
MOUNT: {
|
|
819
|
+
target: "mounted",
|
|
820
|
+
actions: ["setPrevAnimationName"]
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
implementations: {
|
|
826
|
+
actions: {
|
|
827
|
+
setInitial: ({ context: e }) => {
|
|
828
|
+
e.get("initial") || queueMicrotask(() => {
|
|
829
|
+
e.set("initial", !0);
|
|
830
|
+
});
|
|
831
|
+
},
|
|
832
|
+
clearInitial: ({ context: e }) => {
|
|
833
|
+
e.set("initial", !1);
|
|
834
|
+
},
|
|
835
|
+
cleanupNode: ({ refs: e }) => {
|
|
836
|
+
e.set("node", null), e.set("styles", null);
|
|
837
|
+
},
|
|
838
|
+
invokeOnExitComplete: ({ prop: e }) => {
|
|
839
|
+
e("onExitComplete")?.();
|
|
840
|
+
},
|
|
841
|
+
setNode: ({ refs: e, event: t }) => {
|
|
842
|
+
e.set("node", t.node);
|
|
843
|
+
},
|
|
844
|
+
setStyles: ({ refs: e, event: t }) => {
|
|
845
|
+
e.set("styles", Ze(t.node));
|
|
846
|
+
},
|
|
847
|
+
syncPresence: ({ context: e, refs: t, send: r, prop: n }) => {
|
|
848
|
+
const o = n("present");
|
|
849
|
+
if (o)
|
|
850
|
+
return r({ type: "MOUNT", src: "presence.changed" });
|
|
851
|
+
const c = t.get("node");
|
|
852
|
+
if (!o && c?.ownerDocument.visibilityState === "hidden")
|
|
853
|
+
return r({ type: "UNMOUNT", src: "visibilitychange" });
|
|
854
|
+
Re(() => {
|
|
855
|
+
const l = de(t.get("styles"));
|
|
856
|
+
e.set("unmountAnimationName", l), l === "none" || l === e.get("prevAnimationName") || t.get("styles")?.display === "none" || t.get("styles")?.animationDuration === "0s" ? r({ type: "UNMOUNT", src: "presence.changed" }) : r({ type: "UNMOUNT.SUSPEND" });
|
|
857
|
+
});
|
|
858
|
+
},
|
|
859
|
+
setPrevAnimationName: ({ context: e, refs: t }) => {
|
|
860
|
+
Re(() => {
|
|
861
|
+
e.set("prevAnimationName", de(t.get("styles")));
|
|
862
|
+
});
|
|
863
|
+
},
|
|
864
|
+
clearPrevAnimationName: ({ context: e }) => {
|
|
865
|
+
e.set("prevAnimationName", null);
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
effects: {
|
|
869
|
+
trackAnimationEvents: ({ context: e, refs: t, send: r }) => {
|
|
870
|
+
const n = t.get("node");
|
|
871
|
+
if (!n) return;
|
|
872
|
+
const o = (f) => {
|
|
873
|
+
(f.composedPath?.()?.[0] ?? f.target) === n && e.set("prevAnimationName", de(t.get("styles")));
|
|
874
|
+
}, c = (f) => {
|
|
875
|
+
const u = de(t.get("styles"));
|
|
876
|
+
Rt(f) === n && u === e.get("unmountAnimationName") && r({ type: "UNMOUNT", src: "animationend" });
|
|
877
|
+
};
|
|
878
|
+
n.addEventListener("animationstart", o), n.addEventListener("animationcancel", c), n.addEventListener("animationend", c);
|
|
879
|
+
const l = St(n, { animationFillMode: "forwards" });
|
|
880
|
+
return () => {
|
|
881
|
+
n.removeEventListener("animationstart", o), n.removeEventListener("animationcancel", c), n.removeEventListener("animationend", c), Et(() => l());
|
|
882
|
+
};
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
function de(e) {
|
|
888
|
+
return e?.animationName || "none";
|
|
889
|
+
}
|
|
890
|
+
Xt()(["onExitComplete", "present", "immediate"]);
|
|
891
|
+
function an(e, t = {}) {
|
|
892
|
+
const { sync: r = !1 } = t, n = ln(e);
|
|
893
|
+
return Ft(
|
|
894
|
+
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
895
|
+
(...o) => r ? queueMicrotask(() => n.current?.(...o)) : n.current?.(...o),
|
|
896
|
+
[r, n]
|
|
897
|
+
);
|
|
898
|
+
}
|
|
899
|
+
function ln(e) {
|
|
900
|
+
const t = L(e);
|
|
901
|
+
return t.current = e, t;
|
|
902
|
+
}
|
|
903
|
+
const Ar = (e = {}) => {
|
|
904
|
+
const { lazyMount: t, unmountOnExit: r, present: n, skipAnimationOnMount: o = !1, ...c } = e, l = L(!1), f = {
|
|
905
|
+
...c,
|
|
906
|
+
present: n,
|
|
907
|
+
onExitComplete: an(e.onExitComplete)
|
|
908
|
+
}, u = Qt(cn, f), s = sn(u);
|
|
909
|
+
s.present && (l.current = !0);
|
|
910
|
+
const g = !s.present && !l.current && t || r && !s.present && l.current, a = () => ({
|
|
911
|
+
"data-state": s.skip && o ? void 0 : n ? "open" : "closed",
|
|
912
|
+
hidden: !s.present
|
|
913
|
+
});
|
|
914
|
+
return {
|
|
915
|
+
ref: s.setNode,
|
|
916
|
+
getPresenceProps: a,
|
|
917
|
+
present: s.present,
|
|
918
|
+
unmounted: g
|
|
919
|
+
};
|
|
920
|
+
}, un = ["top", "right", "bottom", "left"], X = Math.min, k = Math.max, pe = Math.round, ge = Math.floor, W = (e) => ({
|
|
921
|
+
x: e,
|
|
922
|
+
y: e
|
|
923
|
+
}), fn = {
|
|
924
|
+
left: "right",
|
|
925
|
+
right: "left",
|
|
926
|
+
bottom: "top",
|
|
927
|
+
top: "bottom"
|
|
928
|
+
}, dn = {
|
|
929
|
+
start: "end",
|
|
930
|
+
end: "start"
|
|
931
|
+
};
|
|
932
|
+
function Te(e, t, r) {
|
|
933
|
+
return k(e, X(t, r));
|
|
934
|
+
}
|
|
935
|
+
function Y(e, t) {
|
|
936
|
+
return typeof e == "function" ? e(t) : e;
|
|
937
|
+
}
|
|
938
|
+
function G(e) {
|
|
939
|
+
return e.split("-")[0];
|
|
940
|
+
}
|
|
941
|
+
function te(e) {
|
|
942
|
+
return e.split("-")[1];
|
|
943
|
+
}
|
|
944
|
+
function Ce(e) {
|
|
945
|
+
return e === "x" ? "y" : "x";
|
|
946
|
+
}
|
|
947
|
+
function De(e) {
|
|
948
|
+
return e === "y" ? "height" : "width";
|
|
949
|
+
}
|
|
950
|
+
function I(e) {
|
|
951
|
+
return ["top", "bottom"].includes(G(e)) ? "y" : "x";
|
|
952
|
+
}
|
|
953
|
+
function Me(e) {
|
|
954
|
+
return Ce(I(e));
|
|
955
|
+
}
|
|
956
|
+
function gn(e, t, r) {
|
|
957
|
+
r === void 0 && (r = !1);
|
|
958
|
+
const n = te(e), o = Me(e), c = De(o);
|
|
959
|
+
let l = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
960
|
+
return t.reference[c] > t.floating[c] && (l = ye(l)), [l, ye(l)];
|
|
961
|
+
}
|
|
962
|
+
function mn(e) {
|
|
963
|
+
const t = ye(e);
|
|
964
|
+
return [_e(e), t, _e(t)];
|
|
965
|
+
}
|
|
966
|
+
function _e(e) {
|
|
967
|
+
return e.replace(/start|end/g, (t) => dn[t]);
|
|
968
|
+
}
|
|
969
|
+
function pn(e, t, r) {
|
|
970
|
+
const n = ["left", "right"], o = ["right", "left"], c = ["top", "bottom"], l = ["bottom", "top"];
|
|
971
|
+
switch (e) {
|
|
972
|
+
case "top":
|
|
973
|
+
case "bottom":
|
|
974
|
+
return r ? t ? o : n : t ? n : o;
|
|
975
|
+
case "left":
|
|
976
|
+
case "right":
|
|
977
|
+
return t ? c : l;
|
|
978
|
+
default:
|
|
979
|
+
return [];
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
function yn(e, t, r, n) {
|
|
983
|
+
const o = te(e);
|
|
984
|
+
let c = pn(G(e), r === "start", n);
|
|
985
|
+
return o && (c = c.map((l) => l + "-" + o), t && (c = c.concat(c.map(_e)))), c;
|
|
986
|
+
}
|
|
987
|
+
function ye(e) {
|
|
988
|
+
return e.replace(/left|right|bottom|top/g, (t) => fn[t]);
|
|
989
|
+
}
|
|
990
|
+
function hn(e) {
|
|
991
|
+
return {
|
|
992
|
+
top: 0,
|
|
993
|
+
right: 0,
|
|
994
|
+
bottom: 0,
|
|
995
|
+
left: 0,
|
|
996
|
+
...e
|
|
997
|
+
};
|
|
998
|
+
}
|
|
999
|
+
function rt(e) {
|
|
1000
|
+
return typeof e != "number" ? hn(e) : {
|
|
1001
|
+
top: e,
|
|
1002
|
+
right: e,
|
|
1003
|
+
bottom: e,
|
|
1004
|
+
left: e
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
function he(e) {
|
|
1008
|
+
const {
|
|
1009
|
+
x: t,
|
|
1010
|
+
y: r,
|
|
1011
|
+
width: n,
|
|
1012
|
+
height: o
|
|
1013
|
+
} = e;
|
|
1014
|
+
return {
|
|
1015
|
+
width: n,
|
|
1016
|
+
height: o,
|
|
1017
|
+
top: r,
|
|
1018
|
+
left: t,
|
|
1019
|
+
right: t + n,
|
|
1020
|
+
bottom: r + o,
|
|
1021
|
+
x: t,
|
|
1022
|
+
y: r
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
function We(e, t, r) {
|
|
1026
|
+
let {
|
|
1027
|
+
reference: n,
|
|
1028
|
+
floating: o
|
|
1029
|
+
} = e;
|
|
1030
|
+
const c = I(t), l = Me(t), f = De(l), u = G(t), s = c === "y", g = n.x + n.width / 2 - o.width / 2, a = n.y + n.height / 2 - o.height / 2, i = n[f] / 2 - o[f] / 2;
|
|
1031
|
+
let d;
|
|
1032
|
+
switch (u) {
|
|
1033
|
+
case "top":
|
|
1034
|
+
d = {
|
|
1035
|
+
x: g,
|
|
1036
|
+
y: n.y - o.height
|
|
1037
|
+
};
|
|
1038
|
+
break;
|
|
1039
|
+
case "bottom":
|
|
1040
|
+
d = {
|
|
1041
|
+
x: g,
|
|
1042
|
+
y: n.y + n.height
|
|
1043
|
+
};
|
|
1044
|
+
break;
|
|
1045
|
+
case "right":
|
|
1046
|
+
d = {
|
|
1047
|
+
x: n.x + n.width,
|
|
1048
|
+
y: a
|
|
1049
|
+
};
|
|
1050
|
+
break;
|
|
1051
|
+
case "left":
|
|
1052
|
+
d = {
|
|
1053
|
+
x: n.x - o.width,
|
|
1054
|
+
y: a
|
|
1055
|
+
};
|
|
1056
|
+
break;
|
|
1057
|
+
default:
|
|
1058
|
+
d = {
|
|
1059
|
+
x: n.x,
|
|
1060
|
+
y: n.y
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
switch (te(t)) {
|
|
1064
|
+
case "start":
|
|
1065
|
+
d[l] -= i * (r && s ? -1 : 1);
|
|
1066
|
+
break;
|
|
1067
|
+
case "end":
|
|
1068
|
+
d[l] += i * (r && s ? -1 : 1);
|
|
1069
|
+
break;
|
|
1070
|
+
}
|
|
1071
|
+
return d;
|
|
1072
|
+
}
|
|
1073
|
+
const vn = async (e, t, r) => {
|
|
1074
|
+
const {
|
|
1075
|
+
placement: n = "bottom",
|
|
1076
|
+
strategy: o = "absolute",
|
|
1077
|
+
middleware: c = [],
|
|
1078
|
+
platform: l
|
|
1079
|
+
} = r, f = c.filter(Boolean), u = await (l.isRTL == null ? void 0 : l.isRTL(t));
|
|
1080
|
+
let s = await l.getElementRects({
|
|
1081
|
+
reference: e,
|
|
1082
|
+
floating: t,
|
|
1083
|
+
strategy: o
|
|
1084
|
+
}), {
|
|
1085
|
+
x: g,
|
|
1086
|
+
y: a
|
|
1087
|
+
} = We(s, n, u), i = n, d = {}, m = 0;
|
|
1088
|
+
for (let p = 0; p < f.length; p++) {
|
|
1089
|
+
const {
|
|
1090
|
+
name: y,
|
|
1091
|
+
fn: v
|
|
1092
|
+
} = f[p], {
|
|
1093
|
+
x: w,
|
|
1094
|
+
y: b,
|
|
1095
|
+
data: E,
|
|
1096
|
+
reset: S
|
|
1097
|
+
} = await v({
|
|
1098
|
+
x: g,
|
|
1099
|
+
y: a,
|
|
1100
|
+
initialPlacement: n,
|
|
1101
|
+
placement: i,
|
|
1102
|
+
strategy: o,
|
|
1103
|
+
middlewareData: d,
|
|
1104
|
+
rects: s,
|
|
1105
|
+
platform: l,
|
|
1106
|
+
elements: {
|
|
1107
|
+
reference: e,
|
|
1108
|
+
floating: t
|
|
1109
|
+
}
|
|
1110
|
+
});
|
|
1111
|
+
g = w ?? g, a = b ?? a, d = {
|
|
1112
|
+
...d,
|
|
1113
|
+
[y]: {
|
|
1114
|
+
...d[y],
|
|
1115
|
+
...E
|
|
1116
|
+
}
|
|
1117
|
+
}, S && m <= 50 && (m++, typeof S == "object" && (S.placement && (i = S.placement), S.rects && (s = S.rects === !0 ? await l.getElementRects({
|
|
1118
|
+
reference: e,
|
|
1119
|
+
floating: t,
|
|
1120
|
+
strategy: o
|
|
1121
|
+
}) : S.rects), {
|
|
1122
|
+
x: g,
|
|
1123
|
+
y: a
|
|
1124
|
+
} = We(s, i, u)), p = -1);
|
|
1125
|
+
}
|
|
1126
|
+
return {
|
|
1127
|
+
x: g,
|
|
1128
|
+
y: a,
|
|
1129
|
+
placement: i,
|
|
1130
|
+
strategy: o,
|
|
1131
|
+
middlewareData: d
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
async function ce(e, t) {
|
|
1135
|
+
var r;
|
|
1136
|
+
t === void 0 && (t = {});
|
|
1137
|
+
const {
|
|
1138
|
+
x: n,
|
|
1139
|
+
y: o,
|
|
1140
|
+
platform: c,
|
|
1141
|
+
rects: l,
|
|
1142
|
+
elements: f,
|
|
1143
|
+
strategy: u
|
|
1144
|
+
} = e, {
|
|
1145
|
+
boundary: s = "clippingAncestors",
|
|
1146
|
+
rootBoundary: g = "viewport",
|
|
1147
|
+
elementContext: a = "floating",
|
|
1148
|
+
altBoundary: i = !1,
|
|
1149
|
+
padding: d = 0
|
|
1150
|
+
} = Y(t, e), m = rt(d), y = f[i ? a === "floating" ? "reference" : "floating" : a], v = he(await c.getClippingRect({
|
|
1151
|
+
element: (r = await (c.isElement == null ? void 0 : c.isElement(y))) == null || r ? y : y.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(f.floating)),
|
|
1152
|
+
boundary: s,
|
|
1153
|
+
rootBoundary: g,
|
|
1154
|
+
strategy: u
|
|
1155
|
+
})), w = a === "floating" ? {
|
|
1156
|
+
x: n,
|
|
1157
|
+
y: o,
|
|
1158
|
+
width: l.floating.width,
|
|
1159
|
+
height: l.floating.height
|
|
1160
|
+
} : l.reference, b = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(f.floating)), E = await (c.isElement == null ? void 0 : c.isElement(b)) ? await (c.getScale == null ? void 0 : c.getScale(b)) || {
|
|
1161
|
+
x: 1,
|
|
1162
|
+
y: 1
|
|
1163
|
+
} : {
|
|
1164
|
+
x: 1,
|
|
1165
|
+
y: 1
|
|
1166
|
+
}, S = he(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1167
|
+
elements: f,
|
|
1168
|
+
rect: w,
|
|
1169
|
+
offsetParent: b,
|
|
1170
|
+
strategy: u
|
|
1171
|
+
}) : w);
|
|
1172
|
+
return {
|
|
1173
|
+
top: (v.top - S.top + m.top) / E.y,
|
|
1174
|
+
bottom: (S.bottom - v.bottom + m.bottom) / E.y,
|
|
1175
|
+
left: (v.left - S.left + m.left) / E.x,
|
|
1176
|
+
right: (S.right - v.right + m.right) / E.x
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
const xn = (e) => ({
|
|
1180
|
+
name: "arrow",
|
|
1181
|
+
options: e,
|
|
1182
|
+
async fn(t) {
|
|
1183
|
+
const {
|
|
1184
|
+
x: r,
|
|
1185
|
+
y: n,
|
|
1186
|
+
placement: o,
|
|
1187
|
+
rects: c,
|
|
1188
|
+
platform: l,
|
|
1189
|
+
elements: f,
|
|
1190
|
+
middlewareData: u
|
|
1191
|
+
} = t, {
|
|
1192
|
+
element: s,
|
|
1193
|
+
padding: g = 0
|
|
1194
|
+
} = Y(e, t) || {};
|
|
1195
|
+
if (s == null)
|
|
1196
|
+
return {};
|
|
1197
|
+
const a = rt(g), i = {
|
|
1198
|
+
x: r,
|
|
1199
|
+
y: n
|
|
1200
|
+
}, d = Me(o), m = De(d), p = await l.getDimensions(s), y = d === "y", v = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", E = c.reference[m] + c.reference[d] - i[d] - c.floating[m], S = i[d] - c.reference[d], A = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(s));
|
|
1201
|
+
let _ = A ? A[b] : 0;
|
|
1202
|
+
(!_ || !await (l.isElement == null ? void 0 : l.isElement(A))) && (_ = f.floating[b] || c.floating[m]);
|
|
1203
|
+
const D = E / 2 - S / 2, V = _ / 2 - p[m] / 2 - 1, M = X(a[v], V), h = X(a[w], V), x = M, R = _ - p[m] - h, O = _ / 2 - p[m] / 2 + D, T = Te(x, O, R), P = !u.arrow && te(o) != null && O !== T && c.reference[m] / 2 - (O < x ? M : h) - p[m] / 2 < 0, H = P ? O < x ? O - x : O - R : 0;
|
|
1204
|
+
return {
|
|
1205
|
+
[d]: i[d] + H,
|
|
1206
|
+
data: {
|
|
1207
|
+
[d]: T,
|
|
1208
|
+
centerOffset: O - T - H,
|
|
1209
|
+
...P && {
|
|
1210
|
+
alignmentOffset: H
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
reset: P
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
}), wn = function(e) {
|
|
1217
|
+
return e === void 0 && (e = {}), {
|
|
1218
|
+
name: "flip",
|
|
1219
|
+
options: e,
|
|
1220
|
+
async fn(t) {
|
|
1221
|
+
var r, n;
|
|
1222
|
+
const {
|
|
1223
|
+
placement: o,
|
|
1224
|
+
middlewareData: c,
|
|
1225
|
+
rects: l,
|
|
1226
|
+
initialPlacement: f,
|
|
1227
|
+
platform: u,
|
|
1228
|
+
elements: s
|
|
1229
|
+
} = t, {
|
|
1230
|
+
mainAxis: g = !0,
|
|
1231
|
+
crossAxis: a = !0,
|
|
1232
|
+
fallbackPlacements: i,
|
|
1233
|
+
fallbackStrategy: d = "bestFit",
|
|
1234
|
+
fallbackAxisSideDirection: m = "none",
|
|
1235
|
+
flipAlignment: p = !0,
|
|
1236
|
+
...y
|
|
1237
|
+
} = Y(e, t);
|
|
1238
|
+
if ((r = c.arrow) != null && r.alignmentOffset)
|
|
1239
|
+
return {};
|
|
1240
|
+
const v = G(o), w = I(f), b = G(f) === f, E = await (u.isRTL == null ? void 0 : u.isRTL(s.floating)), S = i || (b || !p ? [ye(f)] : mn(f)), A = m !== "none";
|
|
1241
|
+
!i && A && S.push(...yn(f, p, m, E));
|
|
1242
|
+
const _ = [f, ...S], D = await ce(t, y), V = [];
|
|
1243
|
+
let M = ((n = c.flip) == null ? void 0 : n.overflows) || [];
|
|
1244
|
+
if (g && V.push(D[v]), a) {
|
|
1245
|
+
const O = gn(o, l, E);
|
|
1246
|
+
V.push(D[O[0]], D[O[1]]);
|
|
1247
|
+
}
|
|
1248
|
+
if (M = [...M, {
|
|
1249
|
+
placement: o,
|
|
1250
|
+
overflows: V
|
|
1251
|
+
}], !V.every((O) => O <= 0)) {
|
|
1252
|
+
var h, x;
|
|
1253
|
+
const O = (((h = c.flip) == null ? void 0 : h.index) || 0) + 1, T = _[O];
|
|
1254
|
+
if (T && (!(a === "alignment" ? w !== I(T) : !1) || // We leave the current main axis only if every placement on that axis
|
|
1255
|
+
// overflows the main axis.
|
|
1256
|
+
M.every((z) => z.overflows[0] > 0 && I(z.placement) === w)))
|
|
1257
|
+
return {
|
|
1258
|
+
data: {
|
|
1259
|
+
index: O,
|
|
1260
|
+
overflows: M
|
|
1261
|
+
},
|
|
1262
|
+
reset: {
|
|
1263
|
+
placement: T
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1266
|
+
let P = (x = M.filter((H) => H.overflows[0] <= 0).sort((H, z) => H.overflows[1] - z.overflows[1])[0]) == null ? void 0 : x.placement;
|
|
1267
|
+
if (!P)
|
|
1268
|
+
switch (d) {
|
|
1269
|
+
case "bestFit": {
|
|
1270
|
+
var R;
|
|
1271
|
+
const H = (R = M.filter((z) => {
|
|
1272
|
+
if (A) {
|
|
1273
|
+
const K = I(z.placement);
|
|
1274
|
+
return K === w || // Create a bias to the `y` side axis due to horizontal
|
|
1275
|
+
// reading directions favoring greater width.
|
|
1276
|
+
K === "y";
|
|
1277
|
+
}
|
|
1278
|
+
return !0;
|
|
1279
|
+
}).map((z) => [z.placement, z.overflows.filter((K) => K > 0).reduce((K, gt) => K + gt, 0)]).sort((z, K) => z[1] - K[1])[0]) == null ? void 0 : R[0];
|
|
1280
|
+
H && (P = H);
|
|
1281
|
+
break;
|
|
1282
|
+
}
|
|
1283
|
+
case "initialPlacement":
|
|
1284
|
+
P = f;
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
if (o !== P)
|
|
1288
|
+
return {
|
|
1289
|
+
reset: {
|
|
1290
|
+
placement: P
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1293
|
+
}
|
|
1294
|
+
return {};
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
function je(e, t) {
|
|
1299
|
+
return {
|
|
1300
|
+
top: e.top - t.height,
|
|
1301
|
+
right: e.right - t.width,
|
|
1302
|
+
bottom: e.bottom - t.height,
|
|
1303
|
+
left: e.left - t.width
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
function Be(e) {
|
|
1307
|
+
return un.some((t) => e[t] >= 0);
|
|
1308
|
+
}
|
|
1309
|
+
const bn = function(e) {
|
|
1310
|
+
return e === void 0 && (e = {}), {
|
|
1311
|
+
name: "hide",
|
|
1312
|
+
options: e,
|
|
1313
|
+
async fn(t) {
|
|
1314
|
+
const {
|
|
1315
|
+
rects: r
|
|
1316
|
+
} = t, {
|
|
1317
|
+
strategy: n = "referenceHidden",
|
|
1318
|
+
...o
|
|
1319
|
+
} = Y(e, t);
|
|
1320
|
+
switch (n) {
|
|
1321
|
+
case "referenceHidden": {
|
|
1322
|
+
const c = await ce(t, {
|
|
1323
|
+
...o,
|
|
1324
|
+
elementContext: "reference"
|
|
1325
|
+
}), l = je(c, r.reference);
|
|
1326
|
+
return {
|
|
1327
|
+
data: {
|
|
1328
|
+
referenceHiddenOffsets: l,
|
|
1329
|
+
referenceHidden: Be(l)
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
case "escaped": {
|
|
1334
|
+
const c = await ce(t, {
|
|
1335
|
+
...o,
|
|
1336
|
+
altBoundary: !0
|
|
1337
|
+
}), l = je(c, r.floating);
|
|
1338
|
+
return {
|
|
1339
|
+
data: {
|
|
1340
|
+
escapedOffsets: l,
|
|
1341
|
+
escaped: Be(l)
|
|
1342
|
+
}
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
default:
|
|
1346
|
+
return {};
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
};
|
|
1350
|
+
};
|
|
1351
|
+
async function On(e, t) {
|
|
1352
|
+
const {
|
|
1353
|
+
placement: r,
|
|
1354
|
+
platform: n,
|
|
1355
|
+
elements: o
|
|
1356
|
+
} = e, c = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), l = G(r), f = te(r), u = I(r) === "y", s = ["left", "top"].includes(l) ? -1 : 1, g = c && u ? -1 : 1, a = Y(t, e);
|
|
1357
|
+
let {
|
|
1358
|
+
mainAxis: i,
|
|
1359
|
+
crossAxis: d,
|
|
1360
|
+
alignmentAxis: m
|
|
1361
|
+
} = typeof a == "number" ? {
|
|
1362
|
+
mainAxis: a,
|
|
1363
|
+
crossAxis: 0,
|
|
1364
|
+
alignmentAxis: null
|
|
1365
|
+
} : {
|
|
1366
|
+
mainAxis: a.mainAxis || 0,
|
|
1367
|
+
crossAxis: a.crossAxis || 0,
|
|
1368
|
+
alignmentAxis: a.alignmentAxis
|
|
1369
|
+
};
|
|
1370
|
+
return f && typeof m == "number" && (d = f === "end" ? m * -1 : m), u ? {
|
|
1371
|
+
x: d * g,
|
|
1372
|
+
y: i * s
|
|
1373
|
+
} : {
|
|
1374
|
+
x: i * s,
|
|
1375
|
+
y: d * g
|
|
1376
|
+
};
|
|
1377
|
+
}
|
|
1378
|
+
const Sn = function(e) {
|
|
1379
|
+
return e === void 0 && (e = 0), {
|
|
1380
|
+
name: "offset",
|
|
1381
|
+
options: e,
|
|
1382
|
+
async fn(t) {
|
|
1383
|
+
var r, n;
|
|
1384
|
+
const {
|
|
1385
|
+
x: o,
|
|
1386
|
+
y: c,
|
|
1387
|
+
placement: l,
|
|
1388
|
+
middlewareData: f
|
|
1389
|
+
} = t, u = await On(t, e);
|
|
1390
|
+
return l === ((r = f.offset) == null ? void 0 : r.placement) && (n = f.arrow) != null && n.alignmentOffset ? {} : {
|
|
1391
|
+
x: o + u.x,
|
|
1392
|
+
y: c + u.y,
|
|
1393
|
+
data: {
|
|
1394
|
+
...u,
|
|
1395
|
+
placement: l
|
|
1396
|
+
}
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1400
|
+
}, En = function(e) {
|
|
1401
|
+
return e === void 0 && (e = {}), {
|
|
1402
|
+
name: "shift",
|
|
1403
|
+
options: e,
|
|
1404
|
+
async fn(t) {
|
|
1405
|
+
const {
|
|
1406
|
+
x: r,
|
|
1407
|
+
y: n,
|
|
1408
|
+
placement: o
|
|
1409
|
+
} = t, {
|
|
1410
|
+
mainAxis: c = !0,
|
|
1411
|
+
crossAxis: l = !1,
|
|
1412
|
+
limiter: f = {
|
|
1413
|
+
fn: (y) => {
|
|
1414
|
+
let {
|
|
1415
|
+
x: v,
|
|
1416
|
+
y: w
|
|
1417
|
+
} = y;
|
|
1418
|
+
return {
|
|
1419
|
+
x: v,
|
|
1420
|
+
y: w
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
...u
|
|
1425
|
+
} = Y(e, t), s = {
|
|
1426
|
+
x: r,
|
|
1427
|
+
y: n
|
|
1428
|
+
}, g = await ce(t, u), a = I(G(o)), i = Ce(a);
|
|
1429
|
+
let d = s[i], m = s[a];
|
|
1430
|
+
if (c) {
|
|
1431
|
+
const y = i === "y" ? "top" : "left", v = i === "y" ? "bottom" : "right", w = d + g[y], b = d - g[v];
|
|
1432
|
+
d = Te(w, d, b);
|
|
1433
|
+
}
|
|
1434
|
+
if (l) {
|
|
1435
|
+
const y = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", w = m + g[y], b = m - g[v];
|
|
1436
|
+
m = Te(w, m, b);
|
|
1437
|
+
}
|
|
1438
|
+
const p = f.fn({
|
|
1439
|
+
...t,
|
|
1440
|
+
[i]: d,
|
|
1441
|
+
[a]: m
|
|
1442
|
+
});
|
|
1443
|
+
return {
|
|
1444
|
+
...p,
|
|
1445
|
+
data: {
|
|
1446
|
+
x: p.x - r,
|
|
1447
|
+
y: p.y - n,
|
|
1448
|
+
enabled: {
|
|
1449
|
+
[i]: c,
|
|
1450
|
+
[a]: l
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1455
|
+
};
|
|
1456
|
+
}, Rn = function(e) {
|
|
1457
|
+
return e === void 0 && (e = {}), {
|
|
1458
|
+
options: e,
|
|
1459
|
+
fn(t) {
|
|
1460
|
+
const {
|
|
1461
|
+
x: r,
|
|
1462
|
+
y: n,
|
|
1463
|
+
placement: o,
|
|
1464
|
+
rects: c,
|
|
1465
|
+
middlewareData: l
|
|
1466
|
+
} = t, {
|
|
1467
|
+
offset: f = 0,
|
|
1468
|
+
mainAxis: u = !0,
|
|
1469
|
+
crossAxis: s = !0
|
|
1470
|
+
} = Y(e, t), g = {
|
|
1471
|
+
x: r,
|
|
1472
|
+
y: n
|
|
1473
|
+
}, a = I(o), i = Ce(a);
|
|
1474
|
+
let d = g[i], m = g[a];
|
|
1475
|
+
const p = Y(f, t), y = typeof p == "number" ? {
|
|
1476
|
+
mainAxis: p,
|
|
1477
|
+
crossAxis: 0
|
|
1478
|
+
} : {
|
|
1479
|
+
mainAxis: 0,
|
|
1480
|
+
crossAxis: 0,
|
|
1481
|
+
...p
|
|
1482
|
+
};
|
|
1483
|
+
if (u) {
|
|
1484
|
+
const b = i === "y" ? "height" : "width", E = c.reference[i] - c.floating[b] + y.mainAxis, S = c.reference[i] + c.reference[b] - y.mainAxis;
|
|
1485
|
+
d < E ? d = E : d > S && (d = S);
|
|
1486
|
+
}
|
|
1487
|
+
if (s) {
|
|
1488
|
+
var v, w;
|
|
1489
|
+
const b = i === "y" ? "width" : "height", E = ["top", "left"].includes(G(o)), S = c.reference[a] - c.floating[b] + (E && ((v = l.offset) == null ? void 0 : v[a]) || 0) + (E ? 0 : y.crossAxis), A = c.reference[a] + c.reference[b] + (E ? 0 : ((w = l.offset) == null ? void 0 : w[a]) || 0) - (E ? y.crossAxis : 0);
|
|
1490
|
+
m < S ? m = S : m > A && (m = A);
|
|
1491
|
+
}
|
|
1492
|
+
return {
|
|
1493
|
+
[i]: d,
|
|
1494
|
+
[a]: m
|
|
1495
|
+
};
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1498
|
+
}, An = function(e) {
|
|
1499
|
+
return e === void 0 && (e = {}), {
|
|
1500
|
+
name: "size",
|
|
1501
|
+
options: e,
|
|
1502
|
+
async fn(t) {
|
|
1503
|
+
var r, n;
|
|
1504
|
+
const {
|
|
1505
|
+
placement: o,
|
|
1506
|
+
rects: c,
|
|
1507
|
+
platform: l,
|
|
1508
|
+
elements: f
|
|
1509
|
+
} = t, {
|
|
1510
|
+
apply: u = () => {
|
|
1511
|
+
},
|
|
1512
|
+
...s
|
|
1513
|
+
} = Y(e, t), g = await ce(t, s), a = G(o), i = te(o), d = I(o) === "y", {
|
|
1514
|
+
width: m,
|
|
1515
|
+
height: p
|
|
1516
|
+
} = c.floating;
|
|
1517
|
+
let y, v;
|
|
1518
|
+
a === "top" || a === "bottom" ? (y = a, v = i === (await (l.isRTL == null ? void 0 : l.isRTL(f.floating)) ? "start" : "end") ? "left" : "right") : (v = a, y = i === "end" ? "top" : "bottom");
|
|
1519
|
+
const w = p - g.top - g.bottom, b = m - g.left - g.right, E = X(p - g[y], w), S = X(m - g[v], b), A = !t.middlewareData.shift;
|
|
1520
|
+
let _ = E, D = S;
|
|
1521
|
+
if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = b), (n = t.middlewareData.shift) != null && n.enabled.y && (_ = w), A && !i) {
|
|
1522
|
+
const M = k(g.left, 0), h = k(g.right, 0), x = k(g.top, 0), R = k(g.bottom, 0);
|
|
1523
|
+
d ? D = m - 2 * (M !== 0 || h !== 0 ? M + h : k(g.left, g.right)) : _ = p - 2 * (x !== 0 || R !== 0 ? x + R : k(g.top, g.bottom));
|
|
1524
|
+
}
|
|
1525
|
+
await u({
|
|
1526
|
+
...t,
|
|
1527
|
+
availableWidth: D,
|
|
1528
|
+
availableHeight: _
|
|
1529
|
+
});
|
|
1530
|
+
const V = await l.getDimensions(f.floating);
|
|
1531
|
+
return m !== V.width || p !== V.height ? {
|
|
1532
|
+
reset: {
|
|
1533
|
+
rects: !0
|
|
1534
|
+
}
|
|
1535
|
+
} : {};
|
|
1536
|
+
}
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
function xe() {
|
|
1540
|
+
return typeof window < "u";
|
|
1541
|
+
}
|
|
1542
|
+
function ne(e) {
|
|
1543
|
+
return ot(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1544
|
+
}
|
|
1545
|
+
function $(e) {
|
|
1546
|
+
var t;
|
|
1547
|
+
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1548
|
+
}
|
|
1549
|
+
function B(e) {
|
|
1550
|
+
var t;
|
|
1551
|
+
return (t = (ot(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1552
|
+
}
|
|
1553
|
+
function ot(e) {
|
|
1554
|
+
return xe() ? e instanceof Node || e instanceof $(e).Node : !1;
|
|
1555
|
+
}
|
|
1556
|
+
function U(e) {
|
|
1557
|
+
return xe() ? e instanceof Element || e instanceof $(e).Element : !1;
|
|
1558
|
+
}
|
|
1559
|
+
function j(e) {
|
|
1560
|
+
return xe() ? e instanceof HTMLElement || e instanceof $(e).HTMLElement : !1;
|
|
1561
|
+
}
|
|
1562
|
+
function qe(e) {
|
|
1563
|
+
return !xe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof $(e).ShadowRoot;
|
|
1564
|
+
}
|
|
1565
|
+
function le(e) {
|
|
1566
|
+
const {
|
|
1567
|
+
overflow: t,
|
|
1568
|
+
overflowX: r,
|
|
1569
|
+
overflowY: n,
|
|
1570
|
+
display: o
|
|
1571
|
+
} = F(e);
|
|
1572
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
|
|
1573
|
+
}
|
|
1574
|
+
function Tn(e) {
|
|
1575
|
+
return ["table", "td", "th"].includes(ne(e));
|
|
1576
|
+
}
|
|
1577
|
+
function we(e) {
|
|
1578
|
+
return [":popover-open", ":modal"].some((t) => {
|
|
1579
|
+
try {
|
|
1580
|
+
return e.matches(t);
|
|
1581
|
+
} catch {
|
|
1582
|
+
return !1;
|
|
1583
|
+
}
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
function Le(e) {
|
|
1587
|
+
const t = ke(), r = U(e) ? F(e) : e;
|
|
1588
|
+
return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
|
|
1589
|
+
}
|
|
1590
|
+
function _n(e) {
|
|
1591
|
+
let t = J(e);
|
|
1592
|
+
for (; j(t) && !ee(t); ) {
|
|
1593
|
+
if (Le(t))
|
|
1594
|
+
return t;
|
|
1595
|
+
if (we(t))
|
|
1596
|
+
return null;
|
|
1597
|
+
t = J(t);
|
|
1598
|
+
}
|
|
1599
|
+
return null;
|
|
1600
|
+
}
|
|
1601
|
+
function ke() {
|
|
1602
|
+
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1603
|
+
}
|
|
1604
|
+
function ee(e) {
|
|
1605
|
+
return ["html", "body", "#document"].includes(ne(e));
|
|
1606
|
+
}
|
|
1607
|
+
function F(e) {
|
|
1608
|
+
return $(e).getComputedStyle(e);
|
|
1609
|
+
}
|
|
1610
|
+
function be(e) {
|
|
1611
|
+
return U(e) ? {
|
|
1612
|
+
scrollLeft: e.scrollLeft,
|
|
1613
|
+
scrollTop: e.scrollTop
|
|
1614
|
+
} : {
|
|
1615
|
+
scrollLeft: e.scrollX,
|
|
1616
|
+
scrollTop: e.scrollY
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
function J(e) {
|
|
1620
|
+
if (ne(e) === "html")
|
|
1621
|
+
return e;
|
|
1622
|
+
const t = (
|
|
1623
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
1624
|
+
e.assignedSlot || // DOM Element detected.
|
|
1625
|
+
e.parentNode || // ShadowRoot detected.
|
|
1626
|
+
qe(e) && e.host || // Fallback.
|
|
1627
|
+
B(e)
|
|
1628
|
+
);
|
|
1629
|
+
return qe(t) ? t.host : t;
|
|
1630
|
+
}
|
|
1631
|
+
function it(e) {
|
|
1632
|
+
const t = J(e);
|
|
1633
|
+
return ee(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : j(t) && le(t) ? t : it(t);
|
|
1634
|
+
}
|
|
1635
|
+
function ae(e, t, r) {
|
|
1636
|
+
var n;
|
|
1637
|
+
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
1638
|
+
const o = it(e), c = o === ((n = e.ownerDocument) == null ? void 0 : n.body), l = $(o);
|
|
1639
|
+
if (c) {
|
|
1640
|
+
const f = Pe(l);
|
|
1641
|
+
return t.concat(l, l.visualViewport || [], le(o) ? o : [], f && r ? ae(f) : []);
|
|
1642
|
+
}
|
|
1643
|
+
return t.concat(o, ae(o, [], r));
|
|
1644
|
+
}
|
|
1645
|
+
function Pe(e) {
|
|
1646
|
+
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1647
|
+
}
|
|
1648
|
+
function st(e) {
|
|
1649
|
+
const t = F(e);
|
|
1650
|
+
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
1651
|
+
const o = j(e), c = o ? e.offsetWidth : r, l = o ? e.offsetHeight : n, f = pe(r) !== c || pe(n) !== l;
|
|
1652
|
+
return f && (r = c, n = l), {
|
|
1653
|
+
width: r,
|
|
1654
|
+
height: n,
|
|
1655
|
+
$: f
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
function $e(e) {
|
|
1659
|
+
return U(e) ? e : e.contextElement;
|
|
1660
|
+
}
|
|
1661
|
+
function Q(e) {
|
|
1662
|
+
const t = $e(e);
|
|
1663
|
+
if (!j(t))
|
|
1664
|
+
return W(1);
|
|
1665
|
+
const r = t.getBoundingClientRect(), {
|
|
1666
|
+
width: n,
|
|
1667
|
+
height: o,
|
|
1668
|
+
$: c
|
|
1669
|
+
} = st(t);
|
|
1670
|
+
let l = (c ? pe(r.width) : r.width) / n, f = (c ? pe(r.height) : r.height) / o;
|
|
1671
|
+
return (!l || !Number.isFinite(l)) && (l = 1), (!f || !Number.isFinite(f)) && (f = 1), {
|
|
1672
|
+
x: l,
|
|
1673
|
+
y: f
|
|
1674
|
+
};
|
|
1675
|
+
}
|
|
1676
|
+
const Pn = /* @__PURE__ */ W(0);
|
|
1677
|
+
function ct(e) {
|
|
1678
|
+
const t = $(e);
|
|
1679
|
+
return !ke() || !t.visualViewport ? Pn : {
|
|
1680
|
+
x: t.visualViewport.offsetLeft,
|
|
1681
|
+
y: t.visualViewport.offsetTop
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
function Nn(e, t, r) {
|
|
1685
|
+
return t === void 0 && (t = !1), !r || t && r !== $(e) ? !1 : t;
|
|
1686
|
+
}
|
|
1687
|
+
function Z(e, t, r, n) {
|
|
1688
|
+
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
1689
|
+
const o = e.getBoundingClientRect(), c = $e(e);
|
|
1690
|
+
let l = W(1);
|
|
1691
|
+
t && (n ? U(n) && (l = Q(n)) : l = Q(e));
|
|
1692
|
+
const f = Nn(c, r, n) ? ct(c) : W(0);
|
|
1693
|
+
let u = (o.left + f.x) / l.x, s = (o.top + f.y) / l.y, g = o.width / l.x, a = o.height / l.y;
|
|
1694
|
+
if (c) {
|
|
1695
|
+
const i = $(c), d = n && U(n) ? $(n) : n;
|
|
1696
|
+
let m = i, p = Pe(m);
|
|
1697
|
+
for (; p && n && d !== m; ) {
|
|
1698
|
+
const y = Q(p), v = p.getBoundingClientRect(), w = F(p), b = v.left + (p.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = v.top + (p.clientTop + parseFloat(w.paddingTop)) * y.y;
|
|
1699
|
+
u *= y.x, s *= y.y, g *= y.x, a *= y.y, u += b, s += E, m = $(p), p = Pe(m);
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
return he({
|
|
1703
|
+
width: g,
|
|
1704
|
+
height: a,
|
|
1705
|
+
x: u,
|
|
1706
|
+
y: s
|
|
1707
|
+
});
|
|
1708
|
+
}
|
|
1709
|
+
function Ve(e, t) {
|
|
1710
|
+
const r = be(e).scrollLeft;
|
|
1711
|
+
return t ? t.left + r : Z(B(e)).left + r;
|
|
1712
|
+
}
|
|
1713
|
+
function at(e, t, r) {
|
|
1714
|
+
r === void 0 && (r = !1);
|
|
1715
|
+
const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - (r ? 0 : (
|
|
1716
|
+
// RTL <body> scrollbar.
|
|
1717
|
+
Ve(e, n)
|
|
1718
|
+
)), c = n.top + t.scrollTop;
|
|
1719
|
+
return {
|
|
1720
|
+
x: o,
|
|
1721
|
+
y: c
|
|
1722
|
+
};
|
|
1723
|
+
}
|
|
1724
|
+
function Cn(e) {
|
|
1725
|
+
let {
|
|
1726
|
+
elements: t,
|
|
1727
|
+
rect: r,
|
|
1728
|
+
offsetParent: n,
|
|
1729
|
+
strategy: o
|
|
1730
|
+
} = e;
|
|
1731
|
+
const c = o === "fixed", l = B(n), f = t ? we(t.floating) : !1;
|
|
1732
|
+
if (n === l || f && c)
|
|
1733
|
+
return r;
|
|
1734
|
+
let u = {
|
|
1735
|
+
scrollLeft: 0,
|
|
1736
|
+
scrollTop: 0
|
|
1737
|
+
}, s = W(1);
|
|
1738
|
+
const g = W(0), a = j(n);
|
|
1739
|
+
if ((a || !a && !c) && ((ne(n) !== "body" || le(l)) && (u = be(n)), j(n))) {
|
|
1740
|
+
const d = Z(n);
|
|
1741
|
+
s = Q(n), g.x = d.x + n.clientLeft, g.y = d.y + n.clientTop;
|
|
1742
|
+
}
|
|
1743
|
+
const i = l && !a && !c ? at(l, u, !0) : W(0);
|
|
1744
|
+
return {
|
|
1745
|
+
width: r.width * s.x,
|
|
1746
|
+
height: r.height * s.y,
|
|
1747
|
+
x: r.x * s.x - u.scrollLeft * s.x + g.x + i.x,
|
|
1748
|
+
y: r.y * s.y - u.scrollTop * s.y + g.y + i.y
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
function Dn(e) {
|
|
1752
|
+
return Array.from(e.getClientRects());
|
|
1753
|
+
}
|
|
1754
|
+
function Mn(e) {
|
|
1755
|
+
const t = B(e), r = be(e), n = e.ownerDocument.body, o = k(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), c = k(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
1756
|
+
let l = -r.scrollLeft + Ve(e);
|
|
1757
|
+
const f = -r.scrollTop;
|
|
1758
|
+
return F(n).direction === "rtl" && (l += k(t.clientWidth, n.clientWidth) - o), {
|
|
1759
|
+
width: o,
|
|
1760
|
+
height: c,
|
|
1761
|
+
x: l,
|
|
1762
|
+
y: f
|
|
1763
|
+
};
|
|
1764
|
+
}
|
|
1765
|
+
function Ln(e, t) {
|
|
1766
|
+
const r = $(e), n = B(e), o = r.visualViewport;
|
|
1767
|
+
let c = n.clientWidth, l = n.clientHeight, f = 0, u = 0;
|
|
1768
|
+
if (o) {
|
|
1769
|
+
c = o.width, l = o.height;
|
|
1770
|
+
const s = ke();
|
|
1771
|
+
(!s || s && t === "fixed") && (f = o.offsetLeft, u = o.offsetTop);
|
|
1772
|
+
}
|
|
1773
|
+
return {
|
|
1774
|
+
width: c,
|
|
1775
|
+
height: l,
|
|
1776
|
+
x: f,
|
|
1777
|
+
y: u
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
function kn(e, t) {
|
|
1781
|
+
const r = Z(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, c = j(e) ? Q(e) : W(1), l = e.clientWidth * c.x, f = e.clientHeight * c.y, u = o * c.x, s = n * c.y;
|
|
1782
|
+
return {
|
|
1783
|
+
width: l,
|
|
1784
|
+
height: f,
|
|
1785
|
+
x: u,
|
|
1786
|
+
y: s
|
|
1787
|
+
};
|
|
1788
|
+
}
|
|
1789
|
+
function Ye(e, t, r) {
|
|
1790
|
+
let n;
|
|
1791
|
+
if (t === "viewport")
|
|
1792
|
+
n = Ln(e, r);
|
|
1793
|
+
else if (t === "document")
|
|
1794
|
+
n = Mn(B(e));
|
|
1795
|
+
else if (U(t))
|
|
1796
|
+
n = kn(t, r);
|
|
1797
|
+
else {
|
|
1798
|
+
const o = ct(e);
|
|
1799
|
+
n = {
|
|
1800
|
+
x: t.x - o.x,
|
|
1801
|
+
y: t.y - o.y,
|
|
1802
|
+
width: t.width,
|
|
1803
|
+
height: t.height
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
return he(n);
|
|
1807
|
+
}
|
|
1808
|
+
function lt(e, t) {
|
|
1809
|
+
const r = J(e);
|
|
1810
|
+
return r === t || !U(r) || ee(r) ? !1 : F(r).position === "fixed" || lt(r, t);
|
|
1811
|
+
}
|
|
1812
|
+
function $n(e, t) {
|
|
1813
|
+
const r = t.get(e);
|
|
1814
|
+
if (r)
|
|
1815
|
+
return r;
|
|
1816
|
+
let n = ae(e, [], !1).filter((f) => U(f) && ne(f) !== "body"), o = null;
|
|
1817
|
+
const c = F(e).position === "fixed";
|
|
1818
|
+
let l = c ? J(e) : e;
|
|
1819
|
+
for (; U(l) && !ee(l); ) {
|
|
1820
|
+
const f = F(l), u = Le(l);
|
|
1821
|
+
!u && f.position === "fixed" && (o = null), (c ? !u && !o : !u && f.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || le(l) && !u && lt(e, l)) ? n = n.filter((g) => g !== l) : o = f, l = J(l);
|
|
1822
|
+
}
|
|
1823
|
+
return t.set(e, n), n;
|
|
1824
|
+
}
|
|
1825
|
+
function Vn(e) {
|
|
1826
|
+
let {
|
|
1827
|
+
element: t,
|
|
1828
|
+
boundary: r,
|
|
1829
|
+
rootBoundary: n,
|
|
1830
|
+
strategy: o
|
|
1831
|
+
} = e;
|
|
1832
|
+
const l = [...r === "clippingAncestors" ? we(t) ? [] : $n(t, this._c) : [].concat(r), n], f = l[0], u = l.reduce((s, g) => {
|
|
1833
|
+
const a = Ye(t, g, o);
|
|
1834
|
+
return s.top = k(a.top, s.top), s.right = X(a.right, s.right), s.bottom = X(a.bottom, s.bottom), s.left = k(a.left, s.left), s;
|
|
1835
|
+
}, Ye(t, f, o));
|
|
1836
|
+
return {
|
|
1837
|
+
width: u.right - u.left,
|
|
1838
|
+
height: u.bottom - u.top,
|
|
1839
|
+
x: u.left,
|
|
1840
|
+
y: u.top
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
function Hn(e) {
|
|
1844
|
+
const {
|
|
1845
|
+
width: t,
|
|
1846
|
+
height: r
|
|
1847
|
+
} = st(e);
|
|
1848
|
+
return {
|
|
1849
|
+
width: t,
|
|
1850
|
+
height: r
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
function zn(e, t, r) {
|
|
1854
|
+
const n = j(t), o = B(t), c = r === "fixed", l = Z(e, !0, c, t);
|
|
1855
|
+
let f = {
|
|
1856
|
+
scrollLeft: 0,
|
|
1857
|
+
scrollTop: 0
|
|
1858
|
+
};
|
|
1859
|
+
const u = W(0);
|
|
1860
|
+
if (n || !n && !c)
|
|
1861
|
+
if ((ne(t) !== "body" || le(o)) && (f = be(t)), n) {
|
|
1862
|
+
const i = Z(t, !0, c, t);
|
|
1863
|
+
u.x = i.x + t.clientLeft, u.y = i.y + t.clientTop;
|
|
1864
|
+
} else o && (u.x = Ve(o));
|
|
1865
|
+
const s = o && !n && !c ? at(o, f) : W(0), g = l.left + f.scrollLeft - u.x - s.x, a = l.top + f.scrollTop - u.y - s.y;
|
|
1866
|
+
return {
|
|
1867
|
+
x: g,
|
|
1868
|
+
y: a,
|
|
1869
|
+
width: l.width,
|
|
1870
|
+
height: l.height
|
|
1871
|
+
};
|
|
1872
|
+
}
|
|
1873
|
+
function Ee(e) {
|
|
1874
|
+
return F(e).position === "static";
|
|
1875
|
+
}
|
|
1876
|
+
function Ge(e, t) {
|
|
1877
|
+
if (!j(e) || F(e).position === "fixed")
|
|
1878
|
+
return null;
|
|
1879
|
+
if (t)
|
|
1880
|
+
return t(e);
|
|
1881
|
+
let r = e.offsetParent;
|
|
1882
|
+
return B(e) === r && (r = r.ownerDocument.body), r;
|
|
1883
|
+
}
|
|
1884
|
+
function ut(e, t) {
|
|
1885
|
+
const r = $(e);
|
|
1886
|
+
if (we(e))
|
|
1887
|
+
return r;
|
|
1888
|
+
if (!j(e)) {
|
|
1889
|
+
let o = J(e);
|
|
1890
|
+
for (; o && !ee(o); ) {
|
|
1891
|
+
if (U(o) && !Ee(o))
|
|
1892
|
+
return o;
|
|
1893
|
+
o = J(o);
|
|
1894
|
+
}
|
|
1895
|
+
return r;
|
|
1896
|
+
}
|
|
1897
|
+
let n = Ge(e, t);
|
|
1898
|
+
for (; n && Tn(n) && Ee(n); )
|
|
1899
|
+
n = Ge(n, t);
|
|
1900
|
+
return n && ee(n) && Ee(n) && !Le(n) ? r : n || _n(e) || r;
|
|
1901
|
+
}
|
|
1902
|
+
const Un = async function(e) {
|
|
1903
|
+
const t = this.getOffsetParent || ut, r = this.getDimensions, n = await r(e.floating);
|
|
1904
|
+
return {
|
|
1905
|
+
reference: zn(e.reference, await t(e.floating), e.strategy),
|
|
1906
|
+
floating: {
|
|
1907
|
+
x: 0,
|
|
1908
|
+
y: 0,
|
|
1909
|
+
width: n.width,
|
|
1910
|
+
height: n.height
|
|
1911
|
+
}
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1914
|
+
function Fn(e) {
|
|
1915
|
+
return F(e).direction === "rtl";
|
|
1916
|
+
}
|
|
1917
|
+
const In = {
|
|
1918
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Cn,
|
|
1919
|
+
getDocumentElement: B,
|
|
1920
|
+
getClippingRect: Vn,
|
|
1921
|
+
getOffsetParent: ut,
|
|
1922
|
+
getElementRects: Un,
|
|
1923
|
+
getClientRects: Dn,
|
|
1924
|
+
getDimensions: Hn,
|
|
1925
|
+
getScale: Q,
|
|
1926
|
+
isElement: U,
|
|
1927
|
+
isRTL: Fn
|
|
1928
|
+
};
|
|
1929
|
+
function ft(e, t) {
|
|
1930
|
+
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1931
|
+
}
|
|
1932
|
+
function Wn(e, t) {
|
|
1933
|
+
let r = null, n;
|
|
1934
|
+
const o = B(e);
|
|
1935
|
+
function c() {
|
|
1936
|
+
var f;
|
|
1937
|
+
clearTimeout(n), (f = r) == null || f.disconnect(), r = null;
|
|
1938
|
+
}
|
|
1939
|
+
function l(f, u) {
|
|
1940
|
+
f === void 0 && (f = !1), u === void 0 && (u = 1), c();
|
|
1941
|
+
const s = e.getBoundingClientRect(), {
|
|
1942
|
+
left: g,
|
|
1943
|
+
top: a,
|
|
1944
|
+
width: i,
|
|
1945
|
+
height: d
|
|
1946
|
+
} = s;
|
|
1947
|
+
if (f || t(), !i || !d)
|
|
1948
|
+
return;
|
|
1949
|
+
const m = ge(a), p = ge(o.clientWidth - (g + i)), y = ge(o.clientHeight - (a + d)), v = ge(g), b = {
|
|
1950
|
+
rootMargin: -m + "px " + -p + "px " + -y + "px " + -v + "px",
|
|
1951
|
+
threshold: k(0, X(1, u)) || 1
|
|
1952
|
+
};
|
|
1953
|
+
let E = !0;
|
|
1954
|
+
function S(A) {
|
|
1955
|
+
const _ = A[0].intersectionRatio;
|
|
1956
|
+
if (_ !== u) {
|
|
1957
|
+
if (!E)
|
|
1958
|
+
return l();
|
|
1959
|
+
_ ? l(!1, _) : n = setTimeout(() => {
|
|
1960
|
+
l(!1, 1e-7);
|
|
1961
|
+
}, 1e3);
|
|
1962
|
+
}
|
|
1963
|
+
_ === 1 && !ft(s, e.getBoundingClientRect()) && l(), E = !1;
|
|
1964
|
+
}
|
|
1965
|
+
try {
|
|
1966
|
+
r = new IntersectionObserver(S, {
|
|
1967
|
+
...b,
|
|
1968
|
+
// Handle <iframe>s
|
|
1969
|
+
root: o.ownerDocument
|
|
1970
|
+
});
|
|
1971
|
+
} catch {
|
|
1972
|
+
r = new IntersectionObserver(S, b);
|
|
1973
|
+
}
|
|
1974
|
+
r.observe(e);
|
|
1975
|
+
}
|
|
1976
|
+
return l(!0), c;
|
|
1977
|
+
}
|
|
1978
|
+
function jn(e, t, r, n) {
|
|
1979
|
+
n === void 0 && (n = {});
|
|
1980
|
+
const {
|
|
1981
|
+
ancestorScroll: o = !0,
|
|
1982
|
+
ancestorResize: c = !0,
|
|
1983
|
+
elementResize: l = typeof ResizeObserver == "function",
|
|
1984
|
+
layoutShift: f = typeof IntersectionObserver == "function",
|
|
1985
|
+
animationFrame: u = !1
|
|
1986
|
+
} = n, s = $e(e), g = o || c ? [...s ? ae(s) : [], ...ae(t)] : [];
|
|
1987
|
+
g.forEach((v) => {
|
|
1988
|
+
o && v.addEventListener("scroll", r, {
|
|
1989
|
+
passive: !0
|
|
1990
|
+
}), c && v.addEventListener("resize", r);
|
|
1991
|
+
});
|
|
1992
|
+
const a = s && f ? Wn(s, r) : null;
|
|
1993
|
+
let i = -1, d = null;
|
|
1994
|
+
l && (d = new ResizeObserver((v) => {
|
|
1995
|
+
let [w] = v;
|
|
1996
|
+
w && w.target === s && d && (d.unobserve(t), cancelAnimationFrame(i), i = requestAnimationFrame(() => {
|
|
1997
|
+
var b;
|
|
1998
|
+
(b = d) == null || b.observe(t);
|
|
1999
|
+
})), r();
|
|
2000
|
+
}), s && !u && d.observe(s), d.observe(t));
|
|
2001
|
+
let m, p = u ? Z(e) : null;
|
|
2002
|
+
u && y();
|
|
2003
|
+
function y() {
|
|
2004
|
+
const v = Z(e);
|
|
2005
|
+
p && !ft(p, v) && r(), p = v, m = requestAnimationFrame(y);
|
|
2006
|
+
}
|
|
2007
|
+
return r(), () => {
|
|
2008
|
+
var v;
|
|
2009
|
+
g.forEach((w) => {
|
|
2010
|
+
o && w.removeEventListener("scroll", r), c && w.removeEventListener("resize", r);
|
|
2011
|
+
}), a?.(), (v = d) == null || v.disconnect(), d = null, u && cancelAnimationFrame(m);
|
|
2012
|
+
};
|
|
2013
|
+
}
|
|
2014
|
+
const Bn = Sn, qn = En, Yn = wn, Gn = An, Kn = bn, Xn = xn, Jn = Rn, Zn = (e, t, r) => {
|
|
2015
|
+
const n = /* @__PURE__ */ new Map(), o = {
|
|
2016
|
+
platform: In,
|
|
2017
|
+
...r
|
|
2018
|
+
}, c = {
|
|
2019
|
+
...o.platform,
|
|
2020
|
+
_c: n
|
|
2021
|
+
};
|
|
2022
|
+
return vn(e, t, {
|
|
2023
|
+
...o,
|
|
2024
|
+
platform: c
|
|
2025
|
+
});
|
|
2026
|
+
};
|
|
2027
|
+
function Ke(e = 0, t = 0, r = 0, n = 0) {
|
|
2028
|
+
if (typeof DOMRect == "function")
|
|
2029
|
+
return new DOMRect(e, t, r, n);
|
|
2030
|
+
const o = {
|
|
2031
|
+
x: e,
|
|
2032
|
+
y: t,
|
|
2033
|
+
width: r,
|
|
2034
|
+
height: n,
|
|
2035
|
+
top: t,
|
|
2036
|
+
right: e + r,
|
|
2037
|
+
bottom: t + n,
|
|
2038
|
+
left: e
|
|
2039
|
+
};
|
|
2040
|
+
return { ...o, toJSON: () => o };
|
|
2041
|
+
}
|
|
2042
|
+
function Qn(e) {
|
|
2043
|
+
if (!e) return Ke();
|
|
2044
|
+
const { x: t, y: r, width: n, height: o } = e;
|
|
2045
|
+
return Ke(t, r, n, o);
|
|
2046
|
+
}
|
|
2047
|
+
function er(e, t) {
|
|
2048
|
+
return {
|
|
2049
|
+
contextElement: Tt(e) ? e : void 0,
|
|
2050
|
+
getBoundingClientRect: () => {
|
|
2051
|
+
const r = e, n = t?.(r);
|
|
2052
|
+
return n || !r ? Qn(n) : r.getBoundingClientRect();
|
|
2053
|
+
}
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
var oe = (e) => ({ variable: e, reference: `var(${e})` }), q = {
|
|
2057
|
+
arrowSize: oe("--arrow-size"),
|
|
2058
|
+
arrowSizeHalf: oe("--arrow-size-half"),
|
|
2059
|
+
arrowBg: oe("--arrow-background"),
|
|
2060
|
+
transformOrigin: oe("--transform-origin"),
|
|
2061
|
+
arrowOffset: oe("--arrow-offset")
|
|
2062
|
+
}, tr = (e) => ({
|
|
2063
|
+
top: "bottom center",
|
|
2064
|
+
"top-start": e ? `${e.x}px bottom` : "left bottom",
|
|
2065
|
+
"top-end": e ? `${e.x}px bottom` : "right bottom",
|
|
2066
|
+
bottom: "top center",
|
|
2067
|
+
"bottom-start": e ? `${e.x}px top` : "top left",
|
|
2068
|
+
"bottom-end": e ? `${e.x}px top` : "top right",
|
|
2069
|
+
left: "right center",
|
|
2070
|
+
"left-start": e ? `right ${e.y}px` : "right top",
|
|
2071
|
+
"left-end": e ? `right ${e.y}px` : "right bottom",
|
|
2072
|
+
right: "left center",
|
|
2073
|
+
"right-start": e ? `left ${e.y}px` : "left top",
|
|
2074
|
+
"right-end": e ? `left ${e.y}px` : "left bottom"
|
|
2075
|
+
}), nr = {
|
|
2076
|
+
name: "transformOrigin",
|
|
2077
|
+
fn({ placement: e, elements: t, middlewareData: r }) {
|
|
2078
|
+
const { arrow: n } = r, o = tr(n)[e], { floating: c } = t;
|
|
2079
|
+
return c.style.setProperty(q.transformOrigin.variable, o), {
|
|
2080
|
+
data: { transformOrigin: o }
|
|
2081
|
+
};
|
|
2082
|
+
}
|
|
2083
|
+
}, rr = {
|
|
2084
|
+
name: "rects",
|
|
2085
|
+
fn({ rects: e }) {
|
|
2086
|
+
return {
|
|
2087
|
+
data: e
|
|
2088
|
+
};
|
|
2089
|
+
}
|
|
2090
|
+
}, or = (e) => {
|
|
2091
|
+
if (e)
|
|
2092
|
+
return {
|
|
2093
|
+
name: "shiftArrow",
|
|
2094
|
+
fn({ placement: t, middlewareData: r }) {
|
|
2095
|
+
if (!r.arrow) return {};
|
|
2096
|
+
const { x: n, y: o } = r.arrow, c = t.split("-")[0];
|
|
2097
|
+
return Object.assign(e.style, {
|
|
2098
|
+
left: n != null ? `${n}px` : "",
|
|
2099
|
+
top: o != null ? `${o}px` : "",
|
|
2100
|
+
[c]: `calc(100% + ${q.arrowOffset.reference})`
|
|
2101
|
+
}), {};
|
|
2102
|
+
}
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
function ir(e) {
|
|
2106
|
+
const [t, r] = e.split("-");
|
|
2107
|
+
return { side: t, align: r, hasAlign: r != null };
|
|
2108
|
+
}
|
|
2109
|
+
function Tr(e) {
|
|
2110
|
+
return e.split("-")[0];
|
|
2111
|
+
}
|
|
2112
|
+
var sr = {
|
|
2113
|
+
strategy: "absolute",
|
|
2114
|
+
placement: "bottom",
|
|
2115
|
+
listeners: !0,
|
|
2116
|
+
gutter: 8,
|
|
2117
|
+
flip: !0,
|
|
2118
|
+
slide: !0,
|
|
2119
|
+
overlap: !1,
|
|
2120
|
+
sameWidth: !1,
|
|
2121
|
+
fitViewport: !1,
|
|
2122
|
+
overflowPadding: 8,
|
|
2123
|
+
arrowPadding: 4
|
|
2124
|
+
};
|
|
2125
|
+
function Xe(e, t) {
|
|
2126
|
+
const r = e.devicePixelRatio || 1;
|
|
2127
|
+
return Math.round(t * r) / r;
|
|
2128
|
+
}
|
|
2129
|
+
function dt(e) {
|
|
2130
|
+
return Pt(e.boundary);
|
|
2131
|
+
}
|
|
2132
|
+
function cr(e, t) {
|
|
2133
|
+
if (e)
|
|
2134
|
+
return Xn({
|
|
2135
|
+
element: e,
|
|
2136
|
+
padding: t.arrowPadding
|
|
2137
|
+
});
|
|
2138
|
+
}
|
|
2139
|
+
function ar(e, t) {
|
|
2140
|
+
if (!_t(t.offset ?? t.gutter))
|
|
2141
|
+
return Bn(({ placement: r }) => {
|
|
2142
|
+
const n = (e?.clientHeight || 0) / 2, o = t.offset?.mainAxis ?? t.gutter, c = typeof o == "number" ? o + n : o ?? n, { hasAlign: l } = ir(r), f = l ? void 0 : t.shift, u = t.offset?.crossAxis ?? f;
|
|
2143
|
+
return Je({
|
|
2144
|
+
crossAxis: u,
|
|
2145
|
+
mainAxis: c,
|
|
2146
|
+
alignmentAxis: t.shift
|
|
2147
|
+
});
|
|
2148
|
+
});
|
|
2149
|
+
}
|
|
2150
|
+
function lr(e) {
|
|
2151
|
+
if (e.flip)
|
|
2152
|
+
return Yn({
|
|
2153
|
+
boundary: dt(e),
|
|
2154
|
+
padding: e.overflowPadding,
|
|
2155
|
+
fallbackPlacements: e.flip === !0 ? void 0 : e.flip
|
|
2156
|
+
});
|
|
2157
|
+
}
|
|
2158
|
+
function ur(e) {
|
|
2159
|
+
if (!(!e.slide && !e.overlap))
|
|
2160
|
+
return qn({
|
|
2161
|
+
boundary: dt(e),
|
|
2162
|
+
mainAxis: e.slide,
|
|
2163
|
+
crossAxis: e.overlap,
|
|
2164
|
+
padding: e.overflowPadding,
|
|
2165
|
+
limiter: Jn()
|
|
2166
|
+
});
|
|
2167
|
+
}
|
|
2168
|
+
function fr(e) {
|
|
2169
|
+
return Gn({
|
|
2170
|
+
padding: e.overflowPadding,
|
|
2171
|
+
apply({ elements: t, rects: r, availableHeight: n, availableWidth: o }) {
|
|
2172
|
+
const c = t.floating, l = Math.round(r.reference.width);
|
|
2173
|
+
o = Math.floor(o), n = Math.floor(n), c.style.setProperty("--reference-width", `${l}px`), c.style.setProperty("--available-width", `${o}px`), c.style.setProperty("--available-height", `${n}px`);
|
|
2174
|
+
}
|
|
2175
|
+
});
|
|
2176
|
+
}
|
|
2177
|
+
function dr(e) {
|
|
2178
|
+
if (e.hideWhenDetached)
|
|
2179
|
+
return Kn({ strategy: "referenceHidden", boundary: e.boundary?.() ?? "clippingAncestors" });
|
|
2180
|
+
}
|
|
2181
|
+
function gr(e) {
|
|
2182
|
+
return e ? e === !0 ? { ancestorResize: !0, ancestorScroll: !0, elementResize: !0, layoutShift: !0 } : e : {};
|
|
2183
|
+
}
|
|
2184
|
+
function mr(e, t, r = {}) {
|
|
2185
|
+
const n = er(e, r.getAnchorRect);
|
|
2186
|
+
if (!t || !n) return;
|
|
2187
|
+
const o = Object.assign({}, sr, r), c = t.querySelector("[data-part=arrow]"), l = [
|
|
2188
|
+
ar(c, o),
|
|
2189
|
+
lr(o),
|
|
2190
|
+
ur(o),
|
|
2191
|
+
cr(c, o),
|
|
2192
|
+
or(c),
|
|
2193
|
+
nr,
|
|
2194
|
+
fr(o),
|
|
2195
|
+
dr(o),
|
|
2196
|
+
rr
|
|
2197
|
+
], { placement: f, strategy: u, onComplete: s, onPositioned: g } = o, a = async () => {
|
|
2198
|
+
if (!n || !t) return;
|
|
2199
|
+
const p = await Zn(n, t, {
|
|
2200
|
+
placement: f,
|
|
2201
|
+
middleware: l,
|
|
2202
|
+
strategy: u
|
|
2203
|
+
});
|
|
2204
|
+
s?.(p), g?.({ placed: !0 });
|
|
2205
|
+
const y = Nt(t), v = Xe(y, p.x), w = Xe(y, p.y);
|
|
2206
|
+
t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${w}px`), o.hideWhenDetached && (p.middlewareData.hide?.referenceHidden ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
|
|
2207
|
+
const b = t.firstElementChild;
|
|
2208
|
+
if (b) {
|
|
2209
|
+
const E = Ze(b);
|
|
2210
|
+
t.style.setProperty("--z-index", E.zIndex);
|
|
2211
|
+
}
|
|
2212
|
+
}, i = async () => {
|
|
2213
|
+
r.updatePosition ? (await r.updatePosition({ updatePosition: a }), g?.({ placed: !0 })) : await a();
|
|
2214
|
+
}, d = gr(o.listeners), m = o.listeners ? jn(n, t, i, d) : At;
|
|
2215
|
+
return i(), () => {
|
|
2216
|
+
m?.(), g?.({ placed: !1 });
|
|
2217
|
+
};
|
|
2218
|
+
}
|
|
2219
|
+
function _r(e, t, r = {}) {
|
|
2220
|
+
const { defer: n, ...o } = r, c = n ? Re : (f) => f(), l = [];
|
|
2221
|
+
return l.push(
|
|
2222
|
+
c(() => {
|
|
2223
|
+
const f = typeof e == "function" ? e() : e, u = typeof t == "function" ? t() : t;
|
|
2224
|
+
l.push(mr(f, u, o));
|
|
2225
|
+
})
|
|
2226
|
+
), () => {
|
|
2227
|
+
l.forEach((f) => f?.());
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
var pr = {
|
|
2231
|
+
bottom: "rotate(45deg)",
|
|
2232
|
+
left: "rotate(135deg)",
|
|
2233
|
+
top: "rotate(225deg)",
|
|
2234
|
+
right: "rotate(315deg)"
|
|
2235
|
+
};
|
|
2236
|
+
function Pr(e = {}) {
|
|
2237
|
+
const { placement: t, sameWidth: r, fitViewport: n, strategy: o = "absolute" } = e;
|
|
2238
|
+
return {
|
|
2239
|
+
arrow: {
|
|
2240
|
+
position: "absolute",
|
|
2241
|
+
width: q.arrowSize.reference,
|
|
2242
|
+
height: q.arrowSize.reference,
|
|
2243
|
+
[q.arrowSizeHalf.variable]: `calc(${q.arrowSize.reference} / 2)`,
|
|
2244
|
+
[q.arrowOffset.variable]: `calc(${q.arrowSizeHalf.reference} * -1)`
|
|
2245
|
+
},
|
|
2246
|
+
arrowTip: {
|
|
2247
|
+
// @ts-expect-error - Fix this
|
|
2248
|
+
transform: t ? pr[t.split("-")[0]] : void 0,
|
|
2249
|
+
background: q.arrowBg.reference,
|
|
2250
|
+
top: "0",
|
|
2251
|
+
left: "0",
|
|
2252
|
+
width: "100%",
|
|
2253
|
+
height: "100%",
|
|
2254
|
+
position: "absolute",
|
|
2255
|
+
zIndex: "inherit"
|
|
2256
|
+
},
|
|
2257
|
+
floating: {
|
|
2258
|
+
position: o,
|
|
2259
|
+
isolation: "isolate",
|
|
2260
|
+
minWidth: r ? void 0 : "max-content",
|
|
2261
|
+
width: r ? "var(--reference-width)" : void 0,
|
|
2262
|
+
maxWidth: n ? "var(--available-width)" : void 0,
|
|
2263
|
+
maxHeight: n ? "var(--available-height)" : void 0,
|
|
2264
|
+
pointerEvents: t ? void 0 : "none",
|
|
2265
|
+
top: "0px",
|
|
2266
|
+
left: "0px",
|
|
2267
|
+
// move off-screen if placement is not defined
|
|
2268
|
+
transform: t ? "translate3d(var(--x), var(--y), 0)" : "translate3d(0, -100vh, 0)",
|
|
2269
|
+
zIndex: "var(--z-index)"
|
|
2270
|
+
}
|
|
2271
|
+
};
|
|
2272
|
+
}
|
|
2273
|
+
const [Nr, Cr] = Ne({
|
|
2274
|
+
name: "LocaleContext",
|
|
2275
|
+
hookName: "useLocaleContext",
|
|
2276
|
+
providerName: "<LocaleProvider />",
|
|
2277
|
+
strict: !1,
|
|
2278
|
+
defaultValue: { dir: "ltr", locale: "en-US" }
|
|
2279
|
+
});
|
|
2280
|
+
export {
|
|
2281
|
+
wr as P,
|
|
2282
|
+
on as a,
|
|
2283
|
+
Xt as b,
|
|
2284
|
+
Ne as c,
|
|
2285
|
+
Pr as d,
|
|
2286
|
+
Tr as e,
|
|
2287
|
+
Or as f,
|
|
2288
|
+
_r as g,
|
|
2289
|
+
tn as h,
|
|
2290
|
+
qt as i,
|
|
2291
|
+
Cr as j,
|
|
2292
|
+
Qt as k,
|
|
2293
|
+
Ar as l,
|
|
2294
|
+
Sr as m,
|
|
2295
|
+
br as n,
|
|
2296
|
+
an as o,
|
|
2297
|
+
ve as r,
|
|
2298
|
+
Rr as s,
|
|
2299
|
+
Er as u
|
|
2300
|
+
};
|
|
2301
|
+
//# sourceMappingURL=use-locale-context-D-agiW5E.js.map
|