@televet/kibble-ui 4.0.0-beta.102 → 4.0.0-beta.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{alert.types-BFIjEpyN.js → alert.types-B-bS7qjd.js} +3 -3
- package/dist/chunks/{alert.types-BFIjEpyN.js.map → alert.types-B-bS7qjd.js.map} +1 -1
- package/dist/chunks/{alert.types-CBlxvlwZ.js → alert.types-CIc4IRMS.js} +2 -2
- package/dist/chunks/{alert.types-CBlxvlwZ.js.map → alert.types-CIc4IRMS.js.map} +1 -1
- package/dist/chunks/{avatar.component-DdeMVY3l.js → avatar.component-B63kpE9P.js} +6 -6
- package/dist/chunks/{avatar.component-DdeMVY3l.js.map → avatar.component-B63kpE9P.js.map} +1 -1
- package/dist/chunks/{avatar.component-37joMuMZ.js → avatar.component-DhVRhVUB.js} +2 -2
- package/dist/chunks/{avatar.component-37joMuMZ.js.map → avatar.component-DhVRhVUB.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-CPjot93U.js → avatarGroup.component-Bv-7rU7a.js} +2 -2
- package/dist/chunks/{avatarGroup.component-CPjot93U.js.map → avatarGroup.component-Bv-7rU7a.js.map} +1 -1
- package/dist/chunks/{avatarGroup.component-DboSD8PG.js → avatarGroup.component-S6IBJiRl.js} +2 -2
- package/dist/chunks/{avatarGroup.component-DboSD8PG.js.map → avatarGroup.component-S6IBJiRl.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CmsAFBU-.js → buttonGroup.component-Bxg_xRWP.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CmsAFBU-.js.map → buttonGroup.component-Bxg_xRWP.js.map} +1 -1
- package/dist/chunks/{buttonGroup.component-CeU9SOoZ.js → buttonGroup.component-C7pKCvcQ.js} +2 -2
- package/dist/chunks/{buttonGroup.component-CeU9SOoZ.js.map → buttonGroup.component-C7pKCvcQ.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-D8qNJrRV.js → characterCounter.component-DElJ1iFK.js} +3 -3
- package/dist/chunks/{characterCounter.component-D8qNJrRV.js.map → characterCounter.component-DElJ1iFK.js.map} +1 -1
- package/dist/chunks/{characterCounter.component-Aa1IFCGT.js → characterCounter.component-DXmly18j.js} +2 -2
- package/dist/chunks/{characterCounter.component-Aa1IFCGT.js.map → characterCounter.component-DXmly18j.js.map} +1 -1
- package/dist/chunks/checkbox.component-BbjXZ9Nf.js +2 -0
- package/dist/chunks/{checkbox.component-BBnhOurl.js.map → checkbox.component-BbjXZ9Nf.js.map} +1 -1
- package/dist/chunks/{checkbox.component-Twnwzi6T.js → checkbox.component-DvG5FhBs.js} +50 -51
- package/dist/chunks/{checkbox.component-Twnwzi6T.js.map → checkbox.component-DvG5FhBs.js.map} +1 -1
- package/dist/chunks/checkbox.records-DI3mqSNf.js +2 -0
- package/dist/chunks/checkbox.records-DI3mqSNf.js.map +1 -0
- package/dist/chunks/{checkbox.anatomy-AIdXcqX-.js → checkbox.records-Ds6SvFdm.js} +22 -12
- package/dist/chunks/checkbox.records-Ds6SvFdm.js.map +1 -0
- package/dist/chunks/{checkboxGroup.component-BY34zJk7.js → checkboxGroup.component-ClGERT8x.js} +3 -3
- package/dist/chunks/{checkboxGroup.component-BY34zJk7.js.map → checkboxGroup.component-ClGERT8x.js.map} +1 -1
- package/dist/chunks/{checkboxGroup.component-B3R7JBVo.js → checkboxGroup.component-tnjabq8J.js} +2 -2
- package/dist/chunks/{checkboxGroup.component-B3R7JBVo.js.map → checkboxGroup.component-tnjabq8J.js.map} +1 -1
- package/dist/chunks/{config-BsZeMu66.js → config-DlTdf-Yt.js} +10 -10
- package/dist/chunks/{config-BsZeMu66.js.map → config-DlTdf-Yt.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-BOH8hmb-.js → conversationCard.component-DXiIGFwM.js} +2 -2
- package/dist/chunks/{conversationCard.component-BOH8hmb-.js.map → conversationCard.component-DXiIGFwM.js.map} +1 -1
- package/dist/chunks/{conversationCard.component-FdiTvQhb.js → conversationCard.component-FisFG9p8.js} +9 -9
- package/dist/chunks/{conversationCard.component-FdiTvQhb.js.map → conversationCard.component-FisFG9p8.js.map} +1 -1
- package/dist/chunks/{datePicker.component-BKGUGrux.js → datePicker.component-BVgI3zPN.js} +2 -2
- package/dist/chunks/{datePicker.component-BKGUGrux.js.map → datePicker.component-BVgI3zPN.js.map} +1 -1
- package/dist/chunks/{datePicker.component-BMFKZ9jI.js → datePicker.component-D8yWK-mP.js} +8 -8
- package/dist/chunks/{datePicker.component-BMFKZ9jI.js.map → datePicker.component-D8yWK-mP.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-TJz2Nslg.js → dialog-trigger-Crrp0YGG.js} +5 -5
- package/dist/chunks/{dialog-trigger-TJz2Nslg.js.map → dialog-trigger-Crrp0YGG.js.map} +1 -1
- package/dist/chunks/{dialog-trigger-CyE0fW3K.js → dialog-trigger-MkOQUjzu.js} +2 -2
- package/dist/chunks/{dialog-trigger-CyE0fW3K.js.map → dialog-trigger-MkOQUjzu.js.map} +1 -1
- package/dist/chunks/{heading.component-SSTHKtRE.js → heading.component-BMvc5kM8.js} +2 -2
- package/dist/chunks/{heading.component-SSTHKtRE.js.map → heading.component-BMvc5kM8.js.map} +1 -1
- package/dist/chunks/{heading.component-DiuOQTuV.js → heading.component-CSbfsm3W.js} +2 -2
- package/dist/chunks/{heading.component-DiuOQTuV.js.map → heading.component-CSbfsm3W.js.map} +1 -1
- package/dist/chunks/{index-BOJXzk6X.js → index-B3d3tRic.js} +4 -4
- package/dist/chunks/{index-BOJXzk6X.js.map → index-B3d3tRic.js.map} +1 -1
- package/dist/chunks/{index-CObxBCse.js → index-BBxAd1xM.js} +3 -3
- package/dist/chunks/{index-CObxBCse.js.map → index-BBxAd1xM.js.map} +1 -1
- package/dist/chunks/{index-DT0_Ld2V.js → index-BODNpj2d.js} +3 -3
- package/dist/chunks/{index-DT0_Ld2V.js.map → index-BODNpj2d.js.map} +1 -1
- package/dist/chunks/{index-BvfTd0It.js → index-BR7peqZO.js} +2 -2
- package/dist/chunks/{index-BvfTd0It.js.map → index-BR7peqZO.js.map} +1 -1
- package/dist/chunks/{index-7Od5VFiw.js → index-BRBNqTA7.js} +13 -13
- package/dist/chunks/{index-7Od5VFiw.js.map → index-BRBNqTA7.js.map} +1 -1
- package/dist/chunks/{index-AafzY9XD.js → index-BpQwMKfa.js} +10 -10
- package/dist/chunks/{index-AafzY9XD.js.map → index-BpQwMKfa.js.map} +1 -1
- package/dist/chunks/{index-Bkr-bXiq.js → index-C-m6RNXT.js} +11 -11
- package/dist/chunks/{index-Bkr-bXiq.js.map → index-C-m6RNXT.js.map} +1 -1
- package/dist/chunks/{index-BLSUI_Fi.js → index-CS8X6LiC.js} +2 -2
- package/dist/chunks/{index-BLSUI_Fi.js.map → index-CS8X6LiC.js.map} +1 -1
- package/dist/chunks/{index-IHJqZIuH.js → index-CX3yrbBD.js} +3 -3
- package/dist/chunks/{index-IHJqZIuH.js.map → index-CX3yrbBD.js.map} +1 -1
- package/dist/chunks/index-CYHDITxm.js +7859 -0
- package/dist/chunks/index-CYHDITxm.js.map +1 -0
- package/dist/chunks/{index-4eV_IBpJ.js → index-Cd-5e4RS.js} +5 -5
- package/dist/chunks/{index-4eV_IBpJ.js.map → index-Cd-5e4RS.js.map} +1 -1
- package/dist/chunks/index-ClcMgyeA.js +10 -0
- package/dist/chunks/index-ClcMgyeA.js.map +1 -0
- package/dist/chunks/{index-sEoMwGry.js → index-DBk0LkcO.js} +2 -2
- package/dist/chunks/{index-sEoMwGry.js.map → index-DBk0LkcO.js.map} +1 -1
- package/dist/chunks/{index-CYfS9qal.js → index-DOXzraja.js} +2 -2
- package/dist/chunks/{index-CYfS9qal.js.map → index-DOXzraja.js.map} +1 -1
- package/dist/chunks/{index-BszONCjy.js → index-DSedXH1s.js} +2 -2
- package/dist/chunks/{index-BszONCjy.js.map → index-DSedXH1s.js.map} +1 -1
- package/dist/chunks/{index-vvHShogE.js → index-DowO8Ued.js} +2 -2
- package/dist/chunks/{index-vvHShogE.js.map → index-DowO8Ued.js.map} +1 -1
- package/dist/chunks/{index-CVzg8MBo.js → index-QTIBH1Or.js} +2 -2
- package/dist/chunks/{index-CVzg8MBo.js.map → index-QTIBH1Or.js.map} +1 -1
- package/dist/chunks/{index-1syExFDc.js → index-Ztgrae6O.js} +11 -11
- package/dist/chunks/{index-1syExFDc.js.map → index-Ztgrae6O.js.map} +1 -1
- package/dist/chunks/{index-cHBEWy02.js → index-mndLieJA.js} +4 -4
- package/dist/chunks/{index-cHBEWy02.js.map → index-mndLieJA.js.map} +1 -1
- package/dist/chunks/{logo.types-Cx1LeO8I.js → logo.types-BbSodfBq.js} +2 -2
- package/dist/chunks/{logo.types-Cx1LeO8I.js.map → logo.types-BbSodfBq.js.map} +1 -1
- package/dist/chunks/{menu.component-BdkYpKpN.js → menu.component-ChULT3Gr.js} +8 -8
- package/dist/chunks/{menu.component-BdkYpKpN.js.map → menu.component-ChULT3Gr.js.map} +1 -1
- package/dist/chunks/{menu.component-CCM8bsSm.js → menu.component-XFe_M_SC.js} +2 -2
- package/dist/chunks/{menu.component-CCM8bsSm.js.map → menu.component-XFe_M_SC.js.map} +1 -1
- package/dist/chunks/{modal.types-VeN6tZvj.js → modal.types-C1izw_Yq.js} +2 -2
- package/dist/chunks/{modal.types-VeN6tZvj.js.map → modal.types-C1izw_Yq.js.map} +1 -1
- package/dist/chunks/{modal.types-D3YGNiuI.js → modal.types-DEGvHRn9.js} +4 -4
- package/dist/chunks/{modal.types-D3YGNiuI.js.map → modal.types-DEGvHRn9.js.map} +1 -1
- package/dist/chunks/{notificationCounter.component-Bgm4hK9N.js → notificationCounter.component-BzhAKrKR.js} +2 -2
- package/dist/chunks/{notificationCounter.component-Bgm4hK9N.js.map → notificationCounter.component-BzhAKrKR.js.map} +1 -1
- package/dist/chunks/{pinInput.types-BNBwX6Hl.js → pinInput.types-BHMFqLSM.js} +2 -2
- package/dist/chunks/{pinInput.types-BNBwX6Hl.js.map → pinInput.types-BHMFqLSM.js.map} +1 -1
- package/dist/chunks/{pinInput.types-NqL1HFRm.js → pinInput.types-DwCLcdqD.js} +6 -6
- package/dist/chunks/{pinInput.types-NqL1HFRm.js.map → pinInput.types-DwCLcdqD.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-Dwbh8WhW.js → popover-root-provider-C2iwUZJn.js} +2 -2
- package/dist/chunks/{popover-root-provider-Dwbh8WhW.js.map → popover-root-provider-C2iwUZJn.js.map} +1 -1
- package/dist/chunks/{popover-root-provider-B9H57A1i.js → popover-root-provider-R2bRQ-xz.js} +4 -4
- package/dist/chunks/{popover-root-provider-B9H57A1i.js.map → popover-root-provider-R2bRQ-xz.js.map} +1 -1
- package/dist/chunks/{popover.component-CaYI1vEW.js → popover.component-BWj15KxJ.js} +2 -2
- package/dist/chunks/{popover.component-CaYI1vEW.js.map → popover.component-BWj15KxJ.js.map} +1 -1
- package/dist/chunks/{popover.component-DlGkkvve.js → popover.component-DT3QQWyX.js} +7 -7
- package/dist/chunks/{popover.component-DlGkkvve.js.map → popover.component-DT3QQWyX.js.map} +1 -1
- package/dist/chunks/{popover.recipe-CFCoAAlW.js → popover.recipe-CQYAiRTB.js} +2 -2
- package/dist/chunks/{popover.recipe-CFCoAAlW.js.map → popover.recipe-CQYAiRTB.js.map} +1 -1
- package/dist/chunks/{popover.recipe-DegR9fjD.js → popover.recipe-DDKba5kq.js} +5 -5
- package/dist/chunks/{popover.recipe-DegR9fjD.js.map → popover.recipe-DDKba5kq.js.map} +1 -1
- package/dist/chunks/{index-n37Ze35k.js → radio.records-j0JOqaJ4.js} +2 -2
- package/dist/chunks/radio.records-j0JOqaJ4.js.map +1 -0
- package/dist/chunks/{index-hGcS7e_x.js → radio.records-muLWVHhG.js} +33 -22
- package/dist/chunks/radio.records-muLWVHhG.js.map +1 -0
- package/dist/chunks/{radioGroup.component-q0bBXVnx.js → radioGroup.component-BUolfqWr.js} +21 -22
- package/dist/chunks/{radioGroup.component-q0bBXVnx.js.map → radioGroup.component-BUolfqWr.js.map} +1 -1
- package/dist/chunks/radioGroup.component-egpalXS-.js +2 -0
- package/dist/chunks/{radioGroup.component-CEnFc_Ag.js.map → radioGroup.component-egpalXS-.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-eMRd5aP2.js → ratingDots.component-BY26etxR.js} +2 -2
- package/dist/chunks/{ratingDots.component-eMRd5aP2.js.map → ratingDots.component-BY26etxR.js.map} +1 -1
- package/dist/chunks/{ratingDots.component-BAm2XjZr.js → ratingDots.component-CrBOfyId.js} +4 -4
- package/dist/chunks/{ratingDots.component-BAm2XjZr.js.map → ratingDots.component-CrBOfyId.js.map} +1 -1
- package/dist/chunks/{render-strategy-BlfXwB_1.js → render-strategy-C_zp9LNQ.js} +2 -2
- package/dist/chunks/{render-strategy-BlfXwB_1.js.map → render-strategy-C_zp9LNQ.js.map} +1 -1
- package/dist/chunks/{render-strategy-DMTZ92PV.js → render-strategy-D5Z6LZ1V.js} +2 -2
- package/dist/chunks/{render-strategy-DMTZ92PV.js.map → render-strategy-D5Z6LZ1V.js.map} +1 -1
- package/dist/chunks/{select.component-Dp3XguXB.js → select.component-CQjAhCI2.js} +2 -2
- package/dist/chunks/{select.component-Dp3XguXB.js.map → select.component-CQjAhCI2.js.map} +1 -1
- package/dist/chunks/{select.component-BZwOWiuJ.js → select.component-D9bWpKVf.js} +9 -9
- package/dist/chunks/{select.component-BZwOWiuJ.js.map → select.component-D9bWpKVf.js.map} +1 -1
- package/dist/chunks/{sortableList.component-DfmuHVvP.js → sortableList.component-BWs5CrE2.js} +2 -2
- package/dist/chunks/{sortableList.component-DfmuHVvP.js.map → sortableList.component-BWs5CrE2.js.map} +1 -1
- package/dist/chunks/{sortableList.component-yvvu0IJp.js → sortableList.component-w4xLMCLj.js} +3 -3
- package/dist/chunks/{sortableList.component-yvvu0IJp.js.map → sortableList.component-w4xLMCLj.js.map} +1 -1
- package/dist/chunks/{spinner.component-C7ylmPXr.js → spinner.component-CzOv8dIY.js} +2 -2
- package/dist/chunks/{spinner.component-C7ylmPXr.js.map → spinner.component-CzOv8dIY.js.map} +1 -1
- package/dist/chunks/{spinner.component-Bu5rGx9x.js → spinner.component-gmb3jWCv.js} +3 -3
- package/dist/chunks/{spinner.component-Bu5rGx9x.js.map → spinner.component-gmb3jWCv.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-BaxV5wPq.js → styledAvatar.types-B0IAGnAx.js} +2 -2
- package/dist/chunks/{styledAvatar.types-BaxV5wPq.js.map → styledAvatar.types-B0IAGnAx.js.map} +1 -1
- package/dist/chunks/{styledAvatar.types-C_9GVvmD.js → styledAvatar.types-CVyai83h.js} +2 -2
- package/dist/chunks/{styledAvatar.types-C_9GVvmD.js.map → styledAvatar.types-CVyai83h.js.map} +1 -1
- package/dist/chunks/{swatch.types-DiwKSXzz.js → swatch.types-DbgA3RWc.js} +2 -2
- package/dist/chunks/{swatch.types-DiwKSXzz.js.map → swatch.types-DbgA3RWc.js.map} +1 -1
- package/dist/chunks/{switch.component-GM35zwYa.js → switch.component-DMj4TPl8.js} +2 -2
- package/dist/chunks/{switch.component-GM35zwYa.js.map → switch.component-DMj4TPl8.js.map} +1 -1
- package/dist/chunks/{switch.component-C4NO_Gs5.js → switch.component-lN5wISru.js} +6 -6
- package/dist/chunks/{switch.component-C4NO_Gs5.js.map → switch.component-lN5wISru.js.map} +1 -1
- package/dist/chunks/{tabs.component-BqawOxko.js → tabs.component-Dk9EUbWt.js} +10 -10
- package/dist/chunks/{tabs.component-BqawOxko.js.map → tabs.component-Dk9EUbWt.js.map} +1 -1
- package/dist/chunks/{tabs.component-1hCkIY3w.js → tabs.component-z7J2Yp6h.js} +2 -2
- package/dist/chunks/{tabs.component-1hCkIY3w.js.map → tabs.component-z7J2Yp6h.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-DwTt-HqP.js → tagBlock.component-BIT-AVii.js} +2 -2
- package/dist/chunks/{tagBlock.component-DwTt-HqP.js.map → tagBlock.component-BIT-AVii.js.map} +1 -1
- package/dist/chunks/{tagBlock.component-ChGexy1g.js → tagBlock.component-BhgGstLU.js} +5 -5
- package/dist/chunks/{tagBlock.component-ChGexy1g.js.map → tagBlock.component-BhgGstLU.js.map} +1 -1
- package/dist/chunks/{text.component-DDSfgcFP.js → text.component-BMna3XOy.js} +2 -2
- package/dist/chunks/{text.component-DDSfgcFP.js.map → text.component-BMna3XOy.js.map} +1 -1
- package/dist/chunks/{text.component-fgp06lR8.js → text.component-waIIFgwB.js} +2 -2
- package/dist/chunks/{text.component-fgp06lR8.js.map → text.component-waIIFgwB.js.map} +1 -1
- package/dist/chunks/{textInput.component-B3Q800_J.js → textInput.component-D9iVzBPO.js} +2 -2
- package/dist/chunks/{textInput.component-B3Q800_J.js.map → textInput.component-D9iVzBPO.js.map} +1 -1
- package/dist/chunks/{textInput.component-vxAD2BDI.js → textInput.component-Dv4puTkb.js} +6 -6
- package/dist/chunks/{textInput.component-vxAD2BDI.js.map → textInput.component-Dv4puTkb.js.map} +1 -1
- package/dist/chunks/{textarea.component-DBS-A-Jk.js → textarea.component-BBZ01Uwu.js} +2 -2
- package/dist/chunks/{textarea.component-DBS-A-Jk.js.map → textarea.component-BBZ01Uwu.js.map} +1 -1
- package/dist/chunks/{textarea.component-CVCNVeqW.js → textarea.component-BXDGsp_X.js} +13 -13
- package/dist/chunks/{textarea.component-CVCNVeqW.js.map → textarea.component-BXDGsp_X.js.map} +1 -1
- package/dist/chunks/theme.provider-LbddeKMu.js +24 -0
- package/dist/chunks/theme.provider-LbddeKMu.js.map +1 -0
- package/dist/chunks/theme.provider-wWr4H_XJ.js +12053 -0
- package/dist/chunks/theme.provider-wWr4H_XJ.js.map +1 -0
- package/dist/chunks/{timePicker.component-f-FAs8bP.js → timePicker.component-BTj7DA_7.js} +4 -4
- package/dist/chunks/{timePicker.component-f-FAs8bP.js.map → timePicker.component-BTj7DA_7.js.map} +1 -1
- package/dist/chunks/{timePicker.component-KqAcboP6.js → timePicker.component-DLhuGlNp.js} +2 -2
- package/dist/chunks/{timePicker.component-KqAcboP6.js.map → timePicker.component-DLhuGlNp.js.map} +1 -1
- package/dist/chunks/{timeRange.component-pWCZj2UZ.js → timeRange.component-CMuPVdvd.js} +2 -2
- package/dist/chunks/{timeRange.component-pWCZj2UZ.js.map → timeRange.component-CMuPVdvd.js.map} +1 -1
- package/dist/chunks/{timeRange.component-C-SA8EFz.js → timeRange.component-Cbo_KMo2.js} +2 -2
- package/dist/chunks/{timeRange.component-C-SA8EFz.js.map → timeRange.component-Cbo_KMo2.js.map} +1 -1
- package/dist/chunks/{timestamp.component-CStcenp0.js → timestamp.component-B1UUyLk6.js} +2 -2
- package/dist/chunks/{timestamp.component-CStcenp0.js.map → timestamp.component-B1UUyLk6.js.map} +1 -1
- package/dist/chunks/{timestamp.component-DpA8pTzY.js → timestamp.component-BQmg8ejt.js} +3 -3
- package/dist/chunks/{timestamp.component-DpA8pTzY.js.map → timestamp.component-BQmg8ejt.js.map} +1 -1
- package/dist/chunks/{toaster.records-DjNU8CFN.js → toaster.records-DcadVT_W.js} +2 -2
- package/dist/chunks/{toaster.records-DjNU8CFN.js.map → toaster.records-DcadVT_W.js.map} +1 -1
- package/dist/chunks/tooltip.component-BBcfv22j.js +492 -0
- package/dist/chunks/tooltip.component-BBcfv22j.js.map +1 -0
- package/dist/chunks/tooltip.component-BlX3B2Di.js +2 -0
- package/dist/chunks/tooltip.component-BlX3B2Di.js.map +1 -0
- package/dist/chunks/typography.records-CSy2LmDd.js +2 -0
- package/dist/chunks/typography.records-CSy2LmDd.js.map +1 -0
- package/dist/chunks/{typography.records-BEd2lI_g.js → typography.records-DDZuRT8J.js} +22 -10
- package/dist/chunks/typography.records-DDZuRT8J.js.map +1 -0
- package/dist/chunks/{use-field-context-CFITFjXV.js → use-field-context-BZaIHuSQ.js} +2 -2
- package/dist/chunks/{use-field-context-CFITFjXV.js.map → use-field-context-BZaIHuSQ.js.map} +1 -1
- package/dist/chunks/{use-field-context-4x8yd4wU.js → use-field-context-CArmgHPP.js} +2 -2
- package/dist/chunks/{use-field-context-4x8yd4wU.js.map → use-field-context-CArmgHPP.js.map} +1 -1
- package/dist/chunks/{use-locale-context-ib8415q7.js → use-locale-context-BNU4MHrO.js} +775 -1127
- package/dist/chunks/use-locale-context-BNU4MHrO.js.map +1 -0
- package/dist/chunks/use-locale-context-D0LByRu9.js +22 -0
- package/dist/chunks/use-locale-context-D0LByRu9.js.map +1 -0
- package/dist/chunks/withFormControl-DJ6OVImD.js +2 -0
- package/dist/chunks/{withFormControl-DUbGQZnV.js.map → withFormControl-DJ6OVImD.js.map} +1 -1
- package/dist/chunks/{withFormControl-CKHeFdbP.js → withFormControl-DS2sMs8A.js} +55 -56
- package/dist/chunks/{withFormControl-CKHeFdbP.js.map → withFormControl-DS2sMs8A.js.map} +1 -1
- package/dist/chunks/{withTruncation-DubH2hvc.js → withTruncation-BY4-q1lB.js} +2 -2
- package/dist/chunks/{withTruncation-DubH2hvc.js.map → withTruncation-BY4-q1lB.js.map} +1 -1
- package/dist/chunks/{withTruncation-BjQjta4-.js → withTruncation-Do7RgFZB.js} +2 -2
- package/dist/chunks/{withTruncation-BjQjta4-.js.map → withTruncation-Do7RgFZB.js.map} +1 -1
- package/dist/chunks/{wrap-CfOMkouk.js → wrap-B8tBNeBY.js} +2 -2
- package/dist/chunks/{wrap-CfOMkouk.js.map → wrap-B8tBNeBY.js.map} +1 -1
- package/dist/cjs/chakra/index.cjs +1 -1
- package/dist/cjs/chakra/index.cjs.map +1 -1
- 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/ButtonGroup/index.cjs +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/components/ConversationCard/index.cjs +1 -1
- package/dist/cjs/components/DatePicker/index.cjs +1 -1
- package/dist/cjs/components/Heading/index.cjs +1 -1
- package/dist/cjs/components/Menu/index.cjs +1 -1
- package/dist/cjs/components/Modal/index.cjs +1 -1
- package/dist/cjs/components/PinInput/index.cjs +1 -1
- 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/components/StyledAvatar/index.cjs +1 -1
- package/dist/cjs/components/Switch/index.cjs +1 -1
- package/dist/cjs/components/Tabs/index.cjs +1 -1
- package/dist/cjs/components/TagBlock/index.cjs +1 -1
- 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/components/Timestamp/index.cjs +1 -1
- package/dist/cjs/components/Tooltip/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/theme/index.cjs +1 -1
- package/dist/esm/chakra/index.js +96 -97
- package/dist/esm/components/Alert/index.js +1 -1
- package/dist/esm/components/Avatar/index.js +1 -1
- package/dist/esm/components/AvatarGroup/index.js +1 -1
- package/dist/esm/components/ButtonGroup/index.js +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/components/ConversationCard/index.js +1 -1
- package/dist/esm/components/DatePicker/index.js +1 -1
- package/dist/esm/components/Heading/index.js +1 -1
- package/dist/esm/components/Logo/index.js +1 -1
- 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 +1 -1
- package/dist/esm/components/PinInput/index.js +1 -1
- 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/components/StyledAvatar/index.js +1 -1
- package/dist/esm/components/Swatch/index.js +1 -1
- package/dist/esm/components/Switch/index.js +1 -1
- package/dist/esm/components/Tabs/index.js +1 -1
- package/dist/esm/components/TagBlock/index.js +1 -1
- package/dist/esm/components/Text/index.js +1 -1
- package/dist/esm/components/TextInput/index.js +1 -1
- 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 +1 -1
- package/dist/esm/components/Toast/index.js +1 -1
- package/dist/esm/components/Tooltip/index.js +1 -1
- package/dist/esm/components/index.js +33 -33
- package/dist/esm/index.js +34 -34
- package/dist/esm/theme/index.js +1 -1
- package/dist/types/chakra/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/chunks/checkbox.anatomy-AIdXcqX-.js.map +0 -1
- package/dist/chunks/checkbox.anatomy-Cscbdyfb.js +0 -2
- package/dist/chunks/checkbox.anatomy-Cscbdyfb.js.map +0 -1
- package/dist/chunks/checkbox.component-BBnhOurl.js +0 -2
- 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/field.anatomy-B-h4RMqL.js +0 -2
- package/dist/chunks/field.anatomy-B-h4RMqL.js.map +0 -1
- package/dist/chunks/field.anatomy-DuyH4wX7.js +0 -16
- package/dist/chunks/field.anatomy-DuyH4wX7.js.map +0 -1
- package/dist/chunks/index-hGcS7e_x.js.map +0 -1
- package/dist/chunks/index-n37Ze35k.js.map +0 -1
- package/dist/chunks/preset-Bpky4UAW.js +0 -17019
- package/dist/chunks/preset-Bpky4UAW.js.map +0 -1
- package/dist/chunks/preset-L6TibmCL.js +0 -10
- package/dist/chunks/preset-L6TibmCL.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-CEnFc_Ag.js +0 -2
- package/dist/chunks/theme.provider-C-kSI07j.js +0 -24
- package/dist/chunks/theme.provider-C-kSI07j.js.map +0 -1
- package/dist/chunks/theme.provider-CQ3U4kMw.js +0 -2885
- package/dist/chunks/theme.provider-CQ3U4kMw.js.map +0 -1
- package/dist/chunks/tooltip.component-BYqCIrbb.js +0 -142
- package/dist/chunks/tooltip.component-BYqCIrbb.js.map +0 -1
- package/dist/chunks/tooltip.component-DFn799tO.js +0 -2
- package/dist/chunks/tooltip.component-DFn799tO.js.map +0 -1
- package/dist/chunks/typography.records-BEd2lI_g.js.map +0 -1
- package/dist/chunks/typography.records-Cg_lT1Z3.js +0 -2
- package/dist/chunks/typography.records-Cg_lT1Z3.js.map +0 -1
- package/dist/chunks/use-locale-context-DxX8oC2w.js +0 -22
- package/dist/chunks/use-locale-context-DxX8oC2w.js.map +0 -1
- package/dist/chunks/use-locale-context-ib8415q7.js.map +0 -1
- package/dist/chunks/withFormControl-DUbGQZnV.js +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.component-DFn799tO.js","sources":["../../node_modules/@ark-ui/react/dist/components/hover-card/use-hover-card-context.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-arrow.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-arrow-tip.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-content.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-context.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-positioner.js","../../node_modules/@ark-ui/react/dist/components/hover-card/use-hover-card.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-root.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-root-provider.js","../../node_modules/@ark-ui/react/dist/components/hover-card/hover-card-trigger.js","../../node_modules/@chakra-ui/react/dist/esm/components/hover-card/hover-card.js","../../src/components/Tooltip/tooltip.recipe.ts","../../src/components/Tooltip/tooltip.component.tsx"],"sourcesContent":["'use client';\nimport { createContext } from '../../utils/create-context.js';\n\nconst [HoverCardProvider, useHoverCardContext] = createContext({\n name: \"HoverCardContext\",\n hookName: \"useHoverCardContext\",\n providerName: \"<HoverCardProvider />\"\n});\n\nexport { HoverCardProvider, useHoverCardContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardArrow = forwardRef((props, ref) => {\n const hoverCard = useHoverCardContext();\n const mergedProps = mergeProps(hoverCard.getArrowProps(), props);\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nHoverCardArrow.displayName = \"HoverCardArrow\";\n\nexport { HoverCardArrow };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardArrowTip = forwardRef((props, ref) => {\n const hoverCard = useHoverCardContext();\n const mergedProps = mergeProps(hoverCard.getArrowTipProps(), props);\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nHoverCardArrowTip.displayName = \"HoverCardArrowTip\";\n\nexport { HoverCardArrowTip };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { composeRefs } from '../../utils/compose-refs.js';\nimport { ark } from '../factory.js';\nimport { usePresenceContext } from '../presence/use-presence-context.js';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardContent = forwardRef((props, ref) => {\n const hoverCard = useHoverCardContext();\n const presence = usePresenceContext();\n const mergedProps = mergeProps(hoverCard.getContentProps(), presence.getPresenceProps(), props);\n if (presence.unmounted) {\n return null;\n }\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref: composeRefs(presence.ref, ref) });\n});\nHoverCardContent.displayName = \"HoverCardContent\";\n\nexport { HoverCardContent };\n","'use client';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardContext = (props) => props.children(useHoverCardContext());\n\nexport { HoverCardContext };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { usePresenceContext } from '../presence/use-presence-context.js';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardPositioner = forwardRef((props, ref) => {\n const hoverCard = useHoverCardContext();\n const mergedProps = mergeProps(hoverCard.getPositionerProps(), props);\n const presence = usePresenceContext();\n if (presence.unmounted) {\n return null;\n }\n return /* @__PURE__ */ jsx(ark.div, { ...mergedProps, ref });\n});\nHoverCardPositioner.displayName = \"HoverCardPositioner\";\n\nexport { HoverCardPositioner };\n","'use client';\nimport * as hoverCard from '@zag-js/hover-card';\nimport { useMachine, normalizeProps } from '@zag-js/react';\nimport { useId } from 'react';\nimport { useEnvironmentContext } from '../../providers/environment/use-environment-context.js';\nimport { useLocaleContext } from '../../providers/locale/use-locale-context.js';\n\nconst useHoverCard = (props) => {\n const id = useId();\n const { getRootNode } = useEnvironmentContext();\n const { dir } = useLocaleContext();\n const machineProps = {\n id,\n dir,\n getRootNode,\n ...props\n };\n const service = useMachine(hoverCard.machine, machineProps);\n return hoverCard.connect(service, normalizeProps);\n};\n\nexport { useHoverCard };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { splitPresenceProps } from '../presence/split-presence-props.js';\nimport { usePresence } from '../presence/use-presence.js';\nimport { PresenceProvider } from '../presence/use-presence-context.js';\nimport { useHoverCard } from './use-hover-card.js';\nimport { HoverCardProvider } from './use-hover-card-context.js';\n\nconst HoverCardRoot = (props) => {\n const [presenceProps, { children, ...localProps }] = splitPresenceProps(props);\n const hoverCard = useHoverCard(localProps);\n const presence = usePresence(mergeProps({ present: hoverCard.open }, presenceProps));\n return /* @__PURE__ */ jsx(HoverCardProvider, { value: hoverCard, children: /* @__PURE__ */ jsx(PresenceProvider, { value: presence, children }) });\n};\n\nexport { HoverCardRoot };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { splitPresenceProps } from '../presence/split-presence-props.js';\nimport { usePresence } from '../presence/use-presence.js';\nimport { PresenceProvider } from '../presence/use-presence-context.js';\nimport { HoverCardProvider } from './use-hover-card-context.js';\n\nconst HoverCardRootProvider = (props) => {\n const [presenceProps, { value: hoverCard, children }] = splitPresenceProps(props);\n const presence = usePresence(mergeProps({ present: hoverCard.open }, presenceProps));\n return /* @__PURE__ */ jsx(HoverCardProvider, { value: hoverCard, children: /* @__PURE__ */ jsx(PresenceProvider, { value: presence, children }) });\n};\n\nexport { HoverCardRootProvider };\n","'use client';\nimport { jsx } from 'react/jsx-runtime';\nimport { mergeProps } from '@zag-js/react';\nimport { forwardRef } from 'react';\nimport { ark } from '../factory.js';\nimport { useHoverCardContext } from './use-hover-card-context.js';\n\nconst HoverCardTrigger = forwardRef((props, ref) => {\n const hoverCard = useHoverCardContext();\n const mergedProps = mergeProps(hoverCard.getTriggerProps(), props);\n return /* @__PURE__ */ jsx(ark.button, { ...mergedProps, ref });\n});\nHoverCardTrigger.displayName = \"HoverCardTrigger\";\n\nexport { HoverCardTrigger };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { HoverCard } from '@ark-ui/react/hover-card';\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withRootProvider,\n withContext,\n useStyles: useHoverCardStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"hoverCard\" });\nconst HoverCardRootProvider = withRootProvider(HoverCard.RootProvider);\nconst HoverCardRoot = withRootProvider(\n HoverCard.Root\n);\nconst HoverCardPropsProvider = PropsProvider;\nconst HoverCardTrigger = withContext(HoverCard.Trigger, \"trigger\", { forwardAsChild: true });\nconst HoverCardPositioner = withContext(HoverCard.Positioner, \"positioner\", { forwardAsChild: true });\nconst HoverCardContent = withContext(HoverCard.Content, \"content\", { forwardAsChild: true });\nconst HoverCardArrowTip = withContext(HoverCard.ArrowTip, \"arrowTip\", { forwardAsChild: true });\nconst HoverCardArrow = withContext(\n HoverCard.Arrow,\n \"arrow\",\n {\n forwardAsChild: true,\n defaultProps: { children: /* @__PURE__ */ jsx(HoverCardArrowTip, {}) }\n }\n);\nconst HoverCardContext = HoverCard.Context;\n\nexport { HoverCardArrow, HoverCardArrowTip, HoverCardContent, HoverCardContext, HoverCardPositioner, HoverCardPropsProvider, HoverCardRoot, HoverCardRootProvider, HoverCardTrigger, useHoverCardStyles };\n","import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nexport const tooltipRecipe = defineSlotRecipe({\n slots: ['root', 'trigger', 'content', 'arrow', 'arrowTip'],\n base: {\n arrow: {\n '--arrow-size': '10px',\n },\n arrowTip: {\n border: 'none',\n },\n content: {\n '--hovercard-bg': 'colors.background.overlay.contrast',\n border: 'none',\n borderRadius: 'base',\n boxShadow: 'none',\n color: 'text.contrast',\n fontSize: 'sm',\n lineHeight: '150%',\n padding: 2,\n },\n trigger: {\n width: 'max-content',\n },\n },\n});\n","import React, { forwardRef } from 'react';\nimport { Portal } from '@chakra-ui/react/portal';\nimport { HoverCard } from '@chakra-ui/react/hover-card';\nimport { Placement } from 'shared/types/placement';\nimport { useSlotRecipe } from '@chakra-ui/react/styled-system';\nimport { tooltipRecipe } from './tooltip.recipe';\n\nexport interface TooltipProps extends Omit<HoverCard.RootProps, 'children'> {\n children?: React.ReactNode;\n disabled?: boolean;\n label: string;\n placement?: Placement;\n portalled?: boolean;\n}\n\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n (\n { children, disabled = false, openDelay = 350, placement = 'top', positioning, portalled = true, label, ...rest },\n ref,\n ): React.ReactNode => {\n const recipe = useSlotRecipe({ recipe: tooltipRecipe });\n const styles = recipe();\n\n if (!children) return <></>;\n if (disabled) return children;\n\n return (\n <HoverCard.Root\n positioning={{\n ...positioning,\n placement: positioning?.placement || placement,\n }}\n openDelay={openDelay}\n {...rest}\n >\n <HoverCard.Trigger\n asChild\n className=\"Tooltip__Trigger\"\n data-testid=\"kibble-tooltip-trigger\"\n css={styles.trigger}\n >\n {children}\n </HoverCard.Trigger>\n <Portal disabled={!portalled}>\n <HoverCard.Positioner className=\"Tooltip\" data-testid=\"kibble-tooltip\">\n <HoverCard.Content\n className=\"Tooltip__Content\"\n data-testid=\"kibble-tooltip-content\"\n ref={ref}\n css={styles.content}\n >\n <HoverCard.Arrow className=\"Tooltip__Arrow\" data-testid=\"kibble-tooltip-arrow\" css={styles.arrow}>\n <HoverCard.ArrowTip css={styles.arrowTip} />\n </HoverCard.Arrow>\n {label}\n </HoverCard.Content>\n </HoverCard.Positioner>\n </Portal>\n </HoverCard.Root>\n );\n },\n);\n\nTooltip.displayName = 'Tooltip';\n"],"names":["HoverCardProvider","useHoverCardContext","createContext","HoverCardArrow","forwardRef","props","ref","hoverCard","mergedProps","mergeProps","jsx","ark","HoverCardArrowTip","HoverCardContent","presence","usePresenceContext","composeRefs","HoverCardContext","HoverCardPositioner","useHoverCard","id","useId","getRootNode","useEnvironmentContext","dir","useLocaleContext","machineProps","service","useMachine","hoverCard.machine","hoverCard.connect","normalizeProps","HoverCardRoot","presenceProps","children","localProps","splitPresenceProps","usePresence","PresenceProvider","HoverCardRootProvider","HoverCardTrigger","withRootProvider","withContext","PropsProvider","createSlotRecipeContext","HoverCard.RootProvider","HoverCard.Root","HoverCardPropsProvider","HoverCard.Trigger","HoverCard.Positioner","HoverCard.Content","HoverCard.ArrowTip","HoverCard.Arrow","HoverCard.Context","tooltipRecipe","defineSlotRecipe","Tooltip","disabled","openDelay","placement","positioning","portalled","label","rest","styles","useSlotRecipe","jsxs","Portal","Fragment"],"mappings":"+RAGM,CAACA,EAAmBC,CAAmB,EAAIC,gBAAc,CAC7D,KAAM,mBACN,SAAU,sBACV,aAAc,uBAChB,CAAC,ECAKC,EAAiBC,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAChD,MAAMC,EAAYN,EAAqB,EACjCO,EAAcC,EAAU,WAACF,EAAU,cAAa,EAAIF,CAAK,EAC/D,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,IAAK,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC7D,CAAC,EACDH,EAAe,YAAc,iBCL7B,MAAMS,EAAoBR,EAAU,WAAC,CAACC,EAAOC,IAAQ,CACnD,MAAMC,EAAYN,EAAqB,EACjCO,EAAcC,EAAU,WAACF,EAAU,iBAAgB,EAAIF,CAAK,EAClE,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,IAAK,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC7D,CAAC,EACDM,EAAkB,YAAc,oBCHhC,MAAMC,EAAmBT,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAClD,MAAMC,EAAYN,EAAqB,EACjCa,EAAWC,EAAAA,mBAAoB,EAC/BP,EAAcC,EAAU,WAACF,EAAU,gBAAiB,EAAEO,EAAS,iBAAkB,EAAET,CAAK,EAC9F,OAAIS,EAAS,UACJ,KAEcJ,wBAAIC,EAAAA,IAAI,IAAK,CAAE,GAAGH,EAAa,IAAKQ,EAAAA,YAAYF,EAAS,IAAKR,CAAG,CAAC,CAAE,CAC7F,CAAC,EACDO,EAAiB,YAAc,mBCf/B,MAAMI,EAAoBZ,GAAUA,EAAM,SAASJ,EAAmB,CAAE,ECKlEiB,EAAsBd,EAAU,WAAC,CAACC,EAAOC,IAAQ,CACrD,MAAMC,EAAYN,EAAqB,EACjCO,EAAcC,EAAU,WAACF,EAAU,mBAAkB,EAAIF,CAAK,EAEpE,OADiBU,EAAAA,mBAAoB,EACxB,UACJ,KAEcL,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,IAAK,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAC7D,CAAC,EACDY,EAAoB,YAAc,sBCVlC,MAAMC,EAAgBd,GAAU,CAC9B,MAAMe,EAAKC,EAAAA,MAAO,EACZ,CAAE,YAAAC,CAAa,EAAGC,wBAAuB,EACzC,CAAE,IAAAC,CAAK,EAAGC,mBAAkB,EAC5BC,EAAe,CACnB,GAAAN,EACA,IAAAI,EACA,YAAAF,EACA,GAAGjB,CACJ,EACKsB,EAAUC,EAAAA,WAAWC,EAAiB,QAAEH,CAAY,EAC1D,OAAOI,EAAiB,QAACH,EAASI,gBAAc,CAClD,ECVMC,EAAiB3B,GAAU,CAC/B,KAAM,CAAC4B,EAAe,CAAE,SAAAC,EAAU,GAAGC,EAAY,EAAIC,EAAkB,mBAAC/B,CAAK,EACvEE,EAAYY,EAAagB,CAAU,EACnCrB,EAAWuB,EAAW,YAAC5B,aAAW,CAAE,QAASF,EAAU,MAAQ0B,CAAa,CAAC,EACnF,OAAuBvB,EAAG,kBAAA,IAACV,EAAmB,CAAE,MAAOO,EAAW,SAA0BG,wBAAI4B,EAAAA,iBAAkB,CAAE,MAAOxB,EAAU,SAAAoB,CAAQ,CAAE,CAAC,CAAE,CACpJ,ECNMK,EAAyBlC,GAAU,CACvC,KAAM,CAAC4B,EAAe,CAAE,MAAO1B,EAAW,SAAA2B,EAAU,EAAIE,EAAkB,mBAAC/B,CAAK,EAC1ES,EAAWuB,EAAW,YAAC5B,aAAW,CAAE,QAASF,EAAU,MAAQ0B,CAAa,CAAC,EACnF,OAAuBvB,EAAG,kBAAA,IAACV,EAAmB,CAAE,MAAOO,EAAW,SAA0BG,wBAAI4B,EAAAA,iBAAkB,CAAE,MAAOxB,EAAU,SAAAoB,CAAQ,CAAE,CAAC,CAAE,CACpJ,ECLMM,EAAmBpC,EAAU,WAAC,CAACC,EAAOC,IAAQ,CAClD,MAAMC,EAAYN,EAAqB,EACjCO,EAAcC,EAAU,WAACF,EAAU,gBAAe,EAAIF,CAAK,EACjE,OAAuBK,EAAAA,kBAAAA,IAAIC,EAAAA,IAAI,OAAQ,CAAE,GAAGH,EAAa,IAAAF,EAAK,CAChE,CAAC,EACDkC,EAAiB,YAAc,mBCN/B,KAAM,CACJ,iBAAAC,EACA,YAAAC,EAEA,cAAAC,CACF,EAAIC,0BAAwB,CAAE,IAAK,YAAa,EAC1CL,EAAwBE,EAAiBI,CAAsB,EAC/Db,EAAgBS,EACpBK,CACF,EACMC,EAAyBJ,EACzBH,EAAmBE,EAAYM,EAAmB,UAAW,CAAE,eAAgB,EAAM,CAAA,EACrF9B,EAAsBwB,EAAYO,EAAsB,aAAc,CAAE,eAAgB,EAAM,CAAA,EAC9FpC,EAAmB6B,EAAYQ,EAAmB,UAAW,CAAE,eAAgB,EAAM,CAAA,EACrFtC,EAAoB8B,EAAYS,EAAoB,WAAY,CAAE,eAAgB,EAAM,CAAA,EACxFhD,EAAiBuC,EACrBU,EACA,QACA,CACE,eAAgB,GAChB,aAAc,CAAE,SAA0B1C,wBAAIE,EAAmB,CAAA,CAAE,CAAC,CACxE,CACA,EACMK,EAAmBoC,EC3BZC,EAAgBC,EAAAA,iBAAiB,CAC5C,MAAO,CAAC,OAAQ,UAAW,UAAW,QAAS,UAAU,EACzD,KAAM,CACJ,MAAO,CACL,eAAgB,MAClB,EACA,SAAU,CACR,OAAQ,MACV,EACA,QAAS,CACP,iBAAkB,qCAClB,OAAQ,OACR,aAAc,OACd,UAAW,OACX,MAAO,gBACP,SAAU,KACV,WAAY,OACZ,QAAS,CACX,EACA,QAAS,CACP,MAAO,aAAA,CACT,CAEJ,CAAC,ECVYC,EAAUpD,EAAA,WACrB,CACE,CAAE,SAAA8B,EAAU,SAAAuB,EAAW,GAAO,UAAAC,EAAY,IAAK,UAAAC,EAAY,MAAO,YAAAC,EAAa,UAAAC,EAAY,GAAM,MAAAC,EAAO,GAAGC,GAC3GzD,IACoB,CAEpB,MAAM0D,EADSC,EAAA,cAAc,CAAE,OAAQX,EAAe,EAChC,EAElB,OAACpB,EACDuB,EAAiBvB,EAGnBgC,EAAA,kBAAA,KAACpB,EAAA,CACC,YAAa,CACX,GAAGc,EACH,UAAWA,GAAa,WAAaD,CACvC,EACA,UAAAD,EACC,GAAGK,EAEJ,SAAA,CAAArD,EAAA,kBAAA,IAACsC,EAAA,CACC,QAAO,GACP,UAAU,mBACV,cAAY,yBACZ,IAAKgB,EAAO,QAEX,SAAA9B,CAAA,CACH,EACCxB,EAAAA,kBAAAA,IAAAyD,EAAAA,OAAA,CAAO,SAAU,CAACN,EACjB,SAAAnD,EAAAA,kBAAAA,IAACuC,EAAA,CAAqB,UAAU,UAAU,cAAY,iBACpD,SAAAiB,EAAA,kBAAA,KAAChB,EAAA,CACC,UAAU,mBACV,cAAY,yBACZ,IAAA5C,EACA,IAAK0D,EAAO,QAEZ,SAAA,CAAAtD,EAAA,kBAAA,IAAC0C,EAAA,CAAgB,UAAU,iBAAiB,cAAY,uBAAuB,IAAKY,EAAO,MACzF,iCAACb,EAAA,CAAmB,IAAKa,EAAO,QAAU,CAAA,EAC5C,EACCF,CAAA,CAAA,GAEL,CACF,CAAA,CAAA,CAAA,CACF,EAnCsBpD,wBAAA0D,EAAAA,kBAAAA,SAAA,CAAA,CAAA,CAmCtB,CAGN,EAEAZ,EAAQ,YAAc","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.records-BEd2lI_g.js","sources":["../../src/theme/tokens/typography/typography.records.ts"],"sourcesContent":["import { Font, FontSize, FontWeight, LetterSpacing, LineHeight } from './typography.types';\n\nexport const fonts: Record<Font, string> = {\n heading: \"'aktiv-grotesk', sans-serif\",\n body: \"'aktiv-grotesk', sans-serif\",\n mono: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',\n};\n\nexport const fontSizes: Record<FontSize, string> = {\n xs: '0.75rem',\n sm: '0.875rem',\n md: '1rem',\n lg: '1.125rem',\n xl: '1.25rem',\n '2xl': '1.5rem',\n '3xl': '1.875rem',\n '4xl': '2.25rem',\n '5xl': '3rem',\n '6xl': '3.75rem',\n '7xl': '4.5rem',\n '8xl': '6rem',\n '9xl': '8rem',\n};\n\nexport const fontWeights: Record<FontWeight, number> = {\n normal: 400,\n semibold: 600,\n bold: 600,\n};\n\nexport const lineHeights: Record<LineHeight, string | number> = {\n normal: 'normal',\n none: 1,\n shorter: 1.25,\n short: 1.375,\n base: 1.5,\n tall: 1.625,\n taller: '2',\n '3': '.75rem',\n '4': '1rem',\n '5': '1.25rem',\n '6': '1.5rem',\n '7': '1.75rem',\n '8': '2rem',\n '9': '2.25rem',\n '10': '2.5rem',\n};\n\nexport const letterSpacings: Record<LetterSpacing, string> = {\n tight: '-0.025em',\n tighter: '-0.05em',\n normal: '0em',\n wide: '0.025em',\n wider: '0.05em',\n widest: '0.1em',\n};\n"],"names":["fonts","fontSizes","fontWeights","lineHeights","letterSpacings"],"mappings":"AAEO,MAAMA,IAA8B;AAAA,EACzC,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AACR,GAEaC,IAAsC;AAAA,EACjD,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT,GAEaC,IAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,MAAM;AACR,GAEaC,IAAmD;AAAA,EAC9D,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,GAAK;AAAA,EACL,GAAK;AAAA,EACL,GAAK;AAAA,EACL,GAAK;AAAA,EACL,GAAK;AAAA,EACL,GAAK;AAAA,EACL,GAAK;AAAA,EACL,IAAM;AACR,GAEaC,IAAgD;AAAA,EAC3D,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AACV;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e={heading:"'aktiv-grotesk', sans-serif",body:"'aktiv-grotesk', sans-serif",mono:"LinearSans, Noto Sans, Arial, Helvetica, sans-serif"},r={xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},s={normal:400,semibold:600,bold:600},t={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},m={tight:"-0.025em",tighter:"-0.05em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"};exports.fontSizes=r;exports.fontWeights=s;exports.fonts=e;exports.letterSpacings=m;exports.lineHeights=t;
|
|
2
|
-
//# sourceMappingURL=typography.records-Cg_lT1Z3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typography.records-Cg_lT1Z3.js","sources":["../../src/theme/tokens/typography/typography.records.ts"],"sourcesContent":["import { Font, FontSize, FontWeight, LetterSpacing, LineHeight } from './typography.types';\n\nexport const fonts: Record<Font, string> = {\n heading: \"'aktiv-grotesk', sans-serif\",\n body: \"'aktiv-grotesk', sans-serif\",\n mono: 'LinearSans, Noto Sans, Arial, Helvetica, sans-serif',\n};\n\nexport const fontSizes: Record<FontSize, string> = {\n xs: '0.75rem',\n sm: '0.875rem',\n md: '1rem',\n lg: '1.125rem',\n xl: '1.25rem',\n '2xl': '1.5rem',\n '3xl': '1.875rem',\n '4xl': '2.25rem',\n '5xl': '3rem',\n '6xl': '3.75rem',\n '7xl': '4.5rem',\n '8xl': '6rem',\n '9xl': '8rem',\n};\n\nexport const fontWeights: Record<FontWeight, number> = {\n normal: 400,\n semibold: 600,\n bold: 600,\n};\n\nexport const lineHeights: Record<LineHeight, string | number> = {\n normal: 'normal',\n none: 1,\n shorter: 1.25,\n short: 1.375,\n base: 1.5,\n tall: 1.625,\n taller: '2',\n '3': '.75rem',\n '4': '1rem',\n '5': '1.25rem',\n '6': '1.5rem',\n '7': '1.75rem',\n '8': '2rem',\n '9': '2.25rem',\n '10': '2.5rem',\n};\n\nexport const letterSpacings: Record<LetterSpacing, string> = {\n tight: '-0.025em',\n tighter: '-0.05em',\n normal: '0em',\n wide: '0.025em',\n wider: '0.05em',\n widest: '0.1em',\n};\n"],"names":["fonts","fontSizes","fontWeights","lineHeights","letterSpacings"],"mappings":"aAEO,MAAMA,EAA8B,CACzC,QAAS,8BACT,KAAM,8BACN,KAAM,qDACR,EAEaC,EAAsC,CACjD,GAAI,UACJ,GAAI,WACJ,GAAI,OACJ,GAAI,WACJ,GAAI,UACJ,MAAO,SACP,MAAO,WACP,MAAO,UACP,MAAO,OACP,MAAO,UACP,MAAO,SACP,MAAO,OACP,MAAO,MACT,EAEaC,EAA0C,CACrD,OAAQ,IACR,SAAU,IACV,KAAM,GACR,EAEaC,EAAmD,CAC9D,OAAQ,SACR,KAAM,EACN,QAAS,KACT,MAAO,MACP,KAAM,IACN,KAAM,MACN,OAAQ,IACR,EAAK,SACL,EAAK,OACL,EAAK,UACL,EAAK,SACL,EAAK,UACL,EAAK,OACL,EAAK,UACL,GAAM,QACR,EAEaC,EAAgD,CAC3D,MAAO,WACP,QAAS,UACT,OAAQ,MACR,KAAM,UACN,MAAO,SACP,OAAQ,OACV"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";const ue=require("./jsx-runtime-BjDatQAs.js"),w=require("./index-CHIISuTq.js"),R=require("react"),Et=e=>e&&e.__esModule?e:{default:e},Qe=Et(R);var fe={exports:{}},D={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-dom.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Fe;function Rt(){if(Fe)return D;Fe=1;var e=Qe.default;function t(u){var i="https://react.dev/errors/"+u;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)i+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+u+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(u,i,g){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:a==null?null:""+a,children:u,containerInfo:i,implementation:g}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(u,i){if(u==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return D.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,D.createPortal=function(u,i){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(t(299));return c(u,i,null,g)},D.flushSync=function(u){var i=l.T,g=n.p;try{if(l.T=null,n.p=2,u)return u()}finally{l.T=i,n.p=g,n.d.f()}},D.preconnect=function(u,i){typeof u=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,n.d.C(u,i))},D.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},D.preinit=function(u,i){if(typeof u=="string"&&i&&typeof i.as=="string"){var g=i.as,a=f(g,i.crossOrigin),s=typeof i.integrity=="string"?i.integrity:void 0,d=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;g==="style"?n.d.S(u,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:a,integrity:s,fetchPriority:d}):g==="script"&&n.d.X(u,{crossOrigin:a,integrity:s,fetchPriority:d,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},D.preinitModule=function(u,i){if(typeof u=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var g=f(i.as,i.crossOrigin);n.d.M(u,{crossOrigin:g,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&n.d.M(u)},D.preload=function(u,i){if(typeof u=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var g=i.as,a=f(g,i.crossOrigin);n.d.L(u,g,{crossOrigin:a,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},D.preloadModule=function(u,i){if(typeof u=="string")if(i){var g=f(i.as,i.crossOrigin);n.d.m(u,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:g,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else n.d.m(u)},D.requestFormReset=function(u){n.d.r(u)},D.unstable_batchedUpdates=function(u,i){return u(i)},D.useFormState=function(u,i,g){return l.H.useFormState(u,i,g)},D.useFormStatus=function(){return l.H.useHostTransitionStatus()},D.version="19.1.0",D}var L={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-dom.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var $e;function bt(){return $e||($e=1,process.env.NODE_ENV!=="production"&&function(){function e(){}function t(a){return""+a}function r(a,s,d){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(p);var m=!1}catch{m=!0}return m&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object"),t(p)),{$$typeof:i,key:p==null?null:""+p,children:a,containerInfo:s,implementation:d}}function n(a,s){if(a==="font")return"";if(typeof s=="string")return s==="use-credentials"?s:""}function o(a){return a===null?"`null`":a===void 0?"`undefined`":a===""?"an empty string":'something with type "'+typeof a+'"'}function c(a){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+'"'}function l(){var a=g.H;return a===null&&console.error(`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:
|
|
18
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
19
|
-
2. You might be breaking the Rules of Hooks
|
|
20
|
-
3. You might have more than one copy of React in the same app
|
|
21
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Qe.default,u={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},i=Symbol.for("react.portal"),g=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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("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"),L.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,L.createPortal=function(a,s){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)throw Error("Target container is not a DOM element.");return r(a,s,null,d)},L.flushSync=function(a){var s=g.T,d=u.p;try{if(g.T=null,u.p=2,a)return a()}finally{g.T=s,u.p=d,u.d.f()&&console.error("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.")}},L.preconnect=function(a,s){typeof a=="string"&&a?s!=null&&typeof s!="object"?console.error("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.",c(s)):s!=null&&typeof s.crossOrigin!="string"&&console.error("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.",o(s.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a)),typeof a=="string"&&(s?(s=s.crossOrigin,s=typeof s=="string"?s==="use-credentials"?s:"":void 0):s=null,u.d.C(a,s))},L.prefetchDNS=function(a){if(typeof a!="string"||!a)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a));else if(1<arguments.length){var s=arguments[1];typeof s=="object"&&s.hasOwnProperty("crossOrigin")?console.error("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`.",c(s)):console.error("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`.",c(s))}typeof a=="string"&&u.d.D(a)},L.preinit=function(a,s){if(typeof a=="string"&&a?s==null||typeof s!="object"?console.error("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.",c(s)):s.as!=="style"&&s.as!=="script"&&console.error('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".',c(s.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(a)),typeof a=="string"&&s&&typeof s.as=="string"){var d=s.as,p=n(d,s.crossOrigin),m=typeof s.integrity=="string"?s.integrity:void 0,y=typeof s.fetchPriority=="string"?s.fetchPriority:void 0;d==="style"?u.d.S(a,typeof s.precedence=="string"?s.precedence:void 0,{crossOrigin:p,integrity:m,fetchPriority:y}):d==="script"&&u.d.X(a,{crossOrigin:p,integrity:m,fetchPriority:y,nonce:typeof s.nonce=="string"?s.nonce:void 0})}},L.preinitModule=function(a,s){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),s!==void 0&&typeof s!="object"?d+=" The `options` argument encountered was "+o(s)+".":s&&"as"in s&&s.as!=="script"&&(d+=" The `as` option encountered was "+c(s.as)+"."),d)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",d);else switch(d=s&&typeof s.as=="string"?s.as:"script",d){case"script":break;default:d=c(d),console.error('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)',d,a)}typeof a=="string"&&(typeof s=="object"&&s!==null?(s.as==null||s.as==="script")&&(d=n(s.as,s.crossOrigin),u.d.M(a,{crossOrigin:d,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0})):s==null&&u.d.M(a))},L.preload=function(a,s){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),s==null||typeof s!="object"?d+=" The `options` argument encountered was "+o(s)+".":typeof s.as=="string"&&s.as||(d+=" The `as` option encountered was "+o(s.as)+"."),d&&console.error('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',d),typeof a=="string"&&typeof s=="object"&&s!==null&&typeof s.as=="string"){d=s.as;var p=n(d,s.crossOrigin);u.d.L(a,d,{crossOrigin:p,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0,type:typeof s.type=="string"?s.type:void 0,fetchPriority:typeof s.fetchPriority=="string"?s.fetchPriority:void 0,referrerPolicy:typeof s.referrerPolicy=="string"?s.referrerPolicy:void 0,imageSrcSet:typeof s.imageSrcSet=="string"?s.imageSrcSet:void 0,imageSizes:typeof s.imageSizes=="string"?s.imageSizes:void 0,media:typeof s.media=="string"?s.media:void 0})}},L.preloadModule=function(a,s){var d="";typeof a=="string"&&a||(d+=" The `href` argument encountered was "+o(a)+"."),s!==void 0&&typeof s!="object"?d+=" The `options` argument encountered was "+o(s)+".":s&&"as"in s&&typeof s.as!="string"&&(d+=" The `as` option encountered was "+o(s.as)+"."),d&&console.error('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',d),typeof a=="string"&&(s?(d=n(s.as,s.crossOrigin),u.d.m(a,{as:typeof s.as=="string"&&s.as!=="script"?s.as:void 0,crossOrigin:d,integrity:typeof s.integrity=="string"?s.integrity:void 0})):u.d.m(a))},L.requestFormReset=function(a){u.d.r(a)},L.unstable_batchedUpdates=function(a,s){return a(s)},L.useFormState=function(a,s,d){return l().useFormState(a,s,d)},L.useFormStatus=function(){return l().useHostTransitionStatus()},L.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),L}var Ue;function St(){if(Ue)return fe.exports;Ue=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),fe.exports=Rt()):fe.exports=bt(),fe.exports}var ae=St();function Pt(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Oe(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:c,defaultValue:l}=e,f=R.createContext(l);f.displayName=t;function u(){const i=R.useContext(f);if(!i&&r){const g=new Error(c??Pt(n,o));throw g.name="ContextError",Error.captureStackTrace?.(g,u),g}return i}return[f.Provider,u,f]}const[or,Ze]=Oe({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),Tt=e=>{const{children:t,disabled:r}=e,[n,o]=R.useState(e.container?.current),c=R.useSyncExternalStore(At,()=>!1,()=>!0),{getRootNode:l}=Ze();if(R.useEffect(()=>{o(()=>e.container?.current)},[e.container]),c||r)return ue.jsxRuntimeExports.jsx(ue.jsxRuntimeExports.Fragment,{children:t});const f=n??Ct(l);return ue.jsxRuntimeExports.jsx(ue.jsxRuntimeExports.Fragment,{children:R.Children.map(t,u=>ae.createPortal(u,f))})},Ct=e=>{const t=e?.(),r=t.getRootNode();return w.isShadowRoot(r)?r:w.getDocument(t).body},At=()=>()=>{};function Nt(e){return new Proxy({},{get(t,r){return r==="style"?n=>e({style:n}).style:e}})}var Ne=()=>e=>Array.from(new Set(e)),et=typeof globalThis.document<"u"?R.useLayoutEffect:R.useEffect;function me(e){const t=e().value??e().defaultValue,r=e().isEqual??Object.is,[n]=R.useState(t),[o,c]=R.useState(n),l=e().value!==void 0,f=R.useRef(o);f.current=l?e().value:o;const u=R.useRef(f.current);et(()=>{u.current=f.current},[o,e().value]);const i=a=>{const s=u.current,d=w.isFunction(a)?a(s):a;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:d,prev:s}),l||c(d),r(d,s)||e().onChange?.(d,s)};function g(){return l?e().value:o}return{initial:n,ref:f,get:g,set(a){(e().sync?ae.flushSync:w.identity)(()=>i(a))},invoke(a,s){e().onChange?.(a,s)},hash(a){return e().hash?.(a)??String(a)}}}me.cleanup=e=>{R.useEffect(()=>e,[])};me.ref=e=>{const t=R.useRef(e);return{get:()=>t.current,set:r=>{t.current=r}}};function _t(e){const t=R.useRef(e);return{get(r){return t.current[r]},set(r,n){t.current[r]=n}}}var Dt=(e,t)=>{const r=R.useRef(!1),n=R.useRef(!1);R.useEffect(()=>{if(r.current&&n.current)return t();n.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),R.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])};function tt(e,t={}){const r=R.useMemo(()=>{const{id:h,ids:O,getRootNode:T}=t;return w.createScope({id:h,ids:O,getRootNode:T})},[t]),n=(...h)=>{e.debug&&console.log(...h)},o=e.props?.({props:w.compact(t),scope:r})??t,c=Lt(o),l=e.context?.({prop:c,bindable:me,scope:r,flush:He,getContext(){return u},getComputed(){return S},getRefs(){return m}}),f=nt(l),u={get(h){return f.current?.[h].ref.current},set(h,O){f.current?.[h].set(O)},initial(h){return f.current?.[h].initial},hash(h){const O=f.current?.[h].get();return f.current?.[h].hash(O)}},i=R.useRef(new Map),g=R.useRef(null),a=R.useRef(null),s=R.useRef({type:""}),d=()=>({...s.current,current(){return s.current},previous(){return a.current}}),p=()=>({...C,matches(...h){return h.includes(C.ref.current)},hasTag(h){return!!e.states[C.ref.current]?.tags?.includes(h)}}),m=_t(e.refs?.({prop:c,context:u})??{}),y=()=>({state:p(),context:u,event:d(),prop:c,send:k,action:v,guard:x,track:Dt,refs:m,computed:S,flush:He,scope:r,choose:P}),v=h=>{const O=w.isFunction(h)?h(y()):h;if(!O)return;const T=O.map(b=>{const A=e.implementations?.actions?.[b];return A||w.warn(`[zag-js] No implementation found for action "${JSON.stringify(b)}"`),A});for(const b of T)b?.(y())},x=h=>w.isFunction(h)?h(y()):e.implementations?.guards?.[h](y()),E=h=>{const O=w.isFunction(h)?h(y()):h;if(!O)return;const T=O.map(A=>{const _=e.implementations?.effects?.[A];return _||w.warn(`[zag-js] No implementation found for effect "${JSON.stringify(A)}"`),_}),b=[];for(const A of T){const _=A?.(y());_&&b.push(_)}return()=>b.forEach(A=>A?.())},P=h=>w.toArray(h).find(O=>{let T=!O.guard;return w.isString(O.guard)?T=!!x(O.guard):w.isFunction(O.guard)&&(T=O.guard(y())),T}),S=h=>{w.ensure(e.computed,()=>"[zag-js] No computed object found on machine");const O=e.computed[h];return O({context:u,event:d(),prop:c,refs:m,scope:r,computed:S})},C=me(()=>({defaultValue:e.initialState({prop:c}),onChange(h,O){O&&(i.current.get(O)?.(),i.current.delete(O)),O&&v(e.states[O]?.exit),v(g.current?.actions);const T=E(e.states[h]?.effects);if(T&&i.current.set(h,T),O===w.INIT_STATE){v(e.entry);const b=E(e.effects);b&&i.current.set(w.INIT_STATE,b)}v(e.states[h]?.entry)}})),N=R.useRef(void 0),M=R.useRef(w.MachineStatus.NotStarted);et(()=>{queueMicrotask(()=>{const T=M.current===w.MachineStatus.Started;M.current=w.MachineStatus.Started,n(T?"rehydrating...":"initializing...");const b=N.current??C.initial;C.invoke(b,T?C.get():w.INIT_STATE)});const h=i.current,O=C.ref.current;return()=>{n("unmounting..."),N.current=O,M.current=w.MachineStatus.Stopped,h.forEach(T=>T?.()),i.current=new Map,g.current=null,queueMicrotask(()=>{v(e.exit)})}},[]);const F=()=>"ref"in C?C.ref.current:C.get(),k=h=>{queueMicrotask(()=>{if(M.current!==w.MachineStatus.Started)return;a.current=s.current,s.current=h,n("send",h);let O=F();const T=e.states[O].on?.[h.type]??e.on?.[h.type],b=P(T);if(!b)return;g.current=b;const A=b.target??O;n("transition",b);const _=A!==O;_?ae.flushSync(()=>C.set(A)):b.reenter&&!_?C.invoke(O,O):v(b.actions??[])})};return e.watch?.(y()),{state:p(),send:k,context:u,prop:c,scope:r,refs:m,computed:S,event:d(),getStatus:()=>M.current}}function nt(e){const t=R.useRef(e);return t.current=e,t}function Lt(e){const t=nt(e);return function(n){return t.current[n]}}function He(e){queueMicrotask(()=>{ae.flushSync(()=>e())})}var Mt=Nt(e=>e);function rt(...e){return t=>{const r=[];for(const n of e)if(typeof n=="function"){const o=n(t);typeof o=="function"&&r.push(o)}else n&&(n.current=t);if(r.length)return()=>{for(const n of r)n()}}}function kt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;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)}const Re=e=>{const t=R.memo(R.forwardRef((r,n)=>{const{asChild:o,children:c,...l}=r;if(!o)return R.createElement(e,{...l,ref:n},c);const f=R.Children.only(c);if(!R.isValidElement(f))return null;const u=kt(f);return R.cloneElement(f,{...w.mergeProps(l,f.props),ref:n?rt(n,u):u})}));return t.displayName=e.displayName||e.name,t},It=()=>{const e=new Map;return new Proxy(Re,{apply(t,r,n){return Re(n[0])},get(t,r){const n=r;return e.has(n)||e.set(n,Re(n)),e.get(n)}})},Vt=It(),[Ft,$t]=Oe({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),ot=()=>(e,t)=>t.reduce((r,n)=>{const[o,c]=r,l=n;return c[l]!==void 0&&(o[l]=c[l]),delete c[l],[o,c]},[{},{...e}]),Ut=e=>ot()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function Ht(e,t){const{state:r,send:n,context:o}=e,c=r.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:c,setNode(l){l&&n({type:"NODE.SET",node:l})},unmount(){n({type:"UNMOUNT"})}}}var Bt=w.createMachine({props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,action:t,prop:r}){e([()=>r("present")],()=>{t(["setInitial","syncPresence"])})},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setNode:({refs:e,event:t})=>{e.set("node",t.node)},setStyles:({refs:e,event:t})=>{e.set("styles",w.getComputedStyle(t.node))},syncPresence:({context:e,refs:t,send:r,prop:n})=>{const o=n("present");if(o)return r({type:"MOUNT",src:"presence.changed"});const c=t.get("node");if(!o&&c?.ownerDocument.visibilityState==="hidden")return r({type:"UNMOUNT",src:"visibilitychange"});w.raf(()=>{const l=de(t.get("styles"));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"})})},setPrevAnimationName:({context:e,refs:t})=>{w.raf(()=>{e.set("prevAnimationName",de(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:r})=>{const n=t.get("node");if(!n)return;const o=f=>{(f.composedPath?.()?.[0]??f.target)===n&&e.set("prevAnimationName",de(t.get("styles")))},c=f=>{const u=de(t.get("styles"));w.getEventTarget(f)===n&&u===e.get("unmountAnimationName")&&r({type:"UNMOUNT",src:"animationend"})};n.addEventListener("animationstart",o),n.addEventListener("animationcancel",c),n.addEventListener("animationend",c);const l=w.setStyle(n,{animationFillMode:"forwards"});return()=>{n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",c),n.removeEventListener("animationend",c),w.nextTick(()=>l())}}}}});function de(e){return e?.animationName||"none"}Ne()(["onExitComplete","present","immediate"]);function it(e,t={}){const{sync:r=!1}=t,n=zt(e);return R.useCallback((...o)=>r?queueMicrotask(()=>n.current?.(...o)):n.current?.(...o),[r,n])}function zt(e){const t=R.useRef(e);return t.current=e,t}const jt=(e={})=>{const{lazyMount:t,unmountOnExit:r,present:n,skipAnimationOnMount:o=!1,...c}=e,l=R.useRef(!1),f={...c,present:n,onExitComplete:it(e.onExitComplete)},u=tt(Bt,f),i=Ht(u);i.present&&(l.current=!0);const g=!i.present&&!l.current&&t||r&&!i.present&&l.current,a=()=>({"data-state":i.skip&&o?void 0:n?"open":"closed",hidden:!i.present});return{ref:i.setNode,getPresenceProps:a,present:i.present,unmounted:g}},Wt=["top","right","bottom","left"],J=Math.min,I=Math.max,ye=Math.round,ge=Math.floor,j=e=>({x:e,y:e}),Gt={left:"right",right:"left",bottom:"top",top:"bottom"},qt={start:"end",end:"start"};function Pe(e,t,r){return I(e,J(t,r))}function Y(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function ne(e){return e.split("-")[1]}function _e(e){return e==="x"?"y":"x"}function De(e){return e==="y"?"height":"width"}function z(e){return["top","bottom"].includes(K(e))?"y":"x"}function Le(e){return _e(z(e))}function Yt(e,t,r){r===void 0&&(r=!1);const n=ne(e),o=Le(e),c=De(o);let l=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=he(l)),[l,he(l)]}function Kt(e){const t=he(e);return[Te(e),t,Te(t)]}function Te(e){return e.replace(/start|end/g,t=>qt[t])}function Xt(e,t,r){const n=["left","right"],o=["right","left"],c=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?c:l;default:return[]}}function Jt(e,t,r,n){const o=ne(e);let c=Xt(K(e),r==="start",n);return o&&(c=c.map(l=>l+"-"+o),t&&(c=c.concat(c.map(Te)))),c}function he(e){return e.replace(/left|right|bottom|top/g,t=>Gt[t])}function Qt(e){return{top:0,right:0,bottom:0,left:0,...e}}function st(e){return typeof e!="number"?Qt(e):{top:e,right:e,bottom:e,left:e}}function ve(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Be(e,t,r){let{reference:n,floating:o}=e;const c=z(t),l=Le(t),f=De(l),u=K(t),i=c==="y",g=n.x+n.width/2-o.width/2,a=n.y+n.height/2-o.height/2,s=n[f]/2-o[f]/2;let d;switch(u){case"top":d={x:g,y:n.y-o.height};break;case"bottom":d={x:g,y:n.y+n.height};break;case"right":d={x:n.x+n.width,y:a};break;case"left":d={x:n.x-o.width,y:a};break;default:d={x:n.x,y:n.y}}switch(ne(t)){case"start":d[l]-=s*(r&&i?-1:1);break;case"end":d[l]+=s*(r&&i?-1:1);break}return d}const Zt=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:c=[],platform:l}=r,f=c.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t));let i=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:a}=Be(i,n,u),s=n,d={},p=0;for(let m=0;m<f.length;m++){const{name:y,fn:v}=f[m],{x,y:E,data:P,reset:S}=await v({x:g,y:a,initialPlacement:n,placement:s,strategy:o,middlewareData:d,rects:i,platform:l,elements:{reference:e,floating:t}});g=x??g,a=E??a,d={...d,[y]:{...d[y],...P}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(s=S.placement),S.rects&&(i=S.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:g,y:a}=Be(i,s,u)),m=-1)}return{x:g,y:a,placement:s,strategy:o,middlewareData:d}};async function se(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:c,rects:l,elements:f,strategy:u}=e,{boundary:i="clippingAncestors",rootBoundary:g="viewport",elementContext:a="floating",altBoundary:s=!1,padding:d=0}=Y(t,e),p=st(d),y=f[s?a==="floating"?"reference":"floating":a],v=ve(await c.getClippingRect({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)),boundary:i,rootBoundary:g,strategy:u})),x=a==="floating"?{x:n,y:o,width:l.floating.width,height:l.floating.height}:l.reference,E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),P=await(c.isElement==null?void 0:c.isElement(E))?await(c.getScale==null?void 0:c.getScale(E))||{x:1,y:1}:{x:1,y:1},S=ve(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:x,offsetParent:E,strategy:u}):x);return{top:(v.top-S.top+p.top)/P.y,bottom:(S.bottom-v.bottom+p.bottom)/P.y,left:(v.left-S.left+p.left)/P.x,right:(S.right-v.right+p.right)/P.x}}const en=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:c,platform:l,elements:f,middlewareData:u}=t,{element:i,padding:g=0}=Y(e,t)||{};if(i==null)return{};const a=st(g),s={x:r,y:n},d=Le(o),p=De(d),m=await l.getDimensions(i),y=d==="y",v=y?"top":"left",x=y?"bottom":"right",E=y?"clientHeight":"clientWidth",P=c.reference[p]+c.reference[d]-s[d]-c.floating[p],S=s[d]-c.reference[d],C=await(l.getOffsetParent==null?void 0:l.getOffsetParent(i));let N=C?C[E]:0;(!N||!await(l.isElement==null?void 0:l.isElement(C)))&&(N=f.floating[E]||c.floating[p]);const M=P/2-S/2,F=N/2-m[p]/2-1,k=J(a[v],F),h=J(a[x],F),O=k,T=N-m[p]-h,b=N/2-m[p]/2+M,A=Pe(O,b,T),_=!u.arrow&&ne(o)!=null&&b!==A&&c.reference[p]/2-(b<O?k:h)-m[p]/2<0,$=_?b<O?b-O:b-T:0;return{[d]:s[d]+$,data:{[d]:A,centerOffset:b-A-$,..._&&{alignmentOffset:$}},reset:_}}}),tn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:c,rects:l,initialPlacement:f,platform:u,elements:i}=t,{mainAxis:g=!0,crossAxis:a=!0,fallbackPlacements:s,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...y}=Y(e,t);if((r=c.arrow)!=null&&r.alignmentOffset)return{};const v=K(o),x=z(f),E=K(f)===f,P=await(u.isRTL==null?void 0:u.isRTL(i.floating)),S=s||(E||!m?[he(f)]:Kt(f)),C=p!=="none";!s&&C&&S.push(...Jt(f,m,p,P));const N=[f,...S],M=await se(t,y),F=[];let k=((n=c.flip)==null?void 0:n.overflows)||[];if(g&&F.push(M[v]),a){const b=Yt(o,l,P);F.push(M[b[0]],M[b[1]])}if(k=[...k,{placement:o,overflows:F}],!F.every(b=>b<=0)){var h,O;const b=(((h=c.flip)==null?void 0:h.index)||0)+1,A=N[b];if(A&&(!(a==="alignment"?x!==z(A):!1)||k.every(U=>U.overflows[0]>0&&z(U.placement)===x)))return{data:{index:b,overflows:k},reset:{placement:A}};let _=(O=k.filter($=>$.overflows[0]<=0).sort(($,U)=>$.overflows[1]-U.overflows[1])[0])==null?void 0:O.placement;if(!_)switch(d){case"bestFit":{var T;const $=(T=k.filter(U=>{if(C){const X=z(U.placement);return X===x||X==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(X=>X>0).reduce((X,xt)=>X+xt,0)]).sort((U,X)=>U[1]-X[1])[0])==null?void 0:T[0];$&&(_=$);break}case"initialPlacement":_=f;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function ze(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function je(e){return Wt.some(t=>e[t]>=0)}const nn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Y(e,t);switch(n){case"referenceHidden":{const c=await se(t,{...o,elementContext:"reference"}),l=ze(c,r.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:je(l)}}}case"escaped":{const c=await se(t,{...o,altBoundary:!0}),l=ze(c,r.floating);return{data:{escapedOffsets:l,escaped:je(l)}}}default:return{}}}}};async function rn(e,t){const{placement:r,platform:n,elements:o}=e,c=await(n.isRTL==null?void 0:n.isRTL(o.floating)),l=K(r),f=ne(r),u=z(r)==="y",i=["left","top"].includes(l)?-1:1,g=c&&u?-1:1,a=Y(t,e);let{mainAxis:s,crossAxis:d,alignmentAxis:p}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return f&&typeof p=="number"&&(d=f==="end"?p*-1:p),u?{x:d*g,y:s*i}:{x:s*i,y:d*g}}const on=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:c,placement:l,middlewareData:f}=t,u=await rn(t,e);return l===((r=f.offset)==null?void 0:r.placement)&&(n=f.arrow)!=null&&n.alignmentOffset?{}:{x:o+u.x,y:c+u.y,data:{...u,placement:l}}}}},sn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:c=!0,crossAxis:l=!1,limiter:f={fn:y=>{let{x:v,y:x}=y;return{x:v,y:x}}},...u}=Y(e,t),i={x:r,y:n},g=await se(t,u),a=z(K(o)),s=_e(a);let d=i[s],p=i[a];if(c){const y=s==="y"?"top":"left",v=s==="y"?"bottom":"right",x=d+g[y],E=d-g[v];d=Pe(x,d,E)}if(l){const y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",x=p+g[y],E=p-g[v];p=Pe(x,p,E)}const m=f.fn({...t,[s]:d,[a]:p});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[s]:c,[a]:l}}}}}},cn=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:c,middlewareData:l}=t,{offset:f=0,mainAxis:u=!0,crossAxis:i=!0}=Y(e,t),g={x:r,y:n},a=z(o),s=_e(a);let d=g[s],p=g[a];const m=Y(f,t),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const E=s==="y"?"height":"width",P=c.reference[s]-c.floating[E]+y.mainAxis,S=c.reference[s]+c.reference[E]-y.mainAxis;d<P?d=P:d>S&&(d=S)}if(i){var v,x;const E=s==="y"?"width":"height",P=["top","left"].includes(K(o)),S=c.reference[a]-c.floating[E]+(P&&((v=l.offset)==null?void 0:v[a])||0)+(P?0:y.crossAxis),C=c.reference[a]+c.reference[E]+(P?0:((x=l.offset)==null?void 0:x[a])||0)-(P?y.crossAxis:0);p<S?p=S:p>C&&(p=C)}return{[s]:d,[a]:p}}}},an=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:c,platform:l,elements:f}=t,{apply:u=()=>{},...i}=Y(e,t),g=await se(t,i),a=K(o),s=ne(o),d=z(o)==="y",{width:p,height:m}=c.floating;let y,v;a==="top"||a==="bottom"?(y=a,v=s===(await(l.isRTL==null?void 0:l.isRTL(f.floating))?"start":"end")?"left":"right"):(v=a,y=s==="end"?"top":"bottom");const x=m-g.top-g.bottom,E=p-g.left-g.right,P=J(m-g[y],x),S=J(p-g[v],E),C=!t.middlewareData.shift;let N=P,M=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(M=E),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=x),C&&!s){const k=I(g.left,0),h=I(g.right,0),O=I(g.top,0),T=I(g.bottom,0);d?M=p-2*(k!==0||h!==0?k+h:I(g.left,g.right)):N=m-2*(O!==0||T!==0?O+T:I(g.top,g.bottom))}await u({...t,availableWidth:M,availableHeight:N});const F=await l.getDimensions(f.floating);return p!==F.width||m!==F.height?{reset:{rects:!0}}:{}}}};function we(){return typeof window<"u"}function re(e){return ct(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function G(e){var t;return(t=(ct(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ct(e){return we()?e instanceof Node||e instanceof V(e).Node:!1}function H(e){return we()?e instanceof Element||e instanceof V(e).Element:!1}function W(e){return we()?e instanceof HTMLElement||e instanceof V(e).HTMLElement:!1}function We(e){return!we()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof V(e).ShadowRoot}function le(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function ln(e){return["table","td","th"].includes(re(e))}function xe(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Me(e){const t=ke(),r=H(e)?B(e):e;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))}function un(e){let t=Q(e);for(;W(t)&&!te(t);){if(Me(t))return t;if(xe(t))return null;t=Q(t)}return null}function ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function te(e){return["html","body","#document"].includes(re(e))}function B(e){return V(e).getComputedStyle(e)}function Ee(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Q(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||We(e)&&e.host||G(e);return We(t)?t.host:t}function at(e){const t=Q(e);return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:W(t)&&le(t)?t:at(t)}function ce(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=at(e),c=o===((n=e.ownerDocument)==null?void 0:n.body),l=V(o);if(c){const f=Ce(l);return t.concat(l,l.visualViewport||[],le(o)?o:[],f&&r?ce(f):[])}return t.concat(o,ce(o,[],r))}function Ce(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lt(e){const t=B(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=W(e),c=o?e.offsetWidth:r,l=o?e.offsetHeight:n,f=ye(r)!==c||ye(n)!==l;return f&&(r=c,n=l),{width:r,height:n,$:f}}function Ie(e){return H(e)?e:e.contextElement}function ee(e){const t=Ie(e);if(!W(t))return j(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:c}=lt(t);let l=(c?ye(r.width):r.width)/n,f=(c?ye(r.height):r.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!f||!Number.isFinite(f))&&(f=1),{x:l,y:f}}const fn=j(0);function ut(e){const t=V(e);return!ke()||!t.visualViewport?fn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dn(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==V(e)?!1:t}function Z(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),c=Ie(e);let l=j(1);t&&(n?H(n)&&(l=ee(n)):l=ee(e));const f=dn(c,r,n)?ut(c):j(0);let u=(o.left+f.x)/l.x,i=(o.top+f.y)/l.y,g=o.width/l.x,a=o.height/l.y;if(c){const s=V(c),d=n&&H(n)?V(n):n;let p=s,m=Ce(p);for(;m&&n&&d!==p;){const y=ee(m),v=m.getBoundingClientRect(),x=B(m),E=v.left+(m.clientLeft+parseFloat(x.paddingLeft))*y.x,P=v.top+(m.clientTop+parseFloat(x.paddingTop))*y.y;u*=y.x,i*=y.y,g*=y.x,a*=y.y,u+=E,i+=P,p=V(m),m=Ce(p)}}return ve({width:g,height:a,x:u,y:i})}function Ve(e,t){const r=Ee(e).scrollLeft;return t?t.left+r:Z(G(e)).left+r}function ft(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:Ve(e,n)),c=n.top+t.scrollTop;return{x:o,y:c}}function gn(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const c=o==="fixed",l=G(n),f=t?xe(t.floating):!1;if(n===l||f&&c)return r;let u={scrollLeft:0,scrollTop:0},i=j(1);const g=j(0),a=W(n);if((a||!a&&!c)&&((re(n)!=="body"||le(l))&&(u=Ee(n)),W(n))){const d=Z(n);i=ee(n),g.x=d.x+n.clientLeft,g.y=d.y+n.clientTop}const s=l&&!a&&!c?ft(l,u,!0):j(0);return{width:r.width*i.x,height:r.height*i.y,x:r.x*i.x-u.scrollLeft*i.x+g.x+s.x,y:r.y*i.y-u.scrollTop*i.y+g.y+s.y}}function pn(e){return Array.from(e.getClientRects())}function mn(e){const t=G(e),r=Ee(e),n=e.ownerDocument.body,o=I(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),c=I(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+Ve(e);const f=-r.scrollTop;return B(n).direction==="rtl"&&(l+=I(t.clientWidth,n.clientWidth)-o),{width:o,height:c,x:l,y:f}}function yn(e,t){const r=V(e),n=G(e),o=r.visualViewport;let c=n.clientWidth,l=n.clientHeight,f=0,u=0;if(o){c=o.width,l=o.height;const i=ke();(!i||i&&t==="fixed")&&(f=o.offsetLeft,u=o.offsetTop)}return{width:c,height:l,x:f,y:u}}function hn(e,t){const r=Z(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,c=W(e)?ee(e):j(1),l=e.clientWidth*c.x,f=e.clientHeight*c.y,u=o*c.x,i=n*c.y;return{width:l,height:f,x:u,y:i}}function Ge(e,t,r){let n;if(t==="viewport")n=yn(e,r);else if(t==="document")n=mn(G(e));else if(H(t))n=hn(t,r);else{const o=ut(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ve(n)}function dt(e,t){const r=Q(e);return r===t||!H(r)||te(r)?!1:B(r).position==="fixed"||dt(r,t)}function vn(e,t){const r=t.get(e);if(r)return r;let n=ce(e,[],!1).filter(f=>H(f)&&re(f)!=="body"),o=null;const c=B(e).position==="fixed";let l=c?Q(e):e;for(;H(l)&&!te(l);){const f=B(l),u=Me(l);!u&&f.position==="fixed"&&(o=null),(c?!u&&!o:!u&&f.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||le(l)&&!u&&dt(e,l))?n=n.filter(g=>g!==l):o=f,l=Q(l)}return t.set(e,n),n}function On(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const l=[...r==="clippingAncestors"?xe(t)?[]:vn(t,this._c):[].concat(r),n],f=l[0],u=l.reduce((i,g)=>{const a=Ge(t,g,o);return i.top=I(a.top,i.top),i.right=J(a.right,i.right),i.bottom=J(a.bottom,i.bottom),i.left=I(a.left,i.left),i},Ge(t,f,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function wn(e){const{width:t,height:r}=lt(e);return{width:t,height:r}}function xn(e,t,r){const n=W(t),o=G(t),c=r==="fixed",l=Z(e,!0,c,t);let f={scrollLeft:0,scrollTop:0};const u=j(0);if(n||!n&&!c)if((re(t)!=="body"||le(o))&&(f=Ee(t)),n){const s=Z(t,!0,c,t);u.x=s.x+t.clientLeft,u.y=s.y+t.clientTop}else o&&(u.x=Ve(o));const i=o&&!n&&!c?ft(o,f):j(0),g=l.left+f.scrollLeft-u.x-i.x,a=l.top+f.scrollTop-u.y-i.y;return{x:g,y:a,width:l.width,height:l.height}}function be(e){return B(e).position==="static"}function qe(e,t){if(!W(e)||B(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return G(e)===r&&(r=r.ownerDocument.body),r}function gt(e,t){const r=V(e);if(xe(e))return r;if(!W(e)){let o=Q(e);for(;o&&!te(o);){if(H(o)&&!be(o))return o;o=Q(o)}return r}let n=qe(e,t);for(;n&&ln(n)&&be(n);)n=qe(n,t);return n&&te(n)&&be(n)&&!Me(n)?r:n||un(e)||r}const En=async function(e){const t=this.getOffsetParent||gt,r=this.getDimensions,n=await r(e.floating);return{reference:xn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Rn(e){return B(e).direction==="rtl"}const bn={convertOffsetParentRelativeRectToViewportRelativeRect:gn,getDocumentElement:G,getClippingRect:On,getOffsetParent:gt,getElementRects:En,getClientRects:pn,getDimensions:wn,getScale:ee,isElement:H,isRTL:Rn};function pt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Sn(e,t){let r=null,n;const o=G(e);function c(){var f;clearTimeout(n),(f=r)==null||f.disconnect(),r=null}function l(f,u){f===void 0&&(f=!1),u===void 0&&(u=1),c();const i=e.getBoundingClientRect(),{left:g,top:a,width:s,height:d}=i;if(f||t(),!s||!d)return;const p=ge(a),m=ge(o.clientWidth-(g+s)),y=ge(o.clientHeight-(a+d)),v=ge(g),E={rootMargin:-p+"px "+-m+"px "+-y+"px "+-v+"px",threshold:I(0,J(1,u))||1};let P=!0;function S(C){const N=C[0].intersectionRatio;if(N!==u){if(!P)return l();N?l(!1,N):n=setTimeout(()=>{l(!1,1e-7)},1e3)}N===1&&!pt(i,e.getBoundingClientRect())&&l(),P=!1}try{r=new IntersectionObserver(S,{...E,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,E)}r.observe(e)}return l(!0),c}function Pn(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,i=Ie(e),g=o||c?[...i?ce(i):[],...ce(t)]:[];g.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),c&&v.addEventListener("resize",r)});const a=i&&f?Sn(i,r):null;let s=-1,d=null;l&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===i&&d&&(d.unobserve(t),cancelAnimationFrame(s),s=requestAnimationFrame(()=>{var E;(E=d)==null||E.observe(t)})),r()}),i&&!u&&d.observe(i),d.observe(t));let p,m=u?Z(e):null;u&&y();function y(){const v=Z(e);m&&!pt(m,v)&&r(),m=v,p=requestAnimationFrame(y)}return r(),()=>{var v;g.forEach(x=>{o&&x.removeEventListener("scroll",r),c&&x.removeEventListener("resize",r)}),a?.(),(v=d)==null||v.disconnect(),d=null,u&&cancelAnimationFrame(p)}}const Tn=on,Cn=sn,An=tn,Nn=an,_n=nn,Dn=en,Ln=cn,Mn=(e,t,r)=>{const n=new Map,o={platform:bn,...r},c={...o.platform,_c:n};return Zt(e,t,{...o,platform:c})};function Ye(e=0,t=0,r=0,n=0){if(typeof DOMRect=="function")return new DOMRect(e,t,r,n);const o={x:e,y:t,width:r,height:n,top:t,right:e+r,bottom:t+n,left:e};return{...o,toJSON:()=>o}}function kn(e){if(!e)return Ye();const{x:t,y:r,width:n,height:o}=e;return Ye(t,r,n,o)}function In(e,t){return{contextElement:w.isHTMLElement(e)?e:void 0,getBoundingClientRect:()=>{const r=e,n=t?.(r);return n||!r?kn(n):r.getBoundingClientRect()}}}var oe=e=>({variable:e,reference:`var(${e})`}),q={arrowSize:oe("--arrow-size"),arrowSizeHalf:oe("--arrow-size-half"),arrowBg:oe("--arrow-background"),transformOrigin:oe("--transform-origin"),arrowOffset:oe("--arrow-offset")},Vn=e=>({top:"bottom center","top-start":e?`${e.x}px bottom`:"left bottom","top-end":e?`${e.x}px bottom`:"right bottom",bottom:"top center","bottom-start":e?`${e.x}px top`:"top left","bottom-end":e?`${e.x}px top`:"top right",left:"right center","left-start":e?`right ${e.y}px`:"right top","left-end":e?`right ${e.y}px`:"right bottom",right:"left center","right-start":e?`left ${e.y}px`:"left top","right-end":e?`left ${e.y}px`:"left bottom"}),Fn={name:"transformOrigin",fn({placement:e,elements:t,middlewareData:r}){const{arrow:n}=r,o=Vn(n)[e],{floating:c}=t;return c.style.setProperty(q.transformOrigin.variable,o),{data:{transformOrigin:o}}}},$n={name:"rects",fn({rects:e}){return{data:e}}},Un=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:r}){if(!r.arrow)return{};const{x:n,y:o}=r.arrow,c=t.split("-")[0];return Object.assign(e.style,{left:n!=null?`${n}px`:"",top:o!=null?`${o}px`:"",[c]:`calc(100% + ${q.arrowOffset.reference})`}),{}}}};function Hn(e){const[t,r]=e.split("-");return{side:t,align:r,hasAlign:r!=null}}function Bn(e){return e.split("-")[0]}var zn={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function Ke(e,t){const r=e.devicePixelRatio||1;return Math.round(t*r)/r}function mt(e){return w.runIfFn(e.boundary)}function jn(e,t){if(e)return Dn({element:e,padding:t.arrowPadding})}function Wn(e,t){if(!w.isNull(t.offset??t.gutter))return Tn(({placement:r})=>{const n=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,c=typeof o=="number"?o+n:o??n,{hasAlign:l}=Hn(r),f=l?void 0:t.shift,u=t.offset?.crossAxis??f;return w.compact({crossAxis:u,mainAxis:c,alignmentAxis:t.shift})})}function Gn(e){if(e.flip)return An({boundary:mt(e),padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function qn(e){if(!(!e.slide&&!e.overlap))return Cn({boundary:mt(e),mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Ln()})}function Yn(e){return Nn({padding:e.overflowPadding,apply({elements:t,rects:r,availableHeight:n,availableWidth:o}){const c=t.floating,l=Math.round(r.reference.width);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`)}})}function Kn(e){if(e.hideWhenDetached)return _n({strategy:"referenceHidden",boundary:e.boundary?.()??"clippingAncestors"})}function Xn(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function Jn(e,t,r={}){const n=In(e,r.getAnchorRect);if(!t||!n)return;const o=Object.assign({},zn,r),c=t.querySelector("[data-part=arrow]"),l=[Wn(c,o),Gn(o),qn(o),jn(c,o),Un(c),Fn,Yn(o),Kn(o),$n],{placement:f,strategy:u,onComplete:i,onPositioned:g}=o,a=async()=>{if(!n||!t)return;const m=await Mn(n,t,{placement:f,middleware:l,strategy:u});i?.(m),g?.({placed:!0});const y=w.getWindow(t),v=Ke(y,m.x),x=Ke(y,m.y);t.style.setProperty("--x",`${v}px`),t.style.setProperty("--y",`${x}px`),o.hideWhenDetached&&(m.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const E=t.firstElementChild;if(E){const P=w.getComputedStyle(E);t.style.setProperty("--z-index",P.zIndex)}},s=async()=>{r.updatePosition?(await r.updatePosition({updatePosition:a}),g?.({placed:!0})):await a()},d=Xn(o.listeners),p=o.listeners?Pn(n,t,s,d):w.noop;return s(),()=>{p?.(),g?.({placed:!1})}}function Ae(e,t,r={}){const{defer:n,...o}=r,c=n?w.raf:f=>f(),l=[];return l.push(c(()=>{const f=typeof e=="function"?e():e,u=typeof t=="function"?t():t;l.push(Jn(f,u,o))})),()=>{l.forEach(f=>f?.())}}var Qn={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function yt(e={}){const{placement:t,sameWidth:r,fitViewport:n,strategy:o="absolute"}=e;return{arrow:{position:"absolute",width:q.arrowSize.reference,height:q.arrowSize.reference,[q.arrowSizeHalf.variable]:`calc(${q.arrowSize.reference} / 2)`,[q.arrowOffset.variable]:`calc(${q.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:t?Qn[t.split("-")[0]]:void 0,background:q.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:o,isolation:"isolate",minWidth:r?void 0:"max-content",width:r?"var(--reference-width)":void 0,maxWidth:n?"var(--available-width)":void 0,maxHeight:n?"var(--available-height)":void 0,pointerEvents:t?void 0:"none",top:"0px",left:"0px",transform:t?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var ht=w.createAnatomy("hoverCard").parts("arrow","arrowTip","trigger","positioner","content"),ie=ht.build(),vt=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,Ot=e=>e.ids?.content??`hover-card:${e.id}:content`,wt=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,Zn=e=>e.ids?.arrow??`hover-card:${e.id}:arrow`,Se=e=>e.getById(vt(e)),er=e=>e.getById(Ot(e)),Xe=e=>e.getById(wt(e));function tr(e,t){const{state:r,send:n,prop:o,context:c,scope:l}=e,f=r.hasTag("open"),u=yt({...o("positioning"),placement:c.get("currentPlacement")});return{open:f,setOpen(i){r.hasTag("open")!==i&&n({type:i?"OPEN":"CLOSE"})},reposition(i={}){n({type:"POSITIONING.SET",options:i})},getArrowProps(){return t.element({id:Zn(l),...ie.arrow.attrs,dir:o("dir"),style:u.arrow})},getArrowTipProps(){return t.element({...ie.arrowTip.attrs,dir:o("dir"),style:u.arrowTip})},getTriggerProps(){return t.element({...ie.trigger.attrs,dir:o("dir"),"data-placement":c.get("currentPlacement"),id:vt(l),"data-state":f?"open":"closed",onPointerEnter(i){i.pointerType!=="touch"&&n({type:"POINTER_ENTER",src:"trigger"})},onPointerLeave(i){i.pointerType!=="touch"&&n({type:"POINTER_LEAVE",src:"trigger"})},onFocus(){n({type:"TRIGGER_FOCUS"})},onBlur(){n({type:"TRIGGER_BLUR"})}})},getPositionerProps(){return t.element({id:wt(l),...ie.positioner.attrs,dir:o("dir"),style:u.floating})},getContentProps(){return t.element({...ie.content.attrs,dir:o("dir"),id:Ot(l),hidden:!f,tabIndex:-1,"data-state":f?"open":"closed","data-placement":c.get("currentPlacement"),onPointerEnter(i){i.pointerType!=="touch"&&n({type:"POINTER_ENTER",src:"content"})},onPointerLeave(i){i.pointerType!=="touch"&&n({type:"POINTER_LEAVE",src:"content"})}})}}}var{not:pe,and:Je}=w.createGuards(),nr=w.createMachine({props({props:e}){return{openDelay:700,closeDelay:300,...e,positioning:{placement:"bottom",...e.positioning}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({prop:e,bindable:t}){return{open:t(()=>({defaultValue:e("defaultOpen"),value:e("open"),onChange(r){e("onOpenChange")?.({open:r})}})),currentPlacement:t(()=>({defaultValue:void 0})),isPointer:t(()=>({defaultValue:!1}))}},watch({track:e,context:t,action:r}){e([()=>t.get("open")],()=>{r(["toggleVisibility"])})},states:{closed:{tags:["closed"],entry:["clearIsPointer"],on:{"CONTROLLED.OPEN":{target:"open"},POINTER_ENTER:{target:"opening",actions:["setIsPointer"]},TRIGGER_FOCUS:{target:"opening"},OPEN:{target:"opening"}}},opening:{tags:["closed"],effects:["waitForOpenDelay"],on:{OPEN_DELAY:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"CONTROLLED.OPEN":{target:"open"},"CONTROLLED.CLOSE":{target:"closed"},POINTER_LEAVE:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}],TRIGGER_BLUR:[{guard:Je("isOpenControlled",pe("isPointer")),actions:["invokeOnClose","toggleVisibility"]},{guard:pe("isPointer"),target:"closed",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose","toggleVisibility"]},{target:"closed",actions:["invokeOnClose"]}]}},open:{tags:["open"],effects:["trackDismissableElement","trackPositioning"],on:{"CONTROLLED.CLOSE":{target:"closed"},POINTER_ENTER:{actions:["setIsPointer"]},POINTER_LEAVE:{target:"closing"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TRIGGER_BLUR:[{guard:Je("isOpenControlled",pe("isPointer")),actions:["invokeOnClose"]},{guard:pe("isPointer"),target:"closed",actions:["invokeOnClose"]}],"POSITIONING.SET":{actions:["reposition"]}}},closing:{tags:["open"],effects:["trackPositioning","waitForCloseDelay"],on:{CLOSE_DELAY:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],"CONTROLLED.CLOSE":{target:"closed"},"CONTROLLED.OPEN":{target:"open"},POINTER_ENTER:{target:"open",actions:["setIsPointer"]}}}},implementations:{guards:{isPointer:({context:e})=>!!e.get("isPointer"),isOpenControlled:({prop:e})=>e("open")!=null},effects:{waitForOpenDelay({send:e,prop:t}){const r=setTimeout(()=>{e({type:"OPEN_DELAY"})},t("openDelay"));return()=>clearTimeout(r)},waitForCloseDelay({send:e,prop:t}){const r=setTimeout(()=>{e({type:"CLOSE_DELAY"})},t("closeDelay"));return()=>clearTimeout(r)},trackPositioning({context:e,prop:t,scope:r}){e.get("currentPlacement")||e.set("currentPlacement",t("positioning").placement);const n=()=>Xe(r);return Ae(Se(r),n,{...t("positioning"),defer:!0,onComplete(o){e.set("currentPlacement",o.placement)}})},trackDismissableElement({send:e,scope:t,prop:r}){const n=()=>er(t);return w.trackDismissableElement(n,{defer:!0,exclude:[Se(t)],onDismiss(){e({type:"CLOSE",src:"interact-outside"})},onInteractOutside:r("onInteractOutside"),onPointerDownOutside:r("onPointerDownOutside"),onFocusOutside(o){o.preventDefault(),r("onFocusOutside")?.(o)}})}},actions:{invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},setIsPointer({context:e}){e.set("isPointer",!0)},clearIsPointer({context:e}){e.set("isPointer",!1)},reposition({context:e,prop:t,scope:r,event:n}){const o=()=>Xe(r);Ae(Se(r),o,{...t("positioning"),...n.options,defer:!0,listeners:!1,onComplete(c){e.set("currentPlacement",c.placement)}})},toggleVisibility({prop:e,event:t,send:r}){queueMicrotask(()=>{r({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:t})})}}}});Ne()(["closeDelay","dir","getRootNode","id","ids","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);const[ir,rr]=Oe({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});exports.Portal=Tt;exports.PresenceProvider=Ft;exports.anatomy=ht;exports.ark=Vt;exports.composeRefs=rt;exports.connect=tr;exports.createContext=Oe;exports.createProps=Ne;exports.createSplitProps=ot;exports.getPlacement=Ae;exports.getPlacementSide=Bn;exports.getPlacementStyles=yt;exports.machine=nr;exports.normalizeProps=Mt;exports.reactDomExports=ae;exports.splitPresenceProps=Ut;exports.useEnvironmentContext=Ze;exports.useEvent=it;exports.useLocaleContext=rr;exports.useMachine=tt;exports.usePresence=jt;exports.usePresenceContext=$t;
|
|
22
|
-
//# sourceMappingURL=use-locale-context-DxX8oC2w.js.map
|