@local-logic/sdks-app 1.24.42 → 1.24.43
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/assets/{Attribution-ClwsOk3e.js → Attribution-DnmiY-id.js} +2 -2
- package/dist/assets/{Attribution-ClwsOk3e.js.map → Attribution-DnmiY-id.js.map} +1 -1
- package/dist/assets/{Attribution-legacy-CtNhDTV1.js → Attribution-legacy-Da4FA00m.js} +2 -2
- package/dist/assets/{Attribution-legacy-CtNhDTV1.js.map → Attribution-legacy-Da4FA00m.js.map} +1 -1
- package/dist/assets/Cluster-BHQcO6iC-Do1P9Ia2.js +2 -0
- package/dist/assets/{Cluster-BHQcO6iC-BLUKMpub.js.map → Cluster-BHQcO6iC-Do1P9Ia2.js.map} +1 -1
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CP0b8zks.js → Cluster-BHQcO6iC-legacy-B3k4OIlu.js} +2 -2
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CP0b8zks.js.map → Cluster-BHQcO6iC-legacy-B3k4OIlu.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-6gBja-_g.js → Google-BFAJ84CT-DhLE7SMg.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-6gBja-_g.js.map → Google-BFAJ84CT-DhLE7SMg.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-legacy-Bud-7LK1.js → Google-BFAJ84CT-legacy-BXfoTpXf.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-legacy-Bud-7LK1.js.map → Google-BFAJ84CT-legacy-BXfoTpXf.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-D3JlAgXq.js → Google-BS41ufih-i8xQrE_C.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-D3JlAgXq.js.map → Google-BS41ufih-i8xQrE_C.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-legacy-CMkNx5pn.js → Google-BS41ufih-legacy-BdzBlyLB.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-legacy-CMkNx5pn.js.map → Google-BS41ufih-legacy-BdzBlyLB.js.map} +1 -1
- package/dist/assets/Google-CH7a2yx--BBV608XJ.js +2 -0
- package/dist/assets/{Google-CH7a2yx--B615NdD8.js.map → Google-CH7a2yx--BBV608XJ.js.map} +1 -1
- package/dist/assets/{Google-CH7a2yx--legacy-BUUPS1d_.js → Google-CH7a2yx--legacy-DK3evKRO.js} +2 -2
- package/dist/assets/{Google-CH7a2yx--legacy-BUUPS1d_.js.map → Google-CH7a2yx--legacy-DK3evKRO.js.map} +1 -1
- package/dist/assets/Google-CXGCn-oJ-5ByomDf2.js +2 -0
- package/dist/assets/{Google-CXGCn-oJ-AkqBPqrT.js.map → Google-CXGCn-oJ-5ByomDf2.js.map} +1 -1
- package/dist/assets/{Google-CXGCn-oJ-legacy-wLFeZbs8.js → Google-CXGCn-oJ-legacy-DA32c0kh.js} +2 -2
- package/dist/assets/{Google-CXGCn-oJ-legacy-wLFeZbs8.js.map → Google-CXGCn-oJ-legacy-DA32c0kh.js.map} +1 -1
- package/dist/assets/Google-DbOLrYJn-IeJcma0o.js +2 -0
- package/dist/assets/Google-DbOLrYJn-IeJcma0o.js.map +1 -0
- package/dist/assets/Google-DbOLrYJn-legacy-gzWCKBCo.js +2 -0
- package/dist/assets/Google-DbOLrYJn-legacy-gzWCKBCo.js.map +1 -0
- package/dist/assets/{GridGraph-CA6dQSnE.js → GridGraph-C0PP17kA.js} +2 -2
- package/dist/assets/{GridGraph-CA6dQSnE.js.map → GridGraph-C0PP17kA.js.map} +1 -1
- package/dist/assets/{GridGraph-legacy-C-SnA-yN.js → GridGraph-legacy-B1C-2d1Q.js} +2 -2
- package/dist/assets/{GridGraph-legacy-C-SnA-yN.js.map → GridGraph-legacy-B1C-2d1Q.js.map} +1 -1
- package/dist/assets/{HouseLine.es-MMviG6cm.js → HouseLine.es-UbY1cmCw.js} +2 -2
- package/dist/assets/{HouseLine.es-MMviG6cm.js.map → HouseLine.es-UbY1cmCw.js.map} +1 -1
- package/dist/assets/{HouseLine.es-legacy-Cif7XvRo.js → HouseLine.es-legacy-rIusAPcN.js} +2 -2
- package/dist/assets/{HouseLine.es-legacy-Cif7XvRo.js.map → HouseLine.es-legacy-rIusAPcN.js.map} +1 -1
- package/dist/assets/{IconBase.es-sTzPkmtv.js → IconBase.es-C5evOQSf.js} +1 -1
- package/dist/assets/{IconBase.es-sTzPkmtv.js.map → IconBase.es-C5evOQSf.js.map} +1 -1
- package/dist/assets/{IconBase.es-legacy-CLUwC2Iu.js → IconBase.es-legacy-jtD2YQt-.js} +1 -1
- package/dist/assets/{IconBase.es-legacy-CLUwC2Iu.js.map → IconBase.es-legacy-jtD2YQt-.js.map} +1 -1
- package/dist/assets/{LeadCapture-DYBfiSUq.js → LeadCapture-e2fi_VKJ.js} +2 -2
- package/dist/assets/{LeadCapture-DYBfiSUq.js.map → LeadCapture-e2fi_VKJ.js.map} +1 -1
- package/dist/assets/{LeadCapture-legacy-B2kUL7l2.js → LeadCapture-legacy-wC9F3Dq5.js} +2 -2
- package/dist/assets/{LeadCapture-legacy-B2kUL7l2.js.map → LeadCapture-legacy-wC9F3Dq5.js.map} +1 -1
- package/dist/assets/{LocalContent-CdwC5dim.js → LocalContent-Bgf0CDoA.js} +2 -2
- package/dist/assets/{LocalContent-CdwC5dim.js.map → LocalContent-Bgf0CDoA.js.map} +1 -1
- package/dist/assets/{LocalContent-legacy-is3KMNbp.js → LocalContent-legacy-BHBTASYp.js} +2 -2
- package/dist/assets/{LocalContent-legacy-is3KMNbp.js.map → LocalContent-legacy-BHBTASYp.js.map} +1 -1
- package/dist/assets/{LocalDemographics-CfkSaIaw.js → LocalDemographics-BuWGiqEi.js} +2 -2
- package/dist/assets/{LocalDemographics-CfkSaIaw.js.map → LocalDemographics-BuWGiqEi.js.map} +1 -1
- package/dist/assets/{LocalDemographics-legacy-jYYfhemY.js → LocalDemographics-legacy-D1k5CRVw.js} +2 -2
- package/dist/assets/{LocalDemographics-legacy-jYYfhemY.js.map → LocalDemographics-legacy-D1k5CRVw.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-CxTuYnPt.js → Mapbox-CpLnA607-AeAqR5aH.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-CxTuYnPt.js.map → Mapbox-CpLnA607-AeAqR5aH.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-legacy-BRIsIA0a.js → Mapbox-CpLnA607-legacy-CZe3Jz0m.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-legacy-BRIsIA0a.js.map → Mapbox-CpLnA607-legacy-CZe3Jz0m.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-OengExoB.js → Mapbox-DDJ1gHRb-legacy-NAVECUv-.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-OengExoB.js.map → Mapbox-DDJ1gHRb-legacy-NAVECUv-.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-BBMjbLph.js → Mapbox-DDJ1gHRb-rvf9zFJO.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-BBMjbLph.js.map → Mapbox-DDJ1gHRb-rvf9zFJO.js.map} +1 -1
- package/dist/assets/Mapbox-DiD9etYJ-legacy-pThPPnNQ.js +2 -0
- package/dist/assets/Mapbox-DiD9etYJ-legacy-pThPPnNQ.js.map +1 -0
- package/dist/assets/Mapbox-DiD9etYJ-zR1EkiNp.js +2 -0
- package/dist/assets/Mapbox-DiD9etYJ-zR1EkiNp.js.map +1 -0
- package/dist/assets/{Mapbox-DtZmt1D_-Bx6ckAkh.js → Mapbox-DtZmt1D_-DHhJhTo8.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-Bx6ckAkh.js.map → Mapbox-DtZmt1D_-DHhJhTo8.js.map} +1 -1
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-CjIWGIob.js → Mapbox-DtZmt1D_-legacy-ccCiz3Pd.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-CjIWGIob.js.map → Mapbox-DtZmt1D_-legacy-ccCiz3Pd.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-CFYg9mW4.js → Mapbox-u11C3LWs-B_yCTqoV.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-CFYg9mW4.js.map → Mapbox-u11C3LWs-B_yCTqoV.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-legacy-GApHnB0z.js → Mapbox-u11C3LWs-legacy-D90FQvEN.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-legacy-GApHnB0z.js.map → Mapbox-u11C3LWs-legacy-D90FQvEN.js.map} +1 -1
- package/dist/assets/Maptiler-C0oTROMk-BwaieRuC.js +2 -0
- package/dist/assets/Maptiler-C0oTROMk-BwaieRuC.js.map +1 -0
- package/dist/assets/Maptiler-C0oTROMk-legacy-Dt8ZGBQ1.js +2 -0
- package/dist/assets/Maptiler-C0oTROMk-legacy-Dt8ZGBQ1.js.map +1 -0
- package/dist/assets/{Maptiler-DJScKW8p-_Xood8h4.js → Maptiler-DJScKW8p-D7sqoIWz.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-_Xood8h4.js.map → Maptiler-DJScKW8p-D7sqoIWz.js.map} +1 -1
- package/dist/assets/{Maptiler-DJScKW8p-legacy-BLJl42xt.js → Maptiler-DJScKW8p-legacy-BxKgw8sA.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-legacy-BLJl42xt.js.map → Maptiler-DJScKW8p-legacy-BxKgw8sA.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-B8SIuLJ2.js → Maptiler-DdeFS4iM-CAX4yO3w.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-B8SIuLJ2.js.map → Maptiler-DdeFS4iM-CAX4yO3w.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-legacy-Dbs_BWos.js → Maptiler-DdeFS4iM-legacy-DsI2My96.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-legacy-Dbs_BWos.js.map → Maptiler-DdeFS4iM-legacy-DsI2My96.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-DEBJexij.js → Maptiler-DqeshLom-a9LD3O-1.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-DEBJexij.js.map → Maptiler-DqeshLom-a9LD3O-1.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-legacy-DKFe6w2r.js → Maptiler-DqeshLom-legacy-iao-6Wdy.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-legacy-DKFe6w2r.js.map → Maptiler-DqeshLom-legacy-iao-6Wdy.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-A8qgmLuQ.js → Maptiler-YjlcPccn-BbfdNZAF.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-A8qgmLuQ.js.map → Maptiler-YjlcPccn-BbfdNZAF.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-6p_OzxFA.js → Maptiler-YjlcPccn-legacy-D6AZMug8.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-6p_OzxFA.js.map → Maptiler-YjlcPccn-legacy-D6AZMug8.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-BiE4oWxC.js → MarkerIcon-Bc3X9WQk-ByrgCntx.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-BiE4oWxC.js.map → MarkerIcon-Bc3X9WQk-ByrgCntx.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-D006OcWh.js → MarkerIcon-Bc3X9WQk-legacy-CIGJvvJR.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-D006OcWh.js.map → MarkerIcon-Bc3X9WQk-legacy-CIGJvvJR.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-CjddOmMg.js → NeighborhoodCard-CQFgsjdH.js} +2 -2
- package/dist/assets/{NeighborhoodCard-CjddOmMg.js.map → NeighborhoodCard-CQFgsjdH.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-legacy-BXbEUaCk.js → NeighborhoodCard-legacy-CT-3ylPG.js} +2 -2
- package/dist/assets/{NeighborhoodCard-legacy-BXbEUaCk.js.map → NeighborhoodCard-legacy-CT-3ylPG.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-legacy-N-y878TT.js → NeighborhoodCharacteristics-legacy-CKYaXDfQ.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-legacy-N-y878TT.js.map → NeighborhoodCharacteristics-legacy-CKYaXDfQ.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-rVjVJZhq.js → NeighborhoodCharacteristics-w5WKGZ2K.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-rVjVJZhq.js.map → NeighborhoodCharacteristics-w5WKGZ2K.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-CS-v8EiF.js → NeighborhoodDemographics-BZrhdeYZ.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-CS-v8EiF.js.map → NeighborhoodDemographics-BZrhdeYZ.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-legacy-Dm5pQwht.js → NeighborhoodDemographics-legacy-BHIQ1ER7.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-legacy-Dm5pQwht.js.map → NeighborhoodDemographics-legacy-BHIQ1ER7.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-s-u9pUbm.js → NeighborhoodFeatured-DfjxzlxY.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-s-u9pUbm.js.map → NeighborhoodFeatured-DfjxzlxY.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-legacy-DFs2mouX.js → NeighborhoodFeatured-legacy-DHTnv4CZ.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-legacy-DFs2mouX.js.map → NeighborhoodFeatured-legacy-DHTnv4CZ.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-BywJZ-xz.js → NeighborhoodHero-DrBKD27P.js} +2 -2
- package/dist/assets/{NeighborhoodHero-BywJZ-xz.js.map → NeighborhoodHero-DrBKD27P.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-legacy-DBXy8A9v.js → NeighborhoodHero-legacy-BMCiD7gd.js} +2 -2
- package/dist/assets/{NeighborhoodHero-legacy-DBXy8A9v.js.map → NeighborhoodHero-legacy-BMCiD7gd.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-C7wjbeds.js → NeighborhoodHighlights-CwoTHUIb.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-C7wjbeds.js.map → NeighborhoodHighlights-CwoTHUIb.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-legacy-DuaIiUeU.js → NeighborhoodHighlights-legacy-R316wAs2.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-legacy-DuaIiUeU.js.map → NeighborhoodHighlights-legacy-R316wAs2.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-chAy5ObD.js → NeighborhoodMap-ChZpBdAe.js} +2 -2
- package/dist/assets/{NeighborhoodMap-chAy5ObD.js.map → NeighborhoodMap-ChZpBdAe.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-legacy-qKRq45VQ.js → NeighborhoodMap-legacy-D7V_lZQF.js} +2 -2
- package/dist/assets/{NeighborhoodMap-legacy-qKRq45VQ.js.map → NeighborhoodMap-legacy-D7V_lZQF.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-DyzBmnXU.js → NeighborhoodMarketTrends-DpUA8_BA.js} +3 -3
- package/dist/assets/{NeighborhoodMarketTrends-DyzBmnXU.js.map → NeighborhoodMarketTrends-DpUA8_BA.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-legacy-DflW5bwf.js → NeighborhoodMarketTrends-legacy-18rcLpS1.js} +2 -2
- package/dist/assets/{NeighborhoodMarketTrends-legacy-DflW5bwf.js.map → NeighborhoodMarketTrends-legacy-18rcLpS1.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-B0NunmQ1.js → NeighborhoodMatch-BLDNZBRX.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-B0NunmQ1.js.map → NeighborhoodMatch-BLDNZBRX.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-legacy-C9pmkVI0.js → NeighborhoodMatch-legacy-C2QyjRPr.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-legacy-C9pmkVI0.js.map → NeighborhoodMatch-legacy-C2QyjRPr.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-pcHUQKLk.js → NeighborhoodPropertyValueDrivers-CQoo-TFM.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-pcHUQKLk.js.map → NeighborhoodPropertyValueDrivers-CQoo-TFM.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-CSn26WOI.js → NeighborhoodPropertyValueDrivers-legacy-B-3Ld9XX.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-CSn26WOI.js.map → NeighborhoodPropertyValueDrivers-legacy-B-3Ld9XX.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-mOJqjm1x.js → NeighborhoodSchools-DMKDCbUv.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-mOJqjm1x.js.map → NeighborhoodSchools-DMKDCbUv.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-legacy-DZOdDDpP.js → NeighborhoodSchools-legacy-D_MpmqNV.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-legacy-DZOdDDpP.js.map → NeighborhoodSchools-legacy-D_MpmqNV.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-DB50zUgk.js → NeighborhoodShowcase-CB3_rfxv.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-DB50zUgk.js.map → NeighborhoodShowcase-CB3_rfxv.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-legacy-BkNvt6P2.js → NeighborhoodShowcase-legacy-B8IQbiVz.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-legacy-BkNvt6P2.js.map → NeighborhoodShowcase-legacy-B8IQbiVz.js.map} +1 -1
- package/dist/assets/{NoDataContent-DMnLpuKS.js → NoDataContent-CFLl-Rd-.js} +2 -2
- package/dist/assets/{NoDataContent-DMnLpuKS.js.map → NoDataContent-CFLl-Rd-.js.map} +1 -1
- package/dist/assets/{NoDataContent-legacy-V241YjyB.js → NoDataContent-legacy-aWMMhT9c.js} +2 -2
- package/dist/assets/{NoDataContent-legacy-V241YjyB.js.map → NoDataContent-legacy-aWMMhT9c.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-DWV5t91u.js → ResizeWrapper-C7vwckhm.js} +2 -2
- package/dist/assets/{ResizeWrapper-DWV5t91u.js.map → ResizeWrapper-C7vwckhm.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-legacy-DGnrE5zr.js → ResizeWrapper-legacy-WwfLyk1y.js} +2 -2
- package/dist/assets/{ResizeWrapper-legacy-DGnrE5zr.js.map → ResizeWrapper-legacy-WwfLyk1y.js.map} +1 -1
- package/dist/assets/{ScoreCardList-BFPj6mZA.js → ScoreCardList-PWiDx6Ra.js} +2 -2
- package/dist/assets/{ScoreCardList-BFPj6mZA.js.map → ScoreCardList-PWiDx6Ra.js.map} +1 -1
- package/dist/assets/{ScoreCardList-legacy-D8n8_vhM.js → ScoreCardList-legacy-BK5dq36c.js} +2 -2
- package/dist/assets/{ScoreCardList-legacy-D8n8_vhM.js.map → ScoreCardList-legacy-BK5dq36c.js.map} +1 -1
- package/dist/assets/{ScoreIcon-e7HkxsIV.js → ScoreIcon-CsB-usG9.js} +2 -2
- package/dist/assets/{ScoreIcon-e7HkxsIV.js.map → ScoreIcon-CsB-usG9.js.map} +1 -1
- package/dist/assets/{ScoreIcon-legacy-x5Tn3nV1.js → ScoreIcon-legacy-BwaAs8hW.js} +2 -2
- package/dist/assets/{ScoreIcon-legacy-x5Tn3nV1.js.map → ScoreIcon-legacy-BwaAs8hW.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-C9V56Cfj.js → Testing--n5Ro0Ek-B4Vejacz.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-C9V56Cfj.js.map → Testing--n5Ro0Ek-B4Vejacz.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-legacy-D_AkmmzN.js → Testing--n5Ro0Ek-legacy-Co29YW_f.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-legacy-D_AkmmzN.js.map → Testing--n5Ro0Ek-legacy-Co29YW_f.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-BsZQEhVn.js → Testing-BNJwzbRK-hEJFbzQg.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-BsZQEhVn.js.map → Testing-BNJwzbRK-hEJFbzQg.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-legacy-DWOKVB8F.js → Testing-BNJwzbRK-legacy-B1EdPb3k.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-legacy-DWOKVB8F.js.map → Testing-BNJwzbRK-legacy-B1EdPb3k.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-D1AEkx8H.js → Testing-CoRLhmNT-Cqyejow7.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-D1AEkx8H.js.map → Testing-CoRLhmNT-Cqyejow7.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-legacy-C2PTG7qO.js → Testing-CoRLhmNT-legacy-BQpWn7Bu.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-legacy-C2PTG7qO.js.map → Testing-CoRLhmNT-legacy-BQpWn7Bu.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-ixrV0Uct.js → Testing-DGUeGxdc-g-T4vdVq.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-ixrV0Uct.js.map → Testing-DGUeGxdc-g-T4vdVq.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-legacy-qdFrcrxK.js → Testing-DGUeGxdc-legacy-GwpDyiTO.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-legacy-qdFrcrxK.js.map → Testing-DGUeGxdc-legacy-GwpDyiTO.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-6k6EztCf.js → Testing-DzWAcbhL-BJOouF0A.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-6k6EztCf.js.map → Testing-DzWAcbhL-BJOouF0A.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-legacy-CVi7-xZq.js → Testing-DzWAcbhL-legacy-CYECRHWo.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-legacy-CVi7-xZq.js.map → Testing-DzWAcbhL-legacy-CYECRHWo.js.map} +1 -1
- package/dist/assets/{TitleHeader-mQeQYQpJ.js → TitleHeader-CepE-7Y-.js} +2 -2
- package/dist/assets/{TitleHeader-mQeQYQpJ.js.map → TitleHeader-CepE-7Y-.js.map} +1 -1
- package/dist/assets/{TitleHeader-legacy-BxGrZ-6z.js → TitleHeader-legacy-UtQZo396.js} +2 -2
- package/dist/assets/{TitleHeader-legacy-BxGrZ-6z.js.map → TitleHeader-legacy-UtQZo396.js.map} +1 -1
- package/dist/assets/{Trans-C0JSM2OQ.js → Trans-B1zRm9WH.js} +2 -2
- package/dist/assets/{Trans-C0JSM2OQ.js.map → Trans-B1zRm9WH.js.map} +1 -1
- package/dist/assets/{Trans-legacy-Ce8Vb50C.js → Trans-legacy-B47WOepl.js} +2 -2
- package/dist/assets/{Trans-legacy-Ce8Vb50C.js.map → Trans-legacy-B47WOepl.js.map} +1 -1
- package/dist/assets/{ValidateOptions-0362goEF.js → ValidateOptions-DsfMKmBQ.js} +2 -2
- package/dist/assets/{ValidateOptions-0362goEF.js.map → ValidateOptions-DsfMKmBQ.js.map} +1 -1
- package/dist/assets/{ValidateOptions-legacy-DzEh45h5.js → ValidateOptions-legacy-CtRpWaj6.js} +2 -2
- package/dist/assets/{ValidateOptions-legacy-DzEh45h5.js.map → ValidateOptions-legacy-CtRpWaj6.js.map} +1 -1
- package/dist/assets/constants-BcJ_mS91-kGN6qniT.js +2 -0
- package/dist/assets/constants-BcJ_mS91-kGN6qniT.js.map +1 -0
- package/dist/assets/constants-BcJ_mS91-legacy-akzQjFeX.js +2 -0
- package/dist/assets/constants-BcJ_mS91-legacy-akzQjFeX.js.map +1 -0
- package/dist/assets/{context-BrD4AniQ-DZ0ZiGRI.js → context-BrD4AniQ-D7UQulkM.js} +1 -1
- package/dist/assets/{context-BrD4AniQ-DZ0ZiGRI.js.map → context-BrD4AniQ-D7UQulkM.js.map} +1 -1
- package/dist/assets/{context-BrD4AniQ-legacy-BySS42Wf.js → context-BrD4AniQ-legacy-Ct6QKrhb.js} +1 -1
- package/dist/assets/{context-BrD4AniQ-legacy-BySS42Wf.js.map → context-BrD4AniQ-legacy-Ct6QKrhb.js.map} +1 -1
- package/dist/assets/{dist-3L6XR49Y.js → dist-DrX-uh0V.js} +2 -2
- package/dist/assets/{dist-3L6XR49Y.js.map → dist-DrX-uh0V.js.map} +1 -1
- package/dist/assets/{dist-legacy-B55wY-DS.js → dist-legacy-CJvY2ayv.js} +2 -2
- package/dist/assets/{dist-legacy-B55wY-DS.js.map → dist-legacy-CJvY2ayv.js.map} +1 -1
- package/dist/assets/{esm-Be30MpcN-ls4GMpDI.js → esm-Be30MpcN-C7eJiqee.js} +1 -1
- package/dist/assets/{esm-Be30MpcN-ls4GMpDI.js.map → esm-Be30MpcN-C7eJiqee.js.map} +1 -1
- package/dist/assets/{esm-Be30MpcN-legacy-D8iPI9WH.js → esm-Be30MpcN-legacy-MIXlHUgH.js} +1 -1
- package/dist/assets/{esm-Be30MpcN-legacy-D8iPI9WH.js.map → esm-Be30MpcN-legacy-MIXlHUgH.js.map} +1 -1
- package/dist/assets/{getMapProviderConfig-CdGY8cWm.js → getMapProviderConfig-DbC8zRUF.js} +3 -3
- package/dist/assets/{getMapProviderConfig-CdGY8cWm.js.map → getMapProviderConfig-DbC8zRUF.js.map} +1 -1
- package/dist/assets/{getMapProviderConfig-legacy-wmAHunfq.js → getMapProviderConfig-legacy-CwpYg6Bq.js} +2 -2
- package/dist/assets/{getMapProviderConfig-legacy-wmAHunfq.js.map → getMapProviderConfig-legacy-CwpYg6Bq.js.map} +1 -1
- package/dist/assets/getPaddedBounds-CbCVe2M3-CYpTak_b.js +2 -0
- package/dist/assets/getPaddedBounds-CbCVe2M3-CYpTak_b.js.map +1 -0
- package/dist/assets/getPaddedBounds-CbCVe2M3-legacy-1z3vtmVe.js +2 -0
- package/dist/assets/getPaddedBounds-CbCVe2M3-legacy-1z3vtmVe.js.map +1 -0
- package/dist/assets/{index-CNd7hC6B.js → index-Bi8h_BNl.js} +3 -3
- package/dist/assets/index-Bi8h_BNl.js.map +1 -0
- package/dist/assets/index-legacy-DF60d_4Z.js +2 -0
- package/dist/assets/index-legacy-DF60d_4Z.js.map +1 -0
- package/dist/assets/{index.es-CXXRBE7A.js → index.es-BkZlVTZH.js} +2 -2
- package/dist/assets/{index.es-CXXRBE7A.js.map → index.es-BkZlVTZH.js.map} +1 -1
- package/dist/assets/{index.es-legacy-CAykU5jw.js → index.es-legacy-DdMTxXQK.js} +2 -2
- package/dist/assets/{index.es-legacy-CAykU5jw.js.map → index.es-legacy-DdMTxXQK.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-Dc19y3gY.js → mapbox-jb8Zev6T-DbABbE_7.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-Dc19y3gY.js.map → mapbox-jb8Zev6T-DbABbE_7.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-legacy-BeyVAwDw.js → mapbox-jb8Zev6T-legacy-DkLTUrvZ.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-legacy-BeyVAwDw.js.map → mapbox-jb8Zev6T-legacy-DkLTUrvZ.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-BzuGVu1-.js → maplibre-CUYkxr-D-DPcOY-Lp.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-BzuGVu1-.js.map → maplibre-CUYkxr-D-DPcOY-Lp.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-legacy-9NqXov2x.js → maplibre-CUYkxr-D-legacy-Ct1K6aaN.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-legacy-9NqXov2x.js.map → maplibre-CUYkxr-D-legacy-Ct1K6aaN.js.map} +1 -1
- package/dist/assets/neighborhood-fallback-CizB5oi9.js.map +1 -1
- package/dist/assets/neighborhood-fallback-legacy-Bu1BwGpC.js.map +1 -1
- package/dist/assets/{sdks-Bxf4c2j1.js → sdks-CIuvHxGG.js} +2 -2
- package/dist/assets/{sdks-Bxf4c2j1.js.map → sdks-CIuvHxGG.js.map} +1 -1
- package/dist/assets/{sdks-legacy-DYYmSGi_.js → sdks-legacy-3YngGDux.js} +2 -2
- package/dist/assets/{sdks-legacy-DYYmSGi_.js.map → sdks-legacy-3YngGDux.js.map} +1 -1
- package/dist/assets/styles-C6SoSE0g-DVodK__e.js +2 -0
- package/dist/assets/styles-C6SoSE0g-DVodK__e.js.map +1 -0
- package/dist/assets/styles-C6SoSE0g-legacy-DQucoUvA.js +2 -0
- package/dist/assets/styles-C6SoSE0g-legacy-DQucoUvA.js.map +1 -0
- package/dist/assets/{styles-CJwaJsrY-B7fRLA0K.js → styles-CJwaJsrY-BTp6ht1Q.js} +1 -1
- package/dist/assets/{styles-CJwaJsrY-B7fRLA0K.js.map → styles-CJwaJsrY-BTp6ht1Q.js.map} +1 -1
- package/dist/assets/{styles-CJwaJsrY-legacy-DpdECtH-.js → styles-CJwaJsrY-legacy-DDFkoq39.js} +1 -1
- package/dist/assets/{styles-CJwaJsrY-legacy-DpdECtH-.js.map → styles-CJwaJsrY-legacy-DDFkoq39.js.map} +1 -1
- package/dist/assets/{useDemographicsData-BvaNug6u.js → useDemographicsData-Dz3Pu-Ht.js} +2 -2
- package/dist/assets/{useDemographicsData-BvaNug6u.js.map → useDemographicsData-Dz3Pu-Ht.js.map} +1 -1
- package/dist/assets/{useDemographicsData-legacy-Ce1DyoWD.js → useDemographicsData-legacy-BD0OVn1e.js} +2 -2
- package/dist/assets/{useDemographicsData-legacy-Ce1DyoWD.js.map → useDemographicsData-legacy-BD0OVn1e.js.map} +1 -1
- package/dist/assets/{useGeographies-PyhHBRG7.js → useGeographies-CtCPN011.js} +2 -2
- package/dist/assets/{useGeographies-PyhHBRG7.js.map → useGeographies-CtCPN011.js.map} +1 -1
- package/dist/assets/{useGeographies-legacy-D9GtGYxP.js → useGeographies-legacy-BmNvVGxt.js} +2 -2
- package/dist/assets/{useGeographies-legacy-D9GtGYxP.js.map → useGeographies-legacy-BmNvVGxt.js.map} +1 -1
- package/dist/assets/{useIsMobile-CFx2Xa3X.js → useIsMobile-DqKgF2mC.js} +2 -2
- package/dist/assets/{useIsMobile-CFx2Xa3X.js.map → useIsMobile-DqKgF2mC.js.map} +1 -1
- package/dist/assets/{useIsMobile-legacy-CAXdJOlD.js → useIsMobile-legacy-jEoaA3sZ.js} +2 -2
- package/dist/assets/{useIsMobile-legacy-CAXdJOlD.js.map → useIsMobile-legacy-jEoaA3sZ.js.map} +1 -1
- package/dist/assets/{useLocation-CgVyB4mN.js → useLocation-DnI9ftE5.js} +2 -2
- package/dist/assets/{useLocation-CgVyB4mN.js.map → useLocation-DnI9ftE5.js.map} +1 -1
- package/dist/assets/{useLocation-legacy-CoN_4aWO.js → useLocation-legacy-UNiEBLrQ.js} +2 -2
- package/dist/assets/{useLocation-legacy-CoN_4aWO.js.map → useLocation-legacy-UNiEBLrQ.js.map} +1 -1
- package/dist/assets/{useProfiles-CleTbooi.js → useProfiles-DKmVxUf9.js} +2 -2
- package/dist/assets/{useProfiles-CleTbooi.js.map → useProfiles-DKmVxUf9.js.map} +1 -1
- package/dist/assets/{useProfiles-legacy-CLlZc_oV.js → useProfiles-legacy-OVEEk1dZ.js} +2 -2
- package/dist/assets/{useProfiles-legacy-CLlZc_oV.js.map → useProfiles-legacy-OVEEk1dZ.js.map} +1 -1
- package/dist/assets/{useSchools-CKXVMLym.js → useSchools-BC9vy4Xx.js} +2 -2
- package/dist/assets/{useSchools-CKXVMLym.js.map → useSchools-BC9vy4Xx.js.map} +1 -1
- package/dist/assets/{useSchools-legacy-BvZM00mn.js → useSchools-legacy-g8-dezaK.js} +2 -2
- package/dist/assets/{useSchools-legacy-BvZM00mn.js.map → useSchools-legacy-g8-dezaK.js.map} +1 -1
- package/dist/assets/{useScores-BYLlfjJr.js → useScores-BZGEEU4U.js} +2 -2
- package/dist/assets/{useScores-BYLlfjJr.js.map → useScores-BZGEEU4U.js.map} +1 -1
- package/dist/assets/{useScores-legacy-BtklhLy-.js → useScores-legacy-C9icRMIu.js} +2 -2
- package/dist/assets/{useScores-legacy-BtklhLy-.js.map → useScores-legacy-C9icRMIu.js.map} +1 -1
- package/dist/assets/utils-DuZH7Cmm-CGFseyIn.js +2 -0
- package/dist/assets/utils-DuZH7Cmm-CGFseyIn.js.map +1 -0
- package/dist/assets/utils-DuZH7Cmm-legacy-vOQGld7w.js +2 -0
- package/dist/assets/utils-DuZH7Cmm-legacy-vOQGld7w.js.map +1 -0
- package/dist/index.html +2 -2
- package/dist/types/context/stateManager/index.d.ts.map +1 -1
- package/dist/types/context/stateManager/index.js +50 -3
- package/dist/types/context/stateManager/index.js.map +1 -1
- package/dist/types/sdks/NeighborhoodMap/constants.d.ts +1 -1
- package/dist/types/sdks/NeighborhoodMap/constants.js +1 -1
- package/dist/types/utils/errorTracker/index.d.ts.map +1 -1
- package/dist/types/utils/errorTracker/index.js +6 -5
- package/dist/types/utils/errorTracker/index.js.map +1 -1
- package/dist/types/utils/normalizeLocale/index.d.ts +18 -0
- package/dist/types/utils/normalizeLocale/index.d.ts.map +1 -0
- package/dist/types/utils/normalizeLocale/index.js +24 -0
- package/dist/types/utils/normalizeLocale/index.js.map +1 -0
- package/dist/types/utils/normalizeLocale/index.test.d.ts +2 -0
- package/dist/types/utils/normalizeLocale/index.test.d.ts.map +1 -0
- package/dist/types/utils/normalizeLocale/index.test.js +35 -0
- package/dist/types/utils/normalizeLocale/index.test.js.map +1 -0
- package/package.json +1 -1
- package/dist/assets/Cluster-BHQcO6iC-BLUKMpub.js +0 -2
- package/dist/assets/Google-CH7a2yx--B615NdD8.js +0 -2
- package/dist/assets/Google-CXGCn-oJ-AkqBPqrT.js +0 -2
- package/dist/assets/Google-D1kMMDIv-BsfRv65Q.js +0 -2
- package/dist/assets/Google-D1kMMDIv-BsfRv65Q.js.map +0 -1
- package/dist/assets/Google-D1kMMDIv-legacy-VjXA4xrw.js +0 -2
- package/dist/assets/Google-D1kMMDIv-legacy-VjXA4xrw.js.map +0 -1
- package/dist/assets/Mapbox-CIislOVu-DF1r9xj3.js +0 -2
- package/dist/assets/Mapbox-CIislOVu-DF1r9xj3.js.map +0 -1
- package/dist/assets/Mapbox-CIislOVu-legacy-BL-N58pQ.js +0 -2
- package/dist/assets/Mapbox-CIislOVu-legacy-BL-N58pQ.js.map +0 -1
- package/dist/assets/Maptiler-Cy2r6w4G-SVyBwt0g.js +0 -2
- package/dist/assets/Maptiler-Cy2r6w4G-SVyBwt0g.js.map +0 -1
- package/dist/assets/Maptiler-Cy2r6w4G-legacy-Bhbgroyv.js +0 -2
- package/dist/assets/Maptiler-Cy2r6w4G-legacy-Bhbgroyv.js.map +0 -1
- package/dist/assets/constants-DOpa8YMW-CAHGepUD.js +0 -2
- package/dist/assets/constants-DOpa8YMW-CAHGepUD.js.map +0 -1
- package/dist/assets/constants-DOpa8YMW-legacy-TnabVEaS.js +0 -2
- package/dist/assets/constants-DOpa8YMW-legacy-TnabVEaS.js.map +0 -1
- package/dist/assets/esm-k7KI3vER-DWALg7MX.js +0 -2
- package/dist/assets/esm-k7KI3vER-DWALg7MX.js.map +0 -1
- package/dist/assets/esm-k7KI3vER-legacy-DjAkR8OT.js +0 -2
- package/dist/assets/esm-k7KI3vER-legacy-DjAkR8OT.js.map +0 -1
- package/dist/assets/index-CNd7hC6B.js.map +0 -1
- package/dist/assets/index-legacy-C3WMF-is.js +0 -2
- package/dist/assets/index-legacy-C3WMF-is.js.map +0 -1
- package/dist/assets/styles-hx5_Dz4D-CjeaMkGu.js +0 -2
- package/dist/assets/styles-hx5_Dz4D-CjeaMkGu.js.map +0 -1
- package/dist/assets/styles-hx5_Dz4D-legacy-CNN4CNPX.js +0 -2
- package/dist/assets/styles-hx5_Dz4D-legacy-CNN4CNPX.js.map +0 -1
- package/dist/assets/utils-CjIvvA5e-DRv4kcQu.js +0 -2
- package/dist/assets/utils-CjIvvA5e-DRv4kcQu.js.map +0 -1
- package/dist/assets/utils-CjIvvA5e-legacy-BArgSH63.js +0 -2
- package/dist/assets/utils-CjIvvA5e-legacy-BArgSH63.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){const t=["transitionEnd","transition"],e=["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"],n=["transitionEnd","transition"],i=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"],s=["transition","transitionEnd"],o=["transition","transitionEnd"],r=["root"],a=["autoplay","delay","type","repeat","repeatDelay","repeatType"],l=["onComplete","onUpdate","motionValue","element"],u=["motionValue","onUpdate","onComplete","element"],c=["willChange"];function h(t,e){if(null==t)return{};var n,i,s=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){m(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function m(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./google-maps-vendor-legacy-CPuMOKGq.js","./Trans-legacy-Ce8Vb50C.js","./sdks-legacy-DYYmSGi_.js","./MagnifyingGlass.es-legacy-DZMKpel-.js","./index-legacy-C3WMF-is.js","./ResizeWrapper-legacy-DGnrE5zr.js","./ValidateOptions-legacy-DzEh45h5.js","./useIsMobile-legacy-CAXdJOlD.js","./old-tailwind-legacy-CEPpMJ8m.js","./NeighborhoodCard-legacy-BXbEUaCk.js"],function(d,m){var f,g,v,y,x,b,F,w,S,P,T,A,D,E,C,k,V,M,j,R,L,B,O,I,U,N,$,W,z,K,H,Y,X,q,_,G,Z,J,Q,tt,et,nt,it,st,ot,rt,at,lt,ut,ct,ht,dt,pt,mt,ft,gt,vt,yt,xt,bt,Ft,wt,St,Pt,Tt,At,Dt,Et,Ct,kt,Vt,Mt,jt,Rt,Lt,Bt,Ot,It,Ut,Nt,$t,Wt,zt,Kt,Ht,Yt,Xt,qt,_t,Gt,Zt,Jt,Qt,te,ee,ne,ie,se,oe,re,ae,le,ue,ce,he,de,pe,me,fe,ge,ve,ye,xe,be,Fe,we,Se,Pe,Te,Ae,De,Ee,Ce,ke,Ve,Me,je,Re,Le,Be,Oe,Ie,Ue,Ne,$e,We,ze,Ke,He,Ye,Xe,qe,_e,Ge,Ze,Je,Qe,tn,en,nn,sn,on,rn,an,ln,un,cn,hn,dn,pn,mn,fn,gn,vn,yn,xn,bn,Fn,wn,Sn,Pn,Tn,An,Dn,En,Cn,kn,Vn,Mn,jn,Rn,Ln,Bn,On,In,Un,Nn,$n,Wn,zn,Kn,Hn,Yn,Xn,qn,_n,Gn,Zn,Jn,Qn,ti,ei,ni,ii,si,oi,ri,ai,li,ui,ci,hi,di,pi,mi,fi,gi,vi,yi,xi,bi,Fi,wi,Si,Pi,Ti,Ai,Di,Ei,Ci,ki,Vi,Mi,ji,Ri,Li,Bi,Oi,Ii,Ui,Ni,$i,Wi,zi,Ki,Hi,Yi,Xi,qi,_i,Gi,Zi,Ji,Qi,ts,es,ns,is,ss,os,rs,as,ls,us,cs,hs,ds,ps,ms,fs,gs,vs,ys,xs,bs,Fs,ws,Ss,Ps,Ts,As,Ds,Es,Cs,ks,Vs,Ms,js,Rs,Ls,Bs,Os,Is,Us,Ns,$s,Ws,zs,Ks,Hs,Ys,Xs,qs,_s,Gs,Zs,Js,Qs,to,eo,no,io,so,oo,ro,ao,lo,uo,co,ho,po,mo,fo,go,vo,yo,xo,bo,Fo,wo,So,Po,To,Ao;function Do(){return(0,_.jsx)("div",{className:Q,children:(0,_.jsx)(j,{image:!0})})}function Eo(){const{t:t}=P("neighborhoodShowcase");return(0,_.jsx)("div",{className:tt,children:(0,_.jsx)(b,{i18nKey:"noData",t:t,components:{LinkToHub:(0,_.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://hub.locallogic.co/neighborhood-management"}),bold:(0,_.jsx)("strong",{})}})})}function Co(t){let e;return()=>(void 0===e&&(e=t()),e)}function ko(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=mt.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{r=t,i?s=!0:(i=!0,[e,n]=[n,e],e.forEach(a),e.clear(),i=!1,s&&(s=!1,l.process(t)))}};return l}(o),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=r,p=()=>{const o=pt.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,ft),1),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),h.process(s),d.process(s),s.isProcessing=!1,n&&e&&(i=!1,t(p))};return{schedule:mt.reduce((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(n||(n=!0,i=!0,s.isProcessing||t(p)),a.schedule(e,o,r)),e},{}),cancel:t=>{for(let e=0;e<mt.length;e++)r[mt[e]].cancel(t)},state:s,steps:r}}function Vo(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||St.has(t)}function Mo(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}function jo(t){if("undefined"==typeof Proxy)return t;const e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function Ro(t){return"string"==typeof t||Array.isArray(t)}function Lo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function Bo(t){return Lo(t.animate)||Mt.some(e=>Ro(t[e]))}function Oo(t){return Boolean(Bo(t)||t.variants)}function Io(t){const{initial:e,animate:n}=function(t,e){if(Bo(t)){const{initial:e,animate:n}=t;return{initial:!1===e||Ro(e)?e:void 0,animate:Ro(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,H.useContext)(kt));return(0,H.useMemo)(()=>({initial:e,animate:n}),[Uo(e),Uo(n)])}function Uo(t){return Array.isArray(t)?t.join(" "):t}function No(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function $o(t,e,n){return(0,H.useCallback)(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"==typeof n?n(i):No(n)&&(n.current=i))},[e])}function Wo(t,e,n,i,s){var o,r;const{visualElement:a}=(0,H.useContext)(kt),l=(0,H.useContext)(bt),u=(0,H.useContext)(it),c=(0,H.useContext)(st).reducedMotion,h=(0,H.useRef)(null);i=i||l.renderer,!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));const d=h.current,p=(0,H.useContext)(It);!d||d.projection||!s||"html"!==d.type&&"svg"!==d.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:zo(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&No(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(h.current,n,s,p);const m=(0,H.useRef)(!1);(0,H.useInsertionEffect)(()=>{d&&m.current&&d.update(n,u)});const f=n[Lt],g=(0,H.useRef)(Boolean(f)&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,f))&&(null===(r=window.MotionHasOptimisedAnimation)||void 0===r?void 0:r.call(window,f)));return rt(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Bt.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,H.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),g.current=!1))}),d}function zo(t){if(t)return!1!==t.options.allowProjection?t.projection:zo(t.parent)}function Ko({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:s}){var o,r;function a(t,o){let r;const a=p(p(p({},(0,H.useContext)(st)),t),{},{layoutId:Ho(t)}),{isStatic:l}=a,u=Io(t),c=i(t,l);if(!l&&ot){(0,H.useContext)(bt).strict;const t=function(t){const{drag:e,layout:n}=wt;if(!e&&!n)return{};const i=p(p({},e),n);return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(a);r=t.MeasureLayout,u.visualElement=Wo(s,c,a,e,t.ProjectionNode)}return(0,_.jsxs)(kt.Provider,{value:u,children:[r&&u.visualElement?(0,_.jsx)(r,p({visualElement:u.visualElement},a)):null,n(s,t,$o(c,u.visualElement,o),c,l,u.visualElement)]})}t&&function(t){for(const e in t)wt[e]=p(p({},wt[e]),t[e])}(t),a.displayName=`motion.${"string"==typeof s?s:`create(${null!==(r=null!==(o=s.displayName)&&void 0!==o?o:s.name)&&void 0!==r?r:""})`}`;const l=(0,H.forwardRef)(a);return l[jt]=s,l}function Ho({layoutId:t}){const e=(0,H.useContext)(nt).id;return e&&void 0!==t?e+"-"+t:t}function Yo(t){return"string"==typeof t&&!t.includes("-")&&!!(Ut.indexOf(t)>-1||/[A-Z]/.test(t))}function Xo(t){const e=[{},{}];return null==t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function qo(t,e,n,i){if("function"==typeof e){const[s,o]=Xo(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=Xo(i);e=e(void 0!==n?n:t.custom,s,o)}return e}function _o(t){const e=zt(t)?t.get():t;return $t(e)?e.toValue():e}function Go(e,n,i,s){const o={},r=s(e,{});for(const t in r)o[t]=_o(r[t]);let{initial:a,animate:l}=e;const u=Bo(e),c=Oo(e);n&&c&&!u&&!1!==e.inherit&&(void 0===a&&(a=n.initial),void 0===l&&(l=n.animate));let d=!!i&&!1===i.initial;d=d||!1===a;const p=d?l:a;if(p&&"boolean"!=typeof p&&!Lo(p)){const n=Array.isArray(p)?p:[p];for(let i=0;i<n.length;i++){const s=qo(e,n[i]);if(s){const{transitionEnd:e,transition:n}=s,i=h(s,t);for(const t in i){let e=i[t];if(Array.isArray(e)){e=e[d?e.length-1:0]}null!==e&&(o[t]=e)}for(const t in e)o[t]=e[t]}}}return o}function Zo(t,e,n){const{style:i,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const t=e[l];if(Yt.has(l))r=!0;else if(qt(l))s[l]=t;else{const e=Jt(t,pe[l]);l.startsWith("origin")?(a=!0,o[l]=e):i[l]=e}}if(e.transform||(r||n?i.transform=function(t,e,n){let i="",s=!0;for(let o=0;o<fe;o++){const r=Ht[o],a=t[r];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(r.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const t=Jt(a,pe[r]);l||(s=!1,i+=`${me[r]||r}(${t}) `),n&&(e[r]=t)}}return i=i.trim(),n?i=n(e,s?"":i):s&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}function Jo(t,e,n){return"string"==typeof t?t:re.transform(e+n*t)}function Qo(t,n,i,s){let{attrX:o,attrY:r,attrScale:a,originX:l,originY:u,pathLength:c,pathSpacing:d=1,pathOffset:p=0}=n;if(Zo(t,h(n,e),s),i)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:m,style:f,dimensions:g}=t;m.transform&&(g&&(f.transform=m.transform),delete m.transform),g&&(void 0!==l||void 0!==u||f.transform)&&(f.transformOrigin=function(t,e,n){return`${Jo(e,t.x,t.width)} ${Jo(n,t.y,t.height)}`}(g,void 0!==l?l:.5,void 0!==u?u:.5)),void 0!==o&&(m.x=o),void 0!==r&&(m.y=r),void 0!==a&&(m.scale=a),void 0!==c&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?ge:ve;t[o.offset]=re.transform(-i);const r=re.transform(e),a=re.transform(n);t[o.array]=`${r} ${a}`}(m,c,d,p,!1)}function tr(t,{style:e,vars:n},i,s){Object.assign(t.style,e,s&&s.getProjectionStyles(i));for(const o in n)t.style.setProperty(o,n[o])}function er(t,e,n,i){tr(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(Fe.has(s)?s:Rt(s),e.attrs[s])}function nr(t,{layout:e,layoutId:n}){return Yt.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!we[t]||"opacity"===t)}function ir(t,e,n){var i;const{style:s}=t,o={};for(const r in s)(zt(s[r])||e.style&&zt(e.style[r])||nr(r,t)||void 0!==(null===(i=null==n?void 0:n.getValue(r))||void 0===i?void 0:i.liveStyle))&&(o[r]=s[r]);return o}function sr(t,e,n){const i=ir(t,e,n);for(const s in t)if(zt(t[s])||zt(e[s])){i[-1!==Ht.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]}return i}function or(t,e,n){for(const i in e)zt(e[i])||nr(i,n)||(t[i]=e[i])}function rr(t,e){const n={};return or(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,H.useMemo)(()=>{const n=ye();return Zo(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function ar(t,e){const n={},i=rr(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function lr(t,e,n,i){const s=(0,H.useMemo)(()=>{const n=xe();return Qo(n,e,be(i),t.transformTemplate),p(p({},n.attrs),{},{style:p({},n.style)})},[e]);if(t.style){const e={};or(e,t.style,t),s.style=p(p({},e),s.style)}return s}function ur(t=!1){return(e,n,i,{latestValues:s},o)=>{const r=(Yo(e)?lr:ar)(n,s,o,e),a=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||(Ct(s)||!0===n&&Vo(s)||!e&&!Vo(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(n,"string"==typeof e,t),l=e!==H.Fragment?p(p(p({},a),r),{},{ref:i}):{},{children:u}=n,c=(0,H.useMemo)(()=>zt(u)?u.get():u,[u]);return(0,H.createElement)(e,p(p({},l),{},{children:c}))}}function cr(t,e){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return Ko(p(p({},Yo(n)?Pe:Te),{},{preloadedFeatures:t,useRender:ur(i),createVisualElement:e,Component:n}))}}function hr(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function dr(t,e,n){const i=t.getProps();return qo(i,e,void 0!==n?n:i.custom,t)}function pr(t,e){return t?t[e]||t.default||t:void 0}function mr(t){let e=0;let n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}function fr(t){return"function"==typeof t}function gr(t,e){t.timeline=e,t.onfinish=null}function vr(t,e){const n=Co(t);return()=>{var t;return null!==(t=Ve[e])&&void 0!==t?t:n()}}function yr(t){return Boolean("function"==typeof t&&Me()||!t||"string"==typeof t&&(t in Le||Me())||ke(t)||Array.isArray(t)&&t.every(yr))}function xr(t,e){return t?"function"==typeof t&&Me()?je(t,e):ke(t)?Re(t):Array.isArray(t)?t.map(t=>xr(t,e)||Le.easeOut):Le[t]:void 0}function br(){return Be.x||Be.y}function Fr(t,e){const n=function(t,e,n){var i;if(t instanceof Element)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);const o=null!==(i=null==n?void 0:n[t])&&void 0!==i?i:s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}(t),i=new AbortController;return[n,p(p({passive:!0},e),{},{signal:i.signal}),()=>i.abort()]}function wr(t){return e=>{"touch"===e.pointerType||br()||t(e)}}function Sr(t){return e=>{"Enter"===e.key&&t(e)}}function Pr(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Tr(t){return Ie(t)&&!br()}function Ar(t,e,n={}){const[i,s,o]=Fr(t,n),r=t=>{const i=t.currentTarget;if(!Tr(t)||Ne.has(i))return;Ne.add(i);const o=e(t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Tr(t)&&Ne.has(i)&&(Ne.delete(i),"function"==typeof o&&o(t,{success:e}))},a=t=>{r(t,n.useGlobalTarget||Oe(i,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return i.forEach(t=>{(function(t){return Ue.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),t.addEventListener("focus",t=>$e(t,s),s)}),o}function Dr(){ze=void 0}function Er(t,e){-1===t.indexOf(e)&&t.push(e)}function Cr(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function kr(t,e){return e?t*(1e3/e):0}function Vr(t,e){return new qe(t,e)}function Mr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Vr(n))}function jr(t,e){const n=t.getValue("willChange");if(i=n,Boolean(zt(i)&&i.add))return n.add(e);var i}function Rr(t){return t.props[Lt]}function Lr(t,e,n,i){if(t===e&&n===i)return at;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=Ge(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>Ze&&++a<Je);return r}(e,0,1,t,n);return t=>0===t||1===t?t:Ge(s(t),e,i)}function Br(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||un(t))}function Or(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}function Ir(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(hn))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(Fn))||void 0===n?void 0:n.length)||0)>0}function Ur(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;return{values:n,split:e.replace(Dn,t=>(bn.test(t)?(i.color.push(o),s.push(Sn),n.push(bn.parse(t))):t.startsWith(Tn)?(i.var.push(o),s.push(Pn),n.push(t)):(i.number.push(o),s.push(wn),n.push(parseFloat(t))),++o,An)).split(An),indexes:i,types:s}}function Nr(t){return Ur(t).values}function $r(t){const{split:e,types:n}=Ur(t),i=e.length;return t=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],void 0!==t[o]){const e=n[o];s+=e===wn?cn(t[o]):e===Sn?bn.transform(t[o]):t[o]}return s}}function Wr(t){const e=Nr(t);return $r(t)(e.map(En))}function zr(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(hn)||[];if(!i)return t;const s=n.replace(i,"");let o=kn.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}function Kr(t,e){let n=Rn(t);return n!==Mn&&(n=Cn),n.getAnimatableNone?n.getAnimatableNone(e):void 0}function Hr(){if(Kn){const t=Array.from(Wn).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Nn.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Kn=!1,zn=!1,Wn.forEach(t=>t.complete()),Wn.clear()}function Yr(){Wn.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Kn=!0)})}function Xr(t,e,n=1){ut(n<=qn,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,s]=function(t){const e=Xn.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${null!=n?n:i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return Yn(t)?parseFloat(t):t}return Gt(s)?Xr(s,e,n+1):s}function qr(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Qn(s,e),a=Qn(o,e);return lt(r===a,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||fr(n))&&i)}function _r(t,{repeat:e,repeatType:n="loop"},i){const s=t.filter(ti),o=e&&"loop"!==n&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}function Gr(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Zr(t,e){return n=>n>0?e:t}function Jr(t){const e=oi(t);if(lt(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let n=e.parse(t);return e===xn&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=Gr(a,i,t+1/3),o=Gr(a,i,t),r=Gr(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(n)),n}function Qr(t,e){return n=>ni(t,e,n)}function ta(t){return"number"==typeof t?Qr:"string"==typeof t?Gt(t)?Zr:bn.test(t)?ri:ci:Array.isArray(t)?ea:"object"==typeof t?bn.test(t)?ri:na:Zr}function ea(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>ta(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function na(t,e){const n=p(p({},t),e),i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=ta(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}function ia(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?ni(t,e,n):ta(t)(t,e)}function sa(t,e,n){const i=Math.max(e-hi,0);return kr(n-t(i),e-i)}function oa({duration:t=di.duration,bounce:e=di.bounce,velocity:n=di.velocity,mass:i=di.mass}){let s,o;lt(t<=ht(di.maxDuration),"Spring duration must be 10 seconds or less");let r=1-e;r=Qt(di.minDamping,di.maxDamping,r),t=Qt(di.minDuration,di.maxDuration,dt(t)),r<1?(s=e=>{const i=e*r,s=i*t,o=i-n,a=ra(e,r),l=Math.exp(-s);return pi-o/a*l},o=e=>{const i=e*r*t,o=i*n+n,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-i),u=ra(Math.pow(e,2),r);return(-s(e)+pi>0?-1:1)*((o-a)*l)/u}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-pi,o=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let s=1;s<mi;s++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=ht(t),isNaN(a))return{stiffness:di.stiffness,damping:di.damping,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*r*Math.sqrt(i*e),duration:t}}}function ra(t,e){return t*Math.sqrt(1-e*e)}function aa(t,e){return e.some(e=>void 0!==t[e])}function la(t=di.visualDuration,e=di.bounce){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:s}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:m}=function(t){let e=p({velocity:di.velocity,stiffness:di.stiffness,damping:di.damping,mass:di.mass,isResolvedFromDuration:!1},t);if(!aa(t,gi)&&aa(t,fi))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,o=2*Qt(.05,1,1-(t.bounce||0))*Math.sqrt(s);e=p(p({},e),{},{mass:di.mass,stiffness:s,damping:o})}else{const n=oa(t);e=p(p(p({},e),n),{},{mass:di.mass}),e.isResolvedFromDuration=!0}return e}(p(p({},n),{},{velocity:-dt(n.velocity||0)})),f=d||0,g=u/(2*Math.sqrt(l*c)),v=r-o,y=dt(Math.sqrt(l/c)),x=Math.abs(v)<5;let b;if(i||(i=x?di.restSpeed.granular:di.restSpeed.default),s||(s=x?di.restDelta.granular:di.restDelta.default),g<1){const t=ra(y,g);b=e=>r-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)b=t=>r-Math.exp(-y*t)*(v+(f+y*v)*t);else{const t=y*Math.sqrt(g*g-1);b=e=>{const n=Math.exp(-g*y*e),i=Math.min(t*e,300);return r-n*((f+g*y*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}const F={calculatedDuration:m&&h||null,next:t=>{const e=b(t);if(m)a.done=t>=h;else{let n=0;g<1&&(n=0===t?ht(f):sa(b,t,e));const o=Math.abs(n)<=i,l=Math.abs(r-e)<=s;a.done=o&&l}return a.value=a.done?r:e,a},toString:()=>{const t=Math.min(mr(F),Ce),e=je(e=>F.next(t*e).value,t,30);return t+"ms "+e}};return F}function ua({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=h+m,g=void 0===r?f:r(f);g!==f&&(m=g-h);const v=t=>-m*Math.exp(-t/i),y=t=>g+v(t),x=t=>{const e=v(t),n=y(t);d.done=Math.abs(e)<=u,d.value=d.done?g:n};let b,F;const w=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(b=t,F=la({keyframes:[d.value,p(d.value)],velocity:sa(y,t,d.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return F||void 0!==b||(e=!0,x(t),w(t)),void 0!==b&&t>=b?F.next(t-b):(!e&&x(t),d)}}}function ca(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const o=t.length;if(ut(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],s=n||ia,o=t.length-1;for(let r=0;r<o;r++){let n=s(t[r],t[r+1]);e&&(n=li(Array.isArray(e)?e[r]||at:e,n)),i.push(n)}return i}(e,i,s),l=a.length,u=n=>{if(r&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=ct(t[i],t[i+1],n);return a[i](s)};return n?e=>u(Qt(t[0],t[o-1],e)):u}function ha(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=ct(0,e,i);t.push(ni(n,1,s))}}(e,t.length-1),e}function da({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=bi(i)?i.map(wi):wi(i),o={done:!1,value:e[0]},r=ca(function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:ha(e),t),e,{ease:Array.isArray(s)?s:(a=e,l=s,a.map(()=>l||xi).splice(0,a.length-1))});var a,l;return{calculatedDuration:t,next:e=>(o.value=r(e),o.done=e>=t,o)}}function pa(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=xr(a,s);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:i,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}function ma({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function fa(t,e,{delay:i=0,transitionOverride:o,type:r}={}){var a;let{transition:l=t.getDefaultTransition(),transitionEnd:u}=e,c=h(e,s);o&&(l=o);const d=[],m=r&&t.animationState&&t.animationState.getState()[r];for(const n in c){const e=t.getValue(n,null!==(a=t.latestValues[n])&&void 0!==a?a:null),s=c[n];if(void 0===s||m&&ma(m,n))continue;const o=p({delay:i},pr(l||{},n));let r=!1;if(window.MotionHandoffAnimation){const e=Rr(t);if(e){const t=window.MotionHandoffAnimation(e,n,gt);null!==t&&(o.startTime=t,r=!0)}}jr(t,n),e.start(Ii(n,e,s,t.shouldReduceMotion&&We.has(n)?{type:!1}:o,t,r));const u=e.animation;u&&d.push(u)}return u&&Promise.all(d).then(()=>{gt.update(()=>{u&&function(t,e){let i=dr(t,e)||{},{transitionEnd:s={},transition:o={}}=i,r=h(i,n);r=p(p({},r),s);for(const n in r)Mr(t,n,Wt(r[n]))}(t,u)})}),d}function ga(t,e,n={}){var i;const s=dr(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);const r=s?()=>Promise.all(fa(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*i,l=1===s?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(va).forEach((t,i)=>{t.notify("AnimationStart",e),r.push(ga(t,e,p(p({},o),{},{delay:n+l(i)})).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(r)}(t,e,s+i,r,a,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then(()=>e())}return Promise.all([r(),a(n.delay)])}function va(t,e){return t.sortNodePosition(e)}function ya(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&ya(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Ui;n++){const i=Mt[n],s=t.props[i];(Ro(s)||!1===s)&&(e[i]=s)}return e}function xa(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map(e=>ga(t,e,n));i=Promise.all(s)}else if("string"==typeof e)i=ga(t,e,n);else{const s="function"==typeof e?dr(t,e,n.custom):e;i=Promise.all(fa(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function ba(t){let e=xa(t),n=Sa(),i=!0;const s=e=>(n,i)=>{var s;const r=dr(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(r){const{transition:t,transitionEnd:e}=r,i=h(r,o);n=p(p(p({},n),i),e)}return n};function r(o){const{props:r}=t,a=ya(t.parent)||{},l=[],u=new Set;let c={},h=1/0;for(let e=0;e<$i;e++){const d=Ni[e],m=n[d],f=void 0!==r[d]?r[d]:a[d],g=Ro(f),v=d===o?m.isActive:null;!1===v&&(h=e);let y=f===a[d]&&f!==r[d]&&g;if(y&&i&&t.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=p({},c),!m.isActive&&null===v||!f&&!m.prevProp||Lo(f)||"boolean"==typeof f)continue;const x=Fa(m.prevProp,f);let b=x||d===o&&m.isActive&&!y&&g||e>h&&g,F=!1;const w=Array.isArray(f)?f:[f];let S=w.reduce(s(d),{});!1===v&&(S={});const{prevResolvedValues:P={}}=m,T=p(p({},P),S),A=e=>{b=!0,u.has(e)&&(F=!0,u.delete(e)),m.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in T){const e=S[t],n=P[t];if(c.hasOwnProperty(t))continue;let i=!1;i=Nt(e)&&Nt(n)?!hr(e,n):e!==n,i?null!=e?A(t):u.add(t):void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0}m.prevProp=f,m.prevResolvedValues=S,m.isActive&&(c=p(p({},c),S)),i&&t.blockInitialAnimation&&(b=!1),!b||y&&x&&!F||l.push(...w.map(t=>({animation:t,options:{type:d}})))}if(u.size){const e={};u.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=null!=i?i:null}),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;const o=r(e);for(const t in n)n[t].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=Sa(),i=!0}}}function Fa(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!hr(e,t)}function wa(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sa(){return{animate:wa(!0),whileInView:wa(),whileHover:wa(),whileTap:wa(),whileDrag:wa(),whileFocus:wa(),exit:wa()}}function Pa(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function Ta(t){return{point:{x:t.pageX,y:t.pageY}}}function Aa(t,e,n,i){return Pa(t,e,Xi(n),i)}function Da(t,e){return e?{point:e(t.point)}:t}function Ea(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ca({point:t},e){return{point:t,delta:Ea(t,Va(e)),offset:Ea(t,ka(e)),velocity:Ma(e,.1)}}function ka(t){return t[0]}function Va(t){return t[t.length-1]}function Ma(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Va(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>ht(e)));)n--;if(!i)return{x:0,y:0};const o=dt(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function ja(t){return t.max-t.min}function Ra(t,e,n,i=.5){t.origin=i,t.originPoint=ni(e.min,e.max,t.origin),t.scale=ja(n)/ja(e),t.translate=ni(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Gi&&t.scale<=Zi||isNaN(t.scale))&&(t.scale=1),(t.translate>=Ji&&t.translate<=Qi||isNaN(t.translate))&&(t.translate=0)}function La(t,e,n,i){Ra(t.x,e.x,n.x,i?i.originX:void 0),Ra(t.y,e.y,n.y,i?i.originY:void 0)}function Ba(t,e,n){t.min=n.min+e.min,t.max=t.min+ja(e)}function Oa(t,e,n){t.min=e.min-n.min,t.max=t.min+ja(e)}function Ia(t,e,n){Oa(t.x,e.x,n.x),Oa(t.y,e.y,n.y)}function Ua(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Na(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function $a(t,e,n){return{min:Wa(t,e),max:Wa(t,n)}}function Wa(t,e){return"number"==typeof t?t:t[e]||0}function za(t){return[t("x"),t("y")]}function Ka({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Ha(t){return void 0===t||1===t}function Ya({scale:t,scaleX:e,scaleY:n}){return!Ha(t)||!Ha(e)||!Ha(n)}function Xa(t){return Ya(t)||qa(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function qa(t){return _a(t.x)||_a(t.y)}function _a(t){return t&&"0%"!==t}function Ga(t,e,n){return n+e*(t-n)}function Za(t,e,n,i,s){return void 0!==s&&(t=Ga(t,s,i)),Ga(t,n,i)+e}function Ja(t,e=0,n=1,i,s){t.min=Za(t.min,e,n,i,s),t.max=Za(t.max,e,n,i,s)}function Qa(t,{x:e,y:n}){Ja(t.x,e.translate,e.scale,e.originPoint),Ja(t.y,n.translate,n.scale,n.originPoint)}function tl(t,e){t.min=t.min+e,t.max=t.max+e}function el(t,e,n,i,s=.5){Ja(t,e,n,ni(t.min,t.max,s),i)}function nl(t,e){el(t.x,e.x,e.scaleX,e.scale,e.originX),el(t.y,e.y,e.scaleY,e.scale,e.originY)}function il(t,e){return Ka(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}function sl(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}function ol(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}function rl(t){const[e,n]=function(t=!0){const e=(0,H.useContext)(it);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:i,register:s}=e,o=(0,H.useId)();(0,H.useEffect)(()=>{t&&s(o)},[t]);const r=(0,H.useCallback)(()=>t&&i&&i(o),[o,i,t]);return!n&&i?[!1,r]:[!0]}(),i=(0,H.useContext)(nt);return(0,_.jsx)(ms,p(p({},t),{},{layoutGroup:i,switchLayoutGroup:(0,H.useContext)(It),isPresent:e,safeToRemove:n}))}function al(t,e){return void 0!==t[e]?t[e]:t.borderRadius}function ll(t,e,n){return i=>i<t?0:i>e?1:n(ct(t,e,i))}function ul(t,e){t.min=e.min,t.max=e.max}function cl(t,e){ul(t.x,e.x),ul(t.y,e.y)}function hl(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function dl(t,e,n,i,s){return t=Ga(t-=e,1/n,i),void 0!==s&&(t=Ga(t,1/s,i)),t}function pl(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){if(oe.test(e)&&(e=parseFloat(e),e=ni(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=ni(o.min,o.max,i);t===o&&(a-=e),t.min=dl(t.min,e,n,a,s),t.max=dl(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}function ml(t,e,n,i){pl(t.x,e,Ps,n?n.x:void 0,i?i.x:void 0),pl(t.y,e,Ts,n?n.y:void 0,i?i.y:void 0)}function fl(t){return 0===t.translate&&1===t.scale}function gl(t){return fl(t.x)&&fl(t.y)}function vl(t,e){return t.min===e.min&&t.max===e.max}function yl(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function xl(t,e){return yl(t.x,e.x)&&yl(t.y,e.y)}function bl(t){return ja(t.x)/ja(t.y)}function Fl(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function wl(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Sl(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Rr(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",gt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Sl(i)}function Pl({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=Ms++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Es&&(Ds.totalNodes=Ds.resolvedTargetDeltas=Ds.recalculatedProjection=0),this.nodes.forEach(Dl),this.nodes.forEach(Rl),this.nodes.forEach(Ll),this.nodes.forEach(El),Es&&window.MotionDebug.record(Ds)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new vs)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new He),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=e)instanceof SVGElement&&"svg"!==i.tagName,this.instance=e;const{layoutId:s,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||s)&&(this.isLayoutDirty=!0),t){let n;const i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=Ke.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&(vt(i),t(o-e))};return gt.read(i,!0),()=>vt(i)}(i,250),hs.hasAnimatedSinceResize&&(hs.hasAnimatedSinceResize=!1,this.nodes.forEach(jl))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&r&&(s||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||r.getDefaultTransition()||js,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!xl(this.targetLayout,i)||n,u=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);const e=p(p({},pr(s,"layout")),{},{onPlay:o,onComplete:a});(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||jl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Bl),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Sl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(kl);this.isUpdating||this.nodes.forEach(Vl),this.isUpdating=!1,this.nodes.forEach(Ml),this.nodes.forEach(Tl),this.nodes.forEach(Al),this.clearAllSnapshots();const t=Ke.now();yt.delta=Qt(0,1e3/60,t-yt.timestamp),yt.timestamp=t,yt.isProcessing=!0,xt.update.process(yt),xt.preRender.process(yt),xt.render.process(yt),yt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Bt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Cl),this.sharedNodes.forEach(Ol)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++)this.path[n].updateScroll();const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ns(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!gl(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&(e||Xa(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),$l((i=n).x),$l(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return ns();const n=e.measureViewportBox();if(!(null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)&&!this.path.some(zl)){const{scroll:t}=this.root;t&&(tl(n.x,t.offset.x),tl(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n=ns();if(cl(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let i=0;i<this.path.length;i++){const e=this.path[i],{scroll:s,options:o}=e;e!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&cl(n,t),tl(n.x,s.offset.x),tl(n.y,s.offset.y))}return n}applyTransform(t,e=!1){const n=ns();cl(n,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&nl(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),Xa(t.latestValues)&&nl(n,t.latestValues)}return Xa(this.latestValues)&&nl(n,this.latestValues),n}removeTransform(t){const e=ns();cl(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!Xa(t.latestValues))continue;Ya(t.latestValues)&&t.updateSnapshot();const i=ns();cl(i,t.measurePageBox()),ml(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return Xa(this.latestValues)&&ml(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=p(p(p({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==yt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=yt.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ns(),this.relativeTargetOrigin=ns(),Ia(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),cl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var r,a,l;if(this.target||(this.target=ns(),this.targetWithTransforms=ns()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ba(r.x,a.x,l.x),Ba(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):cl(this.target,this.layout.layoutBox),Qa(this.target,this.targetDelta)):cl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ns(),this.relativeTargetOrigin=ns(),Ia(this.relativeTargetOrigin,this.target,t.target),cl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Es&&Ds.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ya(this.parent.latestValues)&&!qa(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===yt.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;cl(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&nl(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Qa(t,r)),i&&Xa(o.latestValues)&&nl(t,o.latestValues))}e.x<ss&&e.x>is&&(e.x=1),e.y<ss&&e.y>is&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms=ns());const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(hl(this.prevProjectionDelta.x,this.projectionDelta.x),hl(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),La(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Fl(this.projectionDelta.x,this.prevProjectionDelta.x)&&Fl(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Es&&Ds.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=es(),this.projectionDelta=es(),this.projectionDeltaWithTransform=es()}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s=p({},this.latestValues),o=es();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r=ns(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(Nl));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,g;Il(o.x,t.x,n),Il(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ia(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,g=n,Ul(p.x,m.x,f.x,g),Ul(p.y,m.y,f.y,g),h&&(l=this.relativeTarget,d=h,vl(l.x,d.x)&&vl(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h=ns()),cl(h,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=ni(0,void 0!==n.opacity?n.opacity:1,ws(i)),t.opacityExit=ni(void 0!==e.opacity?e.opacity:1,0,Ss(i))):o&&(t.opacity=ni(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<xs;r++){const s=`border${ys[r]}Radius`;let o=al(e,s),a=al(n,s);void 0===o&&void 0===a||(o||(o=0),a||(a=0),0===o||0===a||Fs(o)===Fs(a)?(t[s]=Math.max(ni(bs(o),bs(a),i),0),(oe.test(a)||oe.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=ni(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=gt.update(()=>{hs.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const i=zt(t)?t:Vr(t);return i.start(Ii("",i,e,n)),i.animation}(0,Vs,p(p({},t),{},{onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Vs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Wl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||ns();const e=ja(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=ja(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}cl(e,n),nl(e,s),La(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new As),this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&wl("z",t,i,this.animationValues);for(let s=0;s<Cs.length;s++)wl(`rotate${Cs[s]}`,t,i,this.animationValues),wl(`skew${Cs[s]}`,t,i,this.animationValues);t.render();for(const s in i)t.setStaticValue(s,i[s]),this.animationValues&&(this.animationValues[s]=i[s]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ks;const i={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=_o(null==t?void 0:t.pointerEvents)||"",i.transform=s?s(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=_o(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!Xa(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null==n?void 0:n.z)||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),r&&(i+=`skewX(${r}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),s&&(i.transform=s(r,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:i.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const u in we){if(void 0===r[u])continue;const{correct:t,applyTo:e}=we[u],n="none"===i.transform?r[u]:t(r[u],o);if(e){const t=e.length;for(let s=0;s<t;s++)i[e[s]]=n}else i[u]=n}return this.options.layoutId&&(i.pointerEvents=o===this?_o(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(kl),this.root.sharedNodes.clear()}}}function Tl(t){t.updateLayout()}function Al(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?za(t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=ja(i);i.min=e[t].min,i.max=i.min+s}):Wl(s,n.layoutBox,e)&&za(i=>{const s=o?n.measuredBox[i]:n.layoutBox[i],r=ja(e[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r=es();La(r,e,n.layoutBox);const a=es();o?La(a,t.applyTransform(i,!0),n.measuredBox):La(a,e,n.layoutBox);const l=!gl(r);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r=ns();Ia(r,n.layoutBox,s.layoutBox);const a=ns();Ia(a,e,o.layoutBox),xl(r,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Dl(t){Es&&Ds.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function El(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Cl(t){t.clearSnapshot()}function kl(t){t.clearMeasurements()}function Vl(t){t.isLayoutDirty=!1}function Ml(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function jl(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Rl(t){t.resolveTargetDelta()}function Ll(t){t.calcProjection()}function Bl(t){t.resetSkewAndRotation()}function Ol(t){t.removeLeadSnapshot()}function Il(t,e,n){t.translate=ni(e.translate,0,n),t.scale=ni(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ul(t,e,n,i){t.min=ni(e.min,n.min,i),t.max=ni(e.max,n.max,i)}function Nl(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}function $l(t){t.min=Ls(t.min),t.max=Ls(t.max)}function Wl(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=bl(e),s=bl(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function zl(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}function Kl(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&>.postRender(()=>s(e,Ta(e)))}function Hl(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&>.postRender(()=>s(e,Ta(e)))}function Yl(t,e,n){const i=function(t){let{root:e}=t,n=h(t,r);const i=e||document;Ks.has(i)||Ks.set(i,{});const s=Ks.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(Ys,p({root:e},n))),s[o]}(e);return zs.set(t,n),i.observe(t),()=>{zs.delete(t),i.unobserve(t)}}function Xl({name:t,label:e,type:n="text",value:i="",isDisabled:s,isLoading:o,maxLength:r=255,prefixIcon:a,className:l,onChange:u}){return(0,_.jsxs)("div",{className:`${co} ${l||""}`,children:[(0,_.jsx)("input",{className:ho,type:n,id:t,name:t,placeholder:e,value:i,max:r,disabled:o||s,"data-is-loading":o,"data-has-prefix-icon":!!a,onChange:t=>{void 0!==u&&u(t)},"data-1p-ignore":!0}),(0,_.jsx)(uo.label,{htmlFor:t,className:po,children:e}),void 0!==a&&(0,_.jsx)(a,{className:mo})]})}function ql(){var t;const e=(0,H.useRef)(null),{t:n}=P("neighborhoodShowcase"),[i,s]=(0,H.useState)(!1),[o,r]=(0,H.useState)(""),a=L(o,500),{myNeighborhoods:l,singleNeighborhoodURLSchema:u}=Z(),{sdkState:c}=I(),h=(null===(t=c.options)||void 0===t?void 0:t.urlSchemaSpacer)||"-",[d,p]=(0,H.useState)([]),[m,f]=(0,H.useState)([]),{data:g,isFetched:v,isLoading:y}=function({search:t,pageSize:e=10}){var n,i;const{sdkState:s}=I(),o=bo[(null===(n=s.globalOptions)||void 0===n||null===(n=n.environment)||void 0===n?void 0:n.api)||"prod"];return T({queryKey:["neighborhoods",t],queryFn:async()=>{var n;const i={include:"configurations",page_size:`${e}`};return t&&(i.search=t),fetch(`${o}/sdk/neighborhoods/${null==s||null===(n=s.globalOptions)||void 0===n?void 0:n.externalId}?${new URLSearchParams(i)}`,{headers:{Accept:"application/json",Authorization:s.apiKey,"x-ll-sdk-name":"neighborhood-showcase"},method:"GET"}).then(t=>{if([204,404].includes(t.status))return null;if(t.status>=300)throw new Error(`Request failed with status ${t.status}`);return t.json()}).then(t=>(t.neighborhoods||[]).map(e=>{var n;return z((null===(n=s.globalOptions)||void 0===n?void 0:n.locale)||"en",e,t.configurations[e.geog_id])})).catch(t=>{R.captureException(t)})},enabled:!(null==s||null===(i=s.globalOptions)||void 0===i||!i.externalId||!t||!s.apiKey)})}({search:a}),x=(0,H.useMemo)(()=>null==l?void 0:l.map(t=>t.geogId),[l]);(0,H.useEffect)(()=>{v&&!y&&(p((null==g?void 0:g.filter(t=>!(null!=x&&x.includes(t.geogId))))||[]),f((null==g?void 0:g.filter(t=>null==x?void 0:x.includes(t.geogId)))||[]),s((null==g?void 0:g.length)>0))},[g,v,y]),Fo(e,"click",()=>{s(!1),r("")});return(0,_.jsxs)("div",{className:fo,ref:e,children:[(0,_.jsx)(Xl,{name:"searchNeighborhoods",prefixIcon:M,label:n("header.search.placeholder"),value:o,onChange:t=>{r(t.target.value)}}),i&&(0,_.jsx)("div",{className:go,children:(0,_.jsxs)("ul",{className:vo,children:[(null==d?void 0:d.length)>0&&(0,_.jsx)("li",{className:yo,"data-is-title":!0,children:n("header.search.results.all")}),null==d?void 0:d.map(t=>(0,_.jsx)("li",{className:yo,children:(0,_.jsx)("a",{className:xo,href:u&&W(u,t,h),target:"_parent",rel:"noreferrer",children:t.name})},t.geogId)),(null==m?void 0:m.length)>0&&(0,_.jsx)("li",{className:yo,"data-is-title":!0,children:n("header.search.results.featured")}),null==m?void 0:m.map(t=>(0,_.jsx)("li",{className:yo,children:(0,_.jsx)("a",{className:xo,href:u&&W(u,t,h),target:"_parent",rel:"noreferrer",children:t.name})},t.geogId))]})})]})}function _l(){const{t:t}=P("neighborhoodShowcase");return(0,_.jsxs)("div",{className:wo,children:[(0,_.jsx)("h1",{className:So,children:t("header.title")}),(0,_.jsx)("p",{className:Po,children:t("header.description")}),(0,_.jsx)(ql,{})]})}function Gl(){return(0,_.jsxs)("div",{className:To,children:[(0,_.jsx)(_l,{}),(0,_.jsx)(et,{})]})}return{setters:[function(t){f=t.a,g=t.i,v=t.n,y=t.r},function(t){x=t.l},function(t){b=t.t},function(t){F=t.a,w=t.d,S=t.f,P=t.g,T=t.h,A=t.n,D=t.o,E=t.r,C=t.s,k=t.t,V=t.u},function(t){M=t.t},function(t){j=t.B,R=t._t,L=t.n,B=t.q,O=t.r,I=t.t},function(t){U=t.t},function(t){N=t.t},function(t){$=t.t},function(t){},function(t){W=t.n,z=t.r,K=t.t}],execute:function(){H=f(x(),1),Y={dev:"https://api-qa.locallogic.co/neighborhood-management-v1",qa:"https://api-qa.locallogic.co/neighborhood-management-v1",prod:"https://api.locallogic.co/neighborhood-management-v1"},X=function(t){return t.SDK_VIEWED="neighborhood-showcase-Viewed",t.NEIGHBORHOOD_CARD_CLICKED="neighborhood-gateway-Card-Clicked",t}({}),q=function(t){return t.SDK_VIEWED="sdk_viewed",t.NEIGHBORHOOD_CARD_CLICKED="neighborhood_gateway_Card_Clicked",t}({}),_=B(),G=H.createContext({}),Z=()=>(0,H.useContext)(G),J=({children:t})=>{var e,n;const{sdkState:i}=I(),s=C();O(()=>{s.postEvent({eventType:X.SDK_VIEWED}),s.trackAnalyticsEvent({eventName:q.SDK_VIEWED})});const{data:o,isFetched:r,isLoading:a}=function(){var t,e;const{sdkState:n}=I(),i=Y[(null===(t=n.globalOptions)||void 0===t||null===(t=t.environment)||void 0===t?void 0:t.api)||"prod"];return T({queryKey:["myNeighborhoods"],queryFn:async()=>{var t;return fetch(`${i}/sdk/my-neighborhoods/${null==n||null===(t=n.globalOptions)||void 0===t?void 0:t.externalId}?include=configurations&page_size=100`,{headers:{Accept:"application/json",Authorization:n.apiKey,"x-ll-sdk-name":"neighborhood-showcase"},method:"GET"}).then(t=>{if([204,404].includes(t.status))return null;if(t.status>=300)throw new Error(`Request failed with status ${t.status}`);return t.json()}).then(t=>{var e;return((null===(e=t.neighborhoods)||void 0===e?void 0:e.value)||[]).map(e=>{var i;return z((null===(i=n.globalOptions)||void 0===i?void 0:i.locale)||"en",e,t.configurations[e.geog_id])}).sort((t,e)=>t.name.localeCompare(e.name))}).catch(t=>{R.captureException(t)})},enabled:!(null==n||null===(e=n.globalOptions)||void 0===e||!e.externalId||!n.apiKey)})}();if(null===(e=i.globalOptions)||void 0===e||!e.externalId)throw new Error("externalId is required to launch the SDK");return(0,_.jsx)(G.Provider,{value:{isLoading:a,isFetched:r,myNeighborhoods:o,singleNeighborhoodURLSchema:null===(n=i.options)||void 0===n?void 0:n.singleNeighborhoodURLSchema},children:t})},Q="w-full h-full flex justify-center align-cennter",tt="w-full h-full bg-ll-surface py-6 px-5 rounded-md text-ll-placeholder",et=()=>{var t;const{myNeighborhoods:e,singleNeighborhoodURLSchema:n,isFetched:i}=Z(),{sdkState:s}=I(),o=(null===(t=s.options)||void 0===t?void 0:t.urlSchemaSpacer)||"-";return i?e?(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:"\n grid gap-4\n grid-cols-1\n md:grid-cols-2\n lg:grid-cols-3\n xl:grid-cols-4\n",children:null==e?void 0:e.map((t,e)=>(0,_.jsx)("div",{className:"\n w-full\n",children:(0,_.jsx)(K,{href:n&&W(n,t,o),neighborhood:t})},e))})}):(0,_.jsx)(Eo,{}):(0,_.jsx)(Do,{})},nt=(0,H.createContext)({}),it=(0,H.createContext)(null),st=(0,H.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ot="undefined"!=typeof window,rt=ot?H.useLayoutEffect:H.useEffect,lt=at=t=>t,ut=at,ct=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i},ht=t=>1e3*t,dt=t=>t/1e3,pt={skipAnimations:!1,useManualTiming:!1},mt=["read","resolveKeyframes","update","preRender","render","postRender"],ft=40,({schedule:gt,cancel:vt,state:yt,steps:xt}=ko("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:at,!0)),bt=(0,H.createContext)({strict:!1}),Ft={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},wt={};for(const n in Ft)wt[n]={isEnabled:t=>Ft[n].some(e=>!!t[e])};St=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]),Pt=v(()=>{}),Tt=y({default:()=>Dt}),Et=v(()=>{Pt(),At=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Dt=Mo(function(t){return At.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})}),Ct=t=>!Vo(t);try{(t=(Et(),g(Tt)).default)&&(Ct=e=>e.startsWith("on")?!Vo(e):t(e))}catch(e){}var t;kt=(0,H.createContext)({}),Vt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Mt=["initial",...Vt],jt=Symbol.for("motionComponentSymbol"),Lt="data-"+(Rt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())("framerAppearId"),({schedule:Bt,cancel:Ot}=ko(queueMicrotask,!1)),It=(0,H.createContext)({}),Ut=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"],Nt=t=>Array.isArray(t),$t=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),Wt=t=>Nt(t)?t[t.length-1]||0:t,zt=t=>Boolean(t&&t.getVelocity),Kt=t=>(e,n)=>{const i=(0,H.useContext)(kt),s=(0,H.useContext)(it),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},i,s,o){const r={latestValues:Go(i,s,o,t),renderState:e()};return n&&(r.onMount=t=>n(p({props:i,current:t},r)),r.onUpdate=t=>n(t)),r}(t,e,i,s);return n?o():function(t){const e=(0,H.useRef)(null);return null===e.current&&(e.current=t()),e.current}(o)},Ht=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yt=new Set(Ht),qt=(Xt=t=>e=>"string"==typeof e&&e.startsWith(t))("--"),_t=Xt("var(--"),Gt=t=>!!_t(t)&&Zt.test(t.split("/*")[0].trim()),Zt=/var\(--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)$/i,Jt=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Qt=(t,e,n)=>n>e?e:n<t?t:n,te={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ee=p(p({},te),{},{transform:t=>Qt(0,1,t)}),ne=p(p({},te),{},{default:1}),se=(ie=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}))("deg"),oe=ie("%"),re=ie("px"),ae=ie("vh"),le=ie("vw"),ue=p(p({},oe),{},{parse:t=>oe.parse(t)/100,transform:t=>oe.transform(100*t)}),ce={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,radius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,backgroundPositionX:re,backgroundPositionY:re},he={rotate:se,rotateX:se,rotateY:se,rotateZ:se,scale:ne,scaleX:ne,scaleY:ne,scaleZ:ne,skew:se,skewX:se,skewY:se,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:ee,originX:ue,originY:ue,originZ:re},de=p(p({},te),{},{transform:Math.round}),pe=p(p(p({},ce),he),{},{zIndex:de,size:re,fillOpacity:ee,strokeOpacity:ee,numOctaves:de}),me={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fe=Ht.length,ge={offset:"stroke-dashoffset",array:"stroke-dasharray"},ve={offset:"strokeDashoffset",array:"strokeDasharray"},ye=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),xe=()=>p(p({},ye()),{},{attrs:{}}),be=t=>"string"==typeof t&&"svg"===t.toLowerCase(),Fe=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),we={},Se=["x","y","width","height","cx","cy","r"],Pe={useVisualState:Kt({scrapeMotionValuesFromProps:sr,createRenderState:xe,onUpdate:({props:t,prevProps:e,current:n,renderState:i,latestValues:s})=>{if(!n)return;let o=!!t.drag;if(!o)for(const a in s)if(Yt.has(a)){o=!0;break}if(!o)return;let r=!e;if(e)for(let a=0;a<Se.length;a++){const n=Se[a];t[n]!==e[n]&&(r=!0)}r&>.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(n){e.dimensions={x:0,y:0,width:0,height:0}}}(n,i),gt.render(()=>{Qo(i,s,be(n.tagName),t.transformTemplate),er(n,i)})})}})},Te={useVisualState:Kt({scrapeMotionValuesFromProps:ir,createRenderState:ye})},Ae=Co(()=>void 0!==window.ScrollTimeline),De=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t,e){const n=this.animations.map(n=>Ae()&&n.attachTimeline?n.attachTimeline(t):"function"==typeof e?e(n):void 0);return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},Ee=class extends De{then(t,e){return Promise.all(this.animations).then(t).catch(e)}},Ce=2e4,ke=t=>Array.isArray(t)&&"number"==typeof t[0],Ve={linearEasing:void 0},Me=vr(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),je=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let o=0;o<s;o++)i+=t(ct(0,s-1,o))+", ";return`linear(${i.substring(0,i.length-2)})`},Le={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:(Re=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`)([0,.65,.55,1]),circOut:Re([.55,0,1,.45]),backIn:Re([.31,.01,.66,-.59]),backOut:Re([.33,1.53,.69,.99])},Be={x:!1,y:!1},Oe=(t,e)=>!!e&&(t===e||Oe(t,e.parentElement)),Ie=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,Ue=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),Ne=new WeakSet,$e=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=Sr(()=>{if(Ne.has(n))return;Pr(n,"down");const t=Sr(()=>{Pr(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Pr(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)},We=new Set(["width","height","top","left","right","bottom",...Ht]),Ke={now:()=>(void 0===ze&&Ke.set(yt.isProcessing||pt.useManualTiming?yt.timestamp:performance.now()),ze),set:t=>{ze=t,queueMicrotask(Dr)}},He=class{constructor(){this.subscriptions=[]}add(t){return Er(this.subscriptions,t),()=>Cr(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Ye=t=>!isNaN(parseFloat(t)),Xe={current:void 0},qe=class{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const n=Ke.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=Ye(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new He);const n=this.events[t].add(e);return"change"===t?()=>{n(),gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Xe.current&&Xe.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ke.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return kr(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},_e={current:!1},Ge=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Ze=1e-7,Je=12,sn=(Qe=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2)(nn=(tn=t=>e=>1-t(1-e))(en=Lr(.33,1.53,.69,.99))),on=t=>(t*=2)<1?.5*nn(t):.5*(2-Math.pow(2,-10*(t-1))),an=tn(rn=t=>1-Math.sin(Math.acos(t))),ln=Qe(rn),un=t=>/^0(?:[\0-\x08\x0E-\x1F!-\x2D\/-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/.test(t),cn=t=>Math.round(1e5*t)/1e5,hn=/-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/g,dn=/^(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))$/i,pn=(t,e)=>n=>Boolean("string"==typeof n&&dn.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),mn=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[s,o,r,a]=i.match(hn);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},fn=t=>Qt(0,255,t),gn=p(p({},te),{},{transform:t=>Math.round(fn(t))}),vn={test:pn("rgb","red"),parse:mn("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+gn.transform(t)+", "+gn.transform(e)+", "+gn.transform(n)+", "+cn(ee.transform(i))+")"},yn={test:pn("#"),parse:Or,transform:vn.transform},xn={test:pn("hsl","hue"),parse:mn("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+oe.transform(cn(e))+", "+oe.transform(cn(n))+", "+cn(ee.transform(i))+")"},bn={test:t=>vn.test(t)||yn.test(t)||xn.test(t),parse:t=>vn.test(t)?vn.parse(t):xn.test(t)?xn.parse(t):yn.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?vn.transform(t):xn.transform(t)},Fn=/(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))/gi,wn="number",Sn="color",Pn="var",Tn="var(",An="${}",Dn=/var[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)|#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\)|-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/gi,En=t=>"number"==typeof t?0:t,Cn={test:Ir,parse:Nr,createTransformer:$r,getAnimatableNone:Wr},kn=new Set(["brightness","contrast","saturate","opacity"]),Vn=/\b([\x2Da-z]*)\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\)/g,Mn=p(p({},Cn),{},{getAnimatableNone:t=>{const e=t.match(Vn);return e?e.map(zr).join(" "):t}}),jn=p(p({},pe),{},{color:bn,backgroundColor:bn,outlineColor:bn,fill:bn,stroke:bn,borderColor:bn,borderTopColor:bn,borderRightColor:bn,borderBottomColor:bn,borderLeftColor:bn,filter:Mn,WebkitFilter:Mn}),Rn=t=>jn[t],Ln=new Set(["auto","none","0"]),Bn=t=>t===te||t===re,On=(t,e)=>parseFloat(t.split(", ")[e]),In=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const s=i.match(/^matrix3d\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);if(s)return On(s[1],e);{const e=i.match(/^matrix\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);return e?On(e[1],t):0}},Un=new Set(["x","y","z"]),Nn=Ht.filter(t=>!Un.has(t)),($n={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:In(4,13),y:In(5,14)}).translateX=$n.x,$n.translateY=$n.y,Wn=new Set,zn=!1,Kn=!1,Hn=class{constructor(t,e,n,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Wn.add(this),zn||(zn=!0,gt.read(Yr),gt.resolveKeyframes(Hr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){const s=null==i?void 0:i.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Wn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Wn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},Yn=t=>/^-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)$/.test(t),Xn=/^var\(--(?:([\x2D0-9A-Z_a-z]+)|([\x2D0-9A-Z_a-z]+), ?([ #%\(\),-\.0-9A-Za-z]+))\)/,qn=4,_n=t=>e=>e.test(t),Gn=[te,re,oe,se,le,ae,{test:t=>"auto"===t,parse:t=>t}],Zn=t=>Gn.find(_n(t)),Jn=class extends Hn{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"==typeof n&&(n=n.trim(),Gt(n))){const i=Xr(n,e.current);void 0!==i&&(t[a]=i),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!We.has(n)||2!==t.length)return;const[i,s]=t,o=Zn(i),r=Zn(s);if(o!==r)if(Bn(o)&&Bn(r))for(let a=0;a<t.length;a++){const e=t[a];"string"==typeof e&&(t[a]=parseFloat(e))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)Br(t[i])&&n.push(i);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!Ln.has(e)&&Ur(e).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=Kr(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$n[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,r=i[o];i[o]=$n[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Qn=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Cn.test(t)&&"0"!==t||t.startsWith("url("))),ti=t=>null!==t,ei=class{constructor(t){let{autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:r="loop"}=t,l=h(t,a);this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Ke.now(),this.options=p({autoplay:e,delay:n,type:i,repeat:s,repeatDelay:o,repeatType:r},l),this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(Yr(),Hr()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=Ke.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:s,delay:o,onComplete:r,onUpdate:a,isGenerator:l}=this.options;if(!l&&!qr(t,n,i,s)){if(_e.current||!o)return a&&a(_r(t,this.options,e)),r&&r(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(t,e);!1!==u&&(this._resolved=p({keyframes:t,finalKeyframe:e},u),this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}},ni=(t,e,n)=>t+(e-t)*n,ii=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},si=[yn,vn,xn],oi=t=>si.find(e=>e.test(t)),ri=(t,e)=>{const n=Jr(t),i=Jr(e);if(!n||!i)return Zr(t,e);const s=p({},n);return t=>(s.red=ii(n.red,i.red,t),s.green=ii(n.green,i.green,t),s.blue=ii(n.blue,i.blue,t),s.alpha=ni(n.alpha,i.alpha,t),vn.transform(s))},ai=(t,e)=>n=>e(t(n)),li=(...t)=>t.reduce(ai),ui=new Set(["none","hidden"]),ci=(t,e)=>{const n=Cn.createTransformer(e),i=Ur(t),s=Ur(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?ui.has(t)&&!s.values.length||ui.has(e)&&!i.values.length?function(t,e){return ui.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):li(ea(function(t,e){var n;const i=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][s[r]];i[o]=null!==(n=t.values[a])&&void 0!==n?n:0,s[r]++}return i}(i,s),s.values),n):(lt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Zr(t,e))},hi=5,di={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},pi=.001,mi=12,fi=["duration","bounce"],gi=["stiffness","damping","mass"],vi=Lr(.42,0,1,1),yi=Lr(0,0,.58,1),bi=t=>Array.isArray(t)&&"number"!=typeof t[0],Fi={linear:at,easeIn:vi,easeInOut:xi=Lr(.42,0,.58,1),easeOut:yi,circIn:rn,circInOut:ln,circOut:an,backIn:nn,backInOut:sn,backOut:en,anticipate:on},wi=t=>{if(ke(t)){ut(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,s]=t;return Lr(e,n,i,s)}return"string"==typeof t?(ut(void 0!==Fi[t],`Invalid easing type '${t}'`),Fi[t]):t},Si=t=>{const e=({timestamp:e})=>t(e);return{start:()=>gt.update(e,!0),stop:()=>vt(e),now:()=>yt.isProcessing?yt.timestamp:Ke.now()}},Pi={decay:ua,inertia:ua,tween:da,keyframes:da,spring:la},Ti=t=>t/100,Ai=class extends ei{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&&t()};const{name:e,motionValue:n,element:i,keyframes:s}=this.options,o=(null==i?void 0:i.KeyframeResolver)||Hn;this.resolver=new o(s,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:e="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,r=fr(e)?e:Pi[e]||da;let a,l;r!==da&&"number"!=typeof t[0]&&(a=li(Ti,ia(t[0],t[1])),t=[0,100]);const u=r(p(p({},this.options),{},{keyframes:t}));"mirror"===s&&(l=r(p(p({},this.options),{},{keyframes:[...t].reverse(),velocity:-o}))),null===u.calculatedDuration&&(u.calculatedDuration=mr(u));const{calculatedDuration:c}=u,h=c+i;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-i}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:n}=this;if(!n){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:r,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return s.next(0);const{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=s;if(d){const t=Math.min(this.currentTime,u)/c;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,d+1),Boolean(e%2)&&("reverse"===p?(n=1-n,m&&(n-=m/c)):"mirror"===p&&(x=o)),y=Qt(0,1,n)*c}const b=v?{done:!1,value:a[0]}:x.next(y);r&&(b.value=r(b.value));let{done:F}=b;v||null===l||(F=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&F);return w&&void 0!==i&&(b.value=_r(a,this.options,i)),f&&f(b.value),w&&this.finish(),b}get duration(){const{resolved:t}=this;return t?dt(t.calculatedDuration):0}get time(){return dt(this.currentTime)}set time(t){t=ht(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=dt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=Si,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}},Di=new Set(["opacity","clipPath","filter","transform"]),Ei=Co(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ci=10,ki=2e4,Vi={anticipate:on,backInOut:sn,circInOut:ln},Mi=class extends ei{constructor(t){super(t);const{name:e,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new Jn(s,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){let{duration:n=300,times:i,ease:s,type:o,motionValue:r,name:a,startTime:u}=this.options;if(!r.owner||!r.owner.current)return!1;var c;if("string"==typeof s&&Me()&&s in Vi&&(s=Vi[s]),fr((c=this.options).type)||"spring"===c.type||!yr(c.ease)){const e=this.options,{onComplete:r,onUpdate:a,motionValue:u,element:c}=e,d=h(e,l),m=function(t,e){const n=new Ai(p(p({},e),{},{keyframes:t,repeat:0,delay:0,isGenerator:!0}));let i={done:!1,value:t[0]};const s=[];let o=0;for(;!i.done&&o<ki;)i=n.sample(o),s.push(i.value),o+=Ci;return{times:void 0,keyframes:s,duration:o-Ci,ease:"linear"}}(t,d);1===(t=m.keyframes).length&&(t[1]=t[0]),n=m.duration,i=m.times,s=m.ease,o="keyframes"}const d=pa(r.owner.current,a,t,p(p({},this.options),{},{duration:n,times:i,ease:s}));return d.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(gr(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;r.set(_r(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:i,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return dt(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return dt(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.currentTime=ht(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return at;const{animation:n}=e;gr(n,t)}else this.pendingTimeline=t;return at}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:n,duration:i,type:s,ease:o,times:r}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const t=this.options,{motionValue:e,onUpdate:a,onComplete:l,element:c}=t,d=h(t,u),m=new Ai(p(p({},d),{},{keyframes:n,duration:i,type:s,ease:o,times:r,isGenerator:!0})),f=ht(this.time);e.setWithVelocity(m.sample(f-Ci).value,m.sample(f).value,Ci)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r}=t;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=e.owner.getProps();return Ei()&&n&&Di.has(n)&&!a&&!l&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}},ji={type:"spring",stiffness:500,damping:25,restSpeed:10},Ri=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),Li={type:"keyframes",duration:.8},Bi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oi=(t,{keyframes:e})=>e.length>2?Li:Yt.has(t)?t.startsWith("scale")?Ri(e[1]):ji:Bi,Ii=(t,e,n,s={},o,r)=>a=>{const l=pr(s,t)||{},u=l.delay||s.delay||0;let{elapsed:c=0}=s;c-=ht(u);let d=p(p({keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity()},l),{},{delay:-c,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:r?void 0:o});(function(t){let{when:e,delay:n,delayChildren:s,staggerChildren:o,staggerDirection:r,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:d}=t,p=h(t,i);return!!Object.keys(p).length})(l)||(d=p(p({},d),Oi(t,d))),d.duration&&(d.duration=ht(d.duration)),d.repeatDelay&&(d.repeatDelay=ht(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let m=!1;if((!1===d.type||0===d.duration&&!d.repeatDelay)&&(d.duration=0,0===d.delay&&(m=!0)),(_e.current||pt.skipAnimations)&&(m=!0,d.duration=0,d.delay=0),m&&!r&&void 0!==e.get()){const t=_r(d.keyframes,l);if(void 0!==t)return gt.update(()=>{d.onUpdate(t),d.onComplete()}),new Ee([])}return!r&&Mi.supports(d)?new Mi(d):new Ai(d)},Ui=Mt.length,Ni=[...Vt].reverse(),$i=Vt.length,Wi=class{constructor(t){this.isMounted=!1,this.node=t}update(){}},zi=class extends Wi{constructor(t){super(t),t.animationState||(t.animationState=ba(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}},Ki=0,Hi=class extends Wi{constructor(){super(...arguments),this.id=Ki++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}},Yi={animation:{Feature:zi},exit:{Feature:Hi}},Xi=t=>e=>Ie(e)&&t(e,Ta(e)),qi=(t,e)=>Math.abs(t-e),_i=class{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Ca(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=qi(t.x,e.x),i=qi(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=yt;this.history.push(p(p({},i),{},{timestamp:s}));const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Da(e,this.transformPagePoint),gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Ca("pointercancel"===t.type?this.lastMoveEventInfo:Da(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!Ie(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;const o=Da(Ta(t),this.transformPagePoint),{point:r}=o,{timestamp:a}=yt;this.history=[p(p({},r),{},{timestamp:a})];const{onSessionStart:l}=e;l&&l(t,Ca(o,this.history)),this.removeListeners=li(Aa(this.contextWindow,"pointermove",this.handlePointerMove),Aa(this.contextWindow,"pointerup",this.handlePointerUp),Aa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),vt(this.updatePoint)}},Gi=.9999,Zi=1.0001,Ji=-.01,Qi=.01,ts=.35,es=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),ns=()=>({x:{min:0,max:0},y:{min:0,max:0}}),is=.999999999999,ss=1.0000000000001,os=({current:t})=>t?t.ownerDocument.defaultView:null,rs=new WeakMap,as=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ns(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new _i(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Ta(t).point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?Be[o]?null:(Be[o]=!0,()=>{Be[o]=!1}):Be.x||Be.y?null:(Be.x=Be.y=!0,()=>{Be.x=Be.y=!1}),!this.openDragLock))return;var o;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),za(t=>{let e=this.getAxisMotionValue(t).get()||0;if(oe.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];i&&(e=ja(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&>.postRender(()=>s(t,e)),jr(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>za(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:os(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=e;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&>.postRender(()=>s(t,e))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!sl(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?ni(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?ni(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&&No(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:Ua(t.x,n,s),y:Ua(t.y,e,i)}}(i.layoutBox,e),this.elastic=function(t=ts){return!1===t?t=0:!0===t&&(t=ts),{x:$a(t,"left","right"),y:$a(t,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&za(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!No(t))return!1;const n=t.current;ut(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=il(t,n),{scroll:s}=e;return s&&(tl(i.x,s.offset.x),tl(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Na(t.x,e.x),y:Na(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Ka(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=za(r=>{if(!sl(r,e,this.currentDirection))return;let l=a&&a[r]||{};o&&(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h=p(p({type:"inertia",velocity:n?t[r]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10},s),l);return this.startAxisValueAnimation(r,h)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return jr(this.visualElement,t),n.start(Ii(t,n,0,e,this.visualElement,!1))}stopAnimation(){za(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){za(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){za(e=>{const{drag:n}=this.getProps();if(!sl(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-ni(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!No(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};za(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=ja(t),s=ja(e);return s>i?n=ct(e.min,e.max-i,t.min):i>s&&(n=ct(t.min,t.max-s,e.min)),Qt(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),za(e=>{if(!sl(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(ni(s,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;rs.set(this.visualElement,this);const t=Aa(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();No(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),gt.read(e);const s=Pa(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(za(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=ts,dragMomentum:r=!0}=t;return p(p({},t),{},{drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r})}},ls=class extends Wi{constructor(t){super(t),this.removeGroupControls=at,this.removeListeners=at,this.controls=new as(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||at}unmount(){this.removeGroupControls(),this.removeListeners()}},us=t=>(e,n)=>{t&>.postRender(()=>t(e,n))},cs=class extends Wi{constructor(){super(...arguments),this.removePointerDownListener=at}onPointerDown(t){this.session=new _i(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:os(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:us(t),onStart:us(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&>.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=Aa(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},hs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ds={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!re.test(t))return t;t=parseFloat(t)}return`${ol(t,e.target.x)}% ${ol(t,e.target.y)}%`}},ps={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=Cn.parse(t);if(s.length>5)return i;const o=Cn.createTransformer(t),r="number"!=typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const u=ni(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=u),"number"==typeof s[3+r]&&(s[3+r]/=u),o(s)}},ms=class extends H.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;var o;o=fs,Object.assign(we,o),s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions(p(p({},s.options),{},{onExitComplete:()=>this.safeToRemove()}))),hs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,o=n.projection;return o?(o.isPresent=s,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||gt.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Bt.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}},fs={borderRadius:p(p({},ds),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ds,borderTopRightRadius:ds,borderBottomLeftRadius:ds,borderBottomRightRadius:ds,boxShadow:ps},gs=(t,e)=>t.depth-e.depth,vs=class{constructor(){this.children=[],this.isDirty=!1}add(t){Er(this.children,t),this.isDirty=!0}remove(t){Cr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gs),this.isDirty=!1,this.children.forEach(t)}},xs=(ys=["TopLeft","TopRight","BottomLeft","BottomRight"]).length,bs=t=>"string"==typeof t?parseFloat(t):t,Fs=t=>"number"==typeof t||re.test(t),ws=ll(0,.5,an),Ss=ll(.5,.95,at),Ps=["x","scaleX","originX"],Ts=["y","scaleY","originY"],As=class{constructor(){this.members=[]}add(t){Er(this.members,t),t.scheduleRender()}remove(t){if(Cr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let i=e;i>=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}},Ds={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Es="undefined"!=typeof window&&void 0!==window.MotionDebug,Cs=["","X","Y","Z"],ks={visibility:"hidden"},Vs=1e3,Ms=0,js={duration:.45,ease:[.4,0,.1,1]},Ls=(Rs=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t))("applewebkit/")&&!Rs("chrome/")?Math.round:at,Bs=Pl({attachResizeListener:(t,e)=>Pa(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Os={current:void 0},Is=Pl({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Os.current){const t=new Bs({});t.mount(window),t.setOptions({layoutScroll:!0}),Os.current=t}return Os.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Us={pan:{Feature:cs},drag:{Feature:ls,ProjectionNode:Is,MeasureLayout:rl}},Ns=class extends Wi{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[i,s,o]=Fr(t,n),r=wr(t=>{const{target:n}=t,i=e(t);if("function"!=typeof i||!n)return;const o=wr(t=>{i(t),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,s)});return i.forEach(t=>{t.addEventListener("pointerenter",r,s)}),o}(t,t=>(Kl(this.node,t,"Start"),t=>Kl(this.node,t,"End"))))}unmount(){}},$s=class extends Wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=li(Pa(this.node.current,"focus",()=>this.onFocus()),Pa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Ws=class extends Wi{mount(){const{current:t}=this.node;t&&(this.unmount=Ar(t,t=>(Hl(this.node,t,"Start"),(t,{success:e})=>Hl(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}},zs=new WeakMap,Ks=new WeakMap,Hs=t=>{const e=zs.get(t.target);e&&e(t)},Ys=t=>{t.forEach(Hs)},Xs={some:0,all:1},qs=class extends Wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Xs[i]};return Yl(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}},_s={inView:{Feature:qs},tap:{Feature:Ws},focus:{Feature:$s},hover:{Feature:Ns}},Gs={layout:{ProjectionNode:Is,MeasureLayout:rl}},Zs={current:null},Js={current:!1},Qs=[...Gn,bn,Cn],to=t=>Qs.find(_n(t)),eo=new WeakMap,no=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],io=class{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Hn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=Ke.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,gt.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=o;this.onUpdate=u,this.latestValues=a,this.baseTarget=p({},a),this.initialValues=e.initial?p({},a):{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=Bo(e),this.isVariantNode=Oo(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const d=this.scrapeMotionValuesFromProps(e,{},this),{willChange:m}=d,f=h(d,c);for(const c in f){const t=f[c];void 0!==a[c]&&zt(t)&&t.set(a[c],!1)}}mount(t){this.current=t,eo.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),Js.current||function(){if(Js.current=!0,ot)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Zs.current=t.matches;t.addListener(e),e()}else Zs.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Zs.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){eo.delete(this.current),this.projection&&this.projection.unmount(),vt(this.notifyUpdate),vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=Yt.has(t),i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&>.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in wt){const e=wt[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ns()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<no.length;n++){const e=no[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if(zt(s))t.addValue(i,s);else if(zt(o))t.addValue(i,Vr(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,Vr(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=Vr(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(Yn(i)||un(i))?i=parseFloat(i):!to(i)&&Cn.test(e)&&(i=Kr(t,e)),this.setBaseTarget(t,zt(i)?i.get():i)),zt(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const s=qo(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);s&&(i=s[t])}if(n&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||zt(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new He),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}},so=class extends io{constructor(){super(...arguments),this.KeyframeResolver=Jn}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;zt(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},oo=class extends so{constructor(){super(...arguments),this.type="html",this.renderInstance=tr}readValueFromInstance(t,e){if(Yt.has(e)){const t=Rn(e);return t&&t.default||0}{const i=(n=t,window.getComputedStyle(n)),s=(qt(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return il(t,e)}build(t,e,n){Zo(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return ir(t,e,n)}},ro=class extends so{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ns}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Yt.has(e)){const t=Rn(e);return t&&t.default||0}return e=Fe.has(e)?e:Rt(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return sr(t,e,n)}build(t,e,n){Qo(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){er(t,e,0,i)}mount(t){this.isSVGTag=be(t.tagName),super.mount(t)}},ao=(t,e)=>Yo(t)?new ro(e):new oo(e,{allowProjection:t!==H.Fragment}),lo=cr(p(p(p(p({},Yi),_s),Us),Gs),ao),uo=jo(lo),co="flex relative w-full cursor-text",ho="\n peer transition-all grow\n px-4 pt-5 pb-1.5 border border-solid rounded outline-none\n border-gray-300 bg-white text-black text-sm\n placeholder:text-transparent\n focus:border-ll-primary\n hover:bg-gray-25\n disabled:text-gray-200\n data-[has-prefix-icon=true]:pl-10\n",po="\n text-sm text-stone-500 ml-4\n absolute top-3.5 origin-top-left\n scale-75 duration-300\n\n transform\n -translate-y-2\n\n peer-placeholder-shown:scale-100\n peer-placeholder-shown:translate-y-0\n peer-focus:scale-75\n peer-focus:-translate-y-2\n peer-data-[has-prefix-icon=true]:mx-10\n",mo="\n h-4 w-4\n absolute left-4 top-1/2 -translate-y-1/2\n text-stone-500\n",fo="w-full sm:w-96 relative",go="relative z-10",vo="\n absolute top-0 left-0.5 right-0\n list-none px-0 py-1 mt-1\n rounded-lg overflow-hidden\n bg-white shadow rounded-lg \n",yo="\n text-sm font-normal\n\n data-[is-title=true]:py-2.5\n data-[is-title=true]:px-4\n data-[is-title=true]:text-ll-placeholder\n data-[is-title=true]:text-xs\n",xo="\n py-2.5 px-4 block transition-all\n hover:font-medium hover:bg-ll-surface-variant1\n",bo={dev:"https://api-qa.locallogic.co/neighborhood-management-v1",qa:"https://api-qa.locallogic.co/neighborhood-management-v1",prod:"https://api.locallogic.co/neighborhood-management-v1"},Fo=(t,e,n)=>{(0,H.useEffect)(()=>{const i=e=>{t.current&&!t.current.contains(e.target)&&n()};return window.addEventListener(e,i),()=>window.removeEventListener(e,i)},[t,n])},wo="mb-11",So="text-2xl font-medium",Po="mb-4 text-ll-disabled",To="flex flex-col py-6",Ao=V({lat:w().optional(),lng:w().optional(),geographyId:S().optional(),singleNeighborhoodURLSchema:S().optional(),urlSchemaSpacer:S().length(1).optional()}).noUnknown(!0),D(A.neighborhoodShowcase.key),d("default",()=>{var t,e,n,i,s,o,r;const{sdkState:a}=I(),l=$(),u=(null===(t=a.globalOptions)||void 0===t?void 0:t.locale)||"en",c=(0,H.useMemo)(()=>{var t,e,n,i;return null!==(t=a.options)&&void 0!==t&&t.geographyId?{geographyId:null===(e=a.options)||void 0===e?void 0:e.geographyId}:{lat:null===(n=a.options)||void 0===n?void 0:n.lat,lng:null===(i=a.options)||void 0===i?void 0:i.lng}},[null===(e=a.options)||void 0===e?void 0:e.lat,null===(n=a.options)||void 0===n?void 0:n.lng,null===(i=a.options)||void 0===i?void 0:i.geographyId]);return(0,_.jsx)(U,{children:(0,_.jsx)(N,{sdk:"Neighborhood Showcase",schema:Ao,options:a.options,children:(0,_.jsx)(E,{environment:null===(s=a.globalOptions)||void 0===s||null===(s=s.environment)||void 0===s?void 0:s.api,apiKey:a.apiKey,appearance:null===(o=a.globalOptions)||void 0===o?void 0:o.appearance,locale:null===(r=a.globalOptions)||void 0===r?void 0:r.locale,product:k.NEIGHBORHOOD_SHOWCASE,children:(0,_.jsx)(F,{trackingPipelineSettings:{apiKey:a.apiKey||""},analyticsSettings:A.neighborhoodShowcase,meta:{clientId:a.clientId,productName:k.NEIGHBORHOOD_SHOWCASE,productVersion:"1.24.42"},attributes:{location:c,host:a.location,host_url:document.referrer,locale:u,isMobile:l},flags:{isDebugMode:!1},children:(0,_.jsx)(J,{children:(0,_.jsx)(Gl,{})})})})})})})}}})}();
|
|
2
|
-
//# sourceMappingURL=NeighborhoodShowcase-legacy-
|
|
1
|
+
!function(){const t=["transitionEnd","transition"],e=["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"],n=["transitionEnd","transition"],i=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"],s=["transition","transitionEnd"],o=["transition","transitionEnd"],r=["root"],a=["autoplay","delay","type","repeat","repeatDelay","repeatType"],l=["onComplete","onUpdate","motionValue","element"],u=["motionValue","onUpdate","onComplete","element"],c=["willChange"];function h(t,e){if(null==t)return{};var n,i,s=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){m(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function m(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./google-maps-vendor-legacy-CPuMOKGq.js","./Trans-legacy-B47WOepl.js","./sdks-legacy-3YngGDux.js","./MagnifyingGlass.es-legacy-DZMKpel-.js","./index-legacy-DF60d_4Z.js","./ResizeWrapper-legacy-WwfLyk1y.js","./ValidateOptions-legacy-CtRpWaj6.js","./useIsMobile-legacy-jEoaA3sZ.js","./old-tailwind-legacy-CEPpMJ8m.js","./NeighborhoodCard-legacy-CT-3ylPG.js"],function(d,m){var f,g,v,y,x,b,F,w,S,P,T,A,D,E,C,k,V,M,j,R,L,B,O,I,U,N,$,W,z,K,H,Y,X,q,_,G,Z,J,Q,tt,et,nt,it,st,ot,rt,at,lt,ut,ct,ht,dt,pt,mt,ft,gt,vt,yt,xt,bt,Ft,wt,St,Pt,Tt,At,Dt,Et,Ct,kt,Vt,Mt,jt,Rt,Lt,Bt,Ot,It,Ut,Nt,$t,Wt,zt,Kt,Ht,Yt,Xt,qt,_t,Gt,Zt,Jt,Qt,te,ee,ne,ie,se,oe,re,ae,le,ue,ce,he,de,pe,me,fe,ge,ve,ye,xe,be,Fe,we,Se,Pe,Te,Ae,De,Ee,Ce,ke,Ve,Me,je,Re,Le,Be,Oe,Ie,Ue,Ne,$e,We,ze,Ke,He,Ye,Xe,qe,_e,Ge,Ze,Je,Qe,tn,en,nn,sn,on,rn,an,ln,un,cn,hn,dn,pn,mn,fn,gn,vn,yn,xn,bn,Fn,wn,Sn,Pn,Tn,An,Dn,En,Cn,kn,Vn,Mn,jn,Rn,Ln,Bn,On,In,Un,Nn,$n,Wn,zn,Kn,Hn,Yn,Xn,qn,_n,Gn,Zn,Jn,Qn,ti,ei,ni,ii,si,oi,ri,ai,li,ui,ci,hi,di,pi,mi,fi,gi,vi,yi,xi,bi,Fi,wi,Si,Pi,Ti,Ai,Di,Ei,Ci,ki,Vi,Mi,ji,Ri,Li,Bi,Oi,Ii,Ui,Ni,$i,Wi,zi,Ki,Hi,Yi,Xi,qi,_i,Gi,Zi,Ji,Qi,ts,es,ns,is,ss,os,rs,as,ls,us,cs,hs,ds,ps,ms,fs,gs,vs,ys,xs,bs,Fs,ws,Ss,Ps,Ts,As,Ds,Es,Cs,ks,Vs,Ms,js,Rs,Ls,Bs,Os,Is,Us,Ns,$s,Ws,zs,Ks,Hs,Ys,Xs,qs,_s,Gs,Zs,Js,Qs,to,eo,no,io,so,oo,ro,ao,lo,uo,co,ho,po,mo,fo,go,vo,yo,xo,bo,Fo,wo,So,Po,To,Ao;function Do(){return(0,_.jsx)("div",{className:Q,children:(0,_.jsx)(j,{image:!0})})}function Eo(){const{t:t}=P("neighborhoodShowcase");return(0,_.jsx)("div",{className:tt,children:(0,_.jsx)(b,{i18nKey:"noData",t:t,components:{LinkToHub:(0,_.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://hub.locallogic.co/neighborhood-management"}),bold:(0,_.jsx)("strong",{})}})})}function Co(t){let e;return()=>(void 0===e&&(e=t()),e)}function ko(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=mt.reduce((t,e)=>(t[e]=function(t){let e=new Set,n=new Set,i=!1,s=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(e){o.has(e)&&(l.schedule(e),t()),e(r)}const l={schedule:(t,s=!1,r=!1)=>{const a=r&&i?e:n;return s&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{r=t,i?s=!0:(i=!0,[e,n]=[n,e],e.forEach(a),e.clear(),i=!1,s&&(s=!1,l.process(t)))}};return l}(o),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=r,p=()=>{const o=pt.useManualTiming?s.timestamp:performance.now();n=!1,s.delta=i?1e3/60:Math.max(Math.min(o-s.timestamp,ft),1),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),c.process(s),h.process(s),d.process(s),s.isProcessing=!1,n&&e&&(i=!1,t(p))};return{schedule:mt.reduce((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(n||(n=!0,i=!0,s.isProcessing||t(p)),a.schedule(e,o,r)),e},{}),cancel:t=>{for(let e=0;e<mt.length;e++)r[mt[e]].cancel(t)},state:s,steps:r}}function Vo(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||St.has(t)}function Mo(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}function jo(t){if("undefined"==typeof Proxy)return t;const e=new Map;return new Proxy((...e)=>t(...e),{get:(n,i)=>"create"===i?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function Ro(t){return"string"==typeof t||Array.isArray(t)}function Lo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function Bo(t){return Lo(t.animate)||Mt.some(e=>Ro(t[e]))}function Oo(t){return Boolean(Bo(t)||t.variants)}function Io(t){const{initial:e,animate:n}=function(t,e){if(Bo(t)){const{initial:e,animate:n}=t;return{initial:!1===e||Ro(e)?e:void 0,animate:Ro(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,H.useContext)(kt));return(0,H.useMemo)(()=>({initial:e,animate:n}),[Uo(e),Uo(n)])}function Uo(t){return Array.isArray(t)?t.join(" "):t}function No(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function $o(t,e,n){return(0,H.useCallback)(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"==typeof n?n(i):No(n)&&(n.current=i))},[e])}function Wo(t,e,n,i,s){var o,r;const{visualElement:a}=(0,H.useContext)(kt),l=(0,H.useContext)(bt),u=(0,H.useContext)(it),c=(0,H.useContext)(st).reducedMotion,h=(0,H.useRef)(null);i=i||l.renderer,!h.current&&i&&(h.current=i(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));const d=h.current,p=(0,H.useContext)(It);!d||d.projection||!s||"html"!==d.type&&"svg"!==d.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:zo(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&No(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(h.current,n,s,p);const m=(0,H.useRef)(!1);(0,H.useInsertionEffect)(()=>{d&&m.current&&d.update(n,u)});const f=n[Lt],g=(0,H.useRef)(Boolean(f)&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,f))&&(null===(r=window.MotionHasOptimisedAnimation)||void 0===r?void 0:r.call(window,f)));return rt(()=>{d&&(m.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Bt.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,H.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,f)}),g.current=!1))}),d}function zo(t){if(t)return!1!==t.options.allowProjection?t.projection:zo(t.parent)}function Ko({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:s}){var o,r;function a(t,o){let r;const a=p(p(p({},(0,H.useContext)(st)),t),{},{layoutId:Ho(t)}),{isStatic:l}=a,u=Io(t),c=i(t,l);if(!l&&ot){(0,H.useContext)(bt).strict;const t=function(t){const{drag:e,layout:n}=wt;if(!e&&!n)return{};const i=p(p({},e),n);return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(a);r=t.MeasureLayout,u.visualElement=Wo(s,c,a,e,t.ProjectionNode)}return(0,_.jsxs)(kt.Provider,{value:u,children:[r&&u.visualElement?(0,_.jsx)(r,p({visualElement:u.visualElement},a)):null,n(s,t,$o(c,u.visualElement,o),c,l,u.visualElement)]})}t&&function(t){for(const e in t)wt[e]=p(p({},wt[e]),t[e])}(t),a.displayName=`motion.${"string"==typeof s?s:`create(${null!==(r=null!==(o=s.displayName)&&void 0!==o?o:s.name)&&void 0!==r?r:""})`}`;const l=(0,H.forwardRef)(a);return l[jt]=s,l}function Ho({layoutId:t}){const e=(0,H.useContext)(nt).id;return e&&void 0!==t?e+"-"+t:t}function Yo(t){return"string"==typeof t&&!t.includes("-")&&!!(Ut.indexOf(t)>-1||/[A-Z]/.test(t))}function Xo(t){const e=[{},{}];return null==t||t.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function qo(t,e,n,i){if("function"==typeof e){const[s,o]=Xo(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=Xo(i);e=e(void 0!==n?n:t.custom,s,o)}return e}function _o(t){const e=zt(t)?t.get():t;return $t(e)?e.toValue():e}function Go(e,n,i,s){const o={},r=s(e,{});for(const t in r)o[t]=_o(r[t]);let{initial:a,animate:l}=e;const u=Bo(e),c=Oo(e);n&&c&&!u&&!1!==e.inherit&&(void 0===a&&(a=n.initial),void 0===l&&(l=n.animate));let d=!!i&&!1===i.initial;d=d||!1===a;const p=d?l:a;if(p&&"boolean"!=typeof p&&!Lo(p)){const n=Array.isArray(p)?p:[p];for(let i=0;i<n.length;i++){const s=qo(e,n[i]);if(s){const{transitionEnd:e,transition:n}=s,i=h(s,t);for(const t in i){let e=i[t];if(Array.isArray(e)){e=e[d?e.length-1:0]}null!==e&&(o[t]=e)}for(const t in e)o[t]=e[t]}}}return o}function Zo(t,e,n){const{style:i,vars:s,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const t=e[l];if(Yt.has(l))r=!0;else if(qt(l))s[l]=t;else{const e=Jt(t,pe[l]);l.startsWith("origin")?(a=!0,o[l]=e):i[l]=e}}if(e.transform||(r||n?i.transform=function(t,e,n){let i="",s=!0;for(let o=0;o<fe;o++){const r=Ht[o],a=t[r];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(r.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const t=Jt(a,pe[r]);l||(s=!1,i+=`${me[r]||r}(${t}) `),n&&(e[r]=t)}}return i=i.trim(),n?i=n(e,s?"":i):s&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),a){const{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}function Jo(t,e,n){return"string"==typeof t?t:re.transform(e+n*t)}function Qo(t,n,i,s){let{attrX:o,attrY:r,attrScale:a,originX:l,originY:u,pathLength:c,pathSpacing:d=1,pathOffset:p=0}=n;if(Zo(t,h(n,e),s),i)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:m,style:f,dimensions:g}=t;m.transform&&(g&&(f.transform=m.transform),delete m.transform),g&&(void 0!==l||void 0!==u||f.transform)&&(f.transformOrigin=function(t,e,n){return`${Jo(e,t.x,t.width)} ${Jo(n,t.y,t.height)}`}(g,void 0!==l?l:.5,void 0!==u?u:.5)),void 0!==o&&(m.x=o),void 0!==r&&(m.y=r),void 0!==a&&(m.scale=a),void 0!==c&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?ge:ve;t[o.offset]=re.transform(-i);const r=re.transform(e),a=re.transform(n);t[o.array]=`${r} ${a}`}(m,c,d,p,!1)}function tr(t,{style:e,vars:n},i,s){Object.assign(t.style,e,s&&s.getProjectionStyles(i));for(const o in n)t.style.setProperty(o,n[o])}function er(t,e,n,i){tr(t,e,void 0,i);for(const s in e.attrs)t.setAttribute(Fe.has(s)?s:Rt(s),e.attrs[s])}function nr(t,{layout:e,layoutId:n}){return Yt.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!we[t]||"opacity"===t)}function ir(t,e,n){var i;const{style:s}=t,o={};for(const r in s)(zt(s[r])||e.style&&zt(e.style[r])||nr(r,t)||void 0!==(null===(i=null==n?void 0:n.getValue(r))||void 0===i?void 0:i.liveStyle))&&(o[r]=s[r]);return o}function sr(t,e,n){const i=ir(t,e,n);for(const s in t)if(zt(t[s])||zt(e[s])){i[-1!==Ht.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=t[s]}return i}function or(t,e,n){for(const i in e)zt(e[i])||nr(i,n)||(t[i]=e[i])}function rr(t,e){const n={};return or(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,H.useMemo)(()=>{const n=ye();return Zo(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}function ar(t,e){const n={},i=rr(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function lr(t,e,n,i){const s=(0,H.useMemo)(()=>{const n=xe();return Qo(n,e,be(i),t.transformTemplate),p(p({},n.attrs),{},{style:p({},n.style)})},[e]);if(t.style){const e={};or(e,t.style,t),s.style=p(p({},e),s.style)}return s}function ur(t=!1){return(e,n,i,{latestValues:s},o)=>{const r=(Yo(e)?lr:ar)(n,s,o,e),a=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||(Ct(s)||!0===n&&Vo(s)||!e&&!Vo(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(n,"string"==typeof e,t),l=e!==H.Fragment?p(p(p({},a),r),{},{ref:i}):{},{children:u}=n,c=(0,H.useMemo)(()=>zt(u)?u.get():u,[u]);return(0,H.createElement)(e,p(p({},l),{},{children:c}))}}function cr(t,e){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return Ko(p(p({},Yo(n)?Pe:Te),{},{preloadedFeatures:t,useRender:ur(i),createVisualElement:e,Component:n}))}}function hr(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function dr(t,e,n){const i=t.getProps();return qo(i,e,void 0!==n?n:i.custom,t)}function pr(t,e){return t?t[e]||t.default||t:void 0}function mr(t){let e=0;let n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}function fr(t){return"function"==typeof t}function gr(t,e){t.timeline=e,t.onfinish=null}function vr(t,e){const n=Co(t);return()=>{var t;return null!==(t=Ve[e])&&void 0!==t?t:n()}}function yr(t){return Boolean("function"==typeof t&&Me()||!t||"string"==typeof t&&(t in Le||Me())||ke(t)||Array.isArray(t)&&t.every(yr))}function xr(t,e){return t?"function"==typeof t&&Me()?je(t,e):ke(t)?Re(t):Array.isArray(t)?t.map(t=>xr(t,e)||Le.easeOut):Le[t]:void 0}function br(){return Be.x||Be.y}function Fr(t,e){const n=function(t,e,n){var i;if(t instanceof Element)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);const o=null!==(i=null==n?void 0:n[t])&&void 0!==i?i:s.querySelectorAll(t);return o?Array.from(o):[]}return Array.from(t)}(t),i=new AbortController;return[n,p(p({passive:!0},e),{},{signal:i.signal}),()=>i.abort()]}function wr(t){return e=>{"touch"===e.pointerType||br()||t(e)}}function Sr(t){return e=>{"Enter"===e.key&&t(e)}}function Pr(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function Tr(t){return Ie(t)&&!br()}function Ar(t,e,n={}){const[i,s,o]=Fr(t,n),r=t=>{const i=t.currentTarget;if(!Tr(t)||Ne.has(i))return;Ne.add(i);const o=e(t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Tr(t)&&Ne.has(i)&&(Ne.delete(i),"function"==typeof o&&o(t,{success:e}))},a=t=>{r(t,n.useGlobalTarget||Oe(i,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return i.forEach(t=>{(function(t){return Ue.has(t.tagName)||-1!==t.tabIndex})(t)||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),t.addEventListener("focus",t=>$e(t,s),s)}),o}function Dr(){ze=void 0}function Er(t,e){-1===t.indexOf(e)&&t.push(e)}function Cr(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function kr(t,e){return e?t*(1e3/e):0}function Vr(t,e){return new qe(t,e)}function Mr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Vr(n))}function jr(t,e){const n=t.getValue("willChange");if(i=n,Boolean(zt(i)&&i.add))return n.add(e);var i}function Rr(t){return t.props[Lt]}function Lr(t,e,n,i){if(t===e&&n===i)return at;const s=e=>function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=Ge(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>Ze&&++a<Je);return r}(e,0,1,t,n);return t=>0===t||1===t?t:Ge(s(t),e,i)}function Br(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"===t||un(t))}function Or(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}function Ir(t){var e,n;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(hn))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(Fn))||void 0===n?void 0:n.length)||0)>0}function Ur(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;return{values:n,split:e.replace(Dn,t=>(bn.test(t)?(i.color.push(o),s.push(Sn),n.push(bn.parse(t))):t.startsWith(Tn)?(i.var.push(o),s.push(Pn),n.push(t)):(i.number.push(o),s.push(wn),n.push(parseFloat(t))),++o,An)).split(An),indexes:i,types:s}}function Nr(t){return Ur(t).values}function $r(t){const{split:e,types:n}=Ur(t),i=e.length;return t=>{let s="";for(let o=0;o<i;o++)if(s+=e[o],void 0!==t[o]){const e=n[o];s+=e===wn?cn(t[o]):e===Sn?bn.transform(t[o]):t[o]}return s}}function Wr(t){const e=Nr(t);return $r(t)(e.map(En))}function zr(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(hn)||[];if(!i)return t;const s=n.replace(i,"");let o=kn.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}function Kr(t,e){let n=Rn(t);return n!==Mn&&(n=Cn),n.getAnimatableNone?n.getAnimatableNone(e):void 0}function Hr(){if(Kn){const t=Array.from(Wn).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return Nn.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{var i;null===(i=t.getValue(e))||void 0===i||i.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Kn=!1,zn=!1,Wn.forEach(t=>t.complete()),Wn.clear()}function Yr(){Wn.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Kn=!0)})}function Xr(t,e,n=1){ut(n<=qn,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[i,s]=function(t){const e=Xn.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${null!=n?n:i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return Yn(t)?parseFloat(t):t}return Gt(s)?Xr(s,e,n+1):s}function qr(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=Qn(s,e),a=Qn(o,e);return lt(r===a,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||fr(n))&&i)}function _r(t,{repeat:e,repeatType:n="loop"},i){const s=t.filter(ti),o=e&&"loop"!==n&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}function Gr(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Zr(t,e){return n=>n>0?e:t}function Jr(t){const e=oi(t);if(lt(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(e))return!1;let n=e.parse(t);return e===xn&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=Gr(a,i,t+1/3),o=Gr(a,i,t),r=Gr(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(n)),n}function Qr(t,e){return n=>ni(t,e,n)}function ta(t){return"number"==typeof t?Qr:"string"==typeof t?Gt(t)?Zr:bn.test(t)?ri:ci:Array.isArray(t)?ea:"object"==typeof t?bn.test(t)?ri:na:Zr}function ea(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>ta(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function na(t,e){const n=p(p({},t),e),i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=ta(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}function ia(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?ni(t,e,n):ta(t)(t,e)}function sa(t,e,n){const i=Math.max(e-hi,0);return kr(n-t(i),e-i)}function oa({duration:t=di.duration,bounce:e=di.bounce,velocity:n=di.velocity,mass:i=di.mass}){let s,o;lt(t<=ht(di.maxDuration),"Spring duration must be 10 seconds or less");let r=1-e;r=Qt(di.minDamping,di.maxDamping,r),t=Qt(di.minDuration,di.maxDuration,dt(t)),r<1?(s=e=>{const i=e*r,s=i*t,o=i-n,a=ra(e,r),l=Math.exp(-s);return pi-o/a*l},o=e=>{const i=e*r*t,o=i*n+n,a=Math.pow(r,2)*Math.pow(e,2)*t,l=Math.exp(-i),u=ra(Math.pow(e,2),r);return(-s(e)+pi>0?-1:1)*((o-a)*l)/u}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-pi,o=e=>Math.exp(-e*t)*(t*t*(n-e)));const a=function(t,e,n){let i=n;for(let s=1;s<mi;s++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=ht(t),isNaN(a))return{stiffness:di.stiffness,damping:di.damping,duration:t};{const e=Math.pow(a,2)*i;return{stiffness:e,damping:2*r*Math.sqrt(i*e),duration:t}}}function ra(t,e){return t*Math.sqrt(1-e*e)}function aa(t,e){return e.some(e=>void 0!==t[e])}function la(t=di.visualDuration,e=di.bounce){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:s}=n;const o=n.keyframes[0],r=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:m}=function(t){let e=p({velocity:di.velocity,stiffness:di.stiffness,damping:di.damping,mass:di.mass,isResolvedFromDuration:!1},t);if(!aa(t,gi)&&aa(t,fi))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,o=2*Qt(.05,1,1-(t.bounce||0))*Math.sqrt(s);e=p(p({},e),{},{mass:di.mass,stiffness:s,damping:o})}else{const n=oa(t);e=p(p(p({},e),n),{},{mass:di.mass}),e.isResolvedFromDuration=!0}return e}(p(p({},n),{},{velocity:-dt(n.velocity||0)})),f=d||0,g=u/(2*Math.sqrt(l*c)),v=r-o,y=dt(Math.sqrt(l/c)),x=Math.abs(v)<5;let b;if(i||(i=x?di.restSpeed.granular:di.restSpeed.default),s||(s=x?di.restDelta.granular:di.restDelta.default),g<1){const t=ra(y,g);b=e=>r-Math.exp(-g*y*e)*((f+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)b=t=>r-Math.exp(-y*t)*(v+(f+y*v)*t);else{const t=y*Math.sqrt(g*g-1);b=e=>{const n=Math.exp(-g*y*e),i=Math.min(t*e,300);return r-n*((f+g*y*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}const F={calculatedDuration:m&&h||null,next:t=>{const e=b(t);if(m)a.done=t>=h;else{let n=0;g<1&&(n=0===t?ht(f):sa(b,t,e));const o=Math.abs(n)<=i,l=Math.abs(r-e)<=s;a.done=o&&l}return a.value=a.done?r:e,a},toString:()=>{const t=Math.min(mr(F),Ce),e=je(e=>F.next(t*e).value,t,30);return t+"ms "+e}};return F}function ua({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],d={done:!1,value:h},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=h+m,g=void 0===r?f:r(f);g!==f&&(m=g-h);const v=t=>-m*Math.exp(-t/i),y=t=>g+v(t),x=t=>{const e=v(t),n=y(t);d.done=Math.abs(e)<=u,d.value=d.done?g:n};let b,F;const w=t=>{var e;(e=d.value,void 0!==a&&e<a||void 0!==l&&e>l)&&(b=t,F=la({keyframes:[d.value,p(d.value)],velocity:sa(y,t,d.value),damping:s,stiffness:o,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return F||void 0!==b||(e=!0,x(t),w(t)),void 0!==b&&t>=b?F.next(t-b):(!e&&x(t),d)}}}function ca(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const o=t.length;if(ut(o===e.length,"Both input and output ranges must be the same length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=function(t,e,n){const i=[],s=n||ia,o=t.length-1;for(let r=0;r<o;r++){let n=s(t[r],t[r+1]);e&&(n=li(Array.isArray(e)?e[r]||at:e,n)),i.push(n)}return i}(e,i,s),l=a.length,u=n=>{if(r&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=ct(t[i],t[i+1],n);return a[i](s)};return n?e=>u(Qt(t[0],t[o-1],e)):u}function ha(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=ct(0,e,i);t.push(ni(n,1,s))}}(e,t.length-1),e}function da({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=bi(i)?i.map(wi):wi(i),o={done:!1,value:e[0]},r=ca(function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:ha(e),t),e,{ease:Array.isArray(s)?s:(a=e,l=s,a.map(()=>l||xi).splice(0,a.length-1))});var a,l;return{calculatedDuration:t,next:e=>(o.value=r(e),o.done=e>=t,o)}}function pa(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeInOut",times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=xr(a,s);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:i,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"})}function ma({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function fa(t,e,{delay:i=0,transitionOverride:o,type:r}={}){var a;let{transition:l=t.getDefaultTransition(),transitionEnd:u}=e,c=h(e,s);o&&(l=o);const d=[],m=r&&t.animationState&&t.animationState.getState()[r];for(const n in c){const e=t.getValue(n,null!==(a=t.latestValues[n])&&void 0!==a?a:null),s=c[n];if(void 0===s||m&&ma(m,n))continue;const o=p({delay:i},pr(l||{},n));let r=!1;if(window.MotionHandoffAnimation){const e=Rr(t);if(e){const t=window.MotionHandoffAnimation(e,n,gt);null!==t&&(o.startTime=t,r=!0)}}jr(t,n),e.start(Ii(n,e,s,t.shouldReduceMotion&&We.has(n)?{type:!1}:o,t,r));const u=e.animation;u&&d.push(u)}return u&&Promise.all(d).then(()=>{gt.update(()=>{u&&function(t,e){let i=dr(t,e)||{},{transitionEnd:s={},transition:o={}}=i,r=h(i,n);r=p(p({},r),s);for(const n in r)Mr(t,n,Wt(r[n]))}(t,u)})}),d}function ga(t,e,n={}){var i;const s=dr(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:o=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(o=n.transitionOverride);const r=s?()=>Promise.all(fa(t,s,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:s=0,staggerChildren:r,staggerDirection:a}=o;return function(t,e,n=0,i=0,s=1,o){const r=[],a=(t.variantChildren.size-1)*i,l=1===s?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(va).forEach((t,i)=>{t.notify("AnimationStart",e),r.push(ga(t,e,p(p({},o),{},{delay:n+l(i)})).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(r)}(t,e,s+i,r,a,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[t,e]="beforeChildren"===l?[r,a]:[a,r];return t().then(()=>e())}return Promise.all([r(),a(n.delay)])}function va(t,e){return t.sortNodePosition(e)}function ya(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&ya(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Ui;n++){const i=Mt[n],s=t.props[i];(Ro(s)||!1===s)&&(e[i]=s)}return e}function xa(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map(e=>ga(t,e,n));i=Promise.all(s)}else if("string"==typeof e)i=ga(t,e,n);else{const s="function"==typeof e?dr(t,e,n.custom):e;i=Promise.all(fa(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}function ba(t){let e=xa(t),n=Sa(),i=!0;const s=e=>(n,i)=>{var s;const r=dr(t,i,"exit"===e?null===(s=t.presenceContext)||void 0===s?void 0:s.custom:void 0);if(r){const{transition:t,transitionEnd:e}=r,i=h(r,o);n=p(p(p({},n),i),e)}return n};function r(o){const{props:r}=t,a=ya(t.parent)||{},l=[],u=new Set;let c={},h=1/0;for(let e=0;e<$i;e++){const d=Ni[e],m=n[d],f=void 0!==r[d]?r[d]:a[d],g=Ro(f),v=d===o?m.isActive:null;!1===v&&(h=e);let y=f===a[d]&&f!==r[d]&&g;if(y&&i&&t.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=p({},c),!m.isActive&&null===v||!f&&!m.prevProp||Lo(f)||"boolean"==typeof f)continue;const x=Fa(m.prevProp,f);let b=x||d===o&&m.isActive&&!y&&g||e>h&&g,F=!1;const w=Array.isArray(f)?f:[f];let S=w.reduce(s(d),{});!1===v&&(S={});const{prevResolvedValues:P={}}=m,T=p(p({},P),S),A=e=>{b=!0,u.has(e)&&(F=!0,u.delete(e)),m.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in T){const e=S[t],n=P[t];if(c.hasOwnProperty(t))continue;let i=!1;i=Nt(e)&&Nt(n)?!hr(e,n):e!==n,i?null!=e?A(t):u.add(t):void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0}m.prevProp=f,m.prevResolvedValues=S,m.isActive&&(c=p(p({},c),S)),i&&t.blockInitialAnimation&&(b=!1),!b||y&&x&&!F||l.push(...w.map(t=>({animation:t,options:{type:d}})))}if(u.size){const e={};u.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=null!=i?i:null}),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==r.initial&&r.initial!==r.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){var s;if(n[e].isActive===i)return Promise.resolve();null===(s=t.variantChildren)||void 0===s||s.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)}),n[e].isActive=i;const o=r(e);for(const t in n)n[t].protectedKeys={};return o},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=Sa(),i=!0}}}function Fa(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!hr(e,t)}function wa(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Sa(){return{animate:wa(!0),whileInView:wa(),whileHover:wa(),whileTap:wa(),whileDrag:wa(),whileFocus:wa(),exit:wa()}}function Pa(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function Ta(t){return{point:{x:t.pageX,y:t.pageY}}}function Aa(t,e,n,i){return Pa(t,e,Xi(n),i)}function Da(t,e){return e?{point:e(t.point)}:t}function Ea(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ca({point:t},e){return{point:t,delta:Ea(t,Va(e)),offset:Ea(t,ka(e)),velocity:Ma(e,.1)}}function ka(t){return t[0]}function Va(t){return t[t.length-1]}function Ma(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Va(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>ht(e)));)n--;if(!i)return{x:0,y:0};const o=dt(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function ja(t){return t.max-t.min}function Ra(t,e,n,i=.5){t.origin=i,t.originPoint=ni(e.min,e.max,t.origin),t.scale=ja(n)/ja(e),t.translate=ni(n.min,n.max,t.origin)-t.originPoint,(t.scale>=Gi&&t.scale<=Zi||isNaN(t.scale))&&(t.scale=1),(t.translate>=Ji&&t.translate<=Qi||isNaN(t.translate))&&(t.translate=0)}function La(t,e,n,i){Ra(t.x,e.x,n.x,i?i.originX:void 0),Ra(t.y,e.y,n.y,i?i.originY:void 0)}function Ba(t,e,n){t.min=n.min+e.min,t.max=t.min+ja(e)}function Oa(t,e,n){t.min=e.min-n.min,t.max=t.min+ja(e)}function Ia(t,e,n){Oa(t.x,e.x,n.x),Oa(t.y,e.y,n.y)}function Ua(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Na(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function $a(t,e,n){return{min:Wa(t,e),max:Wa(t,n)}}function Wa(t,e){return"number"==typeof t?t:t[e]||0}function za(t){return[t("x"),t("y")]}function Ka({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function Ha(t){return void 0===t||1===t}function Ya({scale:t,scaleX:e,scaleY:n}){return!Ha(t)||!Ha(e)||!Ha(n)}function Xa(t){return Ya(t)||qa(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function qa(t){return _a(t.x)||_a(t.y)}function _a(t){return t&&"0%"!==t}function Ga(t,e,n){return n+e*(t-n)}function Za(t,e,n,i,s){return void 0!==s&&(t=Ga(t,s,i)),Ga(t,n,i)+e}function Ja(t,e=0,n=1,i,s){t.min=Za(t.min,e,n,i,s),t.max=Za(t.max,e,n,i,s)}function Qa(t,{x:e,y:n}){Ja(t.x,e.translate,e.scale,e.originPoint),Ja(t.y,n.translate,n.scale,n.originPoint)}function tl(t,e){t.min=t.min+e,t.max=t.max+e}function el(t,e,n,i,s=.5){Ja(t,e,n,ni(t.min,t.max,s),i)}function nl(t,e){el(t.x,e.x,e.scaleX,e.scale,e.originX),el(t.y,e.y,e.scaleY,e.scale,e.originY)}function il(t,e){return Ka(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}function sl(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}function ol(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}function rl(t){const[e,n]=function(t=!0){const e=(0,H.useContext)(it);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:i,register:s}=e,o=(0,H.useId)();(0,H.useEffect)(()=>{t&&s(o)},[t]);const r=(0,H.useCallback)(()=>t&&i&&i(o),[o,i,t]);return!n&&i?[!1,r]:[!0]}(),i=(0,H.useContext)(nt);return(0,_.jsx)(ms,p(p({},t),{},{layoutGroup:i,switchLayoutGroup:(0,H.useContext)(It),isPresent:e,safeToRemove:n}))}function al(t,e){return void 0!==t[e]?t[e]:t.borderRadius}function ll(t,e,n){return i=>i<t?0:i>e?1:n(ct(t,e,i))}function ul(t,e){t.min=e.min,t.max=e.max}function cl(t,e){ul(t.x,e.x),ul(t.y,e.y)}function hl(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function dl(t,e,n,i,s){return t=Ga(t-=e,1/n,i),void 0!==s&&(t=Ga(t,1/s,i)),t}function pl(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){if(oe.test(e)&&(e=parseFloat(e),e=ni(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=ni(o.min,o.max,i);t===o&&(a-=e),t.min=dl(t.min,e,n,a,s),t.max=dl(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}function ml(t,e,n,i){pl(t.x,e,Ps,n?n.x:void 0,i?i.x:void 0),pl(t.y,e,Ts,n?n.y:void 0,i?i.y:void 0)}function fl(t){return 0===t.translate&&1===t.scale}function gl(t){return fl(t.x)&&fl(t.y)}function vl(t,e){return t.min===e.min&&t.max===e.max}function yl(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function xl(t,e){return yl(t.x,e.x)&&yl(t.y,e.y)}function bl(t){return ja(t.x)/ja(t.y)}function Fl(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function wl(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Sl(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=Rr(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",gt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Sl(i)}function Pl({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=Ms++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Es&&(Ds.totalNodes=Ds.resolvedTargetDeltas=Ds.recalculatedProjection=0),this.nodes.forEach(Dl),this.nodes.forEach(Rl),this.nodes.forEach(Ll),this.nodes.forEach(El),Es&&window.MotionDebug.record(Ds)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new vs)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new He),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=e)instanceof SVGElement&&"svg"!==i.tagName,this.instance=e;const{layoutId:s,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||s)&&(this.isLayoutDirty=!0),t){let n;const i=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=Ke.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&(vt(i),t(o-e))};return gt.read(i,!0),()=>vt(i)}(i,250),hs.hasAnimatedSinceResize&&(hs.hasAnimatedSinceResize=!1,this.nodes.forEach(jl))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&r&&(s||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||r.getDefaultTransition()||js,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!xl(this.targetLayout,i)||n,u=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);const e=p(p({},pr(s,"layout")),{},{onPlay:o,onComplete:a});(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||jl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Bl),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Sl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(kl);this.isUpdating||this.nodes.forEach(Vl),this.isUpdating=!1,this.nodes.forEach(Ml),this.nodes.forEach(Tl),this.nodes.forEach(Al),this.clearAllSnapshots();const t=Ke.now();yt.delta=Qt(0,1e3/60,t-yt.timestamp),yt.timestamp=t,yt.isProcessing=!0,xt.update.process(yt),xt.preRender.process(yt),xt.render.process(yt),yt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Bt.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Cl),this.sharedNodes.forEach(Ol)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++)this.path[n].updateScroll();const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ns(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!gl(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&(e||Xa(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),$l((i=n).x),$l(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;const{visualElement:e}=this.options;if(!e)return ns();const n=e.measureViewportBox();if(!(null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)&&!this.path.some(zl)){const{scroll:t}=this.root;t&&(tl(n.x,t.offset.x),tl(n.y,t.offset.y))}return n}removeElementScroll(t){var e;const n=ns();if(cl(n,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return n;for(let i=0;i<this.path.length;i++){const e=this.path[i],{scroll:s,options:o}=e;e!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&cl(n,t),tl(n.x,s.offset.x),tl(n.y,s.offset.y))}return n}applyTransform(t,e=!1){const n=ns();cl(n,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&nl(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),Xa(t.latestValues)&&nl(n,t.latestValues)}return Xa(this.latestValues)&&nl(n,this.latestValues),n}removeTransform(t){const e=ns();cl(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!Xa(t.latestValues))continue;Ya(t.latestValues)&&t.updateSnapshot();const i=ns();cl(i,t.measurePageBox()),ml(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return Xa(this.latestValues)&&ml(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=p(p(p({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==yt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:s,layoutId:o}=this.options;if(this.layout&&(s||o)){if(this.resolvedRelativeTargetAt=yt.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ns(),this.relativeTargetOrigin=ns(),Ia(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),cl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var r,a,l;if(this.target||(this.target=ns(),this.targetWithTransforms=ns()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,Ba(r.x,a.x,l.x),Ba(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):cl(this.target,this.layout.layoutBox),Qa(this.target,this.targetDelta)):cl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ns(),this.relativeTargetOrigin=ns(),Ia(this.relativeTargetOrigin,this.target,t.target),cl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Es&&Ds.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ya(this.parent.latestValues)&&!qa(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===yt.timestamp&&(i=!1),i)return;const{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!s&&!o)return;cl(this.layoutCorrected,this.layout.layoutBox);const r=this.treeScale.x,a=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&nl(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Qa(t,r)),i&&Xa(o.latestValues)&&nl(t,o.latestValues))}e.x<ss&&e.x>is&&(e.x=1),e.y<ss&&e.y>is&&(e.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms=ns());const{target:l}=e;l?(this.projectionDelta&&this.prevProjectionDelta?(hl(this.prevProjectionDelta.x,this.projectionDelta.x),hl(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),La(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&Fl(this.projectionDelta.x,this.prevProjectionDelta.x)&&Fl(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Es&&Ds.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=es(),this.projectionDelta=es(),this.projectionDeltaWithTransform=es()}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s=p({},this.latestValues),o=es();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r=ns(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(Nl));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,g;Il(o.x,t.x,n),Il(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ia(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,g=n,Ul(p.x,m.x,f.x,g),Ul(p.y,m.y,f.y,g),h&&(l=this.relativeTarget,d=h,vl(l.x,d.x)&&vl(l.y,d.y))&&(this.isProjectionDirty=!1),h||(h=ns()),cl(h,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=ni(0,void 0!==n.opacity?n.opacity:1,ws(i)),t.opacityExit=ni(void 0!==e.opacity?e.opacity:1,0,Ss(i))):o&&(t.opacity=ni(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let r=0;r<xs;r++){const s=`border${ys[r]}Radius`;let o=al(e,s),a=al(n,s);void 0===o&&void 0===a||(o||(o=0),a||(a=0),0===o||0===a||Fs(o)===Fs(a)?(t[s]=Math.max(ni(bs(o),bs(a),i),0),(oe.test(a)||oe.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||n.rotate)&&(t.rotate=ni(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=gt.update(()=>{hs.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const i=zt(t)?t:Vr(t);return i.start(Ii("",i,e,n)),i.animation}(0,Vs,p(p({},t),{},{onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Vs),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Wl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||ns();const e=ja(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=ja(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}cl(e,n),nl(e,s),La(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new As),this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&wl("z",t,i,this.animationValues);for(let s=0;s<Cs.length;s++)wl(`rotate${Cs[s]}`,t,i,this.animationValues),wl(`skew${Cs[s]}`,t,i,this.animationValues);t.render();for(const s in i)t.setStaticValue(s,i[s]),this.animationValues&&(this.animationValues[s]=i[s]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ks;const i={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=_o(null==t?void 0:t.pointerEvents)||"",i.transform=s?s(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=_o(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!Xa(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}const r=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=(null==n?void 0:n.z)||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),r&&(i+=`skewX(${r}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r),s&&(i.transform=s(r,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:i.opacity=o===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0;for(const u in we){if(void 0===r[u])continue;const{correct:t,applyTo:e}=we[u],n="none"===i.transform?r[u]:t(r[u],o);if(e){const t=e.length;for(let s=0;s<t;s++)i[e[s]]=n}else i[u]=n}return this.options.layoutId&&(i.pointerEvents=o===this?_o(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(kl),this.root.sharedNodes.clear()}}}function Tl(t){t.updateLayout()}function Al(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:s}=t.options,o=n.source!==t.layout.source;"size"===s?za(t=>{const i=o?n.measuredBox[t]:n.layoutBox[t],s=ja(i);i.min=e[t].min,i.max=i.min+s}):Wl(s,n.layoutBox,e)&&za(i=>{const s=o?n.measuredBox[i]:n.layoutBox[i],r=ja(e[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r=es();La(r,e,n.layoutBox);const a=es();o?La(a,t.applyTransform(i,!0),n.measuredBox):La(a,e,n.layoutBox);const l=!gl(r);let u=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r=ns();Ia(r,n.layoutBox,s.layoutBox);const a=ns();Ia(a,e,o.layoutBox),xl(r,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function Dl(t){Es&&Ds.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function El(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Cl(t){t.clearSnapshot()}function kl(t){t.clearMeasurements()}function Vl(t){t.isLayoutDirty=!1}function Ml(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function jl(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Rl(t){t.resolveTargetDelta()}function Ll(t){t.calcProjection()}function Bl(t){t.resetSkewAndRotation()}function Ol(t){t.removeLeadSnapshot()}function Il(t,e,n){t.translate=ni(e.translate,0,n),t.scale=ni(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ul(t,e,n,i){t.min=ni(e.min,n.min,i),t.max=ni(e.max,n.max,i)}function Nl(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}function $l(t){t.min=Ls(t.min),t.max=Ls(t.max)}function Wl(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=bl(e),s=bl(n),o=.2,!(Math.abs(i-s)<=o));var i,s,o}function zl(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}function Kl(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&>.postRender(()=>s(e,Ta(e)))}function Hl(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&>.postRender(()=>s(e,Ta(e)))}function Yl(t,e,n){const i=function(t){let{root:e}=t,n=h(t,r);const i=e||document;Ks.has(i)||Ks.set(i,{});const s=Ks.get(i),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(Ys,p({root:e},n))),s[o]}(e);return zs.set(t,n),i.observe(t),()=>{zs.delete(t),i.unobserve(t)}}function Xl({name:t,label:e,type:n="text",value:i="",isDisabled:s,isLoading:o,maxLength:r=255,prefixIcon:a,className:l,onChange:u}){return(0,_.jsxs)("div",{className:`${co} ${l||""}`,children:[(0,_.jsx)("input",{className:ho,type:n,id:t,name:t,placeholder:e,value:i,max:r,disabled:o||s,"data-is-loading":o,"data-has-prefix-icon":!!a,onChange:t=>{void 0!==u&&u(t)},"data-1p-ignore":!0}),(0,_.jsx)(uo.label,{htmlFor:t,className:po,children:e}),void 0!==a&&(0,_.jsx)(a,{className:mo})]})}function ql(){var t;const e=(0,H.useRef)(null),{t:n}=P("neighborhoodShowcase"),[i,s]=(0,H.useState)(!1),[o,r]=(0,H.useState)(""),a=L(o,500),{myNeighborhoods:l,singleNeighborhoodURLSchema:u}=Z(),{sdkState:c}=I(),h=(null===(t=c.options)||void 0===t?void 0:t.urlSchemaSpacer)||"-",[d,p]=(0,H.useState)([]),[m,f]=(0,H.useState)([]),{data:g,isFetched:v,isLoading:y}=function({search:t,pageSize:e=10}){var n,i;const{sdkState:s}=I(),o=bo[(null===(n=s.globalOptions)||void 0===n||null===(n=n.environment)||void 0===n?void 0:n.api)||"prod"];return T({queryKey:["neighborhoods",t],queryFn:async()=>{var n;const i={include:"configurations",page_size:`${e}`};return t&&(i.search=t),fetch(`${o}/sdk/neighborhoods/${null==s||null===(n=s.globalOptions)||void 0===n?void 0:n.externalId}?${new URLSearchParams(i)}`,{headers:{Accept:"application/json",Authorization:s.apiKey,"x-ll-sdk-name":"neighborhood-showcase"},method:"GET"}).then(t=>{if([204,404].includes(t.status))return null;if(t.status>=300)throw new Error(`Request failed with status ${t.status}`);return t.json()}).then(t=>(t.neighborhoods||[]).map(e=>{var n;return z((null===(n=s.globalOptions)||void 0===n?void 0:n.locale)||"en",e,t.configurations[e.geog_id])})).catch(t=>{R.captureException(t)})},enabled:!(null==s||null===(i=s.globalOptions)||void 0===i||!i.externalId||!t||!s.apiKey)})}({search:a}),x=(0,H.useMemo)(()=>null==l?void 0:l.map(t=>t.geogId),[l]);(0,H.useEffect)(()=>{v&&!y&&(p((null==g?void 0:g.filter(t=>!(null!=x&&x.includes(t.geogId))))||[]),f((null==g?void 0:g.filter(t=>null==x?void 0:x.includes(t.geogId)))||[]),s((null==g?void 0:g.length)>0))},[g,v,y]),Fo(e,"click",()=>{s(!1),r("")});return(0,_.jsxs)("div",{className:fo,ref:e,children:[(0,_.jsx)(Xl,{name:"searchNeighborhoods",prefixIcon:M,label:n("header.search.placeholder"),value:o,onChange:t=>{r(t.target.value)}}),i&&(0,_.jsx)("div",{className:go,children:(0,_.jsxs)("ul",{className:vo,children:[(null==d?void 0:d.length)>0&&(0,_.jsx)("li",{className:yo,"data-is-title":!0,children:n("header.search.results.all")}),null==d?void 0:d.map(t=>(0,_.jsx)("li",{className:yo,children:(0,_.jsx)("a",{className:xo,href:u&&W(u,t,h),target:"_parent",rel:"noreferrer",children:t.name})},t.geogId)),(null==m?void 0:m.length)>0&&(0,_.jsx)("li",{className:yo,"data-is-title":!0,children:n("header.search.results.featured")}),null==m?void 0:m.map(t=>(0,_.jsx)("li",{className:yo,children:(0,_.jsx)("a",{className:xo,href:u&&W(u,t,h),target:"_parent",rel:"noreferrer",children:t.name})},t.geogId))]})})]})}function _l(){const{t:t}=P("neighborhoodShowcase");return(0,_.jsxs)("div",{className:wo,children:[(0,_.jsx)("h1",{className:So,children:t("header.title")}),(0,_.jsx)("p",{className:Po,children:t("header.description")}),(0,_.jsx)(ql,{})]})}function Gl(){return(0,_.jsxs)("div",{className:To,children:[(0,_.jsx)(_l,{}),(0,_.jsx)(et,{})]})}return{setters:[function(t){f=t.a,g=t.i,v=t.n,y=t.r},function(t){x=t.l},function(t){b=t.t},function(t){F=t.a,w=t.d,S=t.f,P=t.g,T=t.h,A=t.n,D=t.o,E=t.r,C=t.s,k=t.t,V=t.u},function(t){M=t.t},function(t){j=t.B,R=t._t,L=t.n,B=t.q,O=t.r,I=t.t},function(t){U=t.t},function(t){N=t.t},function(t){$=t.t},function(t){},function(t){W=t.n,z=t.r,K=t.t}],execute:function(){H=f(x(),1),Y={dev:"https://api-qa.locallogic.co/neighborhood-management-v1",qa:"https://api-qa.locallogic.co/neighborhood-management-v1",prod:"https://api.locallogic.co/neighborhood-management-v1"},X=function(t){return t.SDK_VIEWED="neighborhood-showcase-Viewed",t.NEIGHBORHOOD_CARD_CLICKED="neighborhood-gateway-Card-Clicked",t}({}),q=function(t){return t.SDK_VIEWED="sdk_viewed",t.NEIGHBORHOOD_CARD_CLICKED="neighborhood_gateway_Card_Clicked",t}({}),_=B(),G=H.createContext({}),Z=()=>(0,H.useContext)(G),J=({children:t})=>{var e,n;const{sdkState:i}=I(),s=C();O(()=>{s.postEvent({eventType:X.SDK_VIEWED}),s.trackAnalyticsEvent({eventName:q.SDK_VIEWED})});const{data:o,isFetched:r,isLoading:a}=function(){var t,e;const{sdkState:n}=I(),i=Y[(null===(t=n.globalOptions)||void 0===t||null===(t=t.environment)||void 0===t?void 0:t.api)||"prod"];return T({queryKey:["myNeighborhoods"],queryFn:async()=>{var t;return fetch(`${i}/sdk/my-neighborhoods/${null==n||null===(t=n.globalOptions)||void 0===t?void 0:t.externalId}?include=configurations&page_size=100`,{headers:{Accept:"application/json",Authorization:n.apiKey,"x-ll-sdk-name":"neighborhood-showcase"},method:"GET"}).then(t=>{if([204,404].includes(t.status))return null;if(t.status>=300)throw new Error(`Request failed with status ${t.status}`);return t.json()}).then(t=>{var e;return((null===(e=t.neighborhoods)||void 0===e?void 0:e.value)||[]).map(e=>{var i;return z((null===(i=n.globalOptions)||void 0===i?void 0:i.locale)||"en",e,t.configurations[e.geog_id])}).sort((t,e)=>t.name.localeCompare(e.name))}).catch(t=>{R.captureException(t)})},enabled:!(null==n||null===(e=n.globalOptions)||void 0===e||!e.externalId||!n.apiKey)})}();if(null===(e=i.globalOptions)||void 0===e||!e.externalId)throw new Error("externalId is required to launch the SDK");return(0,_.jsx)(G.Provider,{value:{isLoading:a,isFetched:r,myNeighborhoods:o,singleNeighborhoodURLSchema:null===(n=i.options)||void 0===n?void 0:n.singleNeighborhoodURLSchema},children:t})},Q="w-full h-full flex justify-center align-cennter",tt="w-full h-full bg-ll-surface py-6 px-5 rounded-md text-ll-placeholder",et=()=>{var t;const{myNeighborhoods:e,singleNeighborhoodURLSchema:n,isFetched:i}=Z(),{sdkState:s}=I(),o=(null===(t=s.options)||void 0===t?void 0:t.urlSchemaSpacer)||"-";return i?e?(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:"\n grid gap-4\n grid-cols-1\n md:grid-cols-2\n lg:grid-cols-3\n xl:grid-cols-4\n",children:null==e?void 0:e.map((t,e)=>(0,_.jsx)("div",{className:"\n w-full\n",children:(0,_.jsx)(K,{href:n&&W(n,t,o),neighborhood:t})},e))})}):(0,_.jsx)(Eo,{}):(0,_.jsx)(Do,{})},nt=(0,H.createContext)({}),it=(0,H.createContext)(null),st=(0,H.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ot="undefined"!=typeof window,rt=ot?H.useLayoutEffect:H.useEffect,lt=at=t=>t,ut=at,ct=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i},ht=t=>1e3*t,dt=t=>t/1e3,pt={skipAnimations:!1,useManualTiming:!1},mt=["read","resolveKeyframes","update","preRender","render","postRender"],ft=40,({schedule:gt,cancel:vt,state:yt,steps:xt}=ko("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:at,!0)),bt=(0,H.createContext)({strict:!1}),Ft={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},wt={};for(const n in Ft)wt[n]={isEnabled:t=>Ft[n].some(e=>!!t[e])};St=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]),Pt=v(()=>{}),Tt=y({default:()=>Dt}),Et=v(()=>{Pt(),At=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Dt=Mo(function(t){return At.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})}),Ct=t=>!Vo(t);try{(t=(Et(),g(Tt)).default)&&(Ct=e=>e.startsWith("on")?!Vo(e):t(e))}catch(e){}var t;kt=(0,H.createContext)({}),Vt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Mt=["initial",...Vt],jt=Symbol.for("motionComponentSymbol"),Lt="data-"+(Rt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())("framerAppearId"),({schedule:Bt,cancel:Ot}=ko(queueMicrotask,!1)),It=(0,H.createContext)({}),Ut=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"],Nt=t=>Array.isArray(t),$t=t=>Boolean(t&&"object"==typeof t&&t.mix&&t.toValue),Wt=t=>Nt(t)?t[t.length-1]||0:t,zt=t=>Boolean(t&&t.getVelocity),Kt=t=>(e,n)=>{const i=(0,H.useContext)(kt),s=(0,H.useContext)(it),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},i,s,o){const r={latestValues:Go(i,s,o,t),renderState:e()};return n&&(r.onMount=t=>n(p({props:i,current:t},r)),r.onUpdate=t=>n(t)),r}(t,e,i,s);return n?o():function(t){const e=(0,H.useRef)(null);return null===e.current&&(e.current=t()),e.current}(o)},Ht=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yt=new Set(Ht),qt=(Xt=t=>e=>"string"==typeof e&&e.startsWith(t))("--"),_t=Xt("var(--"),Gt=t=>!!_t(t)&&Zt.test(t.split("/*")[0].trim()),Zt=/var\(--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)$/i,Jt=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Qt=(t,e,n)=>n>e?e:n<t?t:n,te={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ee=p(p({},te),{},{transform:t=>Qt(0,1,t)}),ne=p(p({},te),{},{default:1}),se=(ie=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}))("deg"),oe=ie("%"),re=ie("px"),ae=ie("vh"),le=ie("vw"),ue=p(p({},oe),{},{parse:t=>oe.parse(t)/100,transform:t=>oe.transform(100*t)}),ce={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,radius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,backgroundPositionX:re,backgroundPositionY:re},he={rotate:se,rotateX:se,rotateY:se,rotateZ:se,scale:ne,scaleX:ne,scaleY:ne,scaleZ:ne,skew:se,skewX:se,skewY:se,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:ee,originX:ue,originY:ue,originZ:re},de=p(p({},te),{},{transform:Math.round}),pe=p(p(p({},ce),he),{},{zIndex:de,size:re,fillOpacity:ee,strokeOpacity:ee,numOctaves:de}),me={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fe=Ht.length,ge={offset:"stroke-dashoffset",array:"stroke-dasharray"},ve={offset:"strokeDashoffset",array:"strokeDasharray"},ye=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),xe=()=>p(p({},ye()),{},{attrs:{}}),be=t=>"string"==typeof t&&"svg"===t.toLowerCase(),Fe=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),we={},Se=["x","y","width","height","cx","cy","r"],Pe={useVisualState:Kt({scrapeMotionValuesFromProps:sr,createRenderState:xe,onUpdate:({props:t,prevProps:e,current:n,renderState:i,latestValues:s})=>{if(!n)return;let o=!!t.drag;if(!o)for(const a in s)if(Yt.has(a)){o=!0;break}if(!o)return;let r=!e;if(e)for(let a=0;a<Se.length;a++){const n=Se[a];t[n]!==e[n]&&(r=!0)}r&>.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(n){e.dimensions={x:0,y:0,width:0,height:0}}}(n,i),gt.render(()=>{Qo(i,s,be(n.tagName),t.transformTemplate),er(n,i)})})}})},Te={useVisualState:Kt({scrapeMotionValuesFromProps:ir,createRenderState:ye})},Ae=Co(()=>void 0!==window.ScrollTimeline),De=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t,e){const n=this.animations.map(n=>Ae()&&n.attachTimeline?n.attachTimeline(t):"function"==typeof e?e(n):void 0);return()=>{n.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}},Ee=class extends De{then(t,e){return Promise.all(this.animations).then(t).catch(e)}},Ce=2e4,ke=t=>Array.isArray(t)&&"number"==typeof t[0],Ve={linearEasing:void 0},Me=vr(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),je=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let o=0;o<s;o++)i+=t(ct(0,s-1,o))+", ";return`linear(${i.substring(0,i.length-2)})`},Le={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:(Re=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`)([0,.65,.55,1]),circOut:Re([.55,0,1,.45]),backIn:Re([.31,.01,.66,-.59]),backOut:Re([.33,1.53,.69,.99])},Be={x:!1,y:!1},Oe=(t,e)=>!!e&&(t===e||Oe(t,e.parentElement)),Ie=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,Ue=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),Ne=new WeakSet,$e=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=Sr(()=>{if(Ne.has(n))return;Pr(n,"down");const t=Sr(()=>{Pr(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Pr(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)},We=new Set(["width","height","top","left","right","bottom",...Ht]),Ke={now:()=>(void 0===ze&&Ke.set(yt.isProcessing||pt.useManualTiming?yt.timestamp:performance.now()),ze),set:t=>{ze=t,queueMicrotask(Dr)}},He=class{constructor(){this.subscriptions=[]}add(t){return Er(this.subscriptions,t),()=>Cr(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Ye=t=>!isNaN(parseFloat(t)),Xe={current:void 0},qe=class{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{const n=Ke.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=Ke.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=Ye(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new He);const n=this.events[t].add(e);return"change"===t?()=>{n(),gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Xe.current&&Xe.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ke.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return kr(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}},_e={current:!1},Ge=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Ze=1e-7,Je=12,sn=(Qe=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2)(nn=(tn=t=>e=>1-t(1-e))(en=Lr(.33,1.53,.69,.99))),on=t=>(t*=2)<1?.5*nn(t):.5*(2-Math.pow(2,-10*(t-1))),an=tn(rn=t=>1-Math.sin(Math.acos(t))),ln=Qe(rn),un=t=>/^0(?:[\0-\x08\x0E-\x1F!-\x2D\/-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+$/.test(t),cn=t=>Math.round(1e5*t)/1e5,hn=/-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/g,dn=/^(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))$/i,pn=(t,e)=>n=>Boolean("string"==typeof n&&dn.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),mn=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[s,o,r,a]=i.match(hn);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},fn=t=>Qt(0,255,t),gn=p(p({},te),{},{transform:t=>Math.round(fn(t))}),vn={test:pn("rgb","red"),parse:mn("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+gn.transform(t)+", "+gn.transform(e)+", "+gn.transform(n)+", "+cn(ee.transform(i))+")"},yn={test:pn("#"),parse:Or,transform:vn.transform},xn={test:pn("hsl","hue"),parse:mn("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+oe.transform(cn(e))+", "+oe.transform(cn(n))+", "+cn(ee.transform(i))+")"},bn={test:t=>vn.test(t)||yn.test(t)||xn.test(t),parse:t=>vn.test(t)?vn.parse(t):xn.test(t)?xn.parse(t):yn.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?vn.transform(t):xn.transform(t)},Fn=/(?:#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\))/gi,wn="number",Sn="color",Pn="var",Tn="var(",An="${}",Dn=/var[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*--(?:[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*|[\x2D0-9A-Z_a-z\u017F\u212A]+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*,(?:[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:(?![\t-\r \(\)\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uD800-\uDFFF\uFEFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*\((?:(?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])|\((?:(?![\(\)\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])*\))*\))+[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)\)|#[0-9a-f]{3,8}|(?:rgb|h[s\u017F]l)a?\((?:-?[\.0-9]+%?[\t-\r ,\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+){2}-?[\.0-9]+%?[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*(?:[,\/][\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*)?(?:\b[0-9]+(?:\.[0-9]+)?|\.[0-9]+)?%?\)|-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)/gi,En=t=>"number"==typeof t?0:t,Cn={test:Ir,parse:Nr,createTransformer:$r,getAnimatableNone:Wr},kn=new Set(["brightness","contrast","saturate","opacity"]),Vn=/\b([\x2Da-z]*)\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\)/g,Mn=p(p({},Cn),{},{getAnimatableNone:t=>{const e=t.match(Vn);return e?e.map(zr).join(" "):t}}),jn=p(p({},pe),{},{color:bn,backgroundColor:bn,outlineColor:bn,fill:bn,stroke:bn,borderColor:bn,borderTopColor:bn,borderRightColor:bn,borderBottomColor:bn,borderLeftColor:bn,filter:Mn,WebkitFilter:Mn}),Rn=t=>jn[t],Ln=new Set(["auto","none","0"]),Bn=t=>t===te||t===re,On=(t,e)=>parseFloat(t.split(", ")[e]),In=(t,e)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const s=i.match(/^matrix3d\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);if(s)return On(s[1],e);{const e=i.match(/^matrix\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)\)$/);return e?On(e[1],t):0}},Un=new Set(["x","y","z"]),Nn=Ht.filter(t=>!Un.has(t)),($n={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:In(4,13),y:In(5,14)}).translateX=$n.x,$n.translateY=$n.y,Wn=new Set,zn=!1,Kn=!1,Hn=class{constructor(t,e,n,i,s,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Wn.add(this),zn||(zn=!0,gt.read(Yr),gt.resolveKeyframes(Hr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){const s=null==i?void 0:i.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Wn.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Wn.delete(this))}resume(){this.isComplete||this.scheduleResolve()}},Yn=t=>/^-?(?:[0-9]+(?:\.[0-9]+)?|\.[0-9]+)$/.test(t),Xn=/^var\(--(?:([\x2D0-9A-Z_a-z]+)|([\x2D0-9A-Z_a-z]+), ?([ #%\(\),-\.0-9A-Za-z]+))\)/,qn=4,_n=t=>e=>e.test(t),Gn=[te,re,oe,se,le,ae,{test:t=>"auto"===t,parse:t=>t}],Zn=t=>Gn.find(_n(t)),Jn=class extends Hn{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let n=t[a];if("string"==typeof n&&(n=n.trim(),Gt(n))){const i=Xr(n,e.current);void 0!==i&&(t[a]=i),a===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!We.has(n)||2!==t.length)return;const[i,s]=t,o=Zn(i),r=Zn(s);if(o!==r)if(Bn(o)&&Bn(r))for(let a=0;a<t.length;a++){const e=t[a];"string"==typeof e&&(t[a]=parseFloat(e))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let i=0;i<t.length;i++)Br(t[i])&&n.push(i);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!Ln.has(e)&&Ur(e).values.length&&(i=t[s]),s++}if(i&&n)for(const o of e)t[o]=Kr(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=$n[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;const s=e.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=i.length-1,r=i[o];i[o]=$n[n](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Qn=(t,e)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Cn.test(t)&&"0"!==t||t.startsWith("url("))),ti=t=>null!==t,ei=class{constructor(t){let{autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:r="loop"}=t,l=h(t,a);this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Ke.now(),this.options=p({autoplay:e,delay:n,type:i,repeat:s,repeatDelay:o,repeatType:r},l),this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(Yr(),Hr()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=Ke.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:s,delay:o,onComplete:r,onUpdate:a,isGenerator:l}=this.options;if(!l&&!qr(t,n,i,s)){if(_e.current||!o)return a&&a(_r(t,this.options,e)),r&&r(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(t,e);!1!==u&&(this._resolved=p({keyframes:t,finalKeyframe:e},u),this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}},ni=(t,e,n)=>t+(e-t)*n,ii=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},si=[yn,vn,xn],oi=t=>si.find(e=>e.test(t)),ri=(t,e)=>{const n=Jr(t),i=Jr(e);if(!n||!i)return Zr(t,e);const s=p({},n);return t=>(s.red=ii(n.red,i.red,t),s.green=ii(n.green,i.green,t),s.blue=ii(n.blue,i.blue,t),s.alpha=ni(n.alpha,i.alpha,t),vn.transform(s))},ai=(t,e)=>n=>e(t(n)),li=(...t)=>t.reduce(ai),ui=new Set(["none","hidden"]),ci=(t,e)=>{const n=Cn.createTransformer(e),i=Ur(t),s=Ur(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?ui.has(t)&&!s.values.length||ui.has(e)&&!i.values.length?function(t,e){return ui.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):li(ea(function(t,e){var n;const i=[],s={color:0,var:0,number:0};for(let o=0;o<e.values.length;o++){const r=e.types[o],a=t.indexes[r][s[r]];i[o]=null!==(n=t.values[a])&&void 0!==n?n:0,s[r]++}return i}(i,s),s.values),n):(lt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Zr(t,e))},hi=5,di={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},pi=.001,mi=12,fi=["duration","bounce"],gi=["stiffness","damping","mass"],vi=Lr(.42,0,1,1),yi=Lr(0,0,.58,1),bi=t=>Array.isArray(t)&&"number"!=typeof t[0],Fi={linear:at,easeIn:vi,easeInOut:xi=Lr(.42,0,.58,1),easeOut:yi,circIn:rn,circInOut:ln,circOut:an,backIn:nn,backInOut:sn,backOut:en,anticipate:on},wi=t=>{if(ke(t)){ut(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,i,s]=t;return Lr(e,n,i,s)}return"string"==typeof t?(ut(void 0!==Fi[t],`Invalid easing type '${t}'`),Fi[t]):t},Si=t=>{const e=({timestamp:e})=>t(e);return{start:()=>gt.update(e,!0),stop:()=>vt(e),now:()=>yt.isProcessing?yt.timestamp:Ke.now()}},Pi={decay:ua,inertia:ua,tween:da,keyframes:da,spring:la},Ti=t=>t/100,Ai=class extends ei{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:t}=this.options;t&&t()};const{name:e,motionValue:n,element:i,keyframes:s}=this.options,o=(null==i?void 0:i.KeyframeResolver)||Hn;this.resolver=new o(s,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:e="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,r=fr(e)?e:Pi[e]||da;let a,l;r!==da&&"number"!=typeof t[0]&&(a=li(Ti,ia(t[0],t[1])),t=[0,100]);const u=r(p(p({},this.options),{},{keyframes:t}));"mirror"===s&&(l=r(p(p({},this.options),{},{keyframes:[...t].reverse(),velocity:-o}))),null===u.calculatedDuration&&(u.calculatedDuration=mr(u));const{calculatedDuration:c}=u,h=c+i;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-i}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){const{resolved:n}=this;if(!n){const{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:r,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return s.next(0);const{delay:h,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=s;if(d){const t=Math.min(this.currentTime,u)/c;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,d+1),Boolean(e%2)&&("reverse"===p?(n=1-n,m&&(n-=m/c)):"mirror"===p&&(x=o)),y=Qt(0,1,n)*c}const b=v?{done:!1,value:a[0]}:x.next(y);r&&(b.value=r(b.value));let{done:F}=b;v||null===l||(F=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&F);return w&&void 0!==i&&(b.value=_r(a,this.options,i)),f&&f(b.value),w&&this.finish(),b}get duration(){const{resolved:t}=this;return t?dt(t.calculatedDuration):0}get time(){return dt(this.currentTime)}set time(t){t=ht(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=dt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:t=Si,onPlay:e,startTime:n}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;this._resolved?(this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}},Di=new Set(["opacity","clipPath","filter","transform"]),Ei=Co(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ci=10,ki=2e4,Vi={anticipate:on,backInOut:sn,circInOut:ln},Mi=class extends ei{constructor(t){super(t);const{name:e,motionValue:n,element:i,keyframes:s}=this.options;this.resolver=new Jn(s,(t,e)=>this.onKeyframesResolved(t,e),e,n,i),this.resolver.scheduleResolve()}initPlayback(t,e){let{duration:n=300,times:i,ease:s,type:o,motionValue:r,name:a,startTime:u}=this.options;if(!r.owner||!r.owner.current)return!1;var c;if("string"==typeof s&&Me()&&s in Vi&&(s=Vi[s]),fr((c=this.options).type)||"spring"===c.type||!yr(c.ease)){const e=this.options,{onComplete:r,onUpdate:a,motionValue:u,element:c}=e,d=h(e,l),m=function(t,e){const n=new Ai(p(p({},e),{},{keyframes:t,repeat:0,delay:0,isGenerator:!0}));let i={done:!1,value:t[0]};const s=[];let o=0;for(;!i.done&&o<ki;)i=n.sample(o),s.push(i.value),o+=Ci;return{times:void 0,keyframes:s,duration:o-Ci,ease:"linear"}}(t,d);1===(t=m.keyframes).length&&(t[1]=t[0]),n=m.duration,i=m.times,s=m.ease,o="keyframes"}const d=pa(r.owner.current,a,t,p(p({},this.options),{},{duration:n,times:i,ease:s}));return d.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(gr(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;r.set(_r(t,this.options,e)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:i,type:o,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:e}=t;return dt(e)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:e}=t;return dt(e.currentTime||0)}set time(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.currentTime=ht(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:e}=t;return e.playbackRate}set speed(t){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:e}=t;return e.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){const{resolved:e}=this;if(!e)return at;const{animation:n}=e;gr(n,t)}else this.pendingTimeline=t;return at}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:e,keyframes:n,duration:i,type:s,ease:o,times:r}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){const t=this.options,{motionValue:e,onUpdate:a,onComplete:l,element:c}=t,d=h(t,u),m=new Ai(p(p({},d),{},{keyframes:n,duration:i,type:s,ease:o,times:r,isGenerator:!0})),f=ht(this.time);e.setWithVelocity(m.sample(f-Ci).value,m.sample(f).value,Ci)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r}=t;if(!(e&&e.owner&&e.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=e.owner.getProps();return Ei()&&n&&Di.has(n)&&!a&&!l&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}},ji={type:"spring",stiffness:500,damping:25,restSpeed:10},Ri=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),Li={type:"keyframes",duration:.8},Bi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oi=(t,{keyframes:e})=>e.length>2?Li:Yt.has(t)?t.startsWith("scale")?Ri(e[1]):ji:Bi,Ii=(t,e,n,s={},o,r)=>a=>{const l=pr(s,t)||{},u=l.delay||s.delay||0;let{elapsed:c=0}=s;c-=ht(u);let d=p(p({keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity()},l),{},{delay:-c,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:r?void 0:o});(function(t){let{when:e,delay:n,delayChildren:s,staggerChildren:o,staggerDirection:r,repeat:a,repeatType:l,repeatDelay:u,from:c,elapsed:d}=t,p=h(t,i);return!!Object.keys(p).length})(l)||(d=p(p({},d),Oi(t,d))),d.duration&&(d.duration=ht(d.duration)),d.repeatDelay&&(d.repeatDelay=ht(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let m=!1;if((!1===d.type||0===d.duration&&!d.repeatDelay)&&(d.duration=0,0===d.delay&&(m=!0)),(_e.current||pt.skipAnimations)&&(m=!0,d.duration=0,d.delay=0),m&&!r&&void 0!==e.get()){const t=_r(d.keyframes,l);if(void 0!==t)return gt.update(()=>{d.onUpdate(t),d.onComplete()}),new Ee([])}return!r&&Mi.supports(d)?new Mi(d):new Ai(d)},Ui=Mt.length,Ni=[...Vt].reverse(),$i=Vt.length,Wi=class{constructor(t){this.isMounted=!1,this.node=t}update(){}},zi=class extends Wi{constructor(t){super(t),t.animationState||(t.animationState=ba(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Lo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}},Ki=0,Hi=class extends Wi{constructor(){super(...arguments),this.id=Ki++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>e(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}},Yi={animation:{Feature:zi},exit:{Feature:Hi}},Xi=t=>e=>Ie(e)&&t(e,Ta(e)),qi=(t,e)=>Math.abs(t-e),_i=class{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Ca(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=qi(t.x,e.x),i=qi(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=yt;this.history.push(p(p({},i),{},{timestamp:s}));const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Da(e,this.transformPagePoint),gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Ca("pointercancel"===t.type?this.lastMoveEventInfo:Da(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!Ie(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;const o=Da(Ta(t),this.transformPagePoint),{point:r}=o,{timestamp:a}=yt;this.history=[p(p({},r),{},{timestamp:a})];const{onSessionStart:l}=e;l&&l(t,Ca(o,this.history)),this.removeListeners=li(Aa(this.contextWindow,"pointermove",this.handlePointerMove),Aa(this.contextWindow,"pointerup",this.handlePointerUp),Aa(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),vt(this.updatePoint)}},Gi=.9999,Zi=1.0001,Ji=-.01,Qi=.01,ts=.35,es=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),ns=()=>({x:{min:0,max:0},y:{min:0,max:0}}),is=.999999999999,ss=1.0000000000001,os=({current:t})=>t?t.ownerDocument.defaultView:null,rs=new WeakMap,as=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ns(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new _i(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Ta(t).point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?Be[o]?null:(Be[o]=!0,()=>{Be[o]=!1}):Be.x||Be.y?null:(Be.x=Be.y=!0,()=>{Be.x=Be.y=!1}),!this.openDragLock))return;var o;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),za(t=>{let e=this.getAxisMotionValue(t).get()||0;if(oe.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];i&&(e=ja(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&>.postRender(()=>s(t,e)),jr(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>za(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:os(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=e;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&>.postRender(()=>s(t,e))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!sl(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?ni(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?ni(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,s=this.constraints;e&&No(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:Ua(t.x,n,s),y:Ua(t.y,e,i)}}(i.layoutBox,e),this.elastic=function(t=ts){return!1===t?t=0:!0===t&&(t=ts),{x:$a(t,"left","right"),y:$a(t,"top","bottom")}}(n),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&za(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!No(t))return!1;const n=t.current;ut(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=il(t,n),{scroll:s}=e;return s&&(tl(i.x,s.offset.x),tl(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Na(t.x,e.x),y:Na(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=Ka(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=za(r=>{if(!sl(r,e,this.currentDirection))return;let l=a&&a[r]||{};o&&(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,h=p(p({type:"inertia",velocity:n?t[r]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10},s),l);return this.startAxisValueAnimation(r,h)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return jr(this.visualElement,t),n.start(Ii(t,n,0,e,this.visualElement,!1))}stopAnimation(){za(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){za(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){za(e=>{const{drag:n}=this.getProps();if(!sl(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e];s.set(t[e]-ni(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!No(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};za(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=ja(t),s=ja(e);return s>i?n=ct(e.min,e.max-i,t.min):i>s&&(n=ct(t.min,t.max-s,e.min)),Qt(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),za(e=>{if(!sl(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(ni(s,o,i[e]))})}addListeners(){if(!this.visualElement.current)return;rs.set(this.visualElement,this);const t=Aa(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();No(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),gt.read(e);const s=Pa(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(za(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),i(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=ts,dragMomentum:r=!0}=t;return p(p({},t),{},{drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r})}},ls=class extends Wi{constructor(t){super(t),this.removeGroupControls=at,this.removeListeners=at,this.controls=new as(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||at}unmount(){this.removeGroupControls(),this.removeListeners()}},us=t=>(e,n)=>{t&>.postRender(()=>t(e,n))},cs=class extends Wi{constructor(){super(...arguments),this.removePointerDownListener=at}onPointerDown(t){this.session=new _i(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:os(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:us(t),onStart:us(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&>.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=Aa(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},hs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ds={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!re.test(t))return t;t=parseFloat(t)}return`${ol(t,e.target.x)}% ${ol(t,e.target.y)}%`}},ps={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=Cn.parse(t);if(s.length>5)return i;const o=Cn.createTransformer(t),r="number"!=typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const u=ni(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=u),"number"==typeof s[3+r]&&(s[3+r]/=u),o(s)}},ms=class extends H.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;var o;o=fs,Object.assign(we,o),s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions(p(p({},s.options),{},{onExitComplete:()=>this.safeToRemove()}))),hs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,o=n.projection;return o?(o.isPresent=s,i||t.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||gt.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Bt.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}},fs={borderRadius:p(p({},ds),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ds,borderTopRightRadius:ds,borderBottomLeftRadius:ds,borderBottomRightRadius:ds,boxShadow:ps},gs=(t,e)=>t.depth-e.depth,vs=class{constructor(){this.children=[],this.isDirty=!1}add(t){Er(this.children,t),this.isDirty=!0}remove(t){Cr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(gs),this.isDirty=!1,this.children.forEach(t)}},xs=(ys=["TopLeft","TopRight","BottomLeft","BottomRight"]).length,bs=t=>"string"==typeof t?parseFloat(t):t,Fs=t=>"number"==typeof t||re.test(t),ws=ll(0,.5,an),Ss=ll(.5,.95,at),Ps=["x","scaleX","originX"],Ts=["y","scaleY","originY"],As=class{constructor(){this.members=[]}add(t){Er(this.members,t),t.scheduleRender()}remove(t){if(Cr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let i=e;i>=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}},Ds={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Es="undefined"!=typeof window&&void 0!==window.MotionDebug,Cs=["","X","Y","Z"],ks={visibility:"hidden"},Vs=1e3,Ms=0,js={duration:.45,ease:[.4,0,.1,1]},Ls=(Rs=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t))("applewebkit/")&&!Rs("chrome/")?Math.round:at,Bs=Pl({attachResizeListener:(t,e)=>Pa(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Os={current:void 0},Is=Pl({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Os.current){const t=new Bs({});t.mount(window),t.setOptions({layoutScroll:!0}),Os.current=t}return Os.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Us={pan:{Feature:cs},drag:{Feature:ls,ProjectionNode:Is,MeasureLayout:rl}},Ns=class extends Wi{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[i,s,o]=Fr(t,n),r=wr(t=>{const{target:n}=t,i=e(t);if("function"!=typeof i||!n)return;const o=wr(t=>{i(t),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,s)});return i.forEach(t=>{t.addEventListener("pointerenter",r,s)}),o}(t,t=>(Kl(this.node,t,"Start"),t=>Kl(this.node,t,"End"))))}unmount(){}},$s=class extends Wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=li(Pa(this.node.current,"focus",()=>this.onFocus()),Pa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}},Ws=class extends Wi{mount(){const{current:t}=this.node;t&&(this.unmount=Ar(t,t=>(Hl(this.node,t,"Start"),(t,{success:e})=>Hl(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}},zs=new WeakMap,Ks=new WeakMap,Hs=t=>{const e=zs.get(t.target);e&&e(t)},Ys=t=>{t.forEach(Hs)},Xs={some:0,all:1},qs=class extends Wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Xs[i]};return Yl(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}},_s={inView:{Feature:qs},tap:{Feature:Ws},focus:{Feature:$s},hover:{Feature:Ns}},Gs={layout:{ProjectionNode:Is,MeasureLayout:rl}},Zs={current:null},Js={current:!1},Qs=[...Gn,bn,Cn],to=t=>Qs.find(_n(t)),eo=new WeakMap,no=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],io=class{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Hn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=Ke.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,gt.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=o;this.onUpdate=u,this.latestValues=a,this.baseTarget=p({},a),this.initialValues=e.initial?p({},a):{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.blockInitialAnimation=Boolean(s),this.isControllingVariants=Bo(e),this.isVariantNode=Oo(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const d=this.scrapeMotionValuesFromProps(e,{},this),{willChange:m}=d,f=h(d,c);for(const c in f){const t=f[c];void 0!==a[c]&&zt(t)&&t.set(a[c],!1)}}mount(t){this.current=t,eo.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),Js.current||function(){if(Js.current=!0,ot)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Zs.current=t.matches;t.addListener(e),e()}else Zs.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Zs.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){eo.delete(this.current),this.projection&&this.projection.unmount(),vt(this.notifyUpdate),vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=Yt.has(t),i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&>.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),s(),o&&o(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in wt){const e=wt[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ns()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<no.length;n++){const e=no[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const i=t["on"+e];i&&(this.propEventSubscriptions[e]=this.on(e,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if(zt(s))t.addValue(i,s);else if(zt(o))t.addValue(i,Vr(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,Vr(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=Vr(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){var n;let i=void 0===this.latestValues[t]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,t))&&void 0!==n?n:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(Yn(i)||un(i))?i=parseFloat(i):!to(i)&&Cn.test(e)&&(i=Kr(t,e)),this.setBaseTarget(t,zt(i)?i.get():i)),zt(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const s=qo(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);s&&(i=s[t])}if(n&&void 0!==i)return i;const s=this.getBaseTargetFromProps(this.props,t);return void 0===s||zt(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new He),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}},so=class extends io{constructor(){super(...arguments),this.KeyframeResolver=Jn}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;zt(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}},oo=class extends so{constructor(){super(...arguments),this.type="html",this.renderInstance=tr}readValueFromInstance(t,e){if(Yt.has(e)){const t=Rn(e);return t&&t.default||0}{const i=(n=t,window.getComputedStyle(n)),s=(qt(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return il(t,e)}build(t,e,n){Zo(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return ir(t,e,n)}},ro=class extends so{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ns}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(Yt.has(e)){const t=Rn(e);return t&&t.default||0}return e=Fe.has(e)?e:Rt(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return sr(t,e,n)}build(t,e,n){Qo(t,e,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,n,i){er(t,e,0,i)}mount(t){this.isSVGTag=be(t.tagName),super.mount(t)}},ao=(t,e)=>Yo(t)?new ro(e):new oo(e,{allowProjection:t!==H.Fragment}),lo=cr(p(p(p(p({},Yi),_s),Us),Gs),ao),uo=jo(lo),co="flex relative w-full cursor-text",ho="\n peer transition-all grow\n px-4 pt-5 pb-1.5 border border-solid rounded outline-none\n border-gray-300 bg-white text-black text-sm\n placeholder:text-transparent\n focus:border-ll-primary\n hover:bg-gray-25\n disabled:text-gray-200\n data-[has-prefix-icon=true]:pl-10\n",po="\n text-sm text-stone-500 ml-4\n absolute top-3.5 origin-top-left\n scale-75 duration-300\n\n transform\n -translate-y-2\n\n peer-placeholder-shown:scale-100\n peer-placeholder-shown:translate-y-0\n peer-focus:scale-75\n peer-focus:-translate-y-2\n peer-data-[has-prefix-icon=true]:mx-10\n",mo="\n h-4 w-4\n absolute left-4 top-1/2 -translate-y-1/2\n text-stone-500\n",fo="w-full sm:w-96 relative",go="relative z-10",vo="\n absolute top-0 left-0.5 right-0\n list-none px-0 py-1 mt-1\n rounded-lg overflow-hidden\n bg-white shadow rounded-lg \n",yo="\n text-sm font-normal\n\n data-[is-title=true]:py-2.5\n data-[is-title=true]:px-4\n data-[is-title=true]:text-ll-placeholder\n data-[is-title=true]:text-xs\n",xo="\n py-2.5 px-4 block transition-all\n hover:font-medium hover:bg-ll-surface-variant1\n",bo={dev:"https://api-qa.locallogic.co/neighborhood-management-v1",qa:"https://api-qa.locallogic.co/neighborhood-management-v1",prod:"https://api.locallogic.co/neighborhood-management-v1"},Fo=(t,e,n)=>{(0,H.useEffect)(()=>{const i=e=>{t.current&&!t.current.contains(e.target)&&n()};return window.addEventListener(e,i),()=>window.removeEventListener(e,i)},[t,n])},wo="mb-11",So="text-2xl font-medium",Po="mb-4 text-ll-disabled",To="flex flex-col py-6",Ao=V({lat:w().optional(),lng:w().optional(),geographyId:S().optional(),singleNeighborhoodURLSchema:S().optional(),urlSchemaSpacer:S().length(1).optional()}).noUnknown(!0),D(A.neighborhoodShowcase.key),d("default",()=>{var t,e,n,i,s,o,r;const{sdkState:a}=I(),l=$(),u=(null===(t=a.globalOptions)||void 0===t?void 0:t.locale)||"en",c=(0,H.useMemo)(()=>{var t,e,n,i;return null!==(t=a.options)&&void 0!==t&&t.geographyId?{geographyId:null===(e=a.options)||void 0===e?void 0:e.geographyId}:{lat:null===(n=a.options)||void 0===n?void 0:n.lat,lng:null===(i=a.options)||void 0===i?void 0:i.lng}},[null===(e=a.options)||void 0===e?void 0:e.lat,null===(n=a.options)||void 0===n?void 0:n.lng,null===(i=a.options)||void 0===i?void 0:i.geographyId]);return(0,_.jsx)(U,{children:(0,_.jsx)(N,{sdk:"Neighborhood Showcase",schema:Ao,options:a.options,children:(0,_.jsx)(E,{environment:null===(s=a.globalOptions)||void 0===s||null===(s=s.environment)||void 0===s?void 0:s.api,apiKey:a.apiKey,appearance:null===(o=a.globalOptions)||void 0===o?void 0:o.appearance,locale:null===(r=a.globalOptions)||void 0===r?void 0:r.locale,product:k.NEIGHBORHOOD_SHOWCASE,children:(0,_.jsx)(F,{trackingPipelineSettings:{apiKey:a.apiKey||""},analyticsSettings:A.neighborhoodShowcase,meta:{clientId:a.clientId,productName:k.NEIGHBORHOOD_SHOWCASE,productVersion:"1.24.43"},attributes:{location:c,host:a.location,host_url:document.referrer,locale:u,isMobile:l},flags:{isDebugMode:!1},children:(0,_.jsx)(J,{children:(0,_.jsx)(Gl,{})})})})})})})}}})}();
|
|
2
|
+
//# sourceMappingURL=NeighborhoodShowcase-legacy-B8IQbiVz.js.map
|