@local-logic/sdks-app 1.24.42 → 1.24.44
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-D012fWNs.js} +2 -2
- package/dist/assets/{Attribution-ClwsOk3e.js.map → Attribution-D012fWNs.js.map} +1 -1
- package/dist/assets/{Attribution-legacy-CtNhDTV1.js → Attribution-legacy-DSXG-3Q0.js} +2 -2
- package/dist/assets/{Attribution-legacy-CtNhDTV1.js.map → Attribution-legacy-DSXG-3Q0.js.map} +1 -1
- package/dist/assets/Cluster-BHQcO6iC-_jL_0N39.js +2 -0
- package/dist/assets/{Cluster-BHQcO6iC-BLUKMpub.js.map → Cluster-BHQcO6iC-_jL_0N39.js.map} +1 -1
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CP0b8zks.js → Cluster-BHQcO6iC-legacy-3UMx26D5.js} +2 -2
- package/dist/assets/{Cluster-BHQcO6iC-legacy-CP0b8zks.js.map → Cluster-BHQcO6iC-legacy-3UMx26D5.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-6gBja-_g.js → Google-BFAJ84CT-Dh97X1sB.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-6gBja-_g.js.map → Google-BFAJ84CT-Dh97X1sB.js.map} +1 -1
- package/dist/assets/{Google-DScXSvYv-legacy-Bud-7LK1.js → Google-BFAJ84CT-legacy-D0OGURqq.js} +2 -2
- package/dist/assets/{Google-DScXSvYv-legacy-Bud-7LK1.js.map → Google-BFAJ84CT-legacy-D0OGURqq.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-D3JlAgXq.js → Google-BS41ufih-Cc3f5UsV.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-D3JlAgXq.js.map → Google-BS41ufih-Cc3f5UsV.js.map} +1 -1
- package/dist/assets/{Google-qvGtRAuh-legacy-CMkNx5pn.js → Google-BS41ufih-legacy-BnojXQoy.js} +2 -2
- package/dist/assets/{Google-qvGtRAuh-legacy-CMkNx5pn.js.map → Google-BS41ufih-legacy-BnojXQoy.js.map} +1 -1
- package/dist/assets/Google-CH7a2yx--CBaNUH_8.js +2 -0
- package/dist/assets/{Google-CH7a2yx--B615NdD8.js.map → Google-CH7a2yx--CBaNUH_8.js.map} +1 -1
- package/dist/assets/{Google-CH7a2yx--legacy-BUUPS1d_.js → Google-CH7a2yx--legacy-C_ip84Oz.js} +2 -2
- package/dist/assets/{Google-CH7a2yx--legacy-BUUPS1d_.js.map → Google-CH7a2yx--legacy-C_ip84Oz.js.map} +1 -1
- package/dist/assets/Google-CXGCn-oJ-i9rxhVJh.js +2 -0
- package/dist/assets/{Google-CXGCn-oJ-AkqBPqrT.js.map → Google-CXGCn-oJ-i9rxhVJh.js.map} +1 -1
- package/dist/assets/{Google-CXGCn-oJ-legacy-wLFeZbs8.js → Google-CXGCn-oJ-legacy-OuENT3oi.js} +2 -2
- package/dist/assets/{Google-CXGCn-oJ-legacy-wLFeZbs8.js.map → Google-CXGCn-oJ-legacy-OuENT3oi.js.map} +1 -1
- package/dist/assets/Google-DbOLrYJn-bogicaOo.js +2 -0
- package/dist/assets/Google-DbOLrYJn-bogicaOo.js.map +1 -0
- package/dist/assets/Google-DbOLrYJn-legacy-B95opCm9.js +2 -0
- package/dist/assets/Google-DbOLrYJn-legacy-B95opCm9.js.map +1 -0
- package/dist/assets/{GridGraph-CA6dQSnE.js → GridGraph-_rWMkwNI.js} +2 -2
- package/dist/assets/{GridGraph-CA6dQSnE.js.map → GridGraph-_rWMkwNI.js.map} +1 -1
- package/dist/assets/{GridGraph-legacy-C-SnA-yN.js → GridGraph-legacy-CsgF_9Vx.js} +2 -2
- package/dist/assets/{GridGraph-legacy-C-SnA-yN.js.map → GridGraph-legacy-CsgF_9Vx.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-IqeCbA_u.js} +2 -2
- package/dist/assets/{LeadCapture-DYBfiSUq.js.map → LeadCapture-IqeCbA_u.js.map} +1 -1
- package/dist/assets/{LeadCapture-legacy-B2kUL7l2.js → LeadCapture-legacy-D_miey0j.js} +2 -2
- package/dist/assets/{LeadCapture-legacy-B2kUL7l2.js.map → LeadCapture-legacy-D_miey0j.js.map} +1 -1
- package/dist/assets/{LocalContent-CdwC5dim.js → LocalContent-DL6Y67Ne.js} +2 -2
- package/dist/assets/{LocalContent-CdwC5dim.js.map → LocalContent-DL6Y67Ne.js.map} +1 -1
- package/dist/assets/{LocalContent-legacy-is3KMNbp.js → LocalContent-legacy-BBB-ST51.js} +2 -2
- package/dist/assets/{LocalContent-legacy-is3KMNbp.js.map → LocalContent-legacy-BBB-ST51.js.map} +1 -1
- package/dist/assets/{LocalDemographics-CfkSaIaw.js → LocalDemographics-DcirUh9h.js} +2 -2
- package/dist/assets/{LocalDemographics-CfkSaIaw.js.map → LocalDemographics-DcirUh9h.js.map} +1 -1
- package/dist/assets/{LocalDemographics-legacy-jYYfhemY.js → LocalDemographics-legacy-rmGYdILu.js} +2 -2
- package/dist/assets/{LocalDemographics-legacy-jYYfhemY.js.map → LocalDemographics-legacy-rmGYdILu.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-CxTuYnPt.js → Mapbox-CpLnA607-CKDrFvU5.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-CxTuYnPt.js.map → Mapbox-CpLnA607-CKDrFvU5.js.map} +1 -1
- package/dist/assets/{Mapbox-B7oionsm-legacy-BRIsIA0a.js → Mapbox-CpLnA607-legacy-Bx1JnBMX.js} +2 -2
- package/dist/assets/{Mapbox-B7oionsm-legacy-BRIsIA0a.js.map → Mapbox-CpLnA607-legacy-Bx1JnBMX.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-BBMjbLph.js → Mapbox-DDJ1gHRb-BrLhMxW4.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-BBMjbLph.js.map → Mapbox-DDJ1gHRb-BrLhMxW4.js.map} +1 -1
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-OengExoB.js → Mapbox-DDJ1gHRb-legacy-DtASaFMy.js} +2 -2
- package/dist/assets/{Mapbox-DDJ1gHRb-legacy-OengExoB.js.map → Mapbox-DDJ1gHRb-legacy-DtASaFMy.js.map} +1 -1
- package/dist/assets/Mapbox-DiD9etYJ-BMtTiGO7.js +2 -0
- package/dist/assets/Mapbox-DiD9etYJ-BMtTiGO7.js.map +1 -0
- package/dist/assets/Mapbox-DiD9etYJ-legacy-WIywO1-w.js +2 -0
- package/dist/assets/Mapbox-DiD9etYJ-legacy-WIywO1-w.js.map +1 -0
- package/dist/assets/{Mapbox-DtZmt1D_-Bx6ckAkh.js → Mapbox-DtZmt1D_-Dq1UD7au.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-Bx6ckAkh.js.map → Mapbox-DtZmt1D_-Dq1UD7au.js.map} +1 -1
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-CjIWGIob.js → Mapbox-DtZmt1D_-legacy-CXP5-C49.js} +2 -2
- package/dist/assets/{Mapbox-DtZmt1D_-legacy-CjIWGIob.js.map → Mapbox-DtZmt1D_-legacy-CXP5-C49.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-CFYg9mW4.js → Mapbox-u11C3LWs-DuakH8Ji.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-CFYg9mW4.js.map → Mapbox-u11C3LWs-DuakH8Ji.js.map} +1 -1
- package/dist/assets/{Mapbox-vp91lH9I-legacy-GApHnB0z.js → Mapbox-u11C3LWs-legacy-ChrUMjPl.js} +2 -2
- package/dist/assets/{Mapbox-vp91lH9I-legacy-GApHnB0z.js.map → Mapbox-u11C3LWs-legacy-ChrUMjPl.js.map} +1 -1
- package/dist/assets/Maptiler-C0oTROMk-Dz6Vkl6m.js +2 -0
- package/dist/assets/Maptiler-C0oTROMk-Dz6Vkl6m.js.map +1 -0
- package/dist/assets/Maptiler-C0oTROMk-legacy-B6L6FzM1.js +2 -0
- package/dist/assets/Maptiler-C0oTROMk-legacy-B6L6FzM1.js.map +1 -0
- package/dist/assets/{Maptiler-DJScKW8p-_Xood8h4.js → Maptiler-DJScKW8p-6YGAe8cE.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-_Xood8h4.js.map → Maptiler-DJScKW8p-6YGAe8cE.js.map} +1 -1
- package/dist/assets/{Maptiler-DJScKW8p-legacy-BLJl42xt.js → Maptiler-DJScKW8p-legacy-DEW3rPcZ.js} +2 -2
- package/dist/assets/{Maptiler-DJScKW8p-legacy-BLJl42xt.js.map → Maptiler-DJScKW8p-legacy-DEW3rPcZ.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-B8SIuLJ2.js → Maptiler-DdeFS4iM-Brs-80yb.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-B8SIuLJ2.js.map → Maptiler-DdeFS4iM-Brs-80yb.js.map} +1 -1
- package/dist/assets/{Maptiler-BQliPE7n-legacy-Dbs_BWos.js → Maptiler-DdeFS4iM-legacy-Ci9oroQC.js} +2 -2
- package/dist/assets/{Maptiler-BQliPE7n-legacy-Dbs_BWos.js.map → Maptiler-DdeFS4iM-legacy-Ci9oroQC.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-DEBJexij.js → Maptiler-DqeshLom-B0jdRE1n.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-DEBJexij.js.map → Maptiler-DqeshLom-B0jdRE1n.js.map} +1 -1
- package/dist/assets/{Maptiler-DqeshLom-legacy-DKFe6w2r.js → Maptiler-DqeshLom-legacy-CurUmtTs.js} +2 -2
- package/dist/assets/{Maptiler-DqeshLom-legacy-DKFe6w2r.js.map → Maptiler-DqeshLom-legacy-CurUmtTs.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-A8qgmLuQ.js → Maptiler-YjlcPccn-BeECNaQc.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-A8qgmLuQ.js.map → Maptiler-YjlcPccn-BeECNaQc.js.map} +1 -1
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-6p_OzxFA.js → Maptiler-YjlcPccn-legacy-DUPM1fwa.js} +2 -2
- package/dist/assets/{Maptiler-BtYYeJoo-legacy-6p_OzxFA.js.map → Maptiler-YjlcPccn-legacy-DUPM1fwa.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-BiE4oWxC.js → MarkerIcon-Bc3X9WQk-BuSzLTIC.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-BiE4oWxC.js.map → MarkerIcon-Bc3X9WQk-BuSzLTIC.js.map} +1 -1
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-D006OcWh.js → MarkerIcon-Bc3X9WQk-legacy-0n6adFAI.js} +2 -2
- package/dist/assets/{MarkerIcon-Bc3X9WQk-legacy-D006OcWh.js.map → MarkerIcon-Bc3X9WQk-legacy-0n6adFAI.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-CjddOmMg.js → NeighborhoodCard-ePSiX1h0.js} +2 -2
- package/dist/assets/{NeighborhoodCard-CjddOmMg.js.map → NeighborhoodCard-ePSiX1h0.js.map} +1 -1
- package/dist/assets/{NeighborhoodCard-legacy-BXbEUaCk.js → NeighborhoodCard-legacy-B7hL1XOX.js} +2 -2
- package/dist/assets/{NeighborhoodCard-legacy-BXbEUaCk.js.map → NeighborhoodCard-legacy-B7hL1XOX.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-rVjVJZhq.js → NeighborhoodCharacteristics-__nE9rKT.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-rVjVJZhq.js.map → NeighborhoodCharacteristics-__nE9rKT.js.map} +1 -1
- package/dist/assets/{NeighborhoodCharacteristics-legacy-N-y878TT.js → NeighborhoodCharacteristics-legacy-zcamdTX5.js} +2 -2
- package/dist/assets/{NeighborhoodCharacteristics-legacy-N-y878TT.js.map → NeighborhoodCharacteristics-legacy-zcamdTX5.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-CS-v8EiF.js → NeighborhoodDemographics-5cGgXnRY.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-CS-v8EiF.js.map → NeighborhoodDemographics-5cGgXnRY.js.map} +1 -1
- package/dist/assets/{NeighborhoodDemographics-legacy-Dm5pQwht.js → NeighborhoodDemographics-legacy-c3eDH26X.js} +2 -2
- package/dist/assets/{NeighborhoodDemographics-legacy-Dm5pQwht.js.map → NeighborhoodDemographics-legacy-c3eDH26X.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-s-u9pUbm.js → NeighborhoodFeatured-DIXhmlRC.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-s-u9pUbm.js.map → NeighborhoodFeatured-DIXhmlRC.js.map} +1 -1
- package/dist/assets/{NeighborhoodFeatured-legacy-DFs2mouX.js → NeighborhoodFeatured-legacy-lDme45yC.js} +2 -2
- package/dist/assets/{NeighborhoodFeatured-legacy-DFs2mouX.js.map → NeighborhoodFeatured-legacy-lDme45yC.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-BywJZ-xz.js → NeighborhoodHero-Bj4FlQVV.js} +2 -2
- package/dist/assets/{NeighborhoodHero-BywJZ-xz.js.map → NeighborhoodHero-Bj4FlQVV.js.map} +1 -1
- package/dist/assets/{NeighborhoodHero-legacy-DBXy8A9v.js → NeighborhoodHero-legacy-C6T-qgPK.js} +2 -2
- package/dist/assets/{NeighborhoodHero-legacy-DBXy8A9v.js.map → NeighborhoodHero-legacy-C6T-qgPK.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-C7wjbeds.js → NeighborhoodHighlights-BBmVnaLl.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-C7wjbeds.js.map → NeighborhoodHighlights-BBmVnaLl.js.map} +1 -1
- package/dist/assets/{NeighborhoodHighlights-legacy-DuaIiUeU.js → NeighborhoodHighlights-legacy-B2x36QRC.js} +2 -2
- package/dist/assets/{NeighborhoodHighlights-legacy-DuaIiUeU.js.map → NeighborhoodHighlights-legacy-B2x36QRC.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-chAy5ObD.js → NeighborhoodMap-DwMQLhkw.js} +2 -2
- package/dist/assets/{NeighborhoodMap-chAy5ObD.js.map → NeighborhoodMap-DwMQLhkw.js.map} +1 -1
- package/dist/assets/{NeighborhoodMap-legacy-qKRq45VQ.js → NeighborhoodMap-legacy-CugKbgSp.js} +2 -2
- package/dist/assets/{NeighborhoodMap-legacy-qKRq45VQ.js.map → NeighborhoodMap-legacy-CugKbgSp.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-DyzBmnXU.js → NeighborhoodMarketTrends-COqvs4Fz.js} +3 -3
- package/dist/assets/{NeighborhoodMarketTrends-DyzBmnXU.js.map → NeighborhoodMarketTrends-COqvs4Fz.js.map} +1 -1
- package/dist/assets/{NeighborhoodMarketTrends-legacy-DflW5bwf.js → NeighborhoodMarketTrends-legacy-DSHDUUH_.js} +2 -2
- package/dist/assets/{NeighborhoodMarketTrends-legacy-DflW5bwf.js.map → NeighborhoodMarketTrends-legacy-DSHDUUH_.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-B0NunmQ1.js → NeighborhoodMatch-GqzEoreu.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-B0NunmQ1.js.map → NeighborhoodMatch-GqzEoreu.js.map} +1 -1
- package/dist/assets/{NeighborhoodMatch-legacy-C9pmkVI0.js → NeighborhoodMatch-legacy-SGEcOXuf.js} +2 -2
- package/dist/assets/{NeighborhoodMatch-legacy-C9pmkVI0.js.map → NeighborhoodMatch-legacy-SGEcOXuf.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-pcHUQKLk.js → NeighborhoodPropertyValueDrivers-Cz4cawqR.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-pcHUQKLk.js.map → NeighborhoodPropertyValueDrivers-Cz4cawqR.js.map} +1 -1
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-CSn26WOI.js → NeighborhoodPropertyValueDrivers-legacy-7gVUrIgh.js} +2 -2
- package/dist/assets/{NeighborhoodPropertyValueDrivers-legacy-CSn26WOI.js.map → NeighborhoodPropertyValueDrivers-legacy-7gVUrIgh.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-mOJqjm1x.js → NeighborhoodSchools-D6CPTgGE.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-mOJqjm1x.js.map → NeighborhoodSchools-D6CPTgGE.js.map} +1 -1
- package/dist/assets/{NeighborhoodSchools-legacy-DZOdDDpP.js → NeighborhoodSchools-legacy-0G_dtI8q.js} +2 -2
- package/dist/assets/{NeighborhoodSchools-legacy-DZOdDDpP.js.map → NeighborhoodSchools-legacy-0G_dtI8q.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-DB50zUgk.js → NeighborhoodShowcase-CRlKc8OL.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-DB50zUgk.js.map → NeighborhoodShowcase-CRlKc8OL.js.map} +1 -1
- package/dist/assets/{NeighborhoodShowcase-legacy-BkNvt6P2.js → NeighborhoodShowcase-legacy-Bjz5_C24.js} +2 -2
- package/dist/assets/{NeighborhoodShowcase-legacy-BkNvt6P2.js.map → NeighborhoodShowcase-legacy-Bjz5_C24.js.map} +1 -1
- package/dist/assets/{NoDataContent-DMnLpuKS.js → NoDataContent-CTxzT718.js} +2 -2
- package/dist/assets/{NoDataContent-DMnLpuKS.js.map → NoDataContent-CTxzT718.js.map} +1 -1
- package/dist/assets/{NoDataContent-legacy-V241YjyB.js → NoDataContent-legacy-BWvHzb0g.js} +2 -2
- package/dist/assets/{NoDataContent-legacy-V241YjyB.js.map → NoDataContent-legacy-BWvHzb0g.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-DWV5t91u.js → ResizeWrapper-DbYmMKOU.js} +2 -2
- package/dist/assets/{ResizeWrapper-DWV5t91u.js.map → ResizeWrapper-DbYmMKOU.js.map} +1 -1
- package/dist/assets/{ResizeWrapper-legacy-DGnrE5zr.js → ResizeWrapper-legacy-C0ua6RC5.js} +2 -2
- package/dist/assets/{ResizeWrapper-legacy-DGnrE5zr.js.map → ResizeWrapper-legacy-C0ua6RC5.js.map} +1 -1
- package/dist/assets/{ScoreCardList-BFPj6mZA.js → ScoreCardList-B4NURGgK.js} +2 -2
- package/dist/assets/{ScoreCardList-BFPj6mZA.js.map → ScoreCardList-B4NURGgK.js.map} +1 -1
- package/dist/assets/{ScoreCardList-legacy-D8n8_vhM.js → ScoreCardList-legacy-BTRPIWUP.js} +2 -2
- package/dist/assets/{ScoreCardList-legacy-D8n8_vhM.js.map → ScoreCardList-legacy-BTRPIWUP.js.map} +1 -1
- package/dist/assets/{ScoreIcon-legacy-x5Tn3nV1.js → ScoreIcon-legacy-D9igp8MS.js} +2 -2
- package/dist/assets/{ScoreIcon-legacy-x5Tn3nV1.js.map → ScoreIcon-legacy-D9igp8MS.js.map} +1 -1
- package/dist/assets/{ScoreIcon-e7HkxsIV.js → ScoreIcon-s5-ehfPP.js} +2 -2
- package/dist/assets/{ScoreIcon-e7HkxsIV.js.map → ScoreIcon-s5-ehfPP.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-C9V56Cfj.js → Testing--n5Ro0Ek-Cc3RGltv.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-C9V56Cfj.js.map → Testing--n5Ro0Ek-Cc3RGltv.js.map} +1 -1
- package/dist/assets/{Testing--n5Ro0Ek-legacy-D_AkmmzN.js → Testing--n5Ro0Ek-legacy-BB0u0086.js} +2 -2
- package/dist/assets/{Testing--n5Ro0Ek-legacy-D_AkmmzN.js.map → Testing--n5Ro0Ek-legacy-BB0u0086.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-BsZQEhVn.js → Testing-BNJwzbRK-C1viHx8M.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-BsZQEhVn.js.map → Testing-BNJwzbRK-C1viHx8M.js.map} +1 -1
- package/dist/assets/{Testing-BNJwzbRK-legacy-DWOKVB8F.js → Testing-BNJwzbRK-legacy-XPR_-0Eg.js} +2 -2
- package/dist/assets/{Testing-BNJwzbRK-legacy-DWOKVB8F.js.map → Testing-BNJwzbRK-legacy-XPR_-0Eg.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-D1AEkx8H.js → Testing-CoRLhmNT-B4pOjeZH.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-D1AEkx8H.js.map → Testing-CoRLhmNT-B4pOjeZH.js.map} +1 -1
- package/dist/assets/{Testing-CoRLhmNT-legacy-C2PTG7qO.js → Testing-CoRLhmNT-legacy-BFVvx40w.js} +2 -2
- package/dist/assets/{Testing-CoRLhmNT-legacy-C2PTG7qO.js.map → Testing-CoRLhmNT-legacy-BFVvx40w.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-ixrV0Uct.js → Testing-DGUeGxdc-CKSlgBDu.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-ixrV0Uct.js.map → Testing-DGUeGxdc-CKSlgBDu.js.map} +1 -1
- package/dist/assets/{Testing-DGUeGxdc-legacy-qdFrcrxK.js → Testing-DGUeGxdc-legacy-B2yBRluh.js} +2 -2
- package/dist/assets/{Testing-DGUeGxdc-legacy-qdFrcrxK.js.map → Testing-DGUeGxdc-legacy-B2yBRluh.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-6k6EztCf.js → Testing-DzWAcbhL-B5JOmJod.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-6k6EztCf.js.map → Testing-DzWAcbhL-B5JOmJod.js.map} +1 -1
- package/dist/assets/{Testing-DzWAcbhL-legacy-CVi7-xZq.js → Testing-DzWAcbhL-legacy-20VBltE2.js} +2 -2
- package/dist/assets/{Testing-DzWAcbhL-legacy-CVi7-xZq.js.map → Testing-DzWAcbhL-legacy-20VBltE2.js.map} +1 -1
- package/dist/assets/{TitleHeader-mQeQYQpJ.js → TitleHeader-Be2YRN93.js} +2 -2
- package/dist/assets/{TitleHeader-mQeQYQpJ.js.map → TitleHeader-Be2YRN93.js.map} +1 -1
- package/dist/assets/{TitleHeader-legacy-BxGrZ-6z.js → TitleHeader-legacy-CzXSoMFC.js} +2 -2
- package/dist/assets/{TitleHeader-legacy-BxGrZ-6z.js.map → TitleHeader-legacy-CzXSoMFC.js.map} +1 -1
- package/dist/assets/{Trans-C0JSM2OQ.js → Trans-DntniXa9.js} +2 -2
- package/dist/assets/{Trans-C0JSM2OQ.js.map → Trans-DntniXa9.js.map} +1 -1
- package/dist/assets/{Trans-legacy-Ce8Vb50C.js → Trans-legacy-B9t4MV_C.js} +2 -2
- package/dist/assets/{Trans-legacy-Ce8Vb50C.js.map → Trans-legacy-B9t4MV_C.js.map} +1 -1
- package/dist/assets/{ValidateOptions-0362goEF.js → ValidateOptions-BqL9iY9R.js} +2 -2
- package/dist/assets/{ValidateOptions-0362goEF.js.map → ValidateOptions-BqL9iY9R.js.map} +1 -1
- package/dist/assets/{ValidateOptions-legacy-DzEh45h5.js → ValidateOptions-legacy-BQ69tin-.js} +2 -2
- package/dist/assets/{ValidateOptions-legacy-DzEh45h5.js.map → ValidateOptions-legacy-BQ69tin-.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-C_ktdPsv.js} +2 -2
- package/dist/assets/{dist-3L6XR49Y.js.map → dist-C_ktdPsv.js.map} +1 -1
- package/dist/assets/{dist-legacy-B55wY-DS.js → dist-legacy-DIwOLBcZ.js} +2 -2
- package/dist/assets/{dist-legacy-B55wY-DS.js.map → dist-legacy-DIwOLBcZ.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-D9e8KNYU.js} +3 -3
- package/dist/assets/{getMapProviderConfig-CdGY8cWm.js.map → getMapProviderConfig-D9e8KNYU.js.map} +1 -1
- package/dist/assets/{getMapProviderConfig-legacy-wmAHunfq.js → getMapProviderConfig-legacy-DVBUhWqR.js} +2 -2
- package/dist/assets/{getMapProviderConfig-legacy-wmAHunfq.js.map → getMapProviderConfig-legacy-DVBUhWqR.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-PbHyodiU.js} +3 -3
- package/dist/assets/index-PbHyodiU.js.map +1 -0
- package/dist/assets/index-legacy-CYps6nGB.js +2 -0
- package/dist/assets/index-legacy-CYps6nGB.js.map +1 -0
- package/dist/assets/{index.es-CXXRBE7A.js → index.es-DuM-WVhV.js} +2 -2
- package/dist/assets/{index.es-CXXRBE7A.js.map → index.es-DuM-WVhV.js.map} +1 -1
- package/dist/assets/{index.es-legacy-CAykU5jw.js → index.es-legacy-Cz2m6e4L.js} +2 -2
- package/dist/assets/{index.es-legacy-CAykU5jw.js.map → index.es-legacy-Cz2m6e4L.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-Dc19y3gY.js → mapbox-jb8Zev6T-BgSpiKob.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-Dc19y3gY.js.map → mapbox-jb8Zev6T-BgSpiKob.js.map} +1 -1
- package/dist/assets/{mapbox-jb8Zev6T-legacy-BeyVAwDw.js → mapbox-jb8Zev6T-legacy-hBjjoWXX.js} +2 -2
- package/dist/assets/{mapbox-jb8Zev6T-legacy-BeyVAwDw.js.map → mapbox-jb8Zev6T-legacy-hBjjoWXX.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-BzuGVu1-.js → maplibre-CUYkxr-D-BJWmGVry.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-BzuGVu1-.js.map → maplibre-CUYkxr-D-BJWmGVry.js.map} +1 -1
- package/dist/assets/{maplibre-CUYkxr-D-legacy-9NqXov2x.js → maplibre-CUYkxr-D-legacy-BNqtRzVB.js} +2 -2
- package/dist/assets/{maplibre-CUYkxr-D-legacy-9NqXov2x.js.map → maplibre-CUYkxr-D-legacy-BNqtRzVB.js.map} +1 -1
- package/dist/assets/neighborhood-fallback-CizB5oi9.js.map +1 -1
- package/dist/assets/{sdks-Bxf4c2j1.js → sdks-BTkz21XL.js} +2 -2
- package/dist/assets/{sdks-Bxf4c2j1.js.map → sdks-BTkz21XL.js.map} +1 -1
- package/dist/assets/{sdks-legacy-DYYmSGi_.js → sdks-legacy-3sJ2n28B.js} +2 -2
- package/dist/assets/{sdks-legacy-DYYmSGi_.js.map → sdks-legacy-3sJ2n28B.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-DKScK522.js} +2 -2
- package/dist/assets/{useDemographicsData-BvaNug6u.js.map → useDemographicsData-DKScK522.js.map} +1 -1
- package/dist/assets/{useDemographicsData-legacy-Ce1DyoWD.js → useDemographicsData-legacy-BsoUaI9P.js} +2 -2
- package/dist/assets/{useDemographicsData-legacy-Ce1DyoWD.js.map → useDemographicsData-legacy-BsoUaI9P.js.map} +1 -1
- package/dist/assets/{useGeographies-PyhHBRG7.js → useGeographies-DejQbRC9.js} +2 -2
- package/dist/assets/{useGeographies-PyhHBRG7.js.map → useGeographies-DejQbRC9.js.map} +1 -1
- package/dist/assets/{useGeographies-legacy-D9GtGYxP.js → useGeographies-legacy-B5ciev2M.js} +2 -2
- package/dist/assets/{useGeographies-legacy-D9GtGYxP.js.map → useGeographies-legacy-B5ciev2M.js.map} +1 -1
- package/dist/assets/{useIsMobile-CFx2Xa3X.js → useIsMobile-Co5SddxR.js} +2 -2
- package/dist/assets/{useIsMobile-CFx2Xa3X.js.map → useIsMobile-Co5SddxR.js.map} +1 -1
- package/dist/assets/{useIsMobile-legacy-CAXdJOlD.js → useIsMobile-legacy-B53LlWR8.js} +2 -2
- package/dist/assets/{useIsMobile-legacy-CAXdJOlD.js.map → useIsMobile-legacy-B53LlWR8.js.map} +1 -1
- package/dist/assets/{useLocation-CgVyB4mN.js → useLocation-DUSQPRn5.js} +2 -2
- package/dist/assets/{useLocation-CgVyB4mN.js.map → useLocation-DUSQPRn5.js.map} +1 -1
- package/dist/assets/{useLocation-legacy-CoN_4aWO.js → useLocation-legacy-CYzO18ij.js} +2 -2
- package/dist/assets/{useLocation-legacy-CoN_4aWO.js.map → useLocation-legacy-CYzO18ij.js.map} +1 -1
- package/dist/assets/{useProfiles-CleTbooi.js → useProfiles-Dv9s6TWw.js} +2 -2
- package/dist/assets/{useProfiles-CleTbooi.js.map → useProfiles-Dv9s6TWw.js.map} +1 -1
- package/dist/assets/{useProfiles-legacy-CLlZc_oV.js → useProfiles-legacy-DF0NXWwe.js} +2 -2
- package/dist/assets/{useProfiles-legacy-CLlZc_oV.js.map → useProfiles-legacy-DF0NXWwe.js.map} +1 -1
- package/dist/assets/{useSchools-CKXVMLym.js → useSchools-Dqdy1J-D.js} +2 -2
- package/dist/assets/{useSchools-CKXVMLym.js.map → useSchools-Dqdy1J-D.js.map} +1 -1
- package/dist/assets/{useSchools-legacy-BvZM00mn.js → useSchools-legacy-CCHNqc2P.js} +2 -2
- package/dist/assets/{useSchools-legacy-BvZM00mn.js.map → useSchools-legacy-CCHNqc2P.js.map} +1 -1
- package/dist/assets/{useScores-BYLlfjJr.js → useScores-C4T2-LUO.js} +2 -2
- package/dist/assets/{useScores-BYLlfjJr.js.map → useScores-C4T2-LUO.js.map} +1 -1
- package/dist/assets/{useScores-legacy-BtklhLy-.js → useScores-legacy-BludORUw.js} +2 -2
- package/dist/assets/{useScores-legacy-BtklhLy-.js.map → useScores-legacy-BludORUw.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/LocalContent/hooks/useSurveyTrigger/SurveyTriggerProvider/index.test.js +11 -9
- package/dist/types/sdks/LocalContent/hooks/useSurveyTrigger/SurveyTriggerProvider/index.test.js.map +1 -1
- package/dist/types/sdks/LocalContent/hooks/useSurveyTrigger/index.test.js +19 -5
- package/dist/types/sdks/LocalContent/hooks/useSurveyTrigger/index.test.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 +2 -2
- 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 +0,0 @@
|
|
|
1
|
-
!function(){const e=["children"],t=["children"],n=["scope","children"],r=["children"],o=["children"],i=["scope","children"],a=["asChild"],s=["asChild"],l=["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"],c=["loop","trapped","onMountAutoFocus","onUnmountAutoFocus"],u=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],d=["strategy"],h=["mainAxis","crossAxis","limiter"],p=["apply"],f=["children","width","height"],g=["__scopePopper","virtualRef"],m=["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"],v=["__scopePopper"],y=["container"],b=["__scopeSelect","disabled"],w=["__scopeSelect","className","style","children","placeholder"],x=["__scopeSelect","children"],_=["__scopeSelect","position","onCloseAutoFocus","onEscapeKeyDown","onPointerDownOutside","side","sideOffset","align","alignOffset","arrowPadding","collisionBoundary","collisionPadding","sticky","hideWhenDetached","avoidCollisions"],k=["__scopeSelect","onPlaced"],E=["__scopeSelect","align","collisionPadding"],S=["__scopeSelect","nonce"],O=["__scopeSelect"],C=["__scopeSelect"],P=["__scopeSelect","value","disabled","textValue"],R=["__scopeSelect","className","style"],L=["__scopeSelect"],D=["__scopeSelect","onAutoScroll"],T=["__scopeSelect"],j=["__scopeSelect"],A=["__scopeSelect","value"],N=["size","children"],I=["size","children"],M=["variant","children"],F=["__scopePopover"],$=["__scopePopover"],z=["forceMount"],U=["__scopePopover","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside"],H=["__scopePopover"],q=["__scopePopover"];function B(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(t){W(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}System.register(["./rolldown-runtime-legacy-Djb2rrqm.js","./google-maps-vendor-legacy-CPuMOKGq.js"],function(V,W){var G,Y,X,J,Q,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,he,pe,fe,ge,me,ve,ye,be,we,xe,_e,ke,Ee,Se,Oe,Ce,Pe,Re,Le,De,Te,je,Ae,Ne,Ie,Me,Fe,$e,ze,Ue,He,qe,Be,Ve,Ke,We,Ge,Ye,Xe,Je,Qe,Ze,et,tt,nt,rt,ot,it,at,st,lt,ct,ut,dt,ht,pt,ft,gt,mt,vt,yt,bt,wt,xt,_t,kt,Et,St,Ot,Ct,Pt,Rt,Lt,Dt,Tt,jt,At,Nt,It,Mt,Ft,$t,zt,Ut,Ht,qt,Bt,Vt,Kt,Wt,Gt,Yt,Xt,Jt,Qt,Zt,en,tn,nn,rn,on,an,sn,ln,cn,un,dn,hn,pn,fn,gn,mn,vn,yn,bn,wn,xn,_n,kn,En,Sn,On,Cn,Pn,Rn,Ln,Dn,Tn,jn,An,Nn,In,Mn,Fn,$n,zn,Un,Hn,qn,Bn,Vn,Kn,Wn,Gn,Yn,Xn,Jn,Qn,Zn,er,tr,nr,rr,or,ir,ar,sr,lr,cr,ur,dr,hr,pr,fr,gr,mr,vr,yr,br,wr,xr,_r,kr,Er,Sr,Or,Cr,Pr,Rr,Lr,Dr,Tr,jr,Ar,Nr,Ir,Mr,Fr,$r,zr,Ur,Hr,qr,Br,Vr,Kr,Wr,Gr,Yr,Xr,Jr,Qr,Zr,eo,to,no,ro,oo,io,ao,so,lo,co,uo,ho,po,fo,go,mo,vo,yo,bo,wo,xo,_o,ko,Eo,So,Oo,Co,Po,Ro,Lo,Do,To,jo,Ao,No,Io,Mo,Fo,$o,zo,Uo,Ho,qo,Bo,Vo,Ko,Wo,Go,Yo,Xo,Jo,Qo,Zo,ei,ti,ni,ri,oi,ii,ai,si,li,ci,ui,di,hi,pi,fi,gi,mi,vi,yi,bi,wi,xi,_i,ki,Ei,Si,Oi,Ci,Pi,Ri,Li,Di,Ti,ji,Ai,Ni,Ii,Mi,Fi,$i,zi,Ui,Hi,qi,Bi,Vi,Ki,Wi,Gi,Yi,Xi,Ji,Qi,Zi,ea,ta,na,ra,oa,ia,aa,sa,la,ca,ua,da,ha,pa,fa,ga,ma,va,ya,ba,wa,xa,_a,ka,Ea,Sa,Oa,Ca,Pa,Ra,La,Da,Ta,ja,Aa,Na,Ia,Ma,Fa,$a,za,Ua,Ha,qa,Ba,Va,Ka,Wa,Ga,Ya,Xa,Ja,Qa,Za,es,ts,ns,rs,os,is,as,ss,ls,cs,us,ds,hs,ps,fs,gs,ms,vs,ys,bs,ws,xs,_s,ks,Es,Ss,Os,Cs,Ps,Rs,Ls,Ds,Ts,js,As,Ns,Is,Ms,Fs,$s,zs,Us,Hs,qs,Bs,Vs,Ks,Ws,Gs,Ys,Xs,Js,Qs,Zs,el,tl,nl,rl,ol,il,al,sl,ll,cl,ul,dl,hl,pl,fl,gl,ml,vl,yl,bl,wl,xl,_l,kl,El,Sl,Ol,Cl,Pl,Rl,Ll,Dl,Tl,jl,Al,Nl,Il,Ml,Fl,$l,zl,Ul,Hl,ql,Bl,Vl,Kl,Wl,Gl,Yl,Xl,Jl,Ql,Zl,ec,tc,nc,rc,oc,ic,ac,sc,lc,cc,uc,dc,hc,pc,fc,gc,mc,vc,yc,bc,wc,xc,_c,kc,Ec,Sc,Oc,Cc,Pc,Rc,Lc,Dc,Tc,jc,Ac,Nc,Ic,Mc,Fc,$c,zc,Uc,Hc,qc,Bc,Vc,Kc,Wc,Gc,Yc,Xc,Jc,Qc,Zc,eu,tu,nu,ru,ou,iu,au,su,lu,cu,uu,du,hu,pu,fu,gu,mu,vu,yu,bu,wu,xu,_u,ku,Eu,Su,Ou,Cu,Pu,Ru,Lu,Du,Tu,ju,Au,Nu,Iu,Mu,Fu,$u,zu,Uu,Hu,qu,Bu,Vu,Ku,Wu,Gu,Yu,Xu,Ju,Qu,Zu,ed,td,nd,rd,od,id,ad,sd,ld,cd,ud,dd,hd,pd,fd,gd,md,vd,yd,bd,wd,xd,_d,kd,Ed,Sd,Od,Cd,Pd,Rd,Ld,Dd,Td,jd,Ad,Nd,Id,Md,Fd,$d,zd,Ud,Hd,qd,Bd,Vd,Kd,Wd,Gd,Yd,Xd,Jd,Qd,Zd,eh,th,nh,rh,oh,ih,ah,sh,lh,ch,uh,dh,hh,ph,fh,gh,mh,vh,yh,bh,wh,xh,_h,kh,Eh,Sh,Oh,Ch,Ph,Rh,Lh,Dh,Th,jh,Ah,Nh,Ih,Mh,Fh,$h,zh,Uh,Hh,qh,Bh,Vh,Kh,Wh,Gh,Yh,Xh,Jh,Qh,Zh,ep,tp,np,rp,op,ip,ap,sp,lp,cp,up,dp,hp,pp,fp,gp,mp,vp,yp,bp,wp,xp,_p,kp,Ep,Sp,Op,Cp,Pp,Rp,Lp,Dp,Tp,jp,Ap,Np,Ip,Mp,Fp,$p,zp,Up,Hp,qp,Bp;function Vp(e,t,n){const r=n||ie,o=r.__SENTRY__=r.__SENTRY__||{},i=o[oe]=o["8.55.0"]||{};return i[e]||(i[e]=t())}function Kp(e){if(!("console"in ie))return e();const t=ie.console,n={},r=Object.keys(ce);r.forEach(e=>{const r=ce[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function Wp(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return ae?le.forEach(n=>{t[n]=(...t)=>{e&&Kp(()=>{ie.console[n](`${se}[${n}]:`,...t)})}}):le.forEach(e=>{t[e]=()=>{}}),t}function Gp(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{const o=[],i=e.split("\n");for(let a=n;a<i.length;a++){const e=i[a];if(e.length>1024)continue;const n=he.test(e)?e.replace(he,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=de+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(Yp(t).function||"")&&t.pop();t.reverse(),pe.test(Yp(t).function||"")&&(t.pop(),pe.test(Yp(t).function||"")&&t.pop());return t.slice(0,de).map(e=>K(K({},e),{},{filename:e.filename||Yp(t).filename,function:e.function||"?"}))}(o.slice(r))}}function Yp(e){return e[e.length-1]||{}}function Xp(e){try{return e&&"function"==typeof e&&e.name||fe}catch(rp){return fe}}function Jp(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(n){return}}}function Qp(e,t){ge[e]=ge[e]||[],ge[e].push(t)}function Zp(e,t){if(!me[e]){me[e]=!0;try{t()}catch(rp){ae&&ue.error(`Error while instrumenting ${e}`,rp)}}}function ef(e,t){const n=e&&ge[e];if(n)for(const r of n)try{r(t)}catch(rp){ae&&ue.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Xp(r)}\nError:`,rp)}}function tf(){ve=ie.onerror,ie.onerror=function(e,t,n,r,o){return ef("error",{column:r,error:o,line:n,msg:e,url:t}),!!ve&&ve.apply(this,arguments)},ie.onerror.__SENTRY_INSTRUMENTED__=!0}function nf(){ye=ie.onunhandledrejection,ie.onunhandledrejection=function(e){return ef("unhandledrejection",e),!ye||ye.apply(this,arguments)},ie.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function rf(){return of(ie),ie}function of(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||"8.55.0",t[oe]=t["8.55.0"]||{}}function af(e){switch(be.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return mf(e,Error)}}function sf(e,t){return be.call(e)===`[object ${t}]`}function lf(e){return sf(e,"ErrorEvent")}function cf(e){return sf(e,"DOMError")}function uf(e){return sf(e,"String")}function df(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function hf(e){return null===e||df(e)||"object"!=typeof e&&"function"!=typeof e}function pf(e){return sf(e,"Object")}function ff(e){return"undefined"!=typeof Event&&mf(e,Event)}function gf(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function mf(e,t){try{return e instanceof t}catch(pr){return!1}}function vf(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}function yf(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let i=0,a=0;const s=" > ",l=3;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||xe;for(;n&&i++<r&&(c=bf(n,u),!("html"===c||i>1&&a+o.length*l+c.length>=d));)o.push(c),a+=c.length,n=n.parentNode;return o.reverse().join(s)}catch(n){return"<unknown>"}}function bf(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(we.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(o&&o.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const e=n.className;if(e&&uf(e)){const t=e.split(/\s+/);for(const e of t)r.push(`.${e}`)}}for(const i of["aria-label","type","name","title","alt"]){const e=n.getAttribute(i);e&&r.push(`[${i}="${e}"]`)}return r.join("")}function wf(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function xf(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const t=e[r];try{vf(t)?n.push("[VueViewModel]"):n.push(String(t))}catch(rp){n.push("[value cannot be serialized]")}}return n.join(t)}function _f(e,t,n=!1){return!!uf(e)&&(sf(t,"RegExp")?t.test(e):!!uf(t)&&(n?e===t:e.includes(t)))}function kf(e,t=[],n=!1){return t.some(t=>_f(e,t,n))}function Ef(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);"function"==typeof o&&Of(o,r);try{e[t]=o}catch(rp){ae&&ue.log(`Failed to replace method "${t}" in object`,e)}}function Sf(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(r){ae&&ue.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Of(e,t){try{e.prototype=t.prototype=t.prototype||{},Sf(e,"__sentry_original__",t)}catch(n){}}function Cf(e){return e.__sentry_original__}function Pf(e){if(af(e))return K({message:e.message,name:e.name,stack:e.stack},Lf(e));if(ff(e)){const t=K({type:e.type,target:Rf(e.target),currentTarget:Rf(e.currentTarget)},Lf(e));return"undefined"!=typeof CustomEvent&&mf(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Rf(e){try{return t=e,"undefined"!=typeof Element&&mf(t,Element)?yf(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}var t}function Lf(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Df(e){return Tf(e,new Map)}function Tf(e,t){if(function(e){if(!pf(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(t){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const o of Object.getOwnPropertyNames(e))void 0!==e[o]&&(r[o]=Tf(e[o],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach(e=>{r.push(Tf(e,t))}),r}return e}function jf(){return Date.now()/_e}function Af(){const e=ie,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(Pv){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function Nf(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function If(e){const{message:t,event_id:n}=e;if(t)return t;const r=Nf(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Mf(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function Ff(e,t){const n=Nf(e);if(!n)return;const r=n.mechanism;if(n.mechanism=K(K(K({},{type:"generic",handled:!0}),r),t),t&&"data"in t){const e=K(K({},r&&r.data),t.data);n.mechanism.data=e}}function $f(e){if(function(e){try{return e.__sentry_captured__}catch(rp){}}(e))return!0;try{Sf(e,"__sentry_captured__",!0)}catch(t){}return!1}function zf(e){return new Se(t=>{t(e)})}function Uf(e){return new Se((t,n)=>{n(e)})}function Hf(e){const t=ke(),n={sid:Af(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Df({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&qf(n,e),n}function qf(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ke(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:Af()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Bf(){return Af()}function Vf(){return Af().substring(16)}function Kf(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&t&&0===Object.keys(t).length)return e;const r=K({},e);for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=Kf(r[o],t[o],n-1));return r}function Wf(e,t){t?Sf(e,Oe,t):delete e[Oe]}function Gf(e){return e[Oe]}function Yf(){const e=of(rf());return e.stack=e.stack||new Pe(Vp("defaultCurrentScope",()=>new Ce),Vp("defaultIsolationScope",()=>new Ce))}function Xf(e){return Yf().withScope(e)}function Jf(e,t){const n=Yf();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Qf(e){return Yf().withScope(()=>e(Yf().getIsolationScope()))}function Zf(e){const t=of(e);return t.acs?t.acs:{withIsolationScope:Qf,withScope:Xf,withSetScope:Jf,withSetIsolationScope:(e,t)=>Qf(t),getCurrentScope:()=>Yf().getScope(),getIsolationScope:()=>Yf().getIsolationScope()}}function eg(){return Zf(rf()).getCurrentScope()}function tg(){return Zf(rf()).getIsolationScope()}function ng(){return eg().getClient()}function rg(e){const{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return Df({trace_id:t,span_id:n,parent_span_id:r})}function og(e){const t=e[Re];if(!t)return;const n={};for(const[,[r,o]]of t)(n[r]||(n[r]=[])).push(Df(o));return n}function ig(e){const t=function(e){if(!e||!uf(e)&&!Array.isArray(e))return;return Array.isArray(e)?e.reduce((e,t)=>{const n=ag(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):ag(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.match(Ae)){e[t.slice(7)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function ag(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function sg(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext();return Df({parent_span_id:r?t:ug(e).parent_span_id,span_id:r?Vf():t,trace_id:n})}function lg(e){return"number"==typeof e?cg(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?cg(e.getTime()):ke()}function cg(e){return e>9999999999?e/1e3:e}function ug(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:o,name:i,endTime:a,parentSpanId:s,status:l}=e;return Df({span_id:t,trace_id:n,data:r,description:i,parent_span_id:s,start_timestamp:lg(o),timestamp:lg(a)||void 0,status:dg(l),op:r[Te],origin:r[je],_metrics_summary:og(e)})}return{span_id:t,trace_id:n}}catch(rp){return{}}}function dg(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}function hg(e){return e[Ie]||e}function pg(){Ne||(Kp(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Ne=!0)}function fg(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o=Df({environment:n.environment||"production",release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",o),o}function gg(e,t){const n=t.getPropagationContext();return n.dsc||fg(n.traceId,e)}function mg(e){const t=ng();if(!t)return{};const n=hg(e),r=n[Fe];if(r)return r;const o=n.spanContext().traceState,i=o&&o.get("sentry.dsc"),a=i&&ig(i);if(a)return a;const s=fg(e.spanContext().traceId,t),l=ug(n),c=l.data||{},u=c[De];null!=u&&(s.sample_rate=`${u}`);const d=c[Le],h=l.description;return"url"!==d&&h&&(s.transaction=h),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=ng(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(s.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return 1===t}(n))),t.emit("createDsc",s,n),s}function vg(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function yg(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function bg(e){const t="string"==typeof e?function(e){const t=$e.exec(e);if(!t)return void Kp(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});const[n,r,o="",i="",a="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return yg({host:i,pass:o,path:l,projectId:c,port:a,protocol:n,publicKey:r})}(e):yg(e);if(t&&function(e){if(!ae)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(ue.error(`Invalid Sentry Dsn: ${t} missing`),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(ue.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(ue.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(ue.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}function wg(e,t=100,n=1/0){try{return _g("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function xg(e,t=3,n=102400){const r=wg(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?xg(e,t-1,n):r;var o}function _g(e,t,n=1/0,r=1/0,o=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[i,a]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const s=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==ze&&t===ze)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(vf(t))return"[VueViewModel]";if(pf(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${Xp(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}var n}(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===l)return s.replace("object ","");if(i(t))return"[Circular ~]";const c=t;if(c&&"function"==typeof c.toJSON)try{return _g("",c.toJSON(),l-1,r,o)}catch(p){}const u=Array.isArray(t)?[]:{};let d=0;const h=Pf(t);for(const f in h){if(!Object.prototype.hasOwnProperty.call(h,f))continue;if(d>=r){u[f]="[MaxProperties ~]";break}const e=h[f];u[f]=_g(f,e,l-1,r,o),d++}return a(t),u}function kg(e,t=[]){return[e,t]}function Eg(e,t){const[n,r]=e;return[n,[...r,t]]}function Sg(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function Og(e){return ie.__SENTRY__&&ie.__SENTRY__.encodePolyfill?ie.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function Cg(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[Og(r),e]:r.push("string"==typeof e?Og(e):e)}for(const i of n){const[e,t]=i;if(o(`\n${JSON.stringify(e)}\n`),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(rp){e=JSON.stringify(wg(t))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let r=0;for(const o of e)n.set(o,r),r+=o.length;return n}(r)}function Pg(e){const t="string"==typeof e.data?Og(e.data):e.data;return[Df({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}function Rg(e){return He[e]}function Lg(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Dg(e,t,n,r){const o=Lg(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,r){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return K(K(K({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&{sdk:t}),!!n&&r&&{dsn:vg(r)}),o&&{trace:Df(K({},o))})}(e,o,r,t);return delete e.sdkProcessingMetadata,kg(a,[[{type:i},e]])}function Tg(e,t,n,r=0){return new Se((o,i)=>{const a=e[r];if(null===t||"function"!=typeof a)o(t);else{const s=a(K({},t),n);re&&a.id&&null===s&&ue.log(`Event processor "${a.id}" dropped event`),gf(s)?s.then(t=>Tg(e,t,n,r+1).then(o)).then(null,i):Tg(e,s,n,r+1).then(o).then(null,i)}})}function jg(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;!function(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,transactionName:s}=t,l=Df(n);l&&Object.keys(l).length&&(e.extra=K(K({},l),e.extra));const c=Df(r);c&&Object.keys(c).length&&(e.tags=K(K({},c),e.tags));const u=Df(o);u&&Object.keys(u).length&&(e.user=K(K({},u),e.user));const d=Df(i);d&&Object.keys(d).length&&(e.contexts=K(K({},d),e.contexts));a&&(e.level=a);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts=K({trace:sg(t)},e.contexts),e.sdkProcessingMetadata=K({dynamicSamplingContext:mg(t)},e.sdkProcessingMetadata);const n=ug(hg(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata=K(K({},e.sdkProcessingMetadata),t)}(e,i)}function Ag(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:h,transactionName:p,span:f}=t;Ng(e,"extra",n),Ng(e,"tags",r),Ng(e,"user",o),Ng(e,"contexts",i),e.sdkProcessingMetadata=Kf(e.sdkProcessingMetadata,s,2),a&&(e.level=a),p&&(e.transactionName=p),f&&(e.span=f),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext=K(K({},e.propagationContext),h)}function Ng(e,t,n){e[t]=Kf(e[t],n,1)}function Ig(e,t,n,r,o,i){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l=K(K({},t),{},{event_id:t.event_id||n.event_id||Af(),timestamp:t.timestamp||jf()}),c=n.integrations||e.integrations.map(e=>e.name);!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;e.environment=e.environment||n||"production",!e.release&&r&&(e.release=r);!e.dist&&o&&(e.dist=o);e.message&&(e.message=wf(e.message,i));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=wf(a.value,i));const s=e.request;s&&s.url&&(s.url=wf(s.url,i))}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,c),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=function(e){const t=ie._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return Ve&&n.length===Be||(Be=n.length,Ve=n.reduce((n,r)=>{qe||(qe={});const o=qe[r];if(o)n[o[0]]=o[1];else{const o=e(r);for(let e=o.length-1;e>=0;e--){const i=o[e],a=i&&i.filename,s=t[r];if(a&&s){n[a]=s,qe[r]=[a,s];break}}}return n},{})),Ve}(t);try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(rp){}}(l,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new Ce;return n.update(t),n}(r,n.captureContext);n.mechanism&&Ff(l,n.mechanism);const d=o?o.getEventProcessors():[],h=Vp("globalScope",()=>new Ce).getScopeData();i&&Ag(h,i.getScopeData()),u&&Ag(h,u.getScopeData());const p=[...n.attachments||[],...h.attachments];return p.length&&(n.attachments=p),jg(l,h),Tg([...d,...h.eventProcessors],l,n).then(e=>(e&&function(e){const t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(rp){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof a&&a>0?function(e,t,n){if(!e)return null;const r=K(K(K(K(K({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>K(K({},e),e.data&&{data:wg(e.data,t,n)}))}),e.user&&{user:wg(e.user,t,n)}),e.contexts&&{contexts:wg(e.contexts,t,n)}),e.extra&&{extra:wg(e.extra,t,n)});e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=wg(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map(e=>K(K({},e),e.data&&{data:wg(e.data,t,n)})));e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=wg(e.contexts.flags,3,n));return r}(e,a,s):e))}function Mg(e){if(e)return function(e){return e instanceof Ce||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>Ke.includes(e))}(e)?{captureContext:e}:e}function Fg(e,t){return eg().captureException(e,Mg(t))}function $g(e,t){return eg().captureEvent(e,t)}function zg(e,t){tg().setContext(e,t)}function Ug(e){const t=ng(),n=tg(),r=eg(),{release:o,environment:i=Me}=t&&t.getOptions()||{},{userAgent:a}=ie.navigator||{},s=Hf(K(K({release:o,environment:i,user:r.getUser()||n.getUser()},a&&{userAgent:a}),e)),l=n.getSession();return l&&"ok"===l.status&&qf(l,{status:"exited"}),Hg(),n.setSession(s),r.setSession(s),s}function Hg(){const e=tg(),t=eg(),n=t.getSession()||e.getSession();n&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),qf(e,n)}(n),qg(),e.setSession(),t.setSession()}function qg(){const e=tg(),t=eg(),n=ng(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Bg(e=!1){e?Hg():qg()}function Vg(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:We};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}function Kg(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))r=[...t,...n];else if("function"==typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;const o=function(e){const t={};return e.forEach(e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(r),i=o.findIndex(e=>"Debug"===e.name);if(i>-1){const[e]=o.splice(i,1);o.push(e)}return o}function Wg(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function Gg(e,t,n){if(n[t.name])re&&ue.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===Ge.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),Ge.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}re&&ue.log(`Integration installed: ${t.name}`)}}function Yg(e){return void 0===e.type}function Xg(e){return"transaction"===e.type}function Jg(e,t){!0===t.debug&&(re?ue.enable():Kp(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eg().update(t.initialScope);const n=new e(t);return function(e){eg().setClient(e)}(n),n.init(),n}function Qg(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Uf(new Ye("Not adding Promise because buffer limit was reached."));const o=r();return-1===t.indexOf(o)&&t.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o},drain:function(e){return new Se((n,r)=>{let o=t.length;if(!o)return n(!0);const i=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{zf(e).then(()=>{--o||(clearTimeout(i),n(!0))},r)})})}}}function Zg(e,{statusCode:t,headers:n},r=Date.now()){const o=K({},e),i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const s of i.trim().split(",")){const[e,t,,,n]=s.split(":",5),i=parseInt(e,10),a=1e3*(isNaN(i)?60:i);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(o[s]=r+a);else o.all=r+a}else a?o.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Qe:r-t}(a,r):429===t&&(o.all=r+6e4);return o}function em(e,t,n=Qg(e.bufferSize||64)){let r={};return{send:function(o){const i=[];if(Sg(o,(t,n)=>{const o=Rg(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)){const r=tm(t,n);e.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(t)}),0===i.length)return zf({});const a=kg(o[0],i),s=t=>{Sg(a,(n,r)=>{const o=tm(n,r);e.recordDroppedEvent(t,Rg(r),o)})};return n.add(()=>t({body:Cg(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&re&&ue.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Zg(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof Ye)return re&&ue.error("Skipped sending event because buffer is full."),s("queue_overflow"),zf({});throw e})},flush:e=>n.drain(e)}}function tm(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function nm(e,t){const n=t&&t.getDsn(),r=t&&t.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,n)||function(e,t){return!!t&&rm(e)===rm(t)}(e,r)}function rm(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function om(e,t,n=[t],r="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:oe})),version:oe}),e._metadata=o}function im(e,t){const n=ng(),r=tg();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=Ze}=n.getOptions();if(i<=0)return;const a=K({timestamp:jf()},e),s=o?Kp(()=>o(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,i))}function am(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(rp){}return!1}(e)?(re&&ue.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${If(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(rp){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));return t}(e).some(e=>kf(e,t))}(e,t.ignoreErrors)?(re&&ue.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${If(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)))}(e)?(re&&ue.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${If(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&kf(n,t)}(e,t.ignoreTransactions)?(re&&ue.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${If(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=sm(e);return!!n&&kf(n,t)}(e,t.denyUrls)?(re&&ue.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${If(e)}.\nUrl: ${sm(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=sm(e);return!n||kf(n,t)}(e,t.allowUrls)&&(re&&ue.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${If(e)}.\nUrl: ${sm(e)}`),!0)}function sm(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(rp){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return re&&ue.error(`Cannot extract url for event ${If(e)}`),null}}function lm(e,t,n=250,r,o,i,a){if(!(i.exception&&i.exception.values&&a&&mf(a.originalException,Error)))return;const s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;var l,c;s&&(i.exception.values=(l=cm(e,t,o,a.originalException,r,i.exception.values,s,0),c=n,l.map(e=>(e.value&&(e.value=wf(e.value,c)),e))))}function cm(e,t,n,r,o,i,a,s){if(i.length>=n+1)return i;let l=[...i];if(mf(r[o],Error)){um(a,s);const i=e(t,r[o]),c=l.length;dm(i,o,c,s),l=cm(e,t,n,r[o],o,[i,...l],i,c)}return Array.isArray(r.errors)&&r.errors.forEach((r,i)=>{if(mf(r,Error)){um(a,s);const c=e(t,r),u=l.length;dm(c,`errors[${i}]`,u,s),l=cm(e,t,n,r,o,[c,...l],c,u)}}),l}function um(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=K(K(K({},e.mechanism),"AggregateError"===e.type&&{is_exception_group:!0}),{},{exception_id:t})}function dm(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=K(K({},e.mechanism),{},{type:"chained",source:t,exception_id:n,parent_id:r})}function hm(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function pm(){"console"in ie&&le.forEach(function(e){e in ie.console&&Ef(ie.console,e,function(t){return ce[e]=t,function(...t){ef("console",{args:t,level:e});const n=ce[e];n&&n.apply(ie.console,t)}})})}function fm(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!mm(e,t)&&!!gm(e,t))))}(e,t)||!!function(e,t){const n=vm(t),r=vm(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!mm(e,t)&&!!gm(e,t)))}(e,t))}function gm(e,t){let n=Jp(e),r=Jp(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const e=r[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function mm(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function vm(e){return e.exception&&e.exception.values&&e.exception.values[0]}function ym(e,t={},n,r,o){if(!t.originalException||!af(t.originalException))return e;const i=t.originalException.name||t.originalException.constructor.name,a=function(e,t,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],o={};for(const t of Object.keys(e)){if(-1!==r.indexOf(t))continue;const i=e[t];o[t]=af(i)||"string"==typeof i?wf(`${i}`,n):i}if(t&&void 0!==e.cause&&(o.cause=af(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){const t=e.toJSON();for(const e of Object.keys(t)){const n=t[e];o[e]=af(n)?n.toString():n}}return o}catch(r){re&&ue.error("Unable to extract extra data from the Error object:",r)}return null}(t.originalException,r,o);if(a){const t=K({},e.contexts),r=wg(a,n);return pf(r)&&(Sf(r,"__sentry_skip_normalization__",!0),t[i]=r),K(K({},e),{},{contexts:t})}return e}function bm(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}function wm(){if(!("fetch"in ct))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(rp){return!1}}function xm(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function _m(){if("string"==typeof EdgeRuntime)return!0;if(!wm())return!1;if(xm(ct.fetch))return!0;let e=!1;const t=ct.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=xm(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){ae&&ue.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function km(e,t){const n="fetch";Qp(n,e),Zp(n,()=>function(e,t=!1){if(t&&!_m())return;Ef(ie,"fetch",function(t){return function(...n){const r=new Error,{method:o,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Sm(t),method:Em(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Sm(t),method:Em(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:o,url:i},startTimestamp:1e3*ke(),virtualError:r};return e||ef("fetch",K({},a)),t.apply(ie,n).then(async t=>(e?e(t):ef("fetch",K(K({},a),{},{endTimestamp:1e3*ke(),response:t})),t),e=>{throw ef("fetch",K(K({},a),{},{endTimestamp:1e3*ke(),error:e})),af(e)&&void 0===e.stack&&(e.stack=r.stack,Sf(e,"framesToPop",1)),e})}})}(void 0,t))}function Em(e,t){return!!e&&"object"==typeof e&&!!e[t]}function Sm(e){return"string"==typeof e?e:e?Em(e,"url")?e.url:e.toString?e.toString():"":""}function Om(){return ht>0}function Cm(e,t={}){if(!function(e){return"function"==typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(Cf(e))return e}catch(rp){return e}const n=function(...n){try{const r=n.map(e=>Cm(e,t));return e.apply(this,r)}catch(r){throw ht++,setTimeout(()=>{ht--}),function(...e){const t=Zf(rf());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}(e=>{e.addEventProcessor(e=>(t.mechanism&&(Mf(e,void 0,void 0),Ff(e,t.mechanism)),e.extra=K(K({},e.extra),{},{arguments:n}),e)),Fg(r)}),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(r){}Of(n,e),Sf(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(o){}return n}function Pm(e,t){const n=Dm(e,t),r={type:jm(t),value:Am(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Rm(e,t,n,r){const o=ng(),i=o&&o.getOptions().normalizeDepth,a=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:xg(t,i)};if(a)return{exception:{values:[Pm(e,a)]},extra:s};const l={exception:{values:[{type:ff(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Mm(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=Dm(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}function Lm(e,t){return{exception:{values:[Pm(e,t)]}}}function Dm(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&ft.test(e.message)?1:0}(t),o=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,o)}catch(rp){}return[]}function Tm(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function jm(e){const t=e&&e.name;return!t&&Tm(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function Am(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:Tm(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}function Nm(e,t,n,r,o){let i;if(lf(t)&&t.error)return Lm(e,t.error);if(cf(t)||sf(t,"DOMException")){const o=t;if("stack"in t)i=Lm(e,t);else{const t=o.name||(cf(o)?"DOMError":"DOMException"),a=o.message?`${t}: ${o.message}`:t;i=Im(e,a,n,r),Mf(i,a)}return"code"in o&&(i.tags=K(K({},i.tags),{},{"DOMException.code":`${o.code}`})),i}return af(t)?Lm(e,t):pf(t)||ff(t)?(i=Rm(e,t,n,o),Ff(i,{synthetic:!0}),i):(i=Im(e,t,n,r),Mf(i,`${t}`,void 0),Ff(i,{synthetic:!0}),i)}function Im(e,t,n,r){const o={};if(r&&n){const r=Dm(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]}),Ff(o,{synthetic:!0})}if(df(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function Mm(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(Pf(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return wf(r,t);for(let o=n.length;o>0;o--){const e=n.slice(0,o).join(", ");if(!(e.length>t))return o===n.length?e:wf(e,t)}return""}(e),r=t?"promise rejection":"exception";return lf(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:ff(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(rp){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Fm(e){return[{type:"user_report"},e]}function $m(){if(!vt.document)return;const e=ef.bind(null,"dom"),t=zm(e,!0);vt.document.addEventListener("click",t,!1),vt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{const n=vt[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(Ef(r,"addEventListener",function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[n]=r[n]||{refCount:0};if(!i.handler){const r=zm(e);i.handler=r,t.call(this,n,r,o)}i.refCount++}catch(rp){}return t.call(this,n,r,o)}}),Ef(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(rp){}return e.call(this,t,n,r)}}))})}function zm(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(rp){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;Sf(n,"_sentryCaptured",!0),r&&!r._sentryId&&Sf(r,"_sentryId",Af());const o="keypress"===n.type?"input":n.type;(function(e){if(e.type!==wt)return!1;try{if(!e.target||e.target._sentryId!==xt)return!1}catch(rp){}return!0})(n)||(e({event:n,name:o,global:t}),wt=n.type,xt=r?r._sentryId:void 0),clearTimeout(bt),bt=vt.setTimeout(()=>{xt=void 0,wt=void 0},yt)}}function Um(e){const t="history";Qp(t,e),Zp(t,Hm)}function Hm(){if(!function(){const e=ut.chrome,t=e&&e.app&&e.app.runtime,n="history"in ut&&!!ut.history.pushState&&!!ut.history.replaceState;return!t&&n}())return;const e=vt.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=_t,t=String(n);_t=t,ef("history",{from:e,to:t})}return e.apply(this,t)}}vt.onpopstate=function(...t){const n=vt.location.href,r=_t;if(_t=n,ef("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(o){}},Ef(vt.history,"pushState",t),Ef(vt.history,"replaceState",t)}function qm(e){kt[e]=void 0}function Bm(e){Qp("xhr",e),Zp("xhr",Vm)}function Vm(){if(!vt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=new Error,o=1e3*ke(),i=uf(n[0])?n[0].toUpperCase():void 0,a=function(e){if(uf(e))return e;try{return e.toString()}catch(t){}}(n[1]);if(!i||!a)return e.apply(t,n);t[Et]={method:i,url:a,request_headers:{}},"POST"===i&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const s=()=>{const e=t[Et];if(e&&4===t.readyState){try{e.status_code=t.status}catch(rp){}ef("xhr",{endTimestamp:1e3*ke(),startTimestamp:o,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,i=t[Et];return i&&uf(r)&&uf(o)&&(i.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[Et];return r?(void 0!==n[0]&&(r.body=n[0]),ef("xhr",{startTimestamp:1e3*ke(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function Km(e,t=function(e){const t=kt[e];if(t)return t;let n=vt[e];if(xm(n))return kt[e]=n.bind(vt);const r=vt.document;if(r&&"function"==typeof r.createElement)try{const t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);const o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(rp){mt&&ue.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,rp)}return n?kt[e]=n.bind(vt):n}("fetch")){let n=0,r=0;return em(e,function(o){const i=o.body.length;n+=i,r++;const a=K({body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15},e.fetchOptions);if(!t)return qm("fetch"),Uf("No fetch implementation available");try{return t(e.url,a).then(e=>(n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(rp){return qm("fetch"),n-=i,r--,Uf(rp)}})}function Wm(e,t,n,r){const o={filename:e,function:"<anonymous>"===t?"?":t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}function Gm(e,t){return function(n){if(ng()!==e)return;let r,o,i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>jt&&(pt&&ue.warn(`\`dom.maxStringLength\` cannot exceed ${jt}, but a value of ${a} was configured. Sentry will use ${jt} instead.`),a=jt),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=yf(t,{keyAttrs:i,maxStringLength:a}),o=function(e){if(!we.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch(rp){r="<unknown>"}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};o&&(s.data={"ui.component_name":o}),im(s,{event:n.event,name:n.name,global:n.global})}}function Ym(e){return function(...t){const n=t[0];return t[0]=Cm(n,{mechanism:{data:{function:Xp(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Xm(e){return function(t){return e.apply(this,[Cm(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Xp(e)},handled:!1,type:"instrument"}})])}}function Jm(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&Ef(n,e,function(t){const n={mechanism:{data:{function:e,handler:Xp(t)},handled:!1,type:"instrument"}},r=Cf(t);return r&&(n.mechanism.data.handler=Xp(r)),Cm(t,n)})}),e.apply(this,t)}}function Qm(e){const t=dt[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Ef(n,"addEventListener",function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Cm(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Xp(r),target:e},handled:!1,type:"instrument"}}))}catch(i){}return t.apply(this,[n,Cm(r,{mechanism:{data:{function:"addEventListener",handler:Xp(r),target:e},handled:!1,type:"instrument"}}),o])}}),Ef(n,"removeEventListener",function(e){return function(t,n,r){try{const o=n.__sentry_wrapped__;o&&e.call(this,t,o,r)}catch(rp){}return e.call(this,t,n,r)}}))}function Zm(e){!function(e){const t="error";Qp(t,e),Zp(t,tf)}(t=>{const{stackParser:n,attachStacktrace:r}=nv();if(ng()!==e||Om())return;const{msg:o,url:i,line:a,column:s,error:l}=t,c=function(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=r,u=n,d=uf(t)&&t.length>0?t:function(){try{return we.document.location.href}catch(e){return""}}();0===l.length&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u});return e}(Nm(n,l||o,void 0,r,!1),i,a,s);c.level="error",$g(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function ev(e){!function(e){const t="unhandledrejection";Qp(t,e),Zp(t,nf)}(t=>{const{stackParser:n,attachStacktrace:r}=nv();if(ng()!==e||Om())return;const o=function(e){if(hf(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return e}(t),i=hf(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Nm(n,o,void 0,r,!0);i.level="error",$g(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function tv(e){pt&&ue.log(`Global Handler attached: ${e}`)}function nv(){const e=ng();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function rv(e){const t=[it(),nt(),Ft(),Nt(),Ut(),Bt(),at(),Ht()];return!1!==e.autoSessionTracking&&t.push($t()),t}function ov(e={}){const t=function(e={}){const t={defaultIntegrations:rv(e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:dt.SENTRY_RELEASE&&dt.SENTRY_RELEASE.id?dt.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,K(K({},t),e)}(e);var n;if(t.skipBrowserExtensionCheck||!function(){const e=void 0!==dt.window&&dt;if(!e)return!1;const t=e[e.chrome?"chrome":"browser"],n=t&&t.runtime&&t.runtime.id,r=dt.location&&dt.location.href||"",o=!!n&&dt===dt.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>r.startsWith(`${e}//`)),i=void 0!==e.nw;return!!n&&!o&&!i}())return pt&&(wm()||ue.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.")),Jg(gt,K(K({},t),{},{stackParser:(n=t.stackParser||Dt,Array.isArray(n)?Gp(...n):n),integrations:Kg(t),transport:t.transport||Km}));Kp(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")})}function iv(e,t,n,r,o){if(uv(e,n.status,n.url)){const e=function(e,t){return!t&&e instanceof Request||e instanceof Request&&e.bodyUsed?e:new Request(e,t)}(t,r);let i,a,s,l;hv()&&([i,s]=av("Cookie",e),[a,l]=av("Set-Cookie",n)),$g(dv({url:e.url,method:e.method,status:n.status,requestHeaders:i,responseHeaders:a,requestCookies:s,responseCookies:l,error:o}))}}function av(e,t){const n=function(e){const t={};return e.forEach((e,n)=>{t[n]=e}),t}(t.headers);let r;try{const t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=lv(t))}catch(o){}return[n,r]}function sv(e){if(e){const t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}function lv(e){return e.split("; ").reduce((e,t)=>{const[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function cv(e,t){"XMLHttpRequest"in ie&&Bm(n=>{if(ng()!==e)return;const{error:r,virtualError:o}=n,i=n.xhr,a=i[Et];if(!a)return;const{method:s,request_headers:l}=a;try{!function(e,t,n,r,o){if(uv(e,t.status,t.responseURL)){let e,s,l;if(hv()){try{const e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(s=lv(e))}catch(i){}try{l=function(e){const t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{const[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}(t)}catch(a){}e=r}$g(dv({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:l,responseCookies:s,error:o}))}}(t,i,s,l,r||o)}catch(rp){pt&&ue.warn("Error while extracting response event form XHR response",rp)}})}function uv(e,t,n){return function(e,t){return e.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])}(e.failedRequestStatusCodes,t)&&(r=e.failedRequestTargets,o=n,r.some(e=>"string"==typeof e?o.includes(e):e.test(o)))&&!nm(n,ng());var r,o}function dv(e){const t=ng(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,o=`HTTP Client Error with status code: ${e.status}`,i={message:o,exception:{values:[{type:"Error",value:o,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:sv(e.responseHeaders)}}};return Ff(i,{type:"http.client",handled:!1}),i}function hv(){const e=ng();return!!e&&Boolean(e.getOptions().sendDefaultPii)}function pv(e,{componentStack:t},n){if(function(e){const t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(Wt.version)&&af(e)&&t){const n=new Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,function(e,t){const n=new WeakSet;!function e(t,r){if(!n.has(t))return t.cause?(n.add(t),e(t.cause,r)):void(t.cause=r)}(e,t)}(e,n)}return Fg(e,K(K({},n),{},{captureContext:{contexts:{react:{componentStack:t}}}}))}function fv(e){function t(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=t}return t.prototype=new Error,t.prototype.name=e,t.prototype.constructor=t,t}function gv(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function mv(e,t,n){for(var r,o,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(cn[(o=r)>>18&63]+cn[o>>12&63]+cn[o>>6&63]+cn[63&o]);return i.join("")}function vv(e){const t=unescape(encodeURIComponent(e));return fn.fromByteArray(function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e.charCodeAt(n));return t}(t))}function yv(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bv(){if(!wn&&!(wn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return wn(_n)}function wv(e){return"string"==typeof e&&kn.test(e)}function xv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(On[e[t+0]]+On[e[t+1]]+On[e[t+2]]+On[e[t+3]]+"-"+On[e[t+4]]+On[e[t+5]]+"-"+On[e[t+6]]+On[e[t+7]]+"-"+On[e[t+8]]+On[e[t+9]]+"-"+On[e[t+10]]+On[e[t+11]]+On[e[t+12]]+On[e[t+13]]+On[e[t+14]]+On[e[t+15]]).toLowerCase();if(!wv(n))throw TypeError("Stringified UUID is invalid");return n}function _v(e){if(!wv(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}function kv(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=_v(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return xv(a)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function Ev(e){return 14+(e+64>>>9<<4)+1}function Sv(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function Ov(e,t,n,r,o,i){return Sv((a=Sv(Sv(t,e),Sv(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function Cv(e,t,n,r,o,i,a){return Ov(t&n|~t&r,e,t,o,i,a)}function Pv(e,t,n,r,o,i,a){return Ov(t&r|n&~r,e,t,o,i,a)}function Rv(e,t,n,r,o,i,a){return Ov(t^n^r,e,t,o,i,a)}function Lv(e,t,n,r,o,i,a){return Ov(n^(t|~r),e,t,o,i,a)}function Dv(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function Tv(e,t){return e<<t|e>>>32-t}function jv(e){return e&&e.message?e.message:"string"==typeof e||e instanceof String?e:JSON.stringify(e)}function Av(e){return e&&e.replace(/\/+$/,"")}function Nv(e,t,n){if("string"==typeof t&&t.match($n)){if(!(t.length>64))return t;n.warn(In.tagValueTooLong(e))}else n.warn(In.invalidTagValue(e))}function Iv(e){return"string"==typeof e&&"kind"!==e&&e.match(/^(\w|\.|-)+$/)}function Mv(e){return e.includes("%")||e.includes(":")?e.replace(/%/g,"%25").replace(/:/g,"%3A"):e}function Fv(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function $v(e){return(e.startsWith("/")?e.substring(1):e).split("/").map(e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e)}function zv(e){return!e.startsWith("/")}function Uv(e,t){const n=zv(e),r=zv(t);if(n&&r)return e===t;if(n){const n=$v(t);return 1===n.length&&e===n[0]}if(r){const n=$v(e);return 1===n.length&&t===n[0]}return e===t}function Hv(e){return`/${Fv(e)}`}function qv(e,t,n,r,o){try{return r()}catch(r){return null!=e&&e.error(`An error was encountered in "${t}" of the "${n}" hook: ${r}`),o}}function Bv(e,t){try{return t.getMetadata().name||Ir}catch(n){return e.error("Exception thrown getting metadata for hook. Unable to get hook name."),Ir}}function Vv(e,t){try{return t.getMetadata().name||Fr}catch(t){return e.error("Exception thrown getting metadata for plugin. Unable to get plugin name."),Fr}}function Kv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Gv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wv(Object(n),!0).forEach(function(t){Kv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yv(e,t,n,r){var o,i,a=("substring"!==e.kind&&"regex"!==e.kind||!r.includes("/")?t.replace(r,""):t).replace(n,"");switch(e.kind){case"exact":i=t,o=new RegExp("^"+no(e.url)+"/?$");break;case"canonical":i=a,o=new RegExp("^"+no(e.url)+"/?$");break;case"substring":i=a,o=new RegExp(".*"+no(e.substring)+".*$");break;case"regex":i=a,o=new RegExp(e.pattern);break;default:return!1}return o.test(i)}function Xv(e,t){for(var n={},r=null,o=[],i=0;i<e.length;i++)for(var a=e[i],s=a.urls||[],l=0;l<s.length;l++)if(Yv(s[l],window.location.href,window.location.search,window.location.hash)){"pageview"===a.kind?t("pageview",a):(o.push(a),t("click_pageview",a));break}return o.length>0&&(r=function(e){for(var n=function(e,t){for(var n=[],r=0;r<t.length;r++)for(var o=e.target,i=t[r],a=i.selector,s=document.querySelectorAll(a);o&&s.length>0;){for(var l=0;l<s.length;l++)o===s[l]&&n.push(i);o=o.parentNode}return n}(e,o),r=0;r<n.length;r++)t("click",n[r])},document.addEventListener("click",r)),n.dispose=function(){document.removeEventListener("click",r)},n}function Jv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){var t,n={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var r=e&&e.disableSyncEventPost;n.httpRequest=function(e,t,o,i){var a=n.synchronousFlush&!r;return n.synchronousFlush=!1,function(e,t,n,r,o){if(o&&!function(){var e=window.navigator&&window.navigator.userAgent;if(e){var t=e.match(/Chrom(e|ium)\/([0-9]+)\./);if(t)return parseInt(t[2],10)<73}return!0}())return to;var i,a=new window.XMLHttpRequest;for(var s in a.open(e,t,!o),n||{})Object.prototype.hasOwnProperty.call(n,s)&&a.setRequestHeader(s,n[s]);if(o){try{a.send(r)}catch(e){}return to}return{promise:new Promise(function(e,t){a.addEventListener("load",function(){i||e({status:a.status,header:function(e){return a.getResponseHeader(e)},body:a.responseText})}),a.addEventListener("error",function(){i||t(new Error)}),a.send(r)}),cancel:function(){i=!0,a.abort()}}}(e,t,o,i,a)}}n.httpAllowsPost=function(){return void 0===t&&(t=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),t},n.httpFallbackPing=function(e){(new window.Image).src=e};var o,i=e&&e.eventUrlTransformer;n.getCurrentUrl=function(){return i?i(window.location.href):window.location.href},n.isDoNotTrack=function(){var e;return 1===(e=window.navigator&&void 0!==window.navigator.doNotTrack?window.navigator.doNotTrack:window.navigator&&void 0!==window.navigator.msDoNotTrack?window.navigator.msDoNotTrack:window.doNotTrack)||!0===e||"1"===e||"yes"===e};try{window.localStorage&&(n.localStorage={get:function(e){return new Promise(function(t){t(window.localStorage.getItem(e))})},set:function(e,t){return new Promise(function(n){window.localStorage.setItem(e,t),n()})},clear:function(e){return new Promise(function(t){window.localStorage.removeItem(e),t()})}})}catch(e){n.localStorage=null}if(e&&e.useReport&&"function"==typeof window.EventSourcePolyfill&&window.EventSourcePolyfill.supportedOptions&&window.EventSourcePolyfill.supportedOptions.method?(n.eventSourceAllowsReport=!0,o=window.EventSourcePolyfill):(n.eventSourceAllowsReport=!1,o=window.EventSource),window.EventSource){var a=3e5;n.eventSourceFactory=function(e,t){var n=Gv(Gv({},{heartbeatTimeout:a,silentTimeout:a,skipDefaultHeaders:!0}),t);return new o(e,n)},n.eventSourceIsActive=function(e){return e.readyState===window.EventSource.OPEN||e.readyState===window.EventSource.CONNECTING}}return n.userAgent="JSClient",n.version="3.8.1",n.diagnosticSdkData={name:"js-client-sdk",version:"3.8.1"},n.diagnosticPlatformData={name:"JS"},n.diagnosticUseCombinedEvent=!0,n}(n),o=Jr(e,t,n,r,oo),i=o.client,a=o.options,s=o.emitter,l=new Promise(function(e){var t=s.on(ro,function(){s.off(ro,t),e()})});i.waitUntilGoalsReady=function(){return l},a.fetchGoals?function(e,t){var n,r;function o(){r&&r.dispose(),n&&n.length&&(r=Xv(n,i))}function i(t,n){var r=e.ident.getContext(),o={kind:t,key:n.key,data:null,url:window.location.href,creationDate:(new Date).getTime(),context:r};return"click"===t&&(o.selector=n.selector),e.enqueueEvent(o)}e.requestor.fetchJSON("/sdk/goals/"+e.getEnvironmentId()).then(function(e){e&&e.length>0&&(r=Xv(n=e,i),function(e,t){var n,r=window.location.href;function o(){(n=window.location.href)!==r&&(r=n,t())}(function e(t,n){t(),setTimeout(function(){e(t,n)},n)})(o,300),window.history&&window.history.pushState?window.addEventListener("popstate",o):window.addEventListener("hashchange",o)}(0,o)),t()}).catch(function(n){e.emitter.maybeReportError(new Qr.LDUnexpectedResponseError((n&&n.message,n.message))),t()})}(o,function(){return s.emit(ro)}):s.emit(ro),"complete"!==document.readyState?window.addEventListener("load",o.start):o.start();var c=function(){r.synchronousFlush=!0,i.flush().catch(function(){}),r.synchronousFlush=!1};return document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&c()}),window.addEventListener("pagehide",c),i}function Qv(e,t,n=ho,r){const o=function(e,t){return void 0===t?e:Object.keys(t).reduce((t,n)=>(Zv(e,n)&&(t[n]=e[n]),t),{})}(t,r),{useCamelCaseFlagKeys:i=!0}=n,[a,s={}]=i?function(e){const t={},n={};for(const r in e){if(0===r.indexOf("$"))continue;const o=(0,so.default)(r);t[o]=e[r],n[o]=r}return[t,n]}(o):[o];return{flags:n.sendEventsOnFlagRead?ey(e,a,s,i):a,flagKeyMap:s}}function Zv(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ey(e,t,n,r){return new Proxy(t,{get(t,o,i){const a=Reflect.get(t,o,i),s=r&&Zv(n,o)||Zv(t,o);if("symbol"==typeof o||!s)return a;if(void 0===a)return;const l=r?n[o]:o;return e.variation(l,a)}})}function ty(){return ty=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ty.apply(null,arguments)}function ny(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function o(){var e=n.location,t=e.pathname,o=e.search,i=e.hash,a=r.state||{};return[a.idx,Pa({pathname:t,search:o,hash:i,state:a.usr||null,key:a.key||"default"})]}var i=null;n.addEventListener(Da,function(){if(i)d.call(i),i=null;else{var e=Ca.Pop,t=o(),n=t[0],r=t[1];if(d.length){if(null!=n){var a=l-n;a&&(i={action:e,location:r,retry:function(){v(-1*a)}},v(a))}}else m(e)}});var a=Ca.Pop,s=o(),l=s[0],c=s[1],u=sy(),d=sy();function h(e){return"string"==typeof e?e:cy(e)}function p(e,t){return void 0===t&&(t=null),Pa(ty({pathname:c.pathname,hash:"",search:""},"string"==typeof e?uy(e):e,{state:t,key:ly()}))}function f(e,t){return[{usr:e.state,key:e.key,idx:t},h(e)]}function g(e,t,n){return!d.length||(d.call({action:e,location:t,retry:n}),!1)}function m(e){a=e;var t=o();l=t[0],c=t[1],u.call({action:a,location:c})}function v(e){r.go(e)}return null==l&&(l=0,r.replaceState(ty({},r.state,{idx:l}),"")),{get action(){return a},get location(){return c},createHref:h,push:function e(t,o){var i=Ca.Push,a=p(t,o);if(g(i,a,function(){e(t,o)})){var s=f(a,l+1),c=s[0],u=s[1];try{r.pushState(c,"",u)}catch(d){n.location.assign(u)}m(i)}},replace:function e(t,n){var o=Ca.Replace,i=p(t,n);if(g(o,i,function(){e(t,n)})){var a=f(i,l),s=a[0],c=a[1];r.replaceState(s,"",c),m(o)}},go:v,back:function(){v(-1)},forward:function(){v(1)},listen:function(e){return u.push(e)},block:function(e){var t=d.push(e);return 1===d.length&&n.addEventListener(Ra,ay),function(){t(),d.length||n.removeEventListener(Ra,ay)}}}}function ry(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function o(){var e=uy(n.location.hash.substr(1)),t=e.pathname,o=void 0===t?"/":t,i=e.search,a=void 0===i?"":i,s=e.hash,l=void 0===s?"":s,c=r.state||{};return[c.idx,Pa({pathname:o,search:a,hash:l,state:c.usr||null,key:c.key||"default"})]}var i=null;function a(){if(i)h.call(i),i=null;else{var e=Ca.Pop,t=o(),n=t[0],r=t[1];if(h.length){if(null!=n){var a=c-n;a&&(i={action:e,location:r,retry:function(){y(-1*a)}},y(a))}}else v(e)}}n.addEventListener(Da,a),n.addEventListener(La,function(){cy(o()[1])!==cy(u)&&a()});var s=Ca.Pop,l=o(),c=l[0],u=l[1],d=sy(),h=sy();function p(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,o=r.indexOf("#");t=-1===o?r:r.slice(0,o)}return t}()+"#"+("string"==typeof e?e:cy(e))}function f(e,t){return void 0===t&&(t=null),Pa(ty({pathname:u.pathname,hash:"",search:""},"string"==typeof e?uy(e):e,{state:t,key:ly()}))}function g(e,t){return[{usr:e.state,key:e.key,idx:t},p(e)]}function m(e,t,n){return!h.length||(h.call({action:e,location:t,retry:n}),!1)}function v(e){s=e;var t=o();c=t[0],u=t[1],d.call({action:s,location:u})}function y(e){r.go(e)}return null==c&&(c=0,r.replaceState(ty({},r.state,{idx:c}),"")),{get action(){return s},get location(){return u},createHref:p,push:function e(t,o){var i=Ca.Push,a=f(t,o);if(m(i,a,function(){e(t,o)})){var s=g(a,c+1),l=s[0],u=s[1];try{r.pushState(l,"",u)}catch(d){n.location.assign(u)}v(i)}},replace:function e(t,n){var o=Ca.Replace,i=f(t,n);if(m(o,i,function(){e(t,n)})){var a=g(i,c),s=a[0],l=a[1];r.replaceState(s,"",l),v(o)}},go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(e){return d.push(e)},block:function(e){var t=h.push(e);return 1===h.length&&n.addEventListener(Ra,ay),function(){t(),h.length||n.removeEventListener(Ra,ay)}}}}function oy(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=void 0===n?["/"]:n,o=t.initialIndex,i=r.map(function(e){return Pa(ty({pathname:"/",search:"",hash:"",state:null,key:ly()},"string"==typeof e?uy(e):e))}),a=iy(null==o?i.length-1:o,0,i.length-1),s=Ca.Pop,l=i[a],c=sy(),u=sy();function d(e,t){return void 0===t&&(t=null),Pa(ty({pathname:l.pathname,search:"",hash:""},"string"==typeof e?uy(e):e,{state:t,key:ly()}))}function h(e,t,n){return!u.length||(u.call({action:e,location:t,retry:n}),!1)}function p(e,t){s=e,l=t,c.call({action:s,location:l})}function f(e){var t=iy(a+e,0,i.length-1),n=Ca.Pop,r=i[t];h(n,r,function(){f(e)})&&(a=t,p(n,r))}return{get index(){return a},get action(){return s},get location(){return l},createHref:function(e){return"string"==typeof e?e:cy(e)},push:function e(t,n){var r=Ca.Push,o=d(t,n);h(r,o,function(){e(t,n)})&&(a+=1,i.splice(a,i.length,o),p(r,o))},replace:function e(t,n){var r=Ca.Replace,o=d(t,n);h(r,o,function(){e(t,n)})&&(i[a]=o,p(r,o))},go:f,back:function(){f(-1)},forward:function(){f(1)},listen:function(e){return c.push(e)},block:function(e){return u.push(e)}}}function iy(e,t,n){return Math.min(Math.max(e,t),n)}function ay(e){e.preventDefault(),e.returnValue=""}function sy(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},call:function(t){e.forEach(function(e){return e&&e(t)})}}}function ly(){return Math.random().toString(36).substr(2,8)}function cy(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,o=void 0===r?"":r,i=e.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function uy(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dy(){}function hy(e){return"number"==typeof e&&e>=0&&e!==1/0}function py(e,t){return Math.max(e+(t||0)-Date.now(),0)}function fy(e,t){return"function"==typeof e?e(t):e}function gy(e,t){return"function"==typeof e?e(t):e}function my(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==yy(a,t.options))return!1}else if(!wy(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!o||o===t.state.fetchStatus)&&!(i&&!i(t)))}function vy(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(by(t.options.mutationKey)!==by(i))return!1}else if(!wy(t.options.mutationKey,i))return!1}return(!r||t.state.status===r)&&!(o&&!o(t))}function yy(e,t){return((null==t?void 0:t.queryKeyHashFn)||by)(e)}function by(e){return JSON.stringify(e,(e,t)=>ky(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function wy(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>wy(e[n],t[n])))}function xy(e,t){if(e===t)return e;const n=_y(e)&&_y(t);if(n||ky(e)&&ky(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<a;u++){const r=n?u:i[u];(!n&&l.has(r)||n)&&void 0===e[r]&&void 0===t[r]?(s[r]=void 0,c++):(s[r]=xy(e[r],t[r]),s[r]===e[r]&&void 0!==e[r]&&c++)}return o===a&&c===o?e:s}return t}function _y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ky(e){if(!Ey(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ey(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function Ey(e){return"[object Object]"===Object.prototype.toString.call(e)}function Sy(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?xy(e,t):t}function Oy(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Cy(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}function Py(e,t){return!e.queryFn&&null!=t&&t.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Ia?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function Ry(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ly(e,t,n){Ry(e,t),t.set(e,n)}function Dy(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function Ty(e,t,n){return e.set(Dy(e,t),n),n}function jy(e,t){return e.get(Dy(e,t))}function Ay(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function Ny(e){return Math.min(1e3*2**e,3e4)}function Iy(e){return"online"!==(null!=e?e:"online")||Ka.isOnline()}function My(e){return e instanceof Wa}function Fy(e){let t,n=!1,r=0,o=!1;const i=Ay(),a=()=>Ha.isFocused()&&("always"===e.networkMode||Ka.isOnline())&&e.canRun(),s=()=>Iy(e.networkMode)&&e.canRun(),l=n=>{var r,a;o||(o=!0,null===(r=e.onSuccess)||void 0===r||r.call(e,n),null===(a=t)||void 0===a||a(),i.resolve(n))},c=n=>{var r,a;o||(o=!0,null===(r=e.onError)||void 0===r||r.call(e,n),null===(a=t)||void 0===a||a(),i.reject(n))},u=()=>new Promise(n=>{var r;t=e=>{(o||a())&&n(e)},null===(r=e.onPause)||void 0===r||r.call(e)}).then(()=>{var n;t=void 0,o||null===(n=e.onContinue)||void 0===n||n.call(e)}),d=()=>{if(o)return;let t;const i=0===r?e.initialPromise:void 0;try{t=null!=i?i:e.fn()}catch(s){t=Promise.reject(s)}Promise.resolve(t).then(l).catch(t=>{var i,s,l;if(o)return;const h=null!==(i=e.retry)&&void 0!==i?i:Na?0:3,p=null!==(s=e.retryDelay)&&void 0!==s?s:Ny,f="function"==typeof p?p(r,t):p,g=!0===h||"number"==typeof h&&r<h||"function"==typeof h&&h(r,t);var m;!n&&g?(r++,null===(l=e.onFail)||void 0===l||l.call(e,r,t),(m=f,new Promise(e=>{setTimeout(e,m)})).then(()=>a()?void 0:u()).then(()=>{n?c(t):d()})):c(t)})};return{promise:i,cancel:t=>{var n;o||(c(new Wa(t)),null===(n=e.abort)||void 0===n||n.call(e))},continue:()=>{var e;return null===(e=t)||void 0===e||e(),i},cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():u().then(d),i)}}function $y(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=Ga;const i=r=>{t?e.push(r):o(()=>{n(r)})};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return a},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}function zy(e,t){Ry(e,t),t.add(e)}function Uy(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return K(K({},t),{},{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return K(K({},t),{},{fetchStatus:"paused"});case"continue":return K(K({},t),{},{fetchStatus:"fetching"});case"fetch":return K(K(K({},t),Hy(t.data,this.options)),{},{fetchMeta:null!==(n=e.meta)&&void 0!==n?n:null});case"success":return Ty(Za,this,void 0),K(K({},t),{},{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!==(r=e.dataUpdatedAt)&&void 0!==r?r:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const o=e.error;return My(o)&&o.revert&&jy(Za,this)?K(K({},jy(Za,this)),{},{fetchStatus:"idle"}):K(K({},t),{},{error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"});case"invalidate":return K(K({},t),{},{isInvalidated:!0});case"setState":return K(K({},t),e.state)}})(this.state),Ya.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),jy(es,this).notify({query:this,type:"updated",action:e})})}function Hy(e,t){return K({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Iy(t.networkMode)?"fetching":"paused"},void 0===e&&{error:null,status:"pending"})}function qy(e){this.state=(t=>{switch(e.type){case"failed":return K(K({},t),{},{failureCount:e.failureCount,failureReason:e.error});case"pause":return K(K({},t),{},{isPaused:!0});case"continue":return K(K({},t),{},{isPaused:!1});case"pending":return K(K({},t),{},{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()});case"success":return K(K({},t),{},{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return K(K({},t),{},{data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"})}})(this.state),Ya.batch(()=>{jy(cs,this).forEach(t=>{t.onMutationUpdate(e)}),jy(us,this).notify({mutation:this,type:"updated",action:e})})}function By(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}function Vy(e){var t;return null===(t=e.options.scope)||void 0===t?void 0:t.id}function Ky(e){return{onFetch:(t,n)=>{var r,o,i;const a=t.options,s=null===(r=t.fetchOptions)||void 0===r||null===(r=r.meta)||void 0===r||null===(r=r.fetchMore)||void 0===r?void 0:r.direction,l=(null===(o=t.state.data)||void 0===o?void 0:o.pages)||[],c=(null===(i=t.state.data)||void 0===i?void 0:i.pageParams)||[];let u={pages:[],pageParams:[]},d=0;const h=async()=>{let n=!1;const r=Py(t.options,t.fetchOptions),o=async(e,o,i)=>{if(n)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);const a=await r((()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:o,direction:i?"backward":"forward",meta:t.options.meta};var r;return r=e,Object.defineProperty(r,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)}),e})()),{maxPages:s}=t.options,l=i?Cy:Oy;return{pages:l(e.pages,a,s),pageParams:l(e.pageParams,o,s)}};if(s&&l.length){const e="backward"===s,t=e?Gy:Wy,n={pages:l,pageParams:c};u=await o(n,t(a,n),e)}else{const t=null!=e?e:l.length;do{var i;const e=0===d?null!==(i=c[0])&&void 0!==i?i:a.initialPageParam:Wy(a,u);if(d>0&&null==e)break;u=await o(u,e),d++}while(d<t)}return u};t.options.persister?t.fetchFn=()=>{var e,r;return null===(e=(r=t.options).persister)||void 0===e?void 0:e.call(r,h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=h}}}function Wy(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Gy(e,{pages:t,pageParams:n}){var r;return t.length>0?null===(r=e.getPreviousPageParam)||void 0===r?void 0:r.call(e,t[0],t,n[0],n):void 0}function Yy(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Xy(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Yy(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():Yy(e[t],null)}}}}function Jy(...e){return Wt.useCallback(Xy(...e),e)}function Qy(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ul&&"_payload"in e&&("object"==typeof(t=e._payload)&&null!==t&&"then"in t);var t}function Zy(e){const n=Wt.forwardRef((e,n)=>{let{children:r}=e,o=B(e,t);if(Qy(r)&&"function"==typeof dl&&(r=dl(r._payload)),Wt.isValidElement(r)){const e=function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}(r),t=function(e,t){const n=K({},t);for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]=K(K({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return K(K({},e),n)}(o,r.props);return r.type!==Wt.Fragment&&(t.ref=n?Xy(n,e):e),Wt.cloneElement(r,t)}return Wt.Children.count(r)>1?Wt.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}function eb(e){return Wt.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===hl}function tb(e,[t,n]){return Math.min(n,Math.max(t,e))}function nb(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function rb(e,t=[]){let r=[];const o=()=>{const t=r.map(e=>Wt.createContext(e));return function(n){const r=(null==n?void 0:n[e])||t;return Wt.useMemo(()=>({[`__scope${e}`]:K(K({},n),{},{[e]:r})}),[n,r])}};return o.scopeName=e,[function(t,o){const i=Wt.createContext(o),a=r.length;r=[...r,o];const s=t=>{var r;const{scope:o,children:s}=t,l=B(t,n),c=(null==o||null===(r=o[e])||void 0===r?void 0:r[a])||i,u=Wt.useMemo(()=>l,Object.values(l));return(0,Rs.jsx)(c.Provider,{value:u,children:s})};return s.displayName=t+"Provider",[s,function(n,r){var s;const l=(null==r||null===(s=r[e])||void 0===s?void 0:s[a])||i,c=Wt.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},ob(o,...t)]}function ob(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>{const o=n(e)[`__scope${r}`];return K(K({},t),o)},{});return Wt.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}function ib(e){const t=ab(e),n=Wt.forwardRef((e,n)=>{const{children:o}=e,i=B(e,r),a=Wt.Children.toArray(o),s=a.find(sb);if(s){const e=s.props.children,r=a.map(t=>t===s?Wt.Children.count(e)>1?Wt.Children.only(null):Wt.isValidElement(e)?e.props.children:null:t);return(0,Rs.jsx)(t,K(K({},i),{},{ref:n,children:Wt.isValidElement(e)?Wt.cloneElement(e,void 0,r):null}))}return(0,Rs.jsx)(t,K(K({},i),{},{ref:n,children:o}))});return n.displayName=`${e}.Slot`,n}function ab(e){const t=Wt.forwardRef((e,t)=>{const{children:n}=e,r=B(e,o);if(Wt.isValidElement(n)){const e=function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}(n),o=function(e,t){const n=K({},t);for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]=K(K({},o),i):"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return K(K({},e),n)}(r,n.props);return n.type!==Wt.Fragment&&(o.ref=t?Xy(t,e):e),Wt.cloneElement(n,o)}return Wt.Children.count(n)>1?Wt.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}function sb(e){return Wt.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===wl}function lb(e){const t=e+"CollectionProvider",[n,r]=rb(t),[o,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{const{scope:t,children:n}=e,r=Wt.useRef(null),i=Wt.useRef(new Map).current;return(0,Rs.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};s.displayName=t;const l=e+"CollectionSlot",c=ib(l),u=Wt.forwardRef((e,t)=>{const{scope:n,children:r}=e;return(0,Rs.jsx)(c,{ref:Jy(t,a(l,n).collectionRef),children:r})});u.displayName=l;const d=e+"CollectionItemSlot",h="data-radix-collection-item",p=ib(d),f=Wt.forwardRef((e,t)=>{const{scope:n,children:r}=e,o=B(e,i),s=Wt.useRef(null),l=Jy(t,s),c=a(d,n);return Wt.useEffect(()=>(c.itemMap.set(s,K({ref:s},o)),()=>{c.itemMap.delete(s)})),(0,Rs.jsx)(p,{[h]:"",ref:l,children:r})});return f.displayName=d,[{Provider:s,Slot:u,ItemSlot:f},function(t){const n=a(e+"CollectionConsumer",t);return Wt.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}function cb(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=function(e,t){const n=e.length,r=ub(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return-1===n?void 0:e[n]}function ub(e){return e!=e||0===e?0:Math.trunc(e)}function db(e){const t=Wt.useContext(kl);return e||t||"ltr"}function hb(e){const t=Wt.useRef(e);return Wt.useEffect(()=>{t.current=e}),Wt.useMemo(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function pb(){const e=new CustomEvent(Sl);document.dispatchEvent(e)}function fb(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&Ma.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}function gb(){Wt.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:mb()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:mb()),Dl++,()=>{1===Dl&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Dl--}},[])}function mb(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function vb(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function yb(e,t){for(const n of e)if(!bb(n,{upTo:t}))return n}function bb(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function wb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}function xb(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}function _b(e){const[t,n]=Wt.useState(Fl());return Ml(()=>{e||n(e=>null!=e?e:String($l++))},[e]),e||(t?`radix-${t}`:"")}function kb(e,t,n){return Hl(e,Ul(t,n))}function Eb(e,t){return"function"==typeof e?e(t):e}function Sb(e){return e.split("-")[0]}function Ob(e){return e.split("-")[1]}function Cb(e){return"x"===e?"y":"x"}function Pb(e){return"y"===e?"height":"width"}function Rb(e){return["top","bottom"].includes(Sb(e))?"y":"x"}function Lb(e){return Cb(Rb(e))}function Db(e){return e.replace(/start|end/g,e=>Wl[e])}function Tb(e){return e.replace(/left|right|bottom|top/g,e=>Kl[e])}function jb(e){return"number"!=typeof e?function(e){return K({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function Ab(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Nb(e,t,n){let{reference:r,floating:o}=e;const i=Rb(t),a=Lb(t),s=Pb(a),l=Sb(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Ob(t)){case"start":p[a]-=h*(n&&c?-1:1);break;case"end":p[a]+=h*(n&&c?-1:1)}return p}async function Ib(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Eb(t,e),f=jb(p),g=s[h?"floating"===d?"reference":"floating":d],m=Ab(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=Ab(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(m.top-w.top+f.top)/b.y,bottom:(w.bottom-m.bottom+f.bottom)/b.y,left:(m.left-w.left+f.left)/b.x,right:(w.right-m.right+f.right)/b.x}}function Mb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fb(e){return zl.some(t=>e[t]>=0)}function $b(){return"undefined"!=typeof window}function zb(e){return qb(e)?(e.nodeName||"").toLowerCase():"#document"}function Ub(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hb(e){var t;return null==(t=(qb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function qb(e){return!!$b()&&(e instanceof Node||e instanceof Ub(e).Node)}function Bb(e){return!!$b()&&(e instanceof Element||e instanceof Ub(e).Element)}function Vb(e){return!!$b()&&(e instanceof HTMLElement||e instanceof Ub(e).HTMLElement)}function Kb(e){return!(!$b()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Ub(e).ShadowRoot)}function Wb(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Zb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Gb(e){return["table","td","th"].includes(zb(e))}function Yb(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(rp){return!1}})}function Xb(e){const t=Jb(),n=Bb(e)?Zb(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function Jb(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qb(e){return["html","body","#document"].includes(zb(e))}function Zb(e){return Ub(e).getComputedStyle(e)}function ew(e){return Bb(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tw(e){if("html"===zb(e))return e;const t=e.assignedSlot||e.parentNode||Kb(e)&&e.host||Hb(e);return Kb(t)?t.host:t}function nw(e){const t=tw(e);return Qb(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vb(t)&&Wb(t)?t:nw(t)}function rw(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=nw(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Ub(o);if(i){const e=ow(a);return t.concat(a,a.visualViewport||[],Wb(o)?o:[],e&&n?rw(e):[])}return t.concat(o,rw(o,[],n))}function ow(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function iw(e){const t=Zb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Vb(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=ql(n)!==i||ql(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function aw(e){return Bb(e)?e:e.contextElement}function sw(e){const t=aw(e);if(!Vb(t))return Vl(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=iw(t);let a=(i?ql(n.width):n.width)/r,s=(i?ql(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function lw(e){const t=Ub(e);return Jb()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:nc}function cw(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=aw(e);let a=Vl(1);t&&(r?Bb(r)&&(a=sw(r)):a=sw(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Ub(e))&&t}(i,n,r)?lw(i):Vl(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Ub(i),t=r&&Bb(r)?Ub(r):r;let n=e,o=ow(n);for(;o&&r&&t!==n;){const e=sw(o),t=o.getBoundingClientRect(),r=Zb(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=Ub(o),o=ow(n)}}return Ab({width:u,height:d,x:l,y:c})}function uw(e,t){const n=ew(e).scrollLeft;return t?t.left+n:cw(Hb(e)).left+n}function dw(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:uw(e,r)),y:r.top+t.scrollTop}}function hw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Hb(r),s=!!t&&Yb(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Vl(1);const u=Vl(0),d=Vb(r);if((d||!d&&!i)&&(("body"!==zb(r)||Wb(a))&&(l=ew(r)),Vb(r))){const e=cw(r);c=sw(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const h=!a||d||i?Vl(0):dw(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function pw(e){return Array.from(e.getClientRects())}function fw(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Ub(e),r=Hb(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Jb();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Hb(e),n=ew(e),r=e.ownerDocument.body,o=Hl(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Hl(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+uw(e);const s=-n.scrollTop;return"rtl"===Zb(r).direction&&(a+=Hl(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(Hb(e));else if(Bb(t))r=function(e,t){const n=cw(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Vb(e)?sw(e):Vl(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=lw(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ab(r)}function gw(e,t){const n=tw(e);return!(n===t||!Bb(n)||Qb(n))&&("fixed"===Zb(n).position||gw(n,t))}function mw(e,t){const n=t.get(e);if(n)return n;let r=rw(e,[],!1).filter(e=>Bb(e)&&"body"!==zb(e)),o=null;const i="fixed"===Zb(e).position;let a=i?tw(e):e;for(;Bb(a)&&!Qb(a);){const t=Zb(a),n=Xb(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Wb(a)&&!n&&gw(e,a))?r=r.filter(e=>e!==a):o=t,a=tw(a)}return t.set(e,r),r}function vw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?Yb(t)?[]:mw(t,this._c):[].concat(n),r],a=i[0],s=i.reduce((e,n)=>{const r=fw(t,n,o);return e.top=Hl(r.top,e.top),e.right=Ul(r.right,e.right),e.bottom=Ul(r.bottom,e.bottom),e.left=Hl(r.left,e.left),e},fw(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function yw(e){const{width:t,height:n}=iw(e);return{width:t,height:n}}function bw(e,t,n){const r=Vb(t),o=Hb(t),i="fixed"===n,a=cw(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Vl(0);if(r||!r&&!i)if(("body"!==zb(t)||Wb(o))&&(s=ew(t)),r){const e=cw(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=uw(o));const c=!o||r||i?Vl(0):dw(o,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function ww(e){return"static"===Zb(e).position}function xw(e,t){if(!Vb(e)||"fixed"===Zb(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Hb(e)===n&&(n=n.ownerDocument.body),n}function _w(e,t){const n=Ub(e);if(Yb(e))return n;if(!Vb(e)){let t=tw(e);for(;t&&!Qb(t);){if(Bb(t)&&!ww(t))return t;t=tw(t)}return n}let r=xw(e,t);for(;r&&Gb(r)&&ww(r);)r=xw(r,t);return r&&Qb(r)&&ww(r)&&!Xb(r)?n:r||function(e){let t=tw(e);for(;Vb(t)&&!Qb(t);){if(Xb(t))return t;if(Yb(t))return null;t=tw(t)}return null}(e)||n}function kw(e){return"rtl"===Zb(e).direction}function Ew(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=aw(e),u=o||i?[...c?rw(c):[],...rw(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const o=Hb(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:h}=e.getBoundingClientRect();if(s||t(),!d||!h)return;const p={rootMargin:-Bl(u)+"px "+-Bl(o.clientWidth-(c+d))+"px "+-Bl(o.clientHeight-(u+h))+"px "+-Bl(c)+"px",threshold:Hl(0,Ul(1,l))||1};let f=!0;function g(e){const t=e[0].intersectionRatio;if(t!==l){if(!f)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},1e3)}f=!1}try{r=new IntersectionObserver(g,K(K({},p),{},{root:o.ownerDocument}))}catch(rp){r=new IntersectionObserver(g,p)}r.observe(e)}(!0),i}(c,n):null;let h,p=-1,f=null;a&&(f=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=f)||e.observe(t)})),n()}),c&&!l&&f.observe(c),f.observe(t));let g=l?cw(e):null;return l&&function t(){const r=cw(e);!g||r.x===g.x&&r.y===g.y&&r.width===g.width&&r.height===g.height||n();g=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(h)}}function Sw(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Sw(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!Sw(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Ow(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Cw(e,t){const n=Ow(e);return Math.round(t*n)/n}function Pw(e){const t=Wt.useRef(e);return hc(()=>{t.current=e}),t}function Rw(e){return null!==e}function Lw(e){const[t,n="center"]=e.split("-");return[t,n]}function Dw({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=function({defaultProp:e,onChange:t}){const[n,r]=Wt.useState(e),o=Wt.useRef(n),i=Wt.useRef(t);return Bc(()=>{i.current=t},[t]),Wt.useEffect(()=>{var e;o.current!==n&&(null===(e=i.current)||void 0===e||e.call(i,n),o.current=n)},[n,o]),[n,r,i]}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:o;{const t=Wt.useRef(void 0!==e);Wt.useEffect(()=>{const e=t.current;e!==s&&console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=s},[s,r])}return[l,Wt.useCallback(t=>{if(s){var n;const r=function(e){return"function"==typeof e}(t)?t(e):t;r!==e&&(null===(n=a.current)||void 0===n||n.call(a,r))}else i(t)},[s,e,i,a])]}function Tw(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function jw(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function Aw(e,t){var n,r,o,i=(n=t||null,r=function(t){return e.forEach(function(e){return jw(e,t)})},(o=(0,Wt.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return ou(function(){var t=iu.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||jw(e,null)}),r.forEach(function(e){n.has(e)||jw(e,o)})}iu.set(i,e)},[e]),i}function Nw(e){return e}function Iw(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Nw);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=tu({async:!0,ssr:!1},e),t}function Mw(e){var t=Wt.useRef([]),n=Wt.useRef([0,0]),r=Wt.useRef(),o=Wt.useState(qu++)[0],i=Wt.useState(pu)[0],a=Wt.useRef(e);Wt.useEffect(function(){a.current=e},[e]),Wt.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(zu),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Wt.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=Fu(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var h=Du(d,u);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=Du(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var p=r.current||o;return Mu(p,t,e,"h"===p?l:c,!0)},[]),l=Wt.useCallback(function(e){var n=e;if(Bu.length&&Bu[Bu.length-1]===i){var r="deltaY"in n?$u(n):Fu(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Uu(e.delta,r)})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var l=(a.current.shards||[]).map(zu).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?s(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=Wt.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:Fw(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=Wt.useCallback(function(e){n.current=Fu(e),r.current=void 0},[]),d=Wt.useCallback(function(t){c(t.type,$u(t),t.target,s(t,e.lockRef.current))},[]),h=Wt.useCallback(function(t){c(t.type,Fu(t),t.target,s(t,e.lockRef.current))},[]);Wt.useEffect(function(){return Bu.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Ou),document.addEventListener("touchmove",l,Ou),document.addEventListener("touchstart",u,Ou),function(){Bu=Bu.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,Ou),document.removeEventListener("touchmove",l,Ou),document.removeEventListener("touchstart",u,Ou)}},[]);var p=e.removeScrollBar,f=e.inert;return Wt.createElement(Wt.Fragment,null,f?Wt.createElement(i,{styles:Hu(o)}):null,p?Wt.createElement(ku,{gapMode:e.gapMode}):null)}function Fw(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}function $w(e){return""===e||void 0===e}function zw(e){const t=hb(e),n=Wt.useRef(""),r=Wt.useRef(0),o=Wt.useCallback(e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),i=Wt.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return Wt.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function Uw(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=(a=e,s=Math.max(o,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(i=i.filter(e=>e!==n));const l=i.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}function Hw(e){const[t,n]=Wt.useState(),r=Wt.useRef(null),o=Wt.useRef(e),i=Wt.useRef("none"),[a,s]=function(e,t){return Wt.useReducer((e,n)=>{var r;return null!==(r=t[e][n])&&void 0!==r?r:e},e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Wt.useEffect(()=>{const e=qw(r.current);i.current="mounted"===a?e:"none"},[a]),Ml(()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,a=qw(t);e?s("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?s("UNMOUNT"):s(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),Ml(()=>{if(t){var e;let n;const a=null!==(e=t.ownerDocument.defaultView)&&void 0!==e?e:window,l=e=>{const i=qw(r.current).includes(e.animationName);if(e.target===t&&i&&(s("ANIMATION_END"),!o.current)){const e=t.style.animationFillMode;t.style.animationFillMode="forwards",n=a.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=e)})}},c=e=>{e.target===t&&(i.current=qw(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{a.clearTimeout(n),t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:Wt.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}function qw(e){return(null==e?void 0:e.animationName)||"none"}function Bw(e){return e?"open":"closed"}function Vw(e,...t){if(!t.length)return e;const n=t.shift();return Ap(e)&&Ap(n)&&Object.keys(n).forEach(t=>{Ap(n[t])?(e[t]||Object.assign(e,{[t]:{}}),Vw(e[t],n[t])):Object.assign(e,{[t]:n[t]})}),Vw(e,...t)}function Kw(e){var t,n;let r=e.apiKey||"";r.startsWith("V3 ")&&(r=r.slice(3));const o=K(K({},e),{},{apiKey:`V3 ${r}`,clientId:r.split(".")[0]});if("string"==typeof(null==e||null===(t=e.options)||void 0===t?void 0:t.lat)||"string"==typeof(null==e||null===(n=e.options)||void 0===n?void 0:n.lng)){var i,a,s;if(o.options||(o.options={}),o.options.lat=Number(null==e||null===(i=e.options)||void 0===i?void 0:i.lat),o.options.lng=Number(null==e||null===(a=e.options)||void 0===a?void 0:a.lng),void 0!==(null==e||null===(s=e.options)||void 0===s?void 0:s.marker)){let t=!1;"string"==typeof e.options.marker.lat&&(o.options.marker.lat=Number(e.options.marker.lat),t=!0),"string"==typeof e.options.marker.lng&&(o.options.marker.lng=Number(e.options.marker.lng),t=!0),t&&console.warn("[Local Logic SDK] Converted lat/lng from string to number in sdkState.options.marker. Please ensure lat/lng are always numbers. This may break your SDK implementation in the future.")}console.warn("[Local Logic SDK] Converted lat/lng from string to number in sdkState.options. Please ensure lat/lng are always numbers. This may break your SDK implementation in the future.")}return o}return V({I:db,J:By,L:lb,M:_b,P:hb,Q:Ay,R:rb,V:Jy,X:zy,Y:Hy,ct:Sy,dt:function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0},et:jy,ft:function(e,t){return"function"==typeof e?e(...t):!!e},it:by,j:Dw,lt:gy,nt:Dy,ot:hy,pt:py,rt:Ly,st:dy,tt:Ty,ut:fy,z:nb,yt:void 0}),{setters:[function(e){G=e.a,Y=e.i,X=e.n,J=e.r,Q=e.t},function(e){Z=e.c,ee=e.l}],execute:function(){for((te=document.createElement("style")).textContent='@font-face{font-family:Satoshi-Light;src:url(/sdks-app/v1/assets/Satoshi-Light-IqwJ_ZjS.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Light-C_dmkKXz.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Light-B82kzbU-.ttf)format("truetype");font-weight:300;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-LightItalic;src:url(/sdks-app/v1/assets/Satoshi-LightItalic-C9iuU4v7.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-LightItalic-B9L6s97T.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-LightItalic-BAhuxY-A.ttf)format("truetype");font-weight:300;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Regular;src:url(/sdks-app/v1/assets/Satoshi-Regular-CPM9dct4.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Regular-CWSyEjGv.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Regular-DToFXog2.ttf)format("truetype");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/sdks-app/v1/assets/Satoshi-Italic-wVmEEc6M.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Italic-BPCXRxzy.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Italic-FMxkCD8o.ttf)format("truetype");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Medium;src:url(/sdks-app/v1/assets/Satoshi-Medium-ByP-Zb-9.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Medium-DDwDPeBg.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Medium-DOt9kM-a.ttf)format("truetype");font-weight:500;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-MediumItalic;src:url(/sdks-app/v1/assets/Satoshi-MediumItalic-BxR-IcRj.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-MediumItalic-BPTJUpxz.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-MediumItalic-BUFVYoD2.ttf)format("truetype");font-weight:500;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/sdks-app/v1/assets/Satoshi-Bold-Bd5kKQ_U.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Bold-C2PhLWFc.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Bold-CPly9kH5.ttf)format("truetype");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-BoldItalic;src:url(/sdks-app/v1/assets/Satoshi-BoldItalic-CAjvAcxR.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-BoldItalic-DQ7B0PfL.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-BoldItalic-tClQcAb-.ttf)format("truetype");font-weight:700;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Black;src:url(/sdks-app/v1/assets/Satoshi-Black-DjnQuuRz.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Black-D3hzT7Um.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Black-CizHyRqb.ttf)format("truetype");font-weight:900;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-BlackItalic;src:url(/sdks-app/v1/assets/Satoshi-BlackItalic-ChCbTD27.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-BlackItalic-D8Ai_S3C.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-BlackItalic-CvIpOoSh.ttf)format("truetype");font-weight:900;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Variable;src:url(/sdks-app/v1/assets/Satoshi-Variable-CFg-z2ne.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-Variable-B5cVmYQo.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-Variable-ChAXbpFa.ttf)format("truetype");font-weight:300 900;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-VariableItalic;src:url(/sdks-app/v1/assets/Satoshi-VariableItalic-DjwFspxr.woff2)format("woff2"),url(/sdks-app/v1/assets/Satoshi-VariableItalic-DeirzIcA.woff)format("woff"),url(/sdks-app/v1/assets/Satoshi-VariableItalic-Bb7sdEFv.ttf)format("truetype");font-weight:300 900;font-display:swap;font-style:italic}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e0e0e0}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--ll-font-family), Inter, sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--ll-font-family-mono);font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button{-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=button]){-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=reset]){-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#676767}textarea::-moz-placeholder{opacity:1;color:#676767}input::placeholder,textarea::placeholder{opacity:1;color:#676767}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--ll-base-unit:16px;--ll-color-primary:#008491;--ll-color-primary-light:#21bccc;--ll-color-primary-variant1:#0f766e;--ll-color-background:#fff;--ll-color-surface:#f4f4f5;--ll-color-surface-variant1:#e4e4e7;--ll-color-surface-variant2:#d4d4d8;--ll-color-on-primary:#fff;--ll-color-on-primary-variant1:#f4f4f5;--ll-color-on-background:#09090b;--ll-color-on-background-variant1:#27272a;--ll-color-on-surface:#09090b;--ll-color-on-surface-variant1:#27272a;--ll-color-placeholder:#71717a;--ll-color-disabled:#71717a;--ll-color-border:#d4d4d8;--ll-color-link:#2563eb;--ll-color-error:#dc2626;--ll-color-error-light:#ef4444;--ll-sdk-title-color:#09090b;--ll-spacing-base-unit:var(--ll-base-unit) / 4;--ll-spacing-xx-small:calc(var(--ll-spacing-base-unit) * 1);--ll-spacing-x-small:calc(var(--ll-spacing-base-unit) * 2);--ll-spacing-small:calc(var(--ll-spacing-base-unit) * 3);--ll-spacing-medium:calc(var(--ll-spacing-base-unit) * 4);--ll-spacing-large:calc(var(--ll-spacing-base-unit) * 6);--ll-spacing-x-large:calc(var(--ll-spacing-base-unit) * 8);--ll-spacing-xx-large:calc(var(--ll-spacing-base-unit) * 12);--ll-spacing-xxx-large:calc(var(--ll-spacing-base-unit) * 16);--ll-spacing-auto:auto;--ll-shadow-small:0 1px 1px rgba(0,0,0,.05);--ll-shadow-medium:0 4px 3px rgba(0,0,0,.07),0 2px 2px rgba(0,0,0,.06);--ll-border-radius-base-unit:var(--ll-base-unit) / 4;--ll-border-radius-small:calc(var(--ll-border-radius-base-unit) * 1);--ll-border-radius-medium:calc(var(--ll-border-radius-base-unit) * 2);--ll-border-radius-large:calc(var(--ll-border-radius-base-unit) * 4);--ll-font-weight-light:100;--ll-font-weight-normal:400;--ll-font-weight-medium:500;--ll-font-weight-semibold:600;--ll-font-weight-bold:700;--ll-font-size-base:calc(var(--ll-base-unit) / 1.333);--ll-font-size-h1:calc(var(--ll-font-size-base) * 4);--ll-font-size-h2:calc(var(--ll-font-size-base) * 3);--ll-font-size-h3:calc(var(--ll-font-size-base) * 2);--ll-font-size-h4:calc(var(--ll-font-size-base) * 1.667);--ll-font-size-h5:calc(var(--ll-font-size-base) * 1.5);--ll-font-size-h6:calc(var(--ll-font-size-base) * 1.333);--ll-font-size-p:calc(var(--ll-font-size-base) * 1.167);--ll-font-size-caption-1:var(--ll-font-size-base);--ll-font-size-caption-2:calc(var(--ll-font-size-base) * .833);--ll-font-family:Satoshi-Variable, sans-serif;--ll-font-family-mono:Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace}html[data-theme=night]{--ll-color-primary:#14b8a6;--ll-color-primary-variant1:#0d9488;--ll-color-background:#18181b;--ll-color-surface:#27272a;--ll-color-surface-variant1:#3f3f46;--ll-color-surface-variant2:#52525b;--ll-color-on-primary:#fff;--ll-color-on-primary-variant1:#f0fdfa;--ll-color-on-background:#fafafa;--ll-color-on-background-variant1:#f4f4f5;--ll-color-on-surface:#e4e4e7;--ll-color-on-surface-variant1:#d4d4d8;--ll-color-placeholder:#52525b;--ll-color-disabled:#a1a1aa;--ll-color-border:#3f3f46;--ll-color-link:#2563eb}.container{width:100%}@media (min-width:320px){.container{max-width:320px}}@media (min-width:480px){.container{max-width:480px}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-7{top:1.75rem;bottom:1.75rem;left:1.75rem;right:1.75rem}.-right-3{right:-.75rem}.-top-3{top:-.75rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.left-0{left:0}.left-0\\.5{left:.125rem}.left-1\\/2{left:50%}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-14{top:3.5rem}.top-2\\.5{top:.625rem}.top-3{top:.75rem}.top-3\\.5{top:.875rem}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-\\[4\\]{z-index:4}.\\!m-0{margin:0!important}.m-0{margin:0}.m-5{margin:1.25rem}.m-auto{margin:auto}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-0\\.5{margin-bottom:-.125rem}.-mb-1{margin-bottom:-.25rem}.-mb-6{margin-bottom:-1.5rem}.-mr-1{margin-right:-.25rem}.-mr-2{margin-right:-.5rem}.-mr-4{margin-right:-1rem}.-mt-0\\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-2{margin-top:-.5rem}.-mt-3{margin-top:-.75rem}.mb-1{margin-bottom:.25rem}.mb-11{margin-bottom:2.75rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-9{margin-bottom:2.25rem}.ml-1{margin-left:.25rem}.ml-14{margin-left:3.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-7{margin-left:1.75rem}.ml-\\[140px\\]{margin-left:140px}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-2\\.5{margin-right:.625rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.box-border{box-sizing:border-box}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-4{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-\\[2\\]{aspect-ratio:2}.aspect-square{aspect-ratio:1}.h-1{height:.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-2\\/4{height:50%}.h-28{height:7rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\\/6{height:83.3333%}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-\\[100vh\\]{height:100vh}.h-\\[109px\\]{height:109px}.h-\\[30px\\]{height:30px}.h-\\[50px\\]{height:50px}.h-\\[6\\%\\]{height:6%}.h-\\[70\\%\\]{height:70%}.h-\\[80\\%\\]{height:80%}.h-\\[90px\\]{height:90px}.h-\\[calc\\(100\\%-32px\\)\\]{height:calc(100% - 32px)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-44{max-height:11rem}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[calc\\(100vh-72px\\)\\]{max-height:calc(100vh - 72px)}.min-h-0{min-height:0}.min-h-3{min-height:.75rem}.min-h-36{min-height:9rem}.min-h-5{min-height:1.25rem}.min-h-7{min-height:1.75rem}.min-h-96{min-height:24rem}.min-h-\\[266px\\]{min-height:266px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-2\\/4{width:50%}.w-20{width:5rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\\/6{width:83.3333%}.w-52{width:13rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-96{width:24rem}.w-\\[152px\\]{width:152px}.w-\\[20px\\]{width:20px}.w-\\[218px\\]{width:218px}.w-\\[35\\%\\]{width:35%}.w-\\[70\\%\\]{width:70%}.w-\\[90\\%\\]{width:90%}.w-\\[90px\\]{width:90px}.w-\\[calc\\(100\\%-165px\\)\\]{width:calc(100% - 165px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.min-w-10{min-width:2.5rem}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.min-w-60{min-width:15rem}.min-w-64{min-width:16rem}.min-w-8{min-width:2rem}.min-w-80{min-width:20rem}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[250px\\]{min-width:250px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.max-w-0{max-width:0}.max-w-10{max-width:2.5rem}.max-w-52{max-width:13rem}.max-w-72{max-width:18rem}.max-w-80{max-width:20rem}.max-w-\\[300px\\]{max-width:300px}.max-w-\\[380px\\]{max-width:380px}.max-w-full{max-width:100%}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-1\\/3{flex-basis:33.3333%}.table-auto{table-layout:auto}.origin-top-left{transform-origin:0 0}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-2{--tw-translate-y:-.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-16{--tw-translate-x:4rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\\[17deg\\]{--tw-rotate:17deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\\[73deg\\]{--tw-rotate:73deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-125{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.select-none{user-select:none}.resize{resize:both}.list-none{list-style-type:none}.auto-cols-\\[minmax\\(0\\,80px\\)\\]{grid-auto-columns:minmax(0,80px)}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[140px_calc\\(100\\%-165px\\)\\]{grid-template-columns:140px calc(100% - 165px)}.grid-rows-1{grid-template-rows:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-0{gap:0}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.gap-y-8{row-gap:2rem}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-self-start{justify-self:start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.rounded{border-radius:.25rem}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-4{border-bottom-width:4px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-base-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity,1))}.border-gray-100{--tw-border-opacity:1;border-color:rgba(250,250,252,var(--tw-border-opacity,1))}.border-gray-150{--tw-border-opacity:1;border-color:rgba(236,236,236,var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity,1))}.border-neutral-100{--tw-border-opacity:1;border-color:rgba(245,245,245,var(--tw-border-opacity,1))}.border-neutral-200{--tw-border-opacity:1;border-color:rgba(229,229,229,var(--tw-border-opacity,1))}.border-neutral-300{--tw-border-opacity:1;border-color:rgba(212,212,212,var(--tw-border-opacity,1))}.border-primary-100{border-color:var(--ll-colors-primary-100,#008491)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity,1))}.border-b-\\[transparent\\]{border-bottom-color:transparent}.border-b-gray-100{--tw-border-opacity:1;border-bottom-color:rgba(250,250,252,var(--tw-border-opacity,1))}.bg-\\[color\\:var\\(--transit-route-color\\,_theme\\(colors\\.secondary\\.100\\)\\)\\]{background-color:var(--transit-route-color,var(--ll-colors-secondary-100,#0f766e))}.bg-\\[var\\(--background\\)\\]{background-color:var(--background)}.bg-base-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.bg-gray-150{--tw-bg-opacity:1;background-color:rgba(236,236,236,var(--tw-bg-opacity,1))}.bg-gray-150\\/40{background-color:rgba(236,236,236,.4)}.bg-gray-200{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity,1))}.bg-gray-25{--tw-bg-opacity:1;background-color:rgba(246,246,249,var(--tw-bg-opacity,1))}.bg-gray-250{--tw-bg-opacity:1;background-color:rgba(179,179,179,var(--tw-bg-opacity,1))}.bg-gray-300\\/50{background-color:rgba(209,213,219,.5)}.bg-gray-400{--tw-bg-opacity:1;background-color:rgba(103,103,103,var(--tw-bg-opacity,1))}.bg-neutral-50{--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity,1))}.bg-primary-10{background-color:var(--ll-colors-primary-10,#ebf5f7)}.bg-primary-100{background-color:var(--ll-colors-primary-100,#008491)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.bg-zinc-300{--tw-bg-opacity:1;background-color:rgba(212,212,216,var(--tw-bg-opacity,1))}.bg-gradient-to-r{background-image:linear-gradient(to right, var(--tw-gradient-stops))}.bg-none{background-image:none}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.fill-\\[var\\(--fill\\)\\]{fill:var(--fill)}.fill-black{fill:#000}.fill-gray-400{fill:#676767}.fill-inherit{fill:inherit}.fill-primary-100{fill:var(--ll-colors-primary-100,#008491)}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.\\!p-0{padding:0!important}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1\\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-px{padding-bottom:1px}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-8{padding-right:2rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-sans{font-family:var(--ll-font-family), Inter, sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[10px\\]{font-size:10px}.text-\\[8px\\]{font-size:8px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-none{line-height:1}.tracking-wider{letter-spacing:.05em}.text-\\[color\\:var\\(--transit-route-text-color\\,_theme\\(colors\\.base\\.white\\)\\)\\]{color:var(--transit-route-text-color,#fff)}.text-base-black{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}.text-base-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity,1))}.text-gray-400{--tw-text-opacity:1;color:rgba(103,103,103,var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgba(34,34,34,var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-neutral-400{--tw-text-opacity:1;color:rgba(163,163,163,var(--tw-text-opacity,1))}.text-neutral-500{--tw-text-opacity:1;color:rgba(115,115,115,var(--tw-text-opacity,1))}.text-neutral-600{--tw-text-opacity:1;color:rgba(82,82,82,var(--tw-text-opacity,1))}.text-neutral-800{--tw-text-opacity:1;color:rgba(38,38,38,var(--tw-text-opacity,1))}.text-primary-100{color:var(--ll-colors-primary-100,#008491)}.text-primary-300{color:var(--ll-colors-primary-300,#003548)}.text-stone-400{--tw-text-opacity:1;color:rgba(168,162,158,var(--tw-text-opacity,1))}.text-stone-500{--tw-text-opacity:1;color:rgba(120,113,108,var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}.text-zinc-800{--tw-text-opacity:1;color:rgba(39,39,42,var(--tw-text-opacity,1))}.text-zinc-950{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}.opacity-30{opacity:.3}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-2sm{--tw-shadow:0px 2px 4px 0px rgba(0,0,0,.12);--tw-shadow-colored:0px 2px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-3sm{--tw-shadow:0px 3px 7px 0px rgba(0,0,0,.12);--tw-shadow-colored:0px 3px 7px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-4sm{--tw-shadow:0px 4px 8px 0px rgba(0,0,0,.16);--tw-shadow-colored:0px 4px 8px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-lg{--tw-shadow:0px 32px 48px -2px rgba(0,0,0,.2);--tw-shadow-colored:0px 32px 48px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-md{--tw-shadow:0px 12px 20px 0px rgba(0,0,0,.12);--tw-shadow-colored:0px 12px 20px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.shadow-sm{--tw-shadow:0px 0px 2px 0px rgba(0,0,0,.12);--tw-shadow-colored:0px 0px 2px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}.outline-none{outline-offset:2px;outline:2px solid transparent}.-outline-offset-2{outline-offset:-2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-\\[cubic-bezier\\(0\\.87\\,_0\\,_0\\.13\\,_1\\)\\]{transition-timing-function:cubic-bezier(.87,0,.13,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}html{font-size:var(--ll-base-unit)}@layer charts{.ll-donut-segment{clip-path:var(--ll-chart-donut-segment-clip-path);width:100%;height:100%;transform:translate(0, -50%) rotate(90deg) rotate(calc(var(--ll-chart-donut-segment-degrees) * 1deg));transform-origin:50% 100%;position:absolute}.ll-donut-segment:after,.ll-donut-segment:before{background-color:var(--ll-chart-donut-segment-bg);content:"";width:100%;height:100%;position:absolute}.ll-donut-segment:before{transform:translate(0, 100%) rotate(calc(var(--ll-chart-donut-segment-before-degrees) * 1deg));transform-origin:50% 0}.ll-donut-segment:after{opacity:var(--ll-chart-donut-segment-opacity)}}.placeholder\\:text-transparent::placeholder{color:transparent}.before\\:content-\\[\\\'\\*\\\'\\]:before{--tw-content:"*";content:var(--tw-content)}.last\\:mb-0:last-child{margin-bottom:0}.last\\:border-b-0:last-child{border-bottom-width:0}.last\\:border-r-0:last-child{border-right-width:0}.last\\:pb-0:last-child{padding-bottom:0}.odd\\:bg-white:nth-child(odd){--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.even\\:bg-neutral-50:nth-child(2n){--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity,1))}.focus-within\\:shadow-lg:focus-within{--tw-shadow:0px 32px 48px -2px rgba(0,0,0,.2);--tw-shadow-colored:0px 32px 48px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}@media (hover:hover) and (pointer:fine){.hover\\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:overflow-auto:hover{overflow:auto}.hover\\:text-clip:hover{text-overflow:clip}.hover\\:border-gray-400:hover{--tw-border-opacity:1;border-color:rgba(103,103,103,var(--tw-border-opacity,1))}.hover\\:border-primary-100:hover{border-color:var(--ll-colors-primary-100,#008491)}.hover\\:bg-\\[var\\(--fill\\)\\]:hover{background-color:var(--fill)}.hover\\:bg-gray-25:hover{--tw-bg-opacity:1;background-color:rgba(246,246,249,var(--tw-bg-opacity,1))}.hover\\:bg-gray-400:hover{--tw-bg-opacity:1;background-color:rgba(103,103,103,var(--tw-bg-opacity,1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgba(240,240,243,var(--tw-bg-opacity,1))}.hover\\:bg-primary-10:hover{background-color:var(--ll-colors-primary-10,#ebf5f7)}.hover\\:bg-primary-100:hover{background-color:var(--ll-colors-primary-100,#008491)}.hover\\:fill-base-white:hover{fill:#fff}.hover\\:font-medium:hover{font-weight:500}.hover\\:text-base-black:hover{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}.hover\\:text-base-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}.hover\\:text-primary-200:hover{color:var(--ll-colors-primary-200,#205464)}.hover\\:text-primary-50:hover{color:var(--ll-colors-primary-50,#21bccc)}}.focus\\:outline-none:focus{outline-offset:2px;outline:2px solid transparent}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:text-gray-200:disabled{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity,1))}@media (hover:hover) and (pointer:fine){.group\\/item-button:hover .group-hover\\/item-button\\:scale-125{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:fill-base-white{fill:#fff}.group\\/item-button:hover .group-hover\\/item-button\\:text-base-black{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}}.peer:placeholder-shown~.peer-placeholder-shown\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:placeholder-shown~.peer-placeholder-shown\\:scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\\:-translate-y-2{--tw-translate-y:-.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\\:scale-75{--tw-scale-x:.75;--tw-scale-y:.75;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[is-collapsed\\=true\\]\\:pointer-events-none[data-is-collapsed=true]{pointer-events:none}.data-\\[nomargin\\=true\\]\\:mb-0[data-nomargin=true]{margin-bottom:0}.data-\\[state\\=\\"open\\"\\]\\:mb-4[data-state=open]{margin-bottom:1rem}.data-\\[lineclamp\\=\\"1\\"\\]\\:line-clamp-1[data-lineclamp="1"]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-\\[lineclamp\\=\\"2\\"\\]\\:line-clamp-2[data-lineclamp="2"]{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-\\[lineclamp\\=\\"3\\"\\]\\:line-clamp-3[data-lineclamp="3"]{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-\\[lineclamp\\=\\"4\\"\\]\\:line-clamp-4[data-lineclamp="4"]{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-\\[lineclamp\\=\\"5\\"\\]\\:line-clamp-5[data-lineclamp="5"]{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.data-\\[lineclamp\\=none\\]\\:line-clamp-none[data-lineclamp=none]{-webkit-line-clamp:none;-webkit-box-orient:horizontal;display:block;overflow:visible}.data-\\[is-visible\\=false\\]\\:hidden[data-is-visible=false]{display:none}.data-\\[is-loading\\=true\\]\\:h-36[data-is-loading=true]{height:9rem}.data-\\[is-loading\\=true\\]\\:h-4[data-is-loading=true]{height:1rem}.data-\\[size\\=half\\]\\:h-\\[50\\%\\][data-size=half]{height:50%}.data-\\[size\\=large\\]\\:h-10[data-size=large]{height:2.5rem}.data-\\[size\\=large\\]\\:h-12[data-size=large]{height:3rem}.data-\\[size\\=large\\]\\:h-8[data-size=large]{height:2rem}.data-\\[size\\=medium\\]\\:h-6[data-size=medium]{height:1.5rem}.data-\\[size\\=medium\\]\\:h-8[data-size=medium]{height:2rem}.data-\\[size\\=quarter\\]\\:h-\\[25\\%\\][data-size=quarter]{height:25%}.data-\\[size\\=small\\]\\:h-4[data-size=small]{height:1rem}.data-\\[size\\=small\\]\\:h-8[data-size=small]{height:2rem}.data-\\[is-expanded\\=false\\]\\:max-h-20[data-is-expanded=false]{max-height:5rem}.data-\\[is-expanded\\=false\\]\\:max-h-32[data-is-expanded=false]{max-height:8rem}.data-\\[is-expanded\\=true\\]\\:max-h-96[data-is-expanded=true]{max-height:24rem}.data-\\[is-expanded\\=true\\]\\:max-h-full[data-is-expanded=true]{max-height:100%}.data-\\[is-active\\=true\\]\\:w-full[data-is-active=true]{width:100%}.data-\\[is-expanded\\=false\\]\\:w-14[data-is-expanded=false]{width:3.5rem}.data-\\[size\\=large\\]\\:w-8[data-size=large]{width:2rem}.data-\\[size\\=medium\\]\\:w-6[data-size=medium]{width:1.5rem}.data-\\[size\\=small\\]\\:w-4[data-size=small]{width:1rem}.data-\\[is-active\\=true\\]\\:max-w-full[data-is-active=true]{max-width:100%}.data-\\[is-loading\\=true\\]\\:max-w-96[data-is-loading=true]{max-width:24rem}.data-\\[size\\=full\\]\\:grow[data-size=full]{flex-grow:1}.data-\\[direction\\=\\"bottom-to-top\\"\\]\\:data-\\[is-open\\=true\\]\\:translate-y-0[data-is-open=true][data-direction=bottom-to-top]{--tw-translate-y:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"bottom-to-top\\"\\]\\:translate-y-full[data-direction=bottom-to-top]{--tw-translate-y:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"left-to-right\\"\\]\\:-translate-x-full[data-direction=left-to-right]{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"left-to-right\\"\\]\\:data-\\[is-open\\=true\\]\\:translate-x-0[data-is-open=true][data-direction=left-to-right],.data-\\[direction\\=\\"right-to-left\\"\\]\\:data-\\[is-open\\=true\\]\\:translate-x-0[data-is-open=true][data-direction=right-to-left]{--tw-translate-x:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"right-to-left\\"\\]\\:translate-x-full[data-direction=right-to-left]{--tw-translate-x:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"top-to-bottom\\"\\]\\:-translate-y-full[data-direction=top-to-bottom]{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[direction\\=\\"top-to-bottom\\"\\]\\:data-\\[is-open\\=true\\]\\:translate-y-0[data-is-open=true][data-direction=top-to-bottom]{--tw-translate-y:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[is-active\\=true\\]\\:rotate-180[data-is-active=true],.data-\\[is-increase\\=true\\]\\:rotate-180[data-is-increase=true]{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[is-loading\\=true\\]\\:animate-pulse[data-is-loading=true],.data-\\[is-pending\\=true\\]\\:animate-pulse[data-is-pending=true]{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.data-\\[expandable\\=true\\]\\:cursor-pointer[data-expandable=true],.data-\\[is-clickable\\=true\\]\\:cursor-pointer[data-is-clickable=true]{cursor:pointer}.data-\\[is-single\\=\\"false\\"\\]\\:flex-row[data-is-single=false]{flex-direction:row}.data-\\[is-single\\=\\"true\\"\\]\\:flex-col[data-is-single=true]{flex-direction:column}.data-\\[is-single\\=\\"true\\"\\]\\:justify-center[data-is-single=true]{justify-content:center}.data-\\[is-single\\=\\"false\\"\\]\\:justify-between[data-is-single=false]{justify-content:space-between}.data-\\[is-active\\=true\\]\\:gap-2[data-is-active=true]{gap:.5rem}.data-\\[lineclamp\\=none\\]\\:whitespace-nowrap[data-lineclamp=none]{white-space:nowrap}.data-\\[empty\\=true\\]\\:rounded[data-empty=true]{border-radius:.25rem}.data-\\[is-loading\\=true\\]\\:rounded-sm[data-is-loading=true]{border-radius:.125rem}.data-\\[size\\=large\\]\\:border-\\[6px\\][data-size=large]{border-width:6px}.data-\\[size\\=medium\\]\\:border-4[data-size=medium]{border-width:4px}.data-\\[size\\=small\\]\\:border-2[data-size=small]{border-width:2px}.data-\\[variant\\=contained\\]\\:border[data-variant=contained],.data-\\[variant\\=outlined\\]\\:border[data-variant=outlined]{border-width:1px}.data-\\[state\\=\\"open\\"\\]\\:border-b[data-state=open]{border-bottom-width:1px}.data-\\[variant\\=contained\\]\\:border-solid[data-variant=contained],.data-\\[variant\\=outlined\\]\\:border-solid[data-variant=outlined]{border-style:solid}.data-\\[color\\=white\\]\\:border-white[data-color=white]{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity,1))}.data-\\[is-active\\=true\\]\\:border-gray-400[data-is-active=true]{--tw-border-opacity:1;border-color:rgba(103,103,103,var(--tw-border-opacity,1))}.data-\\[state\\=\\"open\\"\\]\\:border-primary-100[data-state=open]{border-color:var(--ll-colors-primary-100,#008491)}.data-\\[variant\\=contained\\]\\:border-transparent[data-variant=contained]{border-color:transparent}.data-\\[color\\=white\\]\\:border-b-\\[transparent\\][data-color=white]{border-bottom-color:transparent}.data-\\[empty\\=true\\]\\:bg-gray-100[data-empty=true]{--tw-bg-opacity:1;background-color:rgba(250,250,252,var(--tw-bg-opacity,1))}.data-\\[is-active\\=true\\]\\:bg-\\[var\\(--fill\\)\\][data-is-active=true]{background-color:var(--fill)}.data-\\[is-active\\=true\\]\\:bg-gray-400[data-is-active=true]{--tw-bg-opacity:1;background-color:rgba(103,103,103,var(--tw-bg-opacity,1))}.data-\\[is-active\\=true\\]\\:bg-primary-200[data-is-active=true]{background-color:var(--ll-colors-primary-200,#205464)}.data-\\[is-loading\\=true\\]\\:bg-gray-200[data-is-loading=true]{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity,1))}.data-\\[is-transparent\\=true\\]\\:bg-transparent[data-is-transparent=true]{background-color:transparent}.data-\\[selected\\=true\\]\\:bg-primary-100[data-selected=true]{background-color:var(--ll-colors-primary-100,#008491)}.data-\\[state\\=\\"checked\\"\\]\\:bg-primary-10[data-state=checked]{background-color:var(--ll-colors-primary-10,#ebf5f7)}.data-\\[type\\=error\\]\\:bg-red-50[data-type=error]{--tw-bg-opacity:1;background-color:rgba(254,242,242,var(--tw-bg-opacity,1))}.data-\\[type\\=info\\]\\:bg-blue-50[data-type=info]{--tw-bg-opacity:1;background-color:rgba(239,246,255,var(--tw-bg-opacity,1))}.data-\\[type\\=success\\]\\:bg-green-50[data-type=success]{--tw-bg-opacity:1;background-color:rgba(240,253,244,var(--tw-bg-opacity,1))}.data-\\[type\\=warning\\]\\:bg-yellow-50[data-type=warning]{--tw-bg-opacity:1;background-color:rgba(254,252,232,var(--tw-bg-opacity,1))}.data-\\[empty\\=true\\]\\:p-5[data-empty=true]{padding:1.25rem}.data-\\[is-title\\=true\\]\\:px-4[data-is-title=true]{padding-left:1rem;padding-right:1rem}.data-\\[is-title\\=true\\]\\:py-2\\.5[data-is-title=true]{padding-top:.625rem;padding-bottom:.625rem}.data-\\[size\\=large\\]\\:px-4[data-size=large]{padding-left:1rem;padding-right:1rem}.data-\\[size\\=large\\]\\:py-1\\.5[data-size=large]{padding-top:.375rem;padding-bottom:.375rem}.data-\\[size\\=medium\\]\\:px-2[data-size=medium]{padding-left:.5rem;padding-right:.5rem}.data-\\[size\\=medium\\]\\:py-1[data-size=medium]{padding-top:.25rem;padding-bottom:.25rem}.data-\\[size\\=small\\]\\:px-1[data-size=small]{padding-left:.25rem;padding-right:.25rem}.data-\\[size\\=small\\]\\:px-2[data-size=small]{padding-left:.5rem;padding-right:.5rem}.data-\\[size\\=small\\]\\:py-0\\.5[data-size=small]{padding-top:.125rem;padding-bottom:.125rem}.data-\\[has-prefix-icon\\=true\\]\\:pl-10[data-has-prefix-icon=true]{padding-left:2.5rem}.data-\\[state\\=\\"open\\"\\]\\:pb-3[data-state=open]{padding-bottom:.75rem}.data-\\[align\\=left\\]\\:text-left[data-align=left]{text-align:left}.data-\\[align\\=center\\]\\:text-center[data-align=center]{text-align:center}.data-\\[align\\=right\\]\\:text-right[data-align=right]{text-align:right}.data-\\[family\\=mono\\]\\:font-mono[data-family=mono]{font-family:var(--ll-font-family-mono)}.data-\\[family\\=sans-serif\\]\\:font-sans[data-family=sans-serif]{font-family:var(--ll-font-family), Inter, sans-serif}.data-\\[is-title\\=true\\]\\:text-xs[data-is-title=true],.data-\\[secondary\\=\\"true\\"\\]\\:text-xs[data-secondary=true]{font-size:.75rem;line-height:1rem}.data-\\[size\\=large\\]\\:text-base[data-size=large]{font-size:1rem;line-height:1.5rem}.data-\\[size\\=medium\\]\\:text-sm[data-size=medium]{font-size:.875rem;line-height:1.25rem}.data-\\[secondary\\=\\"true\\"\\]\\:font-medium[data-secondary=true],.data-\\[state\\=\\"checked\\"\\]\\:font-medium[data-state=checked]{font-weight:500}.data-\\[texttransform\\=uppercase\\]\\:uppercase[data-texttransform=uppercase]{text-transform:uppercase}.data-\\[texttransform\\=lowercase\\]\\:lowercase[data-texttransform=lowercase]{text-transform:lowercase}.data-\\[texttransform\\=capitalize\\]\\:capitalize[data-texttransform=capitalize]{text-transform:capitalize}.data-\\[texttransform\\=none\\]\\:normal-case[data-texttransform=none]{text-transform:none}.data-\\[has-link\\=\\"true\\"\\]\\:text-primary-100[data-has-link=true]{color:var(--ll-colors-primary-100,#008491)}.data-\\[is-active\\=true\\]\\:text-base-white[data-is-active=true]{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}.data-\\[is-loading\\=true\\]\\:text-transparent[data-is-loading=true]{color:transparent}.data-\\[secondary\\=\\"true\\"\\]\\:text-gray-400[data-secondary=true]{--tw-text-opacity:1;color:rgba(103,103,103,var(--tw-text-opacity,1))}.data-\\[state\\=\\"checked\\"\\]\\:text-base-black[data-state=checked]{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}.data-\\[active\\=false\\]\\:opacity-0[data-active=false]{opacity:0}.data-\\[is-active\\=true\\]\\:transition-all[data-is-active=true]{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (hover:hover) and (pointer:fine){.hover\\:data-\\[is-expanded\\=false\\]\\:w-16[data-is-expanded=false]:hover{width:4rem}.data-\\[is-clickable\\]\\:hover\\:cursor-pointer:hover[data-is-clickable],.hover\\:data-\\[is-expanded\\=false\\]\\:cursor-pointer[data-is-expanded=false]:hover{cursor:pointer}.data-\\[has-url\\=true\\]\\:data-\\[tag-type\\=\\"negative\\"\\]\\:hover\\:border-feedback-danger-100:hover[data-tag-type=negative][data-has-url=true]{--tw-border-opacity:1;border-color:rgba(255,223,217,var(--tw-border-opacity,1))}.data-\\[has-url\\=true\\]\\:data-\\[tag-type\\=\\"neutral\\"\\]\\:hover\\:border-feedback-warning-200:hover[data-tag-type=neutral][data-has-url=true]{--tw-border-opacity:1;border-color:rgba(255,218,172,var(--tw-border-opacity,1))}.data-\\[has-url\\=true\\]\\:data-\\[tag-type\\=\\"positive\\"\\]\\:hover\\:border-feedback-success-100:hover[data-tag-type=positive][data-has-url=true]{--tw-border-opacity:1;border-color:rgba(216,244,217,var(--tw-border-opacity,1))}.data-\\[expandable\\=true\\]\\:hover\\:bg-gray-100:hover[data-expandable=true]{--tw-bg-opacity:1;background-color:rgba(250,250,252,var(--tw-bg-opacity,1))}.data-\\[has-link\\=\\"true\\"\\]\\:hover\\:underline:hover[data-has-link=true]{text-decoration-line:underline}.data-\\[has-url\\=true\\]\\:hover\\:shadow-md:hover[data-has-url=true]{--tw-shadow:0px 12px 20px 0px rgba(0,0,0,.12);--tw-shadow-colored:0px 12px 20px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}}.group\\/item-button[data-is-collapsed=true] .group-data-\\[is-collapsed\\=true\\]\\/item-button\\:invisible,.group\\/sidebar[data-is-expanded=false] .group-data-\\[is-expanded\\=false\\]\\/sidebar\\:invisible{visibility:hidden}.group[data-has-image=false] .group-data-\\[has-image\\=false\\]\\:mx-0{margin-left:0;margin-right:0}.group[data-is-featured=true] .group-data-\\[is-featured\\=true\\]\\:mb-2{margin-bottom:.5rem}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:flex{display:flex}.group[data-country=CAN] .group-data-\\[country\\=CAN\\]\\:hidden{display:none}.group[data-is-featured=true] .group-data-\\[is-featured\\=true\\]\\:h-60{height:15rem}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:h-2{height:.5rem}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:h-7{height:1.75rem}.group\\/score-section[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/score-section\\:h-32{height:8rem}.group[data-height-style=expanded] .group-data-\\[height-style\\=\\"expanded\\"\\]\\:min-h-7{min-height:1.75rem}.group[data-height-style=hidden] .group-data-\\[height-style\\=\\"hidden\\"\\]\\:min-h-0{min-height:0}.group[data-height-style=normal] .group-data-\\[height-style\\=\\"normal\\"\\]\\:min-h-36{min-height:9rem}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:w-28{width:7rem}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:w-full{width:100%}.group[data-is-active=true] .group-data-\\[is-active\\=true\\]\\:max-w-none{max-width:none}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:grow{flex-grow:1}.group[data-is-active=true] .group-data-\\[is-active\\=true\\]\\:translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-active=true] .group-data-\\[active\\=true\\]\\:rotate-180,.group\\/bottom-slider[data-is-expanded=true] .group-data-\\[is-expanded\\=\\"true\\"\\]\\/bottom-slider\\:rotate-180,.group\\/sidebar[data-is-expanded=false] .group-data-\\[is-expanded\\=false\\]\\/sidebar\\:rotate-180,.group\\/select[data-state=open] .group-data-\\[state\\=\\"open\\"\\]\\/select\\:rotate-180,.group[data-state=open] .group-data-\\[state\\=\\"open\\"\\]\\:rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\\/card-list[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/card-list\\:animate-pulse,.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:animate-spin{animation:1s linear infinite spin}.group\\/score-section[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/score-section\\:animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:flex-col,.group\\/size-full[data-size=full] .group-data-\\[size\\=full\\]\\/size-full\\:flex-col{flex-direction:column}.group\\/sidebar[data-is-expanded=false] .group-data-\\[is-expanded\\=false\\]\\/sidebar\\:justify-end{justify-content:flex-end}.group\\/sidebar[data-is-expanded=false] .group-data-\\[is-expanded\\=false\\]\\/sidebar\\:overflow-y-hidden{overflow-y:hidden}.group\\/card-list[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/card-list\\:border-gray-200{--tw-border-opacity:1;border-color:rgba(224,224,224,var(--tw-border-opacity,1))}.group[data-active=true] .group-data-\\[active\\=true\\]\\:bg-primary-100{background-color:var(--ll-colors-primary-100,#008491)}.group[data-height-style=expanded] .group-data-\\[height-style\\=\\"expanded\\"\\]\\:bg-transparent{background-color:transparent}.group\\/poi-list-item[data-is-active=true] .group-data-\\[is-active\\=true\\]\\/poi-list-item\\:bg-primary-100{background-color:var(--ll-colors-primary-100,#008491)}.group\\/card-list[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/card-list\\:bg-gray-200\\/50{background-color:rgba(224,224,224,.5)}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:bg-gray-200,.group\\/score-section[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/score-section\\:bg-gray-200{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity,1))}.group[data-use-backdrop=true] .group-data-\\[use-backdrop\\=true\\]\\:bg-base-black\\/30{background-color:rgba(9,9,11,.3)}.group\\/poi-list-item[data-is-active=true] .group-data-\\[is-active\\=true\\]\\/poi-list-item\\:fill-base-white,.group[data-is-active=true] .group-data-\\[is-active\\=true\\]\\:fill-base-white{fill:#fff}.group[data-is-featured=false] .group-data-\\[is-featured\\=false\\]\\:py-4{padding-top:1rem;padding-bottom:1rem}.group[data-has-image=false] .group-data-\\[has-image\\=false\\]\\:text-left{text-align:left}.group[data-is-featured=false] .group-data-\\[is-featured\\=false\\]\\:text-center{text-align:center}.group[data-is-featured=false] .group-data-\\[is-featured\\=false\\]\\:text-base{font-size:1rem;line-height:1.5rem}.group\\/poi-list-item[data-is-active=true] .group-data-\\[is-active\\=true\\]\\/poi-list-item\\:text-base-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:text-gray-200{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity,1))}.group\\/size-full[data-size=full] .group-data-\\[size\\=full\\]\\/size-full\\:text-primary-100{color:var(--ll-colors-primary-100,#008491)}.group[data-type=error] .group-data-\\[type\\=error\\]\\:text-red-400{--tw-text-opacity:1;color:rgba(248,113,113,var(--tw-text-opacity,1))}.group[data-type=error] .group-data-\\[type\\=error\\]\\:text-red-700{--tw-text-opacity:1;color:rgba(185,28,28,var(--tw-text-opacity,1))}.group[data-type=error] .group-data-\\[type\\=error\\]\\:text-red-800{--tw-text-opacity:1;color:rgba(153,27,27,var(--tw-text-opacity,1))}.group[data-type=info] .group-data-\\[type\\=info\\]\\:text-blue-400{--tw-text-opacity:1;color:rgba(96,165,250,var(--tw-text-opacity,1))}.group[data-type=info] .group-data-\\[type\\=info\\]\\:text-blue-700{--tw-text-opacity:1;color:rgba(29,78,216,var(--tw-text-opacity,1))}.group[data-type=info] .group-data-\\[type\\=info\\]\\:text-blue-800{--tw-text-opacity:1;color:rgba(30,64,175,var(--tw-text-opacity,1))}.group[data-type=success] .group-data-\\[type\\=success\\]\\:text-green-400{--tw-text-opacity:1;color:rgba(74,222,128,var(--tw-text-opacity,1))}.group[data-type=success] .group-data-\\[type\\=success\\]\\:text-green-700{--tw-text-opacity:1;color:rgba(21,128,61,var(--tw-text-opacity,1))}.group[data-type=success] .group-data-\\[type\\=success\\]\\:text-green-800{--tw-text-opacity:1;color:rgba(22,101,52,var(--tw-text-opacity,1))}.group[data-type=warning] .group-data-\\[type\\=warning\\]\\:text-yellow-400{--tw-text-opacity:1;color:rgba(250,204,21,var(--tw-text-opacity,1))}.group[data-type=warning] .group-data-\\[type\\=warning\\]\\:text-yellow-700{--tw-text-opacity:1;color:rgba(161,98,7,var(--tw-text-opacity,1))}.group[data-type=warning] .group-data-\\[type\\=warning\\]\\:text-yellow-800{--tw-text-opacity:1;color:rgba(133,77,14,var(--tw-text-opacity,1))}.group[data-use-backdrop=false] .group-data-\\[use-backdrop\\=false\\]\\:text-primary-100{color:var(--ll-colors-primary-100,#008491)}.peer[data-has-prefix-icon=true]~.peer-data-\\[has-prefix-icon\\=true\\]\\:mx-10{margin-left:2.5rem;margin-right:2.5rem}@media not all and (min-width:640px){.max-sm\\:bottom-16{bottom:4rem}.max-sm\\:left-2{left:.5rem}.max-sm\\:w-10{width:2.5rem}.max-sm\\:rounded-full{border-radius:9999px}.max-sm\\:\\!bg-primary-50{background-color:var(--ll-colors-primary-50,#21bccc)!important}.max-sm\\:px-0{padding-left:0;padding-right:0}@media (hover:hover) and (pointer:fine){.max-sm\\:hover\\:\\!bg-primary-100:hover{background-color:var(--ll-colors-primary-100,#008491)!important}}}@media (min-width:640px){.sm\\:right-3{right:.75rem}.sm\\:top-3{top:.75rem}.sm\\:h-12{height:3rem}.sm\\:w-40{width:10rem}.sm\\:w-96{width:24rem}.sm\\:justify-normal{justify-content:normal}.sm\\:rounded{border-radius:.25rem}.sm\\:pr-36{padding-right:9rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:768px){.md\\:col-span-2{grid-column:span 2/span 2}.md\\:m-0{margin:0}.md\\:my-6{margin-top:1.5rem;margin-bottom:1.5rem}.md\\:-mr-2{margin-right:-.5rem}.md\\:mb-0{margin-bottom:0}.md\\:mb-2{margin-bottom:.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:mb-6{margin-bottom:1.5rem}.md\\:mt-0{margin-top:0}.md\\:mt-1{margin-top:.25rem}.md\\:mt-2{margin-top:.5rem}.md\\:mt-4{margin-top:1rem}.md\\:mt-6{margin-top:1.5rem}.md\\:mt-8{margin-top:2rem}.md\\:block{display:block}.md\\:flex{display:flex}.md\\:grid{display:grid}.md\\:hidden{display:none}.md\\:h-6{height:1.5rem}.md\\:h-full{height:100%}.md\\:min-h-40{min-height:10rem}.md\\:min-h-\\[240px\\]{min-height:240px}.md\\:w-5\\/12{width:41.6667%}.md\\:w-6{width:1.5rem}.md\\:w-\\[45\\%\\]{width:45%}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-\\[2fr_1fr\\]{grid-template-columns:2fr 1fr}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:items-center{align-items:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-2{gap:.5rem}.md\\:gap-4{gap:1rem}.md\\:gap-6{gap:1.5rem}.md\\:gap-8{gap:2rem}.md\\:border{border-width:1px}.md\\:border-r-gray-300{--tw-border-opacity:1;border-right-color:rgba(209,213,219,var(--tw-border-opacity,1))}.md\\:bg-neutral-50{--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity,1))}.md\\:p-0{padding:0}.md\\:p-10{padding:2.5rem}.md\\:p-4{padding:1rem}.md\\:p-6{padding:1.5rem}.md\\:px-5{padding-left:1.25rem;padding-right:1.25rem}.md\\:pb-6{padding-bottom:1.5rem}.md\\:pt-6{padding-top:1.5rem}.md\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\\:text-5xl{font-size:3rem;line-height:1}.md\\:text-sm{font-size:.875rem;line-height:1.25rem}.md\\:data-\\[country\\=CAN\\]\\:m-0[data-country=CAN]{margin:0}.md\\:data-\\[size\\=half\\]\\:h-full[data-size=half],.md\\:data-\\[size\\=quarter\\]\\:h-full[data-size=quarter]{height:100%}.group[data-country=CAN] .md\\:group-data-\\[country\\=CAN\\]\\:block{display:block}}@media (min-width:1024px){.lg\\:mb-0{margin-bottom:0}.lg\\:mb-2{margin-bottom:.5rem}.lg\\:mb-2\\.5{margin-bottom:.625rem}.lg\\:grid{display:grid}.lg\\:hidden{display:none}.lg\\:h-11{height:2.75rem}.lg\\:min-w-72{min-width:18rem}.lg\\:max-w-none{max-width:none}.lg\\:grid-flow-col{grid-auto-flow:column}.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:flex-row{flex-direction:row}.lg\\:flex-col{flex-direction:column}.lg\\:overflow-hidden{overflow:hidden}.lg\\:p-6{padding:1.5rem}.lg\\:text-lg{font-size:1.125rem;line-height:1.75rem}.lg\\:leading-6{line-height:1.5rem}}@media (min-width:1280px){.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.data-\\[highlighted\\]\\:\\[\\&\\:not\\(\\[data-variant\\=\\"dark\\"\\]\\)\\]\\:bg-\\[\\#EBF5F7\\]:not([data-variant=dark])[data-highlighted]{--tw-bg-opacity:1;background-color:rgba(235,245,247,var(--tw-bg-opacity,1))}.data-\\[highlighted\\]\\:\\[\\&\\:not\\(\\[data-variant\\=\\"dark\\"\\]\\)\\]\\:bg-primary-10:not([data-variant=dark])[data-highlighted]{background-color:var(--ll-colors-primary-10,#ebf5f7)}.data-\\[highlighted\\]\\:\\[\\&\\:not\\(\\[data-variant\\=\\"dark\\"\\]\\)\\]\\:text-zinc-950:not([data-variant=dark])[data-highlighted]{--tw-text-opacity:1;color:rgba(9,9,11,var(--tw-text-opacity,1))}.data-\\[highlighted\\]\\:\\[\\&\\:not\\(\\[data-variant\\=\\"light\\"\\]\\)\\]\\:bg-primary-100:not([data-variant=light])[data-highlighted]{background-color:var(--ll-colors-primary-100,#008491)}.data-\\[highlighted\\]\\:\\[\\&\\:not\\(\\[data-variant\\=\\"light\\"\\]\\)\\]\\:text-base-white:not([data-variant=light])[data-highlighted]{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}@media not all and (min-width:640px){.max-sm\\:\\[\\&\\>\\#center-pin-background\\]\\:text-primary-50>#center-pin-background{color:var(--ll-colors-primary-50,#21bccc)}}.\\[\\&\\>a\\]\\:justify-end>a{justify-content:flex-end}.\\[\\&\\>a\\]\\:text-primary-100>a{color:var(--ll-colors-primary-100,#008491)}.\\[\\&\\>a\\]\\:transition-colors>a{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (hover:hover) and (pointer:fine){.\\[\\&\\>a\\]\\:hover\\:text-primary-200:hover>a{color:var(--ll-colors-primary-200,#205464)}}.\\[\\&\\>div\\:nth-child\\(odd\\)\\]\\:bg-neutral-50>div:nth-child(odd){--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity,1))}.\\[\\&\\>div\\]\\:fill-inherit>div{fill:inherit}.\\[\\&\\>div\\]\\:text-inherit>div{color:inherit}.group\\/highlight-item[data-is-loading=true] .group-data-\\[is-loading\\=true\\]\\/highlight-item\\:\\[\\&\\>span\\]\\:hidden>span{display:none}.\\[\\&\\>svg\\]\\:h-5>svg{height:1.25rem}.\\[\\&\\>svg\\]\\:w-1\\/2>svg{width:50%}.\\[\\&\\>svg\\]\\:w-5>svg{width:1.25rem}.\\[\\&\\>svg\\]\\:fill-current>svg{fill:currentColor}.\\[\\&\\>svg\\]\\:fill-inherit>svg{fill:inherit}.group[data-size=large] .group-data-\\[size\\=large\\]\\:\\[\\&\\>svg\\]\\:h-6>svg{height:1.5rem}.group[data-size=small] .group-data-\\[size\\=small\\]\\:\\[\\&\\>svg\\]\\:h-3>svg{height:.75rem}.group[data-size=large] .group-data-\\[size\\=large\\]\\:\\[\\&\\>svg\\]\\:w-6>svg{width:1.5rem}.group[data-size=small] .group-data-\\[size\\=small\\]\\:\\[\\&\\>svg\\]\\:w-3>svg{width:.75rem}.\\[\\&_h2\\]\\:font-medium h2{font-weight:500}.\\[\\&_td\\]\\:px-4 td{padding-left:1rem;padding-right:1rem}.\\[\\&_td\\]\\:py-3 td{padding-top:.75rem;padding-bottom:.75rem}\n/*$vite$:1*/',document.head.appendChild(te),function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}(),ne=Q(e=>{var t=Z();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot}),re="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,oe="8.55.0",ie=globalThis,ae="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,se="Sentry Logger ",le=["debug","info","warn","error","log","assert","trace"],ce={},ue=Vp("logger",Wp),de=50,he=/\(error: (.*)\)/,pe=/captureMessage|captureException/,fe="<anonymous>",ge={},me={},ve=null,ye=null,be=Object.prototype.toString,we=ie,xe=80,_e=1e3,ke=function(){const{performance:e}=ie;if(!e||!e.now)return jf;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/_e}(),(()=>{const{performance:e}=ie;if(!e||!e.now)return void 0;const t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,s="number"==typeof a?Math.abs(a+n-r):t;return i||s<t?o<=s?e.timeOrigin:a:r})(),function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(Ee||(Ee={})),Se=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=Ee.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(rp){this._reject(rp)}}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(t)try{e(t(n))}catch(rp){r(rp)}else e(n)},t=>{if(n)try{e(n(t))}catch(rp){r(rp)}else r(t)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,o;return this.then(e=>{o=!1,r=e,t&&t()},e=>{o=!0,r=e,t&&t()}).then(()=>{o?n(r):e(r)})})}__init(){this._resolve=e=>{this._setResult(Ee.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Ee.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===Ee.PENDING&&(gf(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===Ee.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===Ee.RESOLVED&&e[1](this._value),this._state===Ee.REJECTED&&e[2](this._value),e[0]=!0)})}}},Oe="_sentrySpan",Ce=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Bf(),spanId:Vf()}}clone(){const t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags=K({},this._tags),t._extra=K({},this._extra),t._contexts=K({},this._contexts),this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata=K({},this._sdkProcessingMetadata),t._propagationContext=K({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,Wf(t,Gf(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&qf(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags=K(K({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,t){return this._tags=K(K({},this._tags),{},{[e]:t}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=K(K({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,t){return this._extra=K(K({},this._extra),{},{[e]:t}),this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof Ce?[t.getScopeData(),t.getRequestSession()]:pf(t)?[e,e.requestSession]:[],{tags:o,extra:i,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:u}=n||{};return this._tags=K(K({},this._tags),o),this._extra=K(K({},this._extra),i),this._contexts=K(K({},this._contexts),s),a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,Wf(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Bf()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r=K({timestamp:jf()},e);return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Gf(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=Kf(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=K({spanId:Vf()},e),this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Af();if(!this._client)return ue.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,K(K({originalException:e,syntheticException:r},t),{},{event_id:n}),this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:Af();if(!this._client)return ue.warn("No client configured on scope - will not capture message!"),r;const o=new Error(e);return this._client.captureMessage(e,t,K(K({originalException:e,syntheticException:o},n),{},{event_id:r}),this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Af();return this._client?(this._client.captureEvent(e,K(K({},t),{},{event_id:n}),this),n):(ue.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}},Pe=class{constructor(e,t){let n,r;n=e||new Ce,r=t||new Ce,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(rp){throw this._popScope(),rp}return gf(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}},Re="_sentryMetrics",Le="sentry.source",De="sentry.sample_rate",Te="sentry.op",je="sentry.origin",Ae=/^sentry-/,Ne=!1,Ie="_sentryRootSpan",Me="production",Fe="_frozenDsc",$e=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/,V("bt",Ue=X(()=>{V("yt",ze=globalThis||self)})),Ue(),He={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"},Ke=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"],We="7",Ge=[],Ye=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}},Xe="Not capturing exception because it's already been captured.",Je=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=bg(e.dsn):re&&ue.warn("No DSN provided, client will not send events."),this._dsn){const t=Vg(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport(K(K({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{},{url:t}))}const t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&null==e[t]);t&&Kp(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){const r=Af();if($f(e))return re&&ue.log(Xe),r;const o=K({event_id:r},t);return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){const o=K({event_id:Af()},n),i=df(e)?e:String(e),a=hf(e)?this.eventFromMessage(i,t,o):this.eventFromException(e,o);return this._process(a.then(e=>this._captureEvent(e,o,r))),o.event_id}captureEvent(e,t,n){const r=Af();if(t&&t.originalException&&$f(t.originalException))return re&&ue.log(Xe),r;const o=K({event_id:r},t),i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,o,i||n)),o.event_id}captureSession(e){"string"!=typeof e.release?re&&ue.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),qf(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):zf(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Gg(this,e,this._integrations),t||Wg(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Dg(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])n=Eg(n,Pg(o));const r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){const t=function(e,t,n,r){const o=Lg(n);return kg(K(K({sent_at:(new Date).toISOString()},o&&{sdk:o}),!!r&&t&&{dsn:vg(t)}),["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,o=`${e}:${t}`;re&&ue.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,e=>(re&&ue.error("Error while sending envelope:",e),e)):(re&&ue.error("Transport disabled"),zf({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{t&&Gg(e,t,n)}),n}(this,e),Wg(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const o=t.exception&&t.exception.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&(qf(e,K(K({},n&&{status:"crashed"}),{},{errors:e.errors||Number(r||n)})),this.captureSession(e))}_isClientDoneProcessing(e){return new Se(t=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=eg(),r=tg()){const o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Ig(o,e,t,n,this,r).then(e=>(null===e||(e.contexts=K({trace:rg(n)},e.contexts),e.sdkProcessingMetadata=K({dynamicSamplingContext:gg(this,n)},e.sdkProcessingMetadata)),e))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{re&&(e instanceof Ye&&"log"===e.logLevel?ue.log(e.message):ue.warn(e))})}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:o}=r,i=Xg(e),a=Yg(e),s=e.type||"error",l=`before send for type \`${s}\``,c=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;re&&ue.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}(o);if(a&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),Uf(new Ye(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const u="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new Ye("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(gf(e))return e.then(e=>{if(!pf(e)&&null!==e)throw new Ye(n);return e},e=>{throw new Ye(`${t} rejected with ${e}`)});if(!pf(e)&&null!==e)throw new Ye(n);return e}(function(e,t,n,r){const{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:a}=t;if(Yg(n)&&o)return o(n,r);if(Xg(n)){if(n.spans&&a){const t=[];for(const r of n.spans){const n=a(r);n?t.push(n):(pg(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(i){if(n.spans){const e=n.spans.length;n.sdkProcessingMetadata=K(K({},n.sdkProcessingMetadata),{},{spanCountBeforeProcessing:e})}return i(n,r)}}return n}(this,r,n,t),l)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",u,e),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new Ye(`${l} returned \`null\`, will not send event.`,"log")}const o=n&&n.getSession();if(!i&&o&&this._updateSessionFromEvent(o,r),i){const e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const a=r.transaction_info;if(i&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info=K(K({},a),{},{source:e})}return this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof Ye)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new Ye(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){re&&ue.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(re&&ue.log("No outcomes to send"));if(!this._dsn)return void(re&&ue.log("No dsn provided, will not send outcomes"));re&&ue.log("Sending outcomes:",e);const t=(n=e,kg((r=this._options.tunnel&&vg(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:o||jf(),discarded_events:n}]]));var n,r,o;this.sendEnvelope(t)}},Qe=6e4,Ze=100,tt=new WeakMap,nt=()=>({name:"FunctionToString",setupOnce(){et=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Cf(this),n=tt.has(ng())&&void 0!==t?t:this;return et.apply(n,e)}}catch(rp){}},setup(e){tt.set(e,!0)}}),rt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],ot=(e={})=>({name:"InboundFilters",processEvent:(t,n,r)=>am(t,function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:rt],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions()))?null:t}),it=ot,at=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(fm(t,e))return re&&ue.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(n){}return e=t}}},st=(e={})=>{const{depth:t=3,captureErrorCause:n=!0}=e;return{name:"ExtraErrorData",processEvent(e,r,o){const{maxValueLength:i=250}=o.getOptions();return ym(e,r,t,n,i)}}},lt=st,ct=ie,ut=ie,dt=ie,ht=0,pt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ft=/Minified React error #\d+;/i,gt=class extends Je{constructor(e){const t=K({parentSpanIsAlwaysRootSpan:!0},e);om(t,"browser",["browser"],dt.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&dt.document&&dt.document.addEventListener("visibilitychange",()=>{"hidden"===dt.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){const o=Nm(e,t,n&&n.syntheticException||void 0,r);return Ff(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),zf(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const i=Im(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),zf(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(pt&&ue.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){return kg(K(K({event_id:e.event_id,sent_at:(new Date).toISOString()},t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}}),!!n&&!!r&&{dsn:vg(r)}),[Fm(e)])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}},mt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,vt=ie,yt=1e3,kt={},Et="__sentry_xhr_v3__",St=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Ot=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ct=/\((\S*)(?::(\d+))(?::(\d+))\)/,Pt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Rt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Lt=[[30,e=>{const t=St.exec(e);if(t){const[,e,n,r]=t;return Wm(e,"?",+n,+r)}const n=Ot.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=Ct.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=Tt(n[1]||"?",n[2]);return Wm(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=Pt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Rt.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||"?";return[n,e]=Tt(n,e),Wm(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],Dt=Gp(...Lt),Tt=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},jt=1024,At=(e={})=>{const t=K({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e);return{name:"Breadcrumbs",setup(e){t.console&&function(e){const t="console";Qp(t,e),Zp(t,pm)}(function(e){return function(t){if(ng()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":["fatal","error","warning","log","info","debug"].includes(r)?r:"log"),message:xf(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${xf(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}im(n,{input:t.args,level:t.level})}}(e)),t.dom&&(Qp("dom",Gm(e,t.dom)),Zp("dom",$m)),t.xhr&&Bm(function(e){return function(t){if(ng()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[Et];if(!n||!r||!o)return;const{method:i,url:a,status_code:s,body:l}=o,c={method:i,url:a,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r};im({category:"xhr",data:c,type:"http",level:bm(s)},u)}}(e)),t.fetch&&km(function(e){return function(t){if(ng()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)im({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{const e=t.response,o=K(K({},t.fetchData),{},{status_code:e&&e.status}),i={input:t.args,response:e,startTimestamp:n,endTimestamp:r};im({category:"fetch",data:o,type:"http",level:bm(o.status_code)},i)}}}(e)),t.history&&Um(function(e){return function(t){if(ng()!==e)return;let n=t.from,r=t.to;const o=hm(dt.location.href);let i=n?hm(n):void 0;const a=hm(r);i&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),im({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){ng()===e&&im({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:If(t)},{event:t})}}(e))}}},Nt=At,It=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Mt=(e={})=>{const t=K({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e);return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&Ef(dt,"setTimeout",Ym),t.setInterval&&Ef(dt,"setInterval",Ym),t.requestAnimationFrame&&Ef(dt,"requestAnimationFrame",Xm),t.XMLHttpRequest&&"XMLHttpRequest"in dt&&Ef(XMLHttpRequest.prototype,"send",Jm);const e=t.eventTarget;e&&(Array.isArray(e)?e:It).forEach(Qm)}}},Ft=Mt,$t=()=>({name:"BrowserSession",setupOnce(){void 0!==dt.document?(Ug({ignoreDuration:!0}),Bg(),Um(({from:e,to:t})=>{void 0!==e&&e!==t&&(Ug({ignoreDuration:!0}),Bg())})):pt&&ue.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}}),zt=(e={})=>{const t=K({onerror:!0,onunhandledrejection:!0},e);return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Zm(e),tv("onerror")),t.onunhandledrejection&&(ev(e),tv("onunhandledrejection"))}}},Ut=zt,Ht=()=>({name:"HttpContext",preprocessEvent(e){if(!dt.navigator&&!dt.location&&!dt.document)return;const t=e.request&&e.request.url||dt.location&&dt.location.href,{referrer:n}=dt.document||{},{userAgent:r}=dt.navigator||{},o=K(K(K({},e.request&&e.request.headers),n&&{Referer:n}),r&&{"User-Agent":r});e.request=K(K(K({},e.request),t&&{url:t}),{},{headers:o})}}),qt=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){const i=o.getOptions();lm(Pm,i.stackParser,i.maxValueLength,n,t,e,r)}}},Bt=qt,Vt=(e={})=>{const t=K({failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/]},e);return{name:"HttpClient",setup(e){!function(e,t){_m()&&km(n=>{if(ng()!==e)return;const{response:r,args:o,error:i,virtualError:a}=n,[s,l]=o;r&&iv(t,s,r,l,i||a)},!1)}(e,t),cv(e,t)}}},Kt=Vt,Wt=G(ee()),Gt=Q(e=>{var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case u:case o:case a:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case f:case s:return e;default:return t}}case r:return t}}}function x(e){return w(e)===u}e.AsyncMode=c,e.ConcurrentMode=u,e.ContextConsumer=l,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=o,e.Lazy=g,e.Memo=f,e.Portal=r,e.Profiler=a,e.StrictMode=i,e.Suspense=h,e.isAsyncMode=function(e){return x(e)||w(e)===c},e.isConcurrentMode=x,e.isContextConsumer=function(e){return w(e)===l},e.isContextProvider=function(e){return w(e)===s},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},e.isForwardRef=function(e){return w(e)===d},e.isFragment=function(e){return w(e)===o},e.isLazy=function(e){return w(e)===g},e.isMemo=function(e){return w(e)===f},e.isPortal=function(e){return w(e)===r},e.isProfiler=function(e){return w(e)===a},e.isStrictMode=function(e){return w(e)===i},e.isSuspense=function(e){return w(e)===h},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b||e.$$typeof===m)},e.typeOf=w}),Yt=Q((e,t)=>{t.exports=Gt()}),Xt=Q((e,t)=>{var n=Yt(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return n.isMemo(e)?i:a[e.$$typeof]||r}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,n,r){if("string"!=typeof n){if(p){var i=h(n);i&&i!==p&&e(t,i,r)}var a=c(n);u&&(a=a.concat(u(n)));for(var f=s(t),g=s(n),m=0;m<a.length;++m){var v=a[m];if(!(o[v]||r&&r[v]||g&&g[v]||f&&f[v])){var y=d(n,v);try{l(t,v,y)}catch(rp){}}}}return t}}),Jt=G(ne(),1),Qt=fv("LaunchDarklyUnexpectedResponseError"),Zt=fv("LaunchDarklyInvalidEnvironmentIdError"),en=fv("LaunchDarklyInvalidUserError"),tn=fv("LaunchDarklyInvalidEventKeyError"),nn=fv("LaunchDarklyInvalidArgumentError"),rn=fv("LaunchDarklyFlagFetchError"),on={LDUnexpectedResponseError:Qt,LDInvalidEnvironmentIdError:Zt,LDInvalidUserError:en,LDInvalidEventKeyError:tn,LDInvalidArgumentError:nn,LDInvalidDataError:fv("LaunchDarklyInvalidDataError"),LDFlagFetchError:rn,LDTimeoutError:fv("LaunchDarklyTimeoutError"),isHttpErrorRecoverable:function(e){return!(e>=400&&e<500)||400===e||408===e||429===e}},an=function(e){var t=gv(e),n=t[0],r=t[1];return 3*(n+r)/4-r},sn=function(e){var t,n,r=gv(e),o=r[0],i=r[1],a=new dn(function(e,t,n){return 3*(t+n)/4-n}(0,o,i)),s=0,l=i>0?o-4:o;for(n=0;n<l;n+=4)t=un[e.charCodeAt(n)]<<18|un[e.charCodeAt(n+1)]<<12|un[e.charCodeAt(n+2)]<<6|un[e.charCodeAt(n+3)],a[s++]=t>>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===i&&(t=un[e.charCodeAt(n)]<<2|un[e.charCodeAt(n+1)]>>4,a[s++]=255&t),1===i&&(t=un[e.charCodeAt(n)]<<10|un[e.charCodeAt(n+1)]<<4|un[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},ln=function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,a=0,s=n-r;a<s;a+=i)o.push(mv(e,a,a+i>s?s:a+i));return 1===r?(t=e[n-1],o.push(cn[t>>2]+cn[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(cn[t>>10]+cn[t>>4&63]+cn[t<<2&63]+"=")),o.join("")},cn=[],un=[],dn="undefined"!=typeof Uint8Array?Uint8Array:Array,hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pn=0;pn<64;++pn)cn[pn]=hn[pn],un[hn.charCodeAt(pn)]=pn;for(un["-".charCodeAt(0)]=62,un["_".charCodeAt(0)]=63,fn={byteLength:an,toByteArray:sn,fromByteArray:ln},gn=Array.isArray,mn=Object.keys,vn=Object.prototype.hasOwnProperty,yn=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,o,i,a=gn(t),s=gn(n);if(a&&s){if((o=t.length)!=n.length)return!1;for(r=o;0!==r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=s)return!1;var l=t instanceof Date,c=n instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==n.getTime();var u=t instanceof RegExp,d=n instanceof RegExp;if(u!=d)return!1;if(u&&d)return t.toString()==n.toString();var h=mn(t);if((o=h.length)!==mn(n).length)return!1;for(r=o;0!==r--;)if(!vn.call(n,h[r]))return!1;for(r=o;0!==r--;)if(!e(t[i=h[r]],n[i]))return!1;return!0}return t!=t&&n!=n},bn=["key","ip","country","email","firstName","lastName","avatar","name"],xn={appendUrlPath:function(e,t){return(e.endsWith("/")?e.substring(0,e.length-1):e)+(t.startsWith("/")?"":"/")+t},base64URLEncode:function(e){return vv(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},btoa:vv,clone:function(e){return JSON.parse(JSON.stringify(e))},deepEquals:function(e,t){return yn(e,t)},extend:function(...e){return e.reduce((e,t)=>K(K({},e),t),{})},getLDUserAgentString:function(e){const t=e.version||"?";return e.userAgent+"/"+t},objectHasOwnProperty:yv,onNextTick:function(e){setTimeout(e,0)},sanitizeContext:function(e){if(!e)return e;let t;return null!==e.kind&&void 0!==e.kind||bn.forEach(n=>{const r=e[n];void 0!==r&&"string"!=typeof r&&(t=t||K({},e),t[n]=String(r))}),t||e},transformValuesToVersionedValues:function(e){const t={};for(const n in e)yv(e,n)&&(t[n]={value:e[n],version:0});return t},transformVersionedValuesToValues:function(e){const t={};for(const n in e)yv(e,n)&&(t[n]=e[n].value);return t},wrapPromiseCallback:function(e,t){const n=e.then(e=>(t&&setTimeout(()=>{t(null,e)},0),e),e=>{if(!t)return Promise.reject(e);setTimeout(()=>{t(e,null)},0)});return t?void 0:n},once:function(e){let t,n=!1;return function(...r){return n||(n=!0,t=e.apply(this,r)),t}}},_n=new Uint8Array(16),kn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,On=[],Cn=0;Cn<256;++Cn)On.push((Cn+256).toString(16).substr(1));if(Pn=0,Rn=0,Ln=kv("v3",48,function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",o=0;o<n;o+=8){var i=e[o>>5]>>>o%32&255,a=parseInt(r.charAt(i>>>4&15)+r.charAt(15&i),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[Ev(t)-1]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,a=0;a<e.length;a+=16){var s=n,l=r,c=o,u=i;n=Cv(n,r,o,i,e[a],7,-680876936),i=Cv(i,n,r,o,e[a+1],12,-389564586),o=Cv(o,i,n,r,e[a+2],17,606105819),r=Cv(r,o,i,n,e[a+3],22,-1044525330),n=Cv(n,r,o,i,e[a+4],7,-176418897),i=Cv(i,n,r,o,e[a+5],12,1200080426),o=Cv(o,i,n,r,e[a+6],17,-1473231341),r=Cv(r,o,i,n,e[a+7],22,-45705983),n=Cv(n,r,o,i,e[a+8],7,1770035416),i=Cv(i,n,r,o,e[a+9],12,-1958414417),o=Cv(o,i,n,r,e[a+10],17,-42063),r=Cv(r,o,i,n,e[a+11],22,-1990404162),n=Cv(n,r,o,i,e[a+12],7,1804603682),i=Cv(i,n,r,o,e[a+13],12,-40341101),o=Cv(o,i,n,r,e[a+14],17,-1502002290),n=Pv(n,r=Cv(r,o,i,n,e[a+15],22,1236535329),o,i,e[a+1],5,-165796510),i=Pv(i,n,r,o,e[a+6],9,-1069501632),o=Pv(o,i,n,r,e[a+11],14,643717713),r=Pv(r,o,i,n,e[a],20,-373897302),n=Pv(n,r,o,i,e[a+5],5,-701558691),i=Pv(i,n,r,o,e[a+10],9,38016083),o=Pv(o,i,n,r,e[a+15],14,-660478335),r=Pv(r,o,i,n,e[a+4],20,-405537848),n=Pv(n,r,o,i,e[a+9],5,568446438),i=Pv(i,n,r,o,e[a+14],9,-1019803690),o=Pv(o,i,n,r,e[a+3],14,-187363961),r=Pv(r,o,i,n,e[a+8],20,1163531501),n=Pv(n,r,o,i,e[a+13],5,-1444681467),i=Pv(i,n,r,o,e[a+2],9,-51403784),o=Pv(o,i,n,r,e[a+7],14,1735328473),n=Rv(n,r=Pv(r,o,i,n,e[a+12],20,-1926607734),o,i,e[a+5],4,-378558),i=Rv(i,n,r,o,e[a+8],11,-2022574463),o=Rv(o,i,n,r,e[a+11],16,1839030562),r=Rv(r,o,i,n,e[a+14],23,-35309556),n=Rv(n,r,o,i,e[a+1],4,-1530992060),i=Rv(i,n,r,o,e[a+4],11,1272893353),o=Rv(o,i,n,r,e[a+7],16,-155497632),r=Rv(r,o,i,n,e[a+10],23,-1094730640),n=Rv(n,r,o,i,e[a+13],4,681279174),i=Rv(i,n,r,o,e[a],11,-358537222),o=Rv(o,i,n,r,e[a+3],16,-722521979),r=Rv(r,o,i,n,e[a+6],23,76029189),n=Rv(n,r,o,i,e[a+9],4,-640364487),i=Rv(i,n,r,o,e[a+12],11,-421815835),o=Rv(o,i,n,r,e[a+15],16,530742520),n=Lv(n,r=Rv(r,o,i,n,e[a+2],23,-995338651),o,i,e[a],6,-198630844),i=Lv(i,n,r,o,e[a+7],10,1126891415),o=Lv(o,i,n,r,e[a+14],15,-1416354905),r=Lv(r,o,i,n,e[a+5],21,-57434055),n=Lv(n,r,o,i,e[a+12],6,1700485571),i=Lv(i,n,r,o,e[a+3],10,-1894986606),o=Lv(o,i,n,r,e[a+10],15,-1051523),r=Lv(r,o,i,n,e[a+1],21,-2054922799),n=Lv(n,r,o,i,e[a+8],6,1873313359),i=Lv(i,n,r,o,e[a+15],10,-30611744),o=Lv(o,i,n,r,e[a+6],15,-1560198380),r=Lv(r,o,i,n,e[a+13],21,1309151649),n=Lv(n,r,o,i,e[a+4],6,-145523070),i=Lv(i,n,r,o,e[a+11],10,-1120210379),o=Lv(o,i,n,r,e[a+2],15,718787259),r=Lv(r,o,i,n,e[a+9],21,-343485551),n=Sv(n,s),r=Sv(r,l),o=Sv(o,c),i=Sv(i,u)}return[n,r,o,i]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(Ev(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))}),Dn=kv("v5",80,function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o<r.length;++o)e.push(r.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var i=e.length/4+2,a=Math.ceil(i/16),s=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<a;++d){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=s[d][p];for(var f=16;f<80;++f)h[f]=Tv(h[f-3]^h[f-8]^h[f-14]^h[f-16],1);for(var g=n[0],m=n[1],v=n[2],y=n[3],b=n[4],w=0;w<80;++w){var x=Math.floor(w/20),_=Tv(g,5)+Dv(x,m,v,y)+b+t[x]+h[w]>>>0;b=y,y=v,v=Tv(m,30)>>>0,m=g,g=_}n[0]=n[0]+g>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}),Tn=Object.freeze({__proto__:null,v1:function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||En,a=void 0!==e.clockseq?e.clockseq:Sn;if(null==i||null==a){var s=e.random||(e.rng||bv)();null!=i||(i=En=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null!=a||(a=Sn=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:Rn+1,u=l-Pn+(c-Rn)/1e4;if(u<0&&void 0===e.clockseq&&(a=a+1&16383),(u<0||l>Pn)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Pn=l,Rn=c,Sn=a;var d=(1e4*(268435455&(l+=122192928e5))+c)%4294967296;o[r++]=d>>>24&255,o[r++]=d>>>16&255,o[r++]=d>>>8&255,o[r++]=255&d;var h=l/4294967296*1e4&268435455;o[r++]=h>>>8&255,o[r++]=255&h,o[r++]=h>>>24&15|16,o[r++]=h>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var p=0;p<6;++p)o[r+p]=i[p];return t||xv(o)},v3:Ln,v4:function(e,t,n){var r=(e=e||{}).random||(e.rng||bv)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return xv(r)},v5:Dn,NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!wv(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:wv,stringify:xv,parse:_v}),jn=["debug","info","warn","error","none"],An={commonBasicLogger:function(e,t){if(e&&e.destination&&"function"!=typeof e.destination)throw new Error("destination for basicLogger was set to a non-function");function n(e){return function(t){console&&console[e]&&console[e].call(console,t)}}const r=e&&e.destination?[e.destination,e.destination,e.destination,e.destination]:[n("log"),n("info"),n("warn"),n("error")],o=!(!e||!e.destination),i=e&&void 0!==e.prefix&&null!==e.prefix?e.prefix:"[LaunchDarkly] ";let a=1;if(e&&e.level)for(let c=0;c<jn.length;c++)jn[c]===e.level&&(a=c);function s(e,n,a){if(a.length<1)return;let s;const l=o?n+": "+i:i;if(1!==a.length&&t){const e=[...a];e[0]=l+e[0],s=t(...e)}else s=l+a[0];try{r[e](s)}catch(e){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+n+" method threw an exception: "+e)}}const l={};for(let c=0;c<jn.length;c++){const e=jn[c];if("none"!==e)if(c<a)l[e]=()=>{};else{const t=c;l[e]=function(){s(t,e,arguments)}}}return l},validateLogger:function(e){jn.forEach(t=>{if("none"!==t&&(!e[t]||"function"!=typeof e[t]))throw new Error("Provided logger instance must support logger."+t+"(...) method")})}},Nn=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.",In={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+Nn},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(e){return'enqueueing "'+e+'" event'},debugPostingDiagnosticEvent:function(e){return"sending diagnostic event ("+e.kind+")"},debugPostingEvents:function(e){return"sending "+e+" events"},debugStreamDelete:function(e){return'received streaming deletion for flag "'+e+'"'},debugStreamDeleteIgnored:function(e){return'received streaming deletion for flag "'+e+'" but ignored due to version check'},debugStreamPatch:function(e){return'received streaming update for flag "'+e+'"'},debugStreamPatchIgnored:function(e){return'received streaming update for flag "'+e+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(e){return"polling for feature flags at "+e},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(e,t){return t?'"'+e+'" is deprecated, please use "'+t+'"':'"'+e+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+Nn},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+Nn},errorFetchingFlags:function(e){return"Error fetching flag settings: "+jv(e)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(e,t,n){return"Received error "+e+(401===e?" (invalid SDK key)":"")+" for "+t+" - "+(on.isHttpErrorRecoverable(e)?n:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+Nn},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(e,t)=>`an inspector: "${t}" of type: "${e}" generated an exception`,invalidContentType:function(e){return'Expected application/json content type but got "'+e+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(e,t)=>`an inspector: "${t}" of an invalid type (${e}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidMetricValue:e=>`The track function was called with a non-numeric "metricValue" (${e}), only numeric metric values are supported.`,invalidContext:function(){return"Invalid context specified."+Nn},invalidTagValue:e=>`Config option "${e}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(e){return"local storage is unavailable: "+jv(e)},networkError:e=>"network error"+(e?" ("+e+")":""),optionBelowMinimum:(e,t,n)=>'Config option "'+e+'" was set to '+t+", changing to minimum value of "+n,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(e){return"Opening stream connection to "+e},streamError:function(e,t){return"Error on stream connection: "+jv(e)+", will continue retrying after "+t+" milliseconds."},tagValueTooLong:e=>`Value of "${e}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(e){return'Custom event "'+e+'" does not exist'},unknownOption:e=>'Ignoring unknown config option "'+e+'"',contextNotSpecified:function(){return"No context specified."+Nn},unrecoverableStreamError:e=>`Error on stream connection ${jv(e)}, giving up permanently`,wrongOptionType:(e,t,n)=>'Config option "'+e+'" should be of type '+t+", got "+n+", using default value",wrongOptionTypeBoolean:(e,t)=>'Config option "'+e+'" should be a boolean, got '+t+", converting to boolean"},({validateLogger:Mn}=An),Fn={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(e,t,n){const r={};return t.id&&(r.id=Nv(`${e}.id`,t.id,n)),t.version&&(r.version=Nv(`${e}.version`,t.version,n)),r}},inspectors:{default:[]},hooks:{default:[]},plugins:{default:[]}},$n=/^(\w|\.|-)+$/,zn={baseOptionDefs:Fn,validate:function(e,t,n,r){const o=xn.extend({logger:{default:r}},Fn,n),i={};function a(e){xn.onNextTick(()=>{t&&t.maybeReportError(new on.LDInvalidArgumentError(e))})}let s=xn.extend({},e||{});return function(e){const t=e;Object.keys(i).forEach(e=>{if(void 0!==t[e]){const n=i[e];r&&r.warn(In.deprecated(e,n)),n&&(void 0===t[n]&&(t[n]=t[e]),delete t[e])}})}(s),s=function(e){const t=xn.extend({},e);return Object.keys(o).forEach(e=>{void 0!==t[e]&&null!==t[e]||(t[e]=o[e]&&o[e].default)}),t}(s),s=function(e){const t=xn.extend({},e),n=e=>{if(null===e)return"any";if(void 0===e)return;if(Array.isArray(e))return"array";const t=typeof e;return"boolean"===t||"string"===t||"number"===t||"function"===t?t:"object"};return Object.keys(e).forEach(i=>{const s=e[i];if(null!=s){const l=o[i];if(void 0===l)a(In.unknownOption(i));else{const o=l.type||n(l.default),c=l.validator;if(c){const n=c(i,e[i],r);void 0!==n?t[i]=n:delete t[i]}else if("any"!==o){const e=o.split("|"),r=n(s);e.indexOf(r)<0?"boolean"===o?(t[i]=!!s,a(In.wrongOptionTypeBoolean(i,r))):(a(In.wrongOptionType(i,o,r)),t[i]=l.default):"number"===r&&void 0!==l.minimum&&s<l.minimum&&(a(In.optionBelowMinimum(i,s,l.minimum)),t[i]=l.minimum)}}}}),t.baseUrl=Av(t.baseUrl),t.streamUrl=Av(t.streamUrl),t.eventsUrl=Av(t.eventsUrl),t}(s),Mn(s.logger),s},getTags:function(e){const t={};return e&&(e.application&&void 0!==e.application.id&&null!==e.application.id&&(t["application-id"]=[e.application.id]),e.application&&void 0!==e.application.version&&null!==e.application.id&&(t["application-version"]=[e.application.version])),t}},({getLDUserAgentString:Un}=xn),Hn={getLDHeaders:function(e,t){if(t&&!t.sendLDHeaders)return{};const n={};n[e.userAgentHeaderName||"User-Agent"]=Un(e),t&&t.wrapperName&&(n["X-LaunchDarkly-Wrapper"]=t.wrapperVersion?t.wrapperName+"/"+t.wrapperVersion:t.wrapperName);const r=zn.getTags(t),o=Object.keys(r);return o.length&&(n["x-launchdarkly-tags"]=o.sort().map(e=>Array.isArray(r[e])?r[e].sort().map(t=>`${e}/${t}`):[`${e}/${r[e]}`]).reduce((e,t)=>e.concat(t),[]).join(" ")),n},transformHeaders:function(e,t){return t&&t.requestHeaderTransform?t.requestHeaderTransform(K({},e)):e}},({v1:qn}=Tn),({getLDHeaders:Bn,transformHeaders:Vn}=Hn),Kn=function(e,t,n){const r=xn.extend({"Content-Type":"application/json"},Bn(e,n)),o={sendEvents:(t,o,i)=>{if(!e.httpRequest)return Promise.resolve();const a=JSON.stringify(t),s=i?null:qn();return function t(l){const c=i?r:xn.extend({},r,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":s});return e.httpRequest("POST",o,Vn(c,n),a).promise.then(e=>{if(e)return e.status>=400&&on.isHttpErrorRecoverable(e.status)&&l?t(!1):function(e){const t={status:e.status},n=e.header("date");if(n){const e=Date.parse(n);e&&(t.serverTime=e)}return t}(e)}).catch(()=>l?t(!1):Promise.reject())}(!0).catch(()=>{})}};return o},Wn=function e(t,n=[]){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(n.includes(t))throw new Error("Cycle detected");return Array.isArray(t)?`[${t.map(r=>e(r,[...n,t])).map(e=>void 0===e?"null":e).join(",")}]`:`{${Object.keys(t).sort().map(r=>{const o=e(t[r],[...n,t]);if(void 0!==o)return`${JSON.stringify(r)}:${o}`}).filter(e=>void 0!==e).join(",")}}`},({commonBasicLogger:Gn}=An),Yn={checkContext:function(e,t){if(e){if(t&&(void 0===e.kind||null===e.kind))return void 0!==e.key&&null!==e.key;const n=e.key,r=void 0===e.kind?"user":e.kind,o=Iv(r),i="multi"===r||null!=n&&""!==n;if("multi"===r){const t=Object.keys(e).filter(e=>"kind"!==e);return i&&t.every(e=>Iv(e))&&t.every(t=>{const n=e[t].key;return null!=n&&""!==n})}return i&&o}return!1},getContextKeys:function(e,t=Gn()){if(!e)return;const n={},{kind:r,key:o}=e;switch(r){case void 0:n.user=`${o}`;break;case"multi":Object.entries(e).filter(([e])=>"kind"!==e).forEach(([e,t])=>{t&&t.key&&(n[e]=t.key)});break;case null:t.warn(`null is not a valid context kind: ${e}`);break;case"":t.warn(`'' is not a valid context kind: ${e}`);break;default:n[r]=`${o}`}return n},getContextKinds:function(e){return e?null===e.kind||void 0===e.kind?["user"]:"multi"!==e.kind?[e.kind]:Object.keys(e).filter(e=>"kind"!==e):[]},getCanonicalKey:function(e){if(e){if((void 0===e.kind||null===e.kind||"user"===e.kind)&&e.key)return e.key;if("multi"!==e.kind&&e.key)return`${e.kind}:${Mv(e.key)}`;if("multi"===e.kind)return Object.keys(e).sort().filter(e=>"kind"!==e).map(t=>`${t}:${Mv(e[t].key)}`).join(":")}}},({getContextKinds:Xn}=Yn),Jn=function(){const e={};let t=0,n=0,r={},o={};return e.summarizeEvent=e=>{if("feature"===e.kind){const i=e.key+":"+(null!==e.variation&&void 0!==e.variation?e.variation:"")+":"+(null!==e.version&&void 0!==e.version?e.version:""),a=r[i];let s=o[e.key];s||(s=new Set,o[e.key]=s),function(e){return e.context?Xn(e.context):e.contextKeys?Object.keys(e.contextKeys):[]}(e).forEach(e=>s.add(e)),a?a.count=a.count+1:r[i]={count:1,key:e.key,version:e.version,variation:e.variation,value:e.value,default:e.default},(0===t||e.creationDate<t)&&(t=e.creationDate),e.creationDate>n&&(n=e.creationDate)}},e.getSummary=()=>{const e={};let i=!0;for(const t of Object.values(r)){let n=e[t.key];n||(n={default:t.default,counters:[],contextKinds:[...o[t.key]]},e[t.key]=n);const r={value:t.value,count:t.count};void 0!==t.variation&&null!==t.variation&&(r.variation=t.variation),void 0!==t.version&&null!==t.version?r.version=t.version:r.unknown=!0,n.counters.push(r),i=!1}return i?null:{startDate:t,endDate:n,features:e,kind:"summary"}},e.clearSummary=()=>{t=0,n=0,r={},o={}},e},Qn=function(e){let t={},n={};return{summarizeEvent:function(e){if("feature"===e.kind){const r=Wn(e.context);if(!r)return;let o=t[r];o||(t[r]=Jn(),o=t[r],n[r]=e.context),o.summarizeEvent(e)}},getSummaries:function(){const r=t,o=n;return t={},n={},Object.entries(r).map(([t,n])=>{const r=n.getSummary();return r.context=e.filter(o[t]),r})}}},Zn={cloneExcluding:function(e,t){const n=[],r={},o=[];for(n.push(...Object.keys(e).map(t=>({key:t,ptr:Hv(t),source:e,parent:r,visited:[e]})));n.length;){const e=n.pop();if(t.some(t=>Uv(t,e.ptr)))o.push(e.ptr);else{const t=e.source[e.key];if(null===t)e.parent[e.key]=t;else if(Array.isArray(t))e.parent[e.key]=[...t];else if("object"==typeof t){if(e.visited.includes(t))continue;e.parent[e.key]={},n.push(...Object.keys(t).map(n=>{return{key:n,ptr:(r=e.ptr,o=Fv(n),`${r}/${o}`),source:t,parent:e.parent[e.key],visited:[...e.visited,t]};var r,o}))}else e.parent[e.key]=t}}return{cloned:r,excluded:o.sort()}},compare:Uv,literalToReference:Hv},er=function(e){const t={},n=e.allAttributesPrivate,r=e.privateAttributes||[],o=["key","kind","_meta","anonymous"],i=["name","ip","firstName","lastName","email","avatar","country"],a=(e,t)=>{if("object"!=typeof e||null===e||Array.isArray(e))return;const{cloned:i,excluded:a}=Zn.cloneExcluding(e,((e,t)=>(n||t&&e.anonymous?Object.keys(e):[...r,...e._meta&&e._meta.privateAttributes||[]]).filter(e=>!o.some(t=>Zn.compare(e,t))))(e,t));return i.key=String(i.key),a.length&&(i._meta||(i._meta={}),i._meta.redactedAttributes=a),i._meta&&(delete i._meta.privateAttributes,0===Object.keys(i._meta).length&&delete i._meta),void 0!==i.anonymous&&(i.anonymous=!!i.anonymous),i};return t.filter=(e,t=!1)=>void 0===e.kind||null===e.kind?a((e=>{const t=K(K({},e.custom||{}),{},{kind:"user",key:e.key});void 0!==e.anonymous&&(t.anonymous=!!e.anonymous);for(const n of i)delete t[n],void 0!==e[n]&&null!==e[n]&&(t[n]=String(e[n]));return void 0!==e.privateAttributeNames&&null!==e.privateAttributeNames&&(t._meta=t._meta||{},t._meta.privateAttributes=e.privateAttributeNames.map(e=>e.startsWith("/")?Zn.literalToReference(e):e)),t})(e),t):"multi"===e.kind?((e,t)=>{const n={kind:e.kind},r=Object.keys(e);for(const o of r)if("kind"!==o){const r=a(e[o],t);r&&(n[o]=r)}return n})(e,t):a(e,t),t},({getContextKeys:tr}=Yn),nr=function(e,t,n,r=null,o=null,i=null){const a={},s=i||Kn(e,0,t),l=xn.appendUrlPath(t.eventsUrl,"/events/bulk/"+n),c=er(t),u=Qn(c),d=t.samplingInterval,h=t.eventCapacity,p=t.flushInterval,f=t.logger;let g,m=[],v=0,y=!1,b=!1;function w(){return 0===d||0===Math.floor(Math.random()*d)}function x(e){m.length<h?(m.push(e),b=!1):(b||(b=!0,f.warn(In.eventCapacityExceeded())),r&&r.incrementDroppedEvents())}return a.enqueue=function(e){if(y)return;let t=!1,n=!1;var r;if(u.summarizeEvent(e),"feature"===e.kind?w()&&(t=!!e.trackEvents,n=!!(r=e).debugEventsUntilDate&&r.debugEventsUntilDate>v&&r.debugEventsUntilDate>(new Date).getTime()):t=w(),t&&x(function(e){const t=xn.extend({},e);return"identify"===e.kind||"feature"===e.kind||"custom"===e.kind?t.context=c.filter(e.context):(t.contextKeys=tr(e.context,f),delete t.context),"feature"===e.kind&&(delete t.trackEvents,delete t.debugEventsUntilDate),t}(e)),n){const t=xn.extend({},e,{kind:"debug"});t.context=c.filter(t.context),delete t.trackEvents,delete t.debugEventsUntilDate,x(t)}},a.flush=async function(){if(y)return Promise.resolve();const e=m;return u.getSummaries().forEach(t=>{Object.keys(t.features).length&&e.push(t)}),r&&r.setEventsInLastBatch(e.length),0===e.length?Promise.resolve():(m=[],f.debug(In.debugPostingEvents(e.length)),s.sendEvents(e,l).then(e=>{e&&(e.serverTime&&(v=e.serverTime),on.isHttpErrorRecoverable(e.status)||(y=!0),e.status>=400&&xn.onNextTick(()=>{o.maybeReportError(new on.LDUnexpectedResponseError(In.httpErrorMessage(e.status,"event posting","some events were dropped")))}))}))},a.start=function(){const e=()=>{a.flush(),g=setTimeout(e,p)};g=setTimeout(e,p)},a.stop=function(){clearTimeout(g)},a},rr=function(e){const t={},n={};return t.on=function(e,t,r){n[e]=n[e]||[],n[e]=n[e].concat({handler:t,context:r})},t.off=function(e,t,r){if(n[e])for(let o=0;o<n[e].length;o++)n[e][o].handler===t&&n[e][o].context===r&&(n[e]=n[e].slice(0,o).concat(n[e].slice(o+1)))},t.emit=function(e){if(!n[e])return;const t=n[e].slice(0);for(let n=0;n<t.length;n++)t[n].handler.apply(t[n].context,Array.prototype.slice.call(arguments,1))},t.getEvents=function(){return Object.keys(n)},t.getEventListenerCount=function(e){return n[e]?n[e].length:0},t.maybeReportError=function(t){t&&(n.error?this.emit("error",t):(e||console).error(t.message))},t},or="ready",ir="initialized",ar="failed",sr=function(e){let t=!1,n=!1,r=null,o=null;const i=new Promise(t=>{const n=()=>{e.off(or,n),t()};e.on(or,n)}).catch(()=>{});return{getInitializationPromise:()=>o||(t?Promise.resolve():n?Promise.reject(r):(o=new Promise((t,n)=>{const r=()=>{e.off(ir,r),t()},o=t=>{e.off(ar,o),n(t)};e.on(ir,r),e.on(ar,o)}),o)),getReadyPromise:()=>i,signalSuccess:()=>{t||n||(t=!0,e.emit(ir),e.emit(or))},signalFailure:o=>{t||n||(n=!0,r=o,e.emit(ar,o),e.emit(or)),e.maybeReportError(o)}}},lr=function(e,t,n,r){const o={};function i(){let e="";const o=r.getContext();return o&&(e=n||xn.btoa(JSON.stringify(o))),"ld:"+t+":"+e}return o.loadFlags=()=>e.get(i()).then(e=>{if(null==e)return null;try{let t=JSON.parse(e);if(t){const e=t.$schema;void 0===e||e<1?t=xn.transformValuesToVersionedValues(t):delete t.$schema}return t}catch(e){return o.clearFlags().then(()=>null)}}),o.saveFlags=t=>{const n=xn.extend({},t,{$schema:1});return e.set(i(),JSON.stringify(n))},o.clearFlags=()=>e.clear(i()),o},cr=function(e,t){const n={};let r=!1;const o=e=>{r||(r=!0,t.warn(In.localStorageUnavailable(e)))};return n.isEnabled=()=>!!e,n.get=t=>new Promise(n=>{e?e.get(t).then(n).catch(e=>{o(e),n(void 0)}):n(void 0)}),n.set=(t,n)=>new Promise(r=>{e?e.set(t,n).then(()=>r(!0)).catch(e=>{o(e),r(!1)}):r(!1)}),n.clear=t=>new Promise(n=>{e?e.clear(t).then(()=>n(!0)).catch(e=>{o(e),n(!1)}):n(!1)}),n},({appendUrlPath:ur,base64URLEncode:dr,objectHasOwnProperty:hr}=xn),({getLDHeaders:pr,transformHeaders:fr}=Hn),({isHttpErrorRecoverable:gr}=on),mr=function(e,t,n,r){const o=t.streamUrl,i=t.logger,a={},s=ur(o,"/eval/"+n),l=t.useReport,c=t.evaluationReasons,u=t.streamReconnectDelay,d=pr(e,t);let h,p=!1,f=null,g=null,m=null,v=null,y=null,b=0;function w(e){if(e.status&&"number"==typeof e.status&&!gr(e.status))return k(),i.error(In.unrecoverableStreamError(e)),void(g&&(clearTimeout(g),g=null));const t=function(){const e=(t=function(){const e=u*Math.pow(2,b);return e>3e4?3e4:e}(),t-Math.trunc(.5*Math.random()*t));var t;return b+=1,e}();p||(i.warn(In.streamError(e,t)),p=!0),E(!1),k(),x(t)}function x(e){g||(e?g=setTimeout(_,e):_())}function _(){let r;g=null;let a="";const u={headers:d,readTimeoutMillis:3e5};if(e.eventSourceFactory){null!=v&&(a="h="+v),l?e.eventSourceAllowsReport?(r=s,u.method="REPORT",u.headers["Content-Type"]="application/json",u.body=JSON.stringify(m)):(r=ur(o,"/ping/"+n),a=""):r=s+"/"+dr(JSON.stringify(m)),u.headers=fr(u.headers,t),c&&(a=a+(a?"&":"")+"withReasons=true"),r=r+(a?"?":"")+a,k(),i.info(In.streamConnecting(r)),h=(new Date).getTime(),f=e.eventSourceFactory(r,u);for(const e in y)hr(y,e)&&f.addEventListener(e,y[e]);f.onerror=w,f.onopen=()=>{b=0}}}function k(){f&&(i.info(In.streamClosing()),f.close(),f=null)}function E(e){h&&r&&r.recordStreamInit(h,!e,(new Date).getTime()-h),h=null}return a.connect=function(e,t,n){m=e,v=t,y={};for(const r in n||{})y[r]=function(e){p=!1,E(!0),n[r]&&n[r](e)};x()},a.disconnect=function(){clearTimeout(g),g=null,k()},a.isConnected=function(){return!!(f&&e.eventSourceIsActive&&e.eventSourceIsActive(f))},a},vr=function(e){let t,n,r,o;const i={addPromise:(i,a)=>{t=i,n&&n(),n=a,i.then(n=>{t===i&&(r(n),e&&e())},n=>{t===i&&(o(n),e&&e())})}};return i.resultPromise=new Promise((e,t)=>{r=e,o=t}),i},({transformHeaders:yr,getLDHeaders:br}=Hn),wr="application/json",xr=function(e,t,n){const r=t.baseUrl,o=t.useReport,i=t.evaluationReasons,a=t.logger,s={},l={};function c(n,r){if(!e.httpRequest)return new Promise((e,t)=>{t(new on.LDFlagFetchError(In.httpUnavailable()))});const o=r?"REPORT":"GET",i=br(e,t);r&&(i["Content-Type"]=wr);let a=l[n];a||(a=vr(()=>{delete l[n]}),l[n]=a);const s=e.httpRequest(o,n,yr(i,t),r),c=s.promise.then(e=>{if(200===e.status){if(e.header("content-type")&&e.header("content-type").substring(0,16)===wr)return JSON.parse(e.body);{const t=In.invalidContentType(e.header("content-type")||"");return Promise.reject(new on.LDFlagFetchError(t))}}return Promise.reject(function(e){return 404===e.status?new on.LDInvalidEnvironmentIdError(In.environmentNotFound()):new on.LDFlagFetchError(In.errorFetchingFlags(e.statusText||String(e.status)))}(e))},e=>Promise.reject(new on.LDFlagFetchError(In.networkError(e))));return a.addPromise(c,()=>{s.cancel&&s.cancel()}),a.resultPromise}return s.fetchJSON=function(e){return c(xn.appendUrlPath(r,e),null)},s.fetchFlagSettings=function(e,t){let s,l,u,d="";return o?(l=[r,"/sdk/evalx/",n,"/context"].join(""),u=JSON.stringify(e)):(s=xn.base64URLEncode(JSON.stringify(e)),l=[r,"/sdk/evalx/",n,"/contexts/",s].join("")),t&&(d="h="+t),i&&(d=d+(d?"&":"")+"withReasons=true"),l=l+(d?"?":"")+d,a.debug(In.debugPolling(l)),c(l,u)},s},_r=function(e,t){const n={};let r;return n.setContext=function(e){r=xn.sanitizeContext(e),r&&t&&t(xn.clone(r))},n.getContext=function(){return r?xn.clone(r):null},e&&n.setContext(e),n},({v1:kr}=Tn),({getContextKinds:Er}=Yn),Sr=function(e){function t(e){return null==e||"user"===e?"ld:$anonUserId":`ld:$contextKey:${e}`}function n(n,r){return null!==r.key&&void 0!==r.key?(r.key=r.key.toString(),Promise.resolve(r)):r.anonymous?function(n){return e.get(t(n))}(n).then(o=>{if(o)return r.key=o,r;{const o=kr();return r.key=o,function(n,r){return e.set(t(r),n)}(o,n).then(()=>r)}}):Promise.reject(new on.LDInvalidUserError(In.invalidContext()))}this.processContext=e=>{if(!e)return Promise.reject(new on.LDInvalidUserError(In.contextNotSpecified()));const t=xn.clone(e);if("multi"===e.kind){const e=Er(t);return Promise.all(e.map(e=>n(e,t[e]))).then(()=>t)}return n(e.kind,t)}},({v1:Or}=Tn),({baseOptionDefs:Cr}=zn),({appendUrlPath:Pr}=xn),Rr={DiagnosticId:function(e){const t={diagnosticId:Or()};return e&&(t.sdkKeySuffix=e.length>6?e.substring(e.length-6):e),t},DiagnosticsAccumulator:function(e){let t,n,r,o;function i(e){t=e,n=0,r=0,o=[]}return i(e),{getProps:()=>({dataSinceDate:t,droppedEvents:n,eventsInLastBatch:r,streamInits:o}),setProps:e=>{t=e.dataSinceDate,n=e.droppedEvents||0,r=e.eventsInLastBatch||0,o=e.streamInits||[]},incrementDroppedEvents:()=>{n++},setEventsInLastBatch:e=>{r=e},recordStreamInit:(e,t,n)=>{const r={timestamp:e,failed:t,durationMillis:n};o.push(r)},reset:i}},DiagnosticsManager:function(e,t,n,r,o,i,a){const s=!!e.diagnosticUseCombinedEvent,l="ld:"+o+":$diagnostics",c=Pr(i.eventsUrl,"/events/diagnostic/"+o),u=i.diagnosticRecordingInterval,d=n;let h,p,f=!!i.streaming;const g={};function m(){return{sdk:b(),configuration:{customBaseURI:i.baseUrl!==Cr.baseUrl.default,customStreamURI:i.streamUrl!==Cr.streamUrl.default,customEventsURI:i.eventsUrl!==Cr.eventsUrl.default,eventsCapacity:i.eventCapacity,eventsFlushIntervalMillis:i.flushInterval,reconnectTimeMillis:i.streamReconnectDelay,streamingDisabled:!f,allAttributesPrivate:!!i.allAttributesPrivate,diagnosticRecordingIntervalMillis:i.diagnosticRecordingInterval,usingSecureMode:!!i.hash,bootstrapMode:!!i.bootstrap,fetchGoalsDisabled:!i.fetchGoals,sendEventsOnlyForVariation:!!i.sendEventsOnlyForVariation},platform:e.diagnosticPlatformData}}function v(e){i.logger&&i.logger.debug(In.debugPostingDiagnosticEvent(e)),r.sendEvents(e,c,!0).then(()=>{}).catch(()=>{})}function y(){v(function(){const e=(new Date).getTime();let t=K({kind:s?"diagnostic-combined":"diagnostic",id:a,creationDate:e},d.getProps());return s&&(t=K(K({},t),m())),d.reset(e),t}()),p=setTimeout(y,u),h=(new Date).getTime(),s&&function(){if(t.isEnabled()){const e=K({},d.getProps());t.set(l,JSON.stringify(e))}}()}function b(){const t=K({},e.diagnosticSdkData);return i.wrapperName&&(t.wrapperName=i.wrapperName),i.wrapperVersion&&(t.wrapperVersion=i.wrapperVersion),t}return g.start=()=>{s?function(e){if(!t.isEnabled())return e(!1);t.get(l).then(t=>{if(t)try{const e=JSON.parse(t);d.setProps(e),h=e.dataSinceDate}catch(e){}e(!0)}).catch(()=>{e(!1)})}(e=>{if(e){const e=(h||0)+u,t=(new Date).getTime();t>=e?y():p=setTimeout(y,e-t)}else 0===Math.floor(4*Math.random())?y():p=setTimeout(y,u)}):(v(K({kind:"diagnostic-init",id:a,creationDate:d.getProps().dataSinceDate},m())),p=setTimeout(y,u))},g.stop=()=>{p&&clearTimeout(p)},g.setStreaming=e=>{f=e},g}},Lr=function(e,t){let n=!1;const r={type:e.type,name:e.name,synchronous:e.synchronous,method:(...o)=>{try{e.method(...o)}catch(i){n||(n=!0,t.warn(In.inspectorMethodError(r.type,r.name)))}}};return r},({onNextTick:Dr}=xn),Tr={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"},Object.freeze(Tr),jr={InspectorTypes:Tr,InspectorManager:function(e,t){const n={},r={[Tr.flagUsed]:[],[Tr.flagDetailsChanged]:[],[Tr.flagDetailChanged]:[],[Tr.clientIdentityChanged]:[]},o={[Tr.flagUsed]:[],[Tr.flagDetailsChanged]:[],[Tr.flagDetailChanged]:[],[Tr.clientIdentityChanged]:[]},i=e&&e.map(e=>Lr(e,t));return i&&i.forEach(e=>{Object.prototype.hasOwnProperty.call(r,e.type)&&!e.synchronous?r[e.type].push(e):Object.prototype.hasOwnProperty.call(o,e.type)&&e.synchronous?o[e.type].push(e):t.warn(In.invalidInspector(e.type,e.name))}),n.hasListeners=e=>r[e]&&r[e].length||o[e]&&o[e].length,n.onFlagUsed=(e,t,n)=>{const i=Tr.flagUsed;o[i].length&&o[i].forEach(r=>r.method(e,t,n)),r[i].length&&Dr(()=>{r[i].forEach(r=>r.method(e,t,n))})},n.onFlags=e=>{const t=Tr.flagDetailsChanged;o[t].length&&o[t].forEach(t=>t.method(e)),r[t].length&&Dr(()=>{r[t].forEach(t=>t.method(e))})},n.onFlagChanged=(e,t)=>{const n=Tr.flagDetailChanged;o[n].length&&o[n].forEach(n=>n.method(e,t)),r[n].length&&Dr(()=>{r[n].forEach(n=>n.method(e,t))})},n.onIdentityChanged=e=>{const t=Tr.clientIdentityChanged;o[t].length&&o[t].forEach(t=>t.method(e)),r[t].length&&Dr(()=>{r[t].forEach(t=>t.method(e))})},n}},({LDTimeoutError:Ar}=on),Nr=function(e,t){return new Promise((n,r)=>{setTimeout(()=>{r(new Ar(`${t} timed out after ${e} seconds.`))},1e3*e)})},Ir="unknown hook",Mr=function(e,t){const n=t?[...t]:[];return{withEvaluation:function(t,r,o,i){if(0===n.length)return i();const a=[...n],s={flagKey:t,context:r,defaultValue:o},l=function(e,t,n){return t.map(t=>qv(e,"beforeEvaluation",Bv(e,t),()=>{var e,r;return null!==(e=null==t||null===(r=t.beforeEvaluation)||void 0===r?void 0:r.call(t,n,{}))&&void 0!==e?e:{}},{}))}(e,a,s),c=i();return function(e,t,n,r,o){for(let i=t.length-1;i>=0;i-=1){const a=t[i],s=r[i];qv(e,"afterEvaluation",Bv(e,a),()=>{var e,t;return null!==(e=null==a||null===(t=a.afterEvaluation)||void 0===t?void 0:t.call(a,n,s,o))&&void 0!==e?e:{}},{})}}(e,a,s,l,c),c},identify:function(t,r){const o=[...n],i={context:t,timeout:r},a=function(e,t,n){return t.map(t=>qv(e,"beforeIdentify",Bv(e,t),()=>{var e,r;return null!==(e=null==t||null===(r=t.beforeIdentify)||void 0===r?void 0:r.call(t,n,{}))&&void 0!==e?e:{}},{}))}(e,o,i);return t=>{!function(e,t,n,r,o){for(let i=t.length-1;i>=0;i-=1){const a=t[i],s=r[i];qv(e,"afterIdentify",Bv(e,a),()=>{var e,t;return null!==(e=null==a||null===(t=a.afterIdentify)||void 0===t?void 0:t.call(a,n,s,o))&&void 0!==e?e:{}},{})}}(e,o,i,a,t)}},addHook:function(e){n.push(e)},afterTrack:function(t){0!==n.length&&function(e,t,n){for(let r=t.length-1;r>=0;r-=1){const o=t[r];qv(e,"afterTrack",Bv(e,o),()=>{var e;return null==o||null===(e=o.afterTrack)||void 0===e?void 0:e.call(o,n)},void 0)}}(e,[...n],t)}}},Fr="unknown plugin",$r={getPluginHooks:function(e,t,n){const r=[];return n.forEach(n=>{try{var o;const i=null===(o=n.getHooks)||void 0===o?void 0:o.call(n,t);void 0===i?e.error(`Plugin ${Vv(e,n)} returned undefined from getHooks.`):i&&i.length>0&&r.push(...i)}catch(t){e.error(`Exception thrown getting hooks for plugin ${Vv(e,n)}. Unable to get hooks.`)}}),r},registerPlugins:function(e,t,n,r){r.forEach(r=>{try{r.register(n,t)}catch(t){e.error(`Exception thrown registering plugin ${Vv(e,r)}.`)}})},createPluginEnvironment:function(e,t,n){const r={};e.userAgent&&(r.name=e.userAgent),e.version&&(r.version=e.version),n.wrapperName&&(r.wrapperName=n.wrapperName),n.wrapperVersion&&(r.wrapperVersion=n.wrapperVersion);const o={};n.application&&(n.application.name&&(o.name=n.application.name),n.application.version&&(o.version=n.application.version));const i={sdk:r,clientSideId:t};return Object.keys(o).length>0&&(i.application=o),i}},({commonBasicLogger:zr}=An),({checkContext:Ur,getContextKeys:Hr}=Yn),({InspectorTypes:qr,InspectorManager:Br}=jr),({getPluginHooks:Vr,registerPlugins:Kr,createPluginEnvironment:Wr}=$r),Gr="change",Yr="internal-change",Xr={initialize:function(e,t,n,r,o){const i=n&&n.logger?n.logger:o&&o.logger&&o.logger.default||zr("warn"),a=rr(i),s=sr(a),l=zn.validate(n,a,o,i),c=Br(l.inspectors,i),u=l.sendEvents;let d=e,h=l.hash;const p=[...l.plugins],f=Wr(r,e,l),g=Vr(i,f,p),m=Mr(i,[...l.hooks,...g]),v=cr(r.localStorage,i),y=Kn(r,0,l),b=l.sendEvents&&!l.diagnosticOptOut,w=b?Rr.DiagnosticId(d):null,x=b?Rr.DiagnosticsAccumulator((new Date).getTime()):null,_=b?Rr.DiagnosticsManager(r,v,x,y,d,l,w):null,k=mr(r,l,d,x),E=l.eventProcessor||nr(r,l,d,x,a,y),S=xr(r,l,d);let O,C,P,R={},L=l.streaming,D=!1,T=!1,j=!0;const A=l.stateProvider,N=_r(null,function(e){(function(e){A||e&&F({kind:"identify",context:e,creationDate:(new Date).getTime()})})(e),c.hasListeners(qr.clientIdentityChanged)&&c.onIdentityChanged(N.getContext())}),I=new Sr(v),M=v.isEnabled()?lr(v,d,h,N):null;function F(e){d&&(A&&A.enqueueEvent&&A.enqueueEvent(e)||(e.context?(j=!1,!u||T||r.isDoNotTrack()||(i.debug(In.debugEnqueueingEvent(e.kind)),E.enqueue(e))):j&&(i.warn(In.eventWithoutContext()),j=!1)))}function $(e,t){c.hasListeners(qr.flagDetailChanged)&&c.onFlagChanged(e.key,B(t))}function z(){c.hasListeners(qr.flagDetailsChanged)&&c.onFlags(Object.entries(R).map(([e,t])=>({key:e,detail:B(t)})).reduce((e,t)=>(e[t.key]=t.detail,e),{}))}function U(e,t,n,r){const o=N.getContext(),i=new Date,a={kind:"feature",key:e,context:o,value:t?t.value:null,variation:t?t.variationIndex:null,default:n,creationDate:i.getTime()},s=R[e];s&&(a.version=s.flagVersion?s.flagVersion:s.version,a.trackEvents=s.trackEvents,a.debugEventsUntilDate=s.debugEventsUntilDate),(r||s&&s.trackReason)&&t&&(a.reason=t.reason),F(a)}function H(e){return Ur(e,!1)?Promise.resolve(e):Promise.reject(new on.LDInvalidUserError(In.invalidContext()))}function q(e,t,n,r,o,i){var a;let s,l;return R&&xn.objectHasOwnProperty(R,e)&&R[e]&&!R[e].deleted?(l=R[e],s=B(l),null!==l.value&&void 0!==l.value||(s.value=t)):s={value:t,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}},n&&(o||null!==(a=l)&&void 0!==a&&null!==(a=a.prerequisites)&&void 0!==a&&a.forEach(e=>{q(e,void 0,n,!1,!1,!1)}),U(e,s,t,r)),!o&&i&&function(e,t){c.hasListeners(qr.flagUsed)&&c.onFlagUsed(e,t,N.getContext())}(e,s),s}function B(e){return{value:e.value,variationIndex:void 0===e.variation?null:e.variation,reason:e.reason||null}}function V(){if(C=!0,!N.getContext())return;const e=e=>{try{return JSON.parse(e)}catch(e){return void a.maybeReportError(new on.LDInvalidDataError(In.invalidData()))}};k.connect(N.getContext(),h,{ping:function(){i.debug(In.debugStreamPing());const e=N.getContext();S.fetchFlagSettings(e,h).then(t=>{xn.deepEquals(e,N.getContext())&&G(t||{})}).catch(e=>{a.maybeReportError(new on.LDFlagFetchError(In.errorFetchingFlags(e)))})},put:function(t){const n=e(t.data);n&&(i.debug(In.debugStreamPut()),G(n))},patch:function(t){const n=e(t.data);if(!n)return;const r=R[n.key];if(!r||!r.version||!n.version||r.version<n.version){i.debug(In.debugStreamPatch(n.key));const e={},t=xn.extend({},n);delete t.key,R[n.key]=t;const o=B(t);e[n.key]=r?{previous:r.value,current:o}:{current:o},$(n,t),Y(e)}else i.debug(In.debugStreamPatchIgnored(n.key))},delete:function(t){const n=e(t.data);if(n)if(!R[n.key]||R[n.key].version<n.version){i.debug(In.debugStreamDelete(n.key));const e={};R[n.key]&&!R[n.key].deleted&&(e[n.key]={previous:R[n.key].value}),R[n.key]={version:n.version,deleted:!0},$(n,R[n.key]),Y(e)}else i.debug(In.debugStreamDeleteIgnored(n.key))}})}function W(){C&&(k.disconnect(),C=!1)}function G(e){const t={};if(!e)return Promise.resolve();for(const n in R)xn.objectHasOwnProperty(R,n)&&R[n]&&(e[n]&&!xn.deepEquals(e[n].value,R[n].value)?t[n]={previous:R[n].value,current:B(e[n])}:e[n]&&!e[n].deleted||(t[n]={previous:R[n].value}));for(const n in e)xn.objectHasOwnProperty(e,n)&&e[n]&&(!R[n]||R[n].deleted)&&(t[n]={current:B(e[n])});return R=K({},e),z(),Y(t).catch(()=>{})}function Y(e){const t=Object.keys(e);if(t.length>0){const n={};t.forEach(t=>{const r=e[t].current,o=r?r.value:void 0,i=e[t].previous;a.emit(Gr+":"+t,o,i),n[t]=r?{current:o,previous:i}:{previous:i}}),a.emit(Gr,n),a.emit(Yr,R),l.sendEventsOnlyForVariation||A||t.forEach(t=>{U(t,e[t].current)})}return O&&M?M.saveFlags(R):Promise.resolve()}function X(){const e=L||P&&void 0===L;e&&!C?V():!e&&C&&W(),_&&_.setStreaming(e)}function J(e){return e===Gr||e.substr(0,7)===Gr+":"}if("string"==typeof l.bootstrap&&"LOCALSTORAGE"===l.bootstrap.toUpperCase()&&(M?O=!0:i.warn(In.localStorageUnavailable())),"object"==typeof l.bootstrap&&(R=function(e){const t=Object.keys(e),n="$flagsState",r="$valid",o=e[n];!o&&t.length&&i.warn(In.bootstrapOldFormat()),!1===e[r]&&i.warn(In.bootstrapInvalid());const a={};return t.forEach(t=>{if(t!==n&&t!==r){let n={value:e[t]};o&&o[t]?n=xn.extend(n,o[t]):n.version=0,a[t]=n}}),a}(l.bootstrap)),A){const e=A.getInitialState();e?Q(e):A.on("init",Q),A.on("update",function(e){e.context&&N.setContext(e.context),e.flags&&G(e.flags)})}else(function(){if(!e)return Promise.reject(new on.LDInvalidEnvironmentIdError(In.environmentNotSpecified()));let n;return I.processContext(t).then(H).then(e=>(n=xn.once(m.identify(e,void 0)),e)).then(e=>{var t;return null!==(t=n)&&void 0!==t&&t({status:"completed"}),N.setContext(e),"object"==typeof l.bootstrap?Z():O?M.loadFlags().then(e=>null==e?(R={},S.fetchFlagSettings(N.getContext(),h).then(e=>G(e||{})).then(Z).catch(e=>{ee(new on.LDFlagFetchError(In.errorFetchingFlags(e)))})):(R=e,xn.onNextTick(Z),S.fetchFlagSettings(N.getContext(),h).then(e=>G(e)).catch(e=>a.maybeReportError(e)))):S.fetchFlagSettings(N.getContext(),h).then(e=>{R=e||{},z(),Z()}).catch(e=>{R={},ee(e)})}).catch(e=>{var t;throw null!==(t=n)&&void 0!==t&&t({status:"error"}),e})})().catch(ee);function Q(e){d=e.environment,N.setContext(e.context),R=K({},e.flags),xn.onNextTick(Z)}function Z(){i.info(In.clientInitialized()),D=!0,X(),s.signalSuccess()}function ee(e){s.signalFailure(e)}const te={waitForInitialization:function(e=void 0){if(null!=e){if("number"==typeof e)return function(e){e>5&&i.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");const t=s.getInitializationPromise(),n=Nr(e,"waitForInitialization");return Promise.race([n,t]).catch(e=>{throw e instanceof on.LDTimeoutError&&i.error(`waitForInitialization error: ${e}`),e})}(e);i.warn("The waitForInitialization method was provided with a non-numeric timeout.")}return i.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."),s.getInitializationPromise()},waitUntilReady:()=>s.getReadyPromise(),identify:function(e,t,n){if(T)return xn.wrapPromiseCallback(Promise.resolve({}),n);if(A)return i.warn(In.identifyDisabled()),xn.wrapPromiseCallback(Promise.resolve(xn.transformVersionedValuesToValues(R)),n);let r;const o=O&&M?M.clearFlags():Promise.resolve();return xn.wrapPromiseCallback(o.then(()=>I.processContext(e)).then(H).then(e=>(r=xn.once(m.identify(e,void 0)),e)).then(e=>S.fetchFlagSettings(e,t).then(n=>{const r=xn.transformVersionedValuesToValues(n);return N.setContext(e),h=t,n?G(n).then(()=>r):r})).then(e=>{var t;return null!==(t=r)&&void 0!==t&&t({status:"completed"}),C&&V(),e}).catch(e=>{var t;return null!==(t=r)&&void 0!==t&&t({status:"error"}),a.maybeReportError(e),Promise.reject(e)}),n)},getContext:function(){return N.getContext()},variation:function(e,t){const{value:n}=m.withEvaluation(e,N.getContext(),t,()=>q(e,t,!0,!1,!1,!0));return n},variationDetail:function(e,t){return m.withEvaluation(e,N.getContext(),t,()=>q(e,t,!0,!0,!1,!0))},track:function(e,t,n){if("string"!=typeof e)return void a.maybeReportError(new on.LDInvalidEventKeyError(In.unknownCustomEventKey(e)));void 0!==n&&"number"!=typeof n&&i.warn(In.invalidMetricValue(typeof n)),r.customEventFilter&&!r.customEventFilter(e)&&i.warn(In.unknownCustomEventKey(e));const o=N.getContext(),s={kind:"custom",key:e,context:o,url:r.getCurrentUrl(),creationDate:(new Date).getTime()};o&&o.anonymous&&(s.contextKind=o.anonymous?"anonymousUser":"user"),null!=t&&(s.data=t),null!=n&&(s.metricValue=n),F(s),m.afterTrack({context:o,key:e,data:t,metricValue:n})},on:function(e,t,n){J(e)?(P=!0,D&&X(),a.on(e,t,n)):a.on(...arguments)},off:function(e){if(a.off(...arguments),J(e)){let e=!1;a.getEvents().forEach(t=>{J(t)&&a.getEventListenerCount(t)>0&&(e=!0)}),e||(P=!1,C&&void 0===L&&W())}},setStreaming:function(e){const t=null===e?void 0:e;t!==L&&(L=t,X())},flush:function(e){return xn.wrapPromiseCallback(u?E.flush():Promise.resolve(),e)},allFlags:function(){const e={};if(!R)return e;for(const t in R)xn.objectHasOwnProperty(R,t)&&!R[t].deleted&&(e[t]=q(t,null,!l.sendEventsOnlyForVariation,!1,!0,!1).value);return e},close:function(e){if(T)return xn.wrapPromiseCallback(Promise.resolve(),e);const t=()=>{T=!0,R={}},n=Promise.resolve().then(()=>{if(W(),_&&_.stop(),u)return E.stop(),E.flush()}).then(t).catch(t);return xn.wrapPromiseCallback(n,e)},addHook:function(e){m.addHook(e)}};return Kr(i,f,te,p),{client:te,options:l,emitter:a,ident:N,logger:i,requestor:S,start:function(){u&&(_&&_.start(),E.start())},enqueueEvent:F,getFlagsInternal:function(){return R},getEnvironmentId:()=>d,internalChangeEventName:Yr}},commonBasicLogger:zr,errors:on,messages:In,utils:xn,getContextKeys:Hr},Jr=Xr.initialize,Qr=Xr.errors,Zr=Xr.commonBasicLogger,eo=function(e){return Zr(Gv({destination:console.log},e))},to={promise:Promise.resolve({status:200,header:function(){return null},body:null})},no=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},ro="goalsReady",oo={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}},io=eo,ao=Q((e,t)=>{Ue();var n="[object Symbol]",r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",s="\\u20d0-\\u20f0",l="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",h="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",p="['’]",f="["+i+"]",g="["+h+"]",m="["+a+s+"]",v="\\d+",y="["+l+"]",b="["+c+"]",w="[^"+i+h+v+l+c+u+"]",x="\\ud83c[\\udffb-\\udfff]",_="[^"+i+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",S="["+u+"]",O="\\u200d",C="(?:"+b+"|"+w+")",P="(?:"+S+"|"+w+")",R="(?:['’](?:d|ll|m|re|s|t|ve))?",L="(?:['’](?:D|LL|M|RE|S|T|VE))?",D="(?:"+m+"|"+x+")"+"?",T="["+d+"]?",j=T+D+("(?:"+O+"(?:"+[_,k,E].join("|")+")"+T+D+")*"),A="(?:"+[y,k,E].join("|")+")"+j,N="(?:"+[_+m+"?",m,k,E,f].join("|")+")",I=RegExp(p,"g"),M=RegExp(m,"g"),F=RegExp(x+"(?="+x+")|"+N+j,"g"),$=RegExp([S+"?"+b+"+"+R+"(?="+[g,S,"$"].join("|")+")",P+"+"+L+"(?="+[g,S+C,"$"].join("|")+")",S+"?"+C+"+"+R,S+"+"+L,v,A].join("|"),"g"),z=RegExp("["+O+i+a+s+d+"]"),U=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,H="object"==typeof ze&&ze&&ze.Object===Object&&ze,q="object"==typeof self&&self&&self.Object===Object&&self,B=H||q||Function("return this")();var V,K=(V={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(e){return null==V?void 0:V[e]});function W(e){return z.test(e)}function G(e){return W(e)?function(e){return e.match(F)||[]}(e):function(e){return e.split("")}(e)}var Y=Object.prototype.toString,X=B.Symbol,J=X?X.prototype:void 0,Q=J?J.toString:void 0;function Z(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&Y.call(e)==n}(e))return Q?Q.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ee(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(e,t,n)}function te(e){return null==e?"":Z(e)}var ne,re=(ne=function(e,t,n){return t=t.toLowerCase(),e+(n?ie(te(t).toLowerCase()):t)},function(e){return function(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}(function(e,t,n){return e=te(e),void 0===(t=n?void 0:t)?function(e){return U.test(e)}(e)?function(e){return e.match($)||[]}(e):function(e){return e.match(r)||[]}(e):e.match(t)||[]}(function(e){return(e=te(e))&&e.replace(o,K).replace(M,"")}(e).replace(I,"")),ne,"")});var oe,ie=(oe="toUpperCase",function(e){var t=W(e=te(e))?G(e):void 0,n=t?t[0]:e.charAt(0),r=t?ee(t,1).join(""):e.slice(1);return n[oe]()+r});t.exports=re}),so=G(ao()),G(Xt()),lo=(()=>(0,Wt.createContext)({flags:{},flagKeyMap:{},ldClient:void 0}))(),({Provider:co,Consumer:uo}=lo),ho={useCamelCaseFlagKeys:!0,sendEventsOnFlagRead:!0,reactContext:lo},po=e=>{var t;return null!=(t=e.context)?t:e.user},fo=e=>{const t={};for(const n in e)0!==n.indexOf("$")&&(t[(0,so.default)(n)]=e[n]);return t},go=(e,t)=>{const n={};for(const r in e)t&&void 0===t[r]||(n[r]=e[r].current);return n},mo=(e,t)=>{const n=e.allFlags();return t?Object.keys(t).reduce((e,r)=>(e[r]=Object.prototype.hasOwnProperty.call(n,r)?n[r]:t[r],e),{}):n},fo.camelCaseKeys=fo,vo={wrapperName:"react-client-sdk",wrapperVersion:"3.8.1",sendEventsOnlyForVariation:!0},yo=Object.defineProperty,bo=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,_o=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Eo=(e,t,n)=>t in e?yo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,So=(e,t)=>{for(var n in t||(t={}))_o.call(t,n)&&Eo(e,n,t[n]);if(xo)for(var n of xo(t))ko.call(t,n)&&Eo(e,n,t[n]);return e},Oo=(e,t)=>bo(e,wo(t)),Co=(e,t,n)=>new Promise((r,o)=>{var i=e=>{try{s(n.next(e))}catch(e){o(e)}},a=e=>{try{s(n.throw(e))}catch(e){o(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);s((n=n.apply(e,t)).next())}),Po=class extends Wt.Component{constructor(e){super(e),this.getReactOptions=()=>So(So({},ho),this.props.reactOptions),this.subscribeToChanges=e=>{const{flags:t}=this.props;e.on("change",n=>{const r=this.getReactOptions(),o=go(n,t),i=So(So({},this.state.unproxiedFlags),o);Object.keys(o).length>0&&this.setState(n=>So(Oo(So({},n),{unproxiedFlags:i}),Qv(e,i,r,t)))})},this.onFailed=(e,t)=>{this.setState(e=>Oo(So({},e),{error:t}))},this.onReady=(e,t,n)=>{const r=mo(e,n);this.setState(o=>So(Oo(So({},o),{unproxiedFlags:r}),Qv(e,r,t,n)))},this.prepareLDClient=()=>Co(this,null,function*(){var e;const{clientSideID:t,flags:n,options:r}=this.props;let o=yield this.props.ldClient;const i=this.getReactOptions();let a,s=this.state.unproxiedFlags;if(o)s=mo(o,n);else{o=Jv(t,null!=(e=po(this.props))?e:{anonymous:!0,kind:"user"},So(So({},vo),r));try{yield o.waitForInitialization(this.props.timeout),s=mo(o,n)}catch(e){a=e,null!=a&&a.name.toLowerCase().includes("timeout")&&(o.on("failed",this.onFailed),o.on("ready",()=>{this.onReady(o,i,n)}))}}this.setState(e=>Oo(So(Oo(So({},e),{unproxiedFlags:s}),Qv(o,s,i,n)),{ldClient:o,error:a})),this.subscribeToChanges(o)});const{options:t}=e;if(this.state={flags:{},unproxiedFlags:{},flagKeyMap:{}},t){const{bootstrap:e}=t;if(e&&"localStorage"!==e){const{useCamelCaseFlagKeys:t}=this.getReactOptions();this.state={flags:t?fo(e):e,unproxiedFlags:e,flagKeyMap:{}}}}}componentDidMount(){return Co(this,null,function*(){const{deferInitialization:e}=this.props;e&&!po(this.props)||(yield this.prepareLDClient())})}componentDidUpdate(e){return Co(this,null,function*(){const{deferInitialization:t}=this.props,n=!po(e)&&po(this.props);t&&n&&(yield this.prepareLDClient())})}render(){const{flags:e,flagKeyMap:t,ldClient:n,error:r}=this.state,{reactContext:o}=this.getReactOptions();return Wt.createElement(o.Provider,{value:{flags:e,flagKeyMap:t,ldClient:n,error:r}},this.props.children)}},V("vt",e=>{const{flags:t}=(0,Wt.useContext)(null!=e?e:ho.reactContext);return t}),Ro=["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage","Script error.","_avast_submit","change_ua","A network error occurred.","Non-Error promise rejection captured with value: Not implemented on this platform","TypeError: annulé","TypeError: cancelled","Error: Error response received for message <get-frame-manager-configuration>",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:(update|simulateEvent), ParamCount:\d+$/,"AbortError","The user aborted a request","signal is aborted without reason","Too many active WebGL contexts",/CONTEXT_LOST_WEBGL/i,/WebGL context (?:was )?lost/i,"ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"],Lo=[/pagead\/js/i,/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i,/maps\.googleapis\.com\/maps\/api\/mapsjs\/gen_204\//i],Do=[/staging.locallogic.co/,/sdk.locallogic.co/],To=[{vendor:"maplibre",pattern:/maplibre-vendor/},{vendor:"mapbox",pattern:/mapbox-vendor/},{vendor:"google-maps",pattern:/google-maps-vendor|maps\.(googleapis|gstatic)\.com/}],jo=e=>{var t,n,r,o;const i=null===(t=e.exception)||void 0===t?void 0:t.values;if(null==i||!i.length)return null;const a=null===(n=i[i.length-1])||void 0===n||null===(n=n.stacktrace)||void 0===n?void 0:n.frames;if(null==a||!a.length)return null;const s=a[a.length-1],l=(null==s?void 0:s.filename)||(null==s?void 0:s.abs_path)||"";return null!==(r=null===(o=To.find(({pattern:e})=>e.test(l)))||void 0===o?void 0:o.vendor)&&void 0!==r?r:null},Ao=/Importing a module script failed|Unable to preload|Failed to fetch dynamically imported module|error loading dynamically imported module/i,No=e=>{var t;const n=null===(t=e.exception)||void 0===t?void 0:t.values;return!(null==n||!n.length)&&n.some(e=>Ao.test((null==e?void 0:e.value)||"")||Ao.test((null==e?void 0:e.type)||""))},Io=/\bLoad failed|NetworkError when attempting to fetch/i,Mo=e=>{var t;const n=null===(t=e.exception)||void 0===t?void 0:t.values;return!(null==n||!n.length)&&n.some(e=>Io.test((null==e?void 0:e.value)||"")||Io.test((null==e?void 0:e.type)||""))},Fo=/bot|crawl|spider|slurp|mediapartners|headless|phantom|puppeteer|playwright|selenium|scrapy|curl|wget|python-requests|axios|facebookexternalhit|bingpreview|lighthouse|pingdom|gtmetrix|semrush|ahrefs|mj12|dotbot|petalbot|bytespider|dataprovider/i,$o=()=>{if("undefined"==typeof navigator)return!1;if(navigator.webdriver)return!0;const e=navigator.userAgent||"";return!e||Fo.test(e)},zo=class{constructor(){var e,t,n;!function(e){const t=K({},e);om(t,"react"),zg("react",{version:Wt.version}),ov(t)}({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",tracesSampleRate:.01,replaysSessionSampleRate:.1,replaysOnErrorSampleRate:.5,environment:"production",enabled:!0,ignoreErrors:Ro,denyUrls:Lo,allowUrls:Do,release:"1.24.42",dist:"b86a2bf7042d7256210d9f29b85a58067b398c09",integrations:[Kt({failedRequestStatusCodes:[400,402,[404,599]],failedRequestTargets:[/\/\/(api|reports-api|providers-api)(-qa)?\.locallogic\.co/,/\/\/analytics\.locallogic\.co/]}),Ht(),lt()],beforeSend(e){if($o())return null;if(No(e))return e.level="warning",e.fingerprint=["chunk-load-failure"],e;const t=jo(e);var n,r;return t&&(e.tags=K(K({},e.tags),{},{source:"map-vendor",mapVendor:t})),Mo(e)?(e.fingerprint=["resource-load-failed"],e.tags=K(K({},e.tags),{},{source:null!==(n=null===(r=e.tags)||void 0===r?void 0:r.source)&&void 0!==n?n:"resource-load-failed"}),e):e},sendDefaultPii:!0,normalizeDepth:5}),zg("LocalLogic",{referrer:document.referrer,sdks_app_version:"1.24.42",sdks_app_path:null===(e=window)||void 0===e||null===(e=e.location)||void 0===e||null===(e=e.pathname)||void 0===e?void 0:e.substring((null!==(t=null===(n=window)||void 0===n||null===(n=n.location)||void 0===n||null===(n=n.pathname)||void 0===n?void 0:n.lastIndexOf("/"))&&void 0!==t?t:-1)+1)})}captureException(e){this.log(e.message,"error"),Fg(e)}addBreadCrumb(e,t,n,r="info"){im({category:e,message:t,data:n,level:r})}setTags(e){!function(e){tg().setTags(e)}(e)}log(e,t="info"){console[t]("[Local Logic] "+e)}},V("_t",Uo=Object.freeze(new zo)),Ho=e=>"string"==typeof e,qo=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Bo=e=>null==e?"":""+e,Vo=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Ko=/###/g,Wo=e=>e&&e.indexOf("###")>-1?e.replace(Ko,"."):e,Go=e=>!e||Ho(e),Yo=(e,t,n)=>{const r=Ho(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(Go(e))return{};const t=Wo(r[o]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return Go(e)?{}:{obj:e,k:Wo(r[o])}},Xo=(e,t,n)=>{const{obj:r,k:o}=Yo(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let i=t[t.length-1],a=t.slice(0,t.length-1),s=Yo(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),s=Yo(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},Jo=(e,t,n,r)=>{const{obj:o,k:i}=Yo(e,t,Object);o[i]=o[i]||[],o[i].push(n)},Qo=(e,t)=>{const{obj:n,k:r}=Yo(e,t);if(n)return n[r]},Zo=(e,t,n)=>{const r=Qo(e,n);return void 0!==r?r:Qo(t,n)},ei=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Ho(e[r])||e[r]instanceof String||Ho(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):ei(e[r],t[r],n):e[r]=t[r]);return e},ti=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),ni={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},ri=e=>Ho(e)?e.replace(/[&<>"'\/]/g,e=>ni[e]):e,oi=[" ",",","?","!",";"],ii=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),ai=(e,t,n)=>{t=t||"",n=n||"";const r=oi.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const o=ii.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i},si=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let o=e;for(let i=0;i<r.length;){if(!o||"object"!=typeof o)return;let e,t="";for(let a=i;a<r.length;++a)if(a!==i&&(t+=n),t+=r[a],e=o[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<r.length-1)continue;i+=a-i+1;break}o=e}return o},li=e=>e&&e.replace("_","-"),ci={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}},ui=class e{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ci,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Ho(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,K({prefix:`${this.prefix}:${t}:`},this.options))}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}},di=new ui,hi=class{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,r]=e;for(let o=0;o<r;o++)t(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[r,o]=t;for(let i=0;i<o;i++)r.apply(r,[e,...n])})}},pi=class extends hi{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):Ho(n)&&o?a.push(...n.split(o)):a.push(n)));const s=Qo(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&i&&Ho(n)?si(this.data&&this.data[e]&&this.data[e][t],n,o):s}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Xo(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const o in n)(Ho(n[o])||Array.isArray(n[o]))&&this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Qo(this.data,a)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?ei(s,n,o):s=K(K({},s),n),Xo(this.data,a,s),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?K({},this.getResource(e,t)):this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},fi={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))}),t}},gi={},mi=class e extends hi{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Vo(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=di.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||ai(e,n,r));if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Ho(o)?[o]:o};const i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return{key:e,namespaces:Ho(o)?[o]:o}}translate(t,n,r){if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n=K({},n)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(u){const e=n.nsSeparator||this.options.nsSeparator;return o?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${e}${a}`}return o?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:a}const d=this.resolve(t,n);let h=d&&d.res;const p=d&&d.usedKey||a,f=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(h),m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,y=!Ho(h)&&"boolean"!=typeof h&&"number"!=typeof h;if(!(v&&h&&y&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||Ho(m)&&Array.isArray(h))if(v&&Ho(m)&&Array.isArray(h))h=h.join(m),h&&(h=this.extendTranslation(h,t,n,r));else{let o=!1,s=!1;const u=void 0!==n.count&&!Ho(n.count),p=e.hasDefaultValue(n),f=u?this.pluralResolver.getSuffix(c,n.count,n):"",g=n.ordinal&&u?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",m=u&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),v=m&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${f}`]||n[`defaultValue${g}`]||n.defaultValue;!this.isValidLookup(h)&&p&&(o=!0,h=v),this.isValidLookup(h)||(s=!0,h=a);const y=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:h,b=p&&v!==h&&this.options.updateMissing;if(s||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,l,a,b?v:h),i){const e=this.resolve(a,K(K({},n),{},{keySeparator:!1}));e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);const r=(e,t,r)=>{const o=p&&r!==h?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,o,b,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,t,o,b,n),this.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,n);m&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],a+t,n[`defaultValue${t}`]||v)})}):r(e,a,v))}h=this.extendTranslation(h,t,n,d,r),s&&h===a&&this.options.appendNamespaceToMissingKey&&(h=`${l}:${a}`),(s||o)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,o?h:void 0):this.options.parseMissingKeyHandler(h))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,h,K(K({},n),{},{ns:s})):`key '${a} (${this.language})' returned an object instead of string.`;return o?(d.res=e,d.usedParams=this.getUsedParamsDetails(n),d):e}if(i){const e=Array.isArray(h),t=e?[]:{},r=e?f:p;for(const o in h)if(Object.prototype.hasOwnProperty.call(h,o)){const e=`${r}${i}${o}`;t[o]=this.translate(e,K(K({},n),{},{joinArrays:!1,ns:s})),t[o]===e&&(t[o]=h[o])}h=t}}return o?(d.res=h,d.usedParams=this.getUsedParamsDetails(n),d):h}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,K(K({},this.options.interpolation.defaultVariables),n),n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(K(K({},n),{},{interpolation:K(K({},this.options.interpolation),n.interpolation)}));const a=Ho(e)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!Ho(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=K(K({},this.options.interpolation.defaultVariables),l)),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):i.translate(...r,t)},n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=Ho(a)?[a]:a;return null!=e&&s&&s.length&&!1!==n.applyPostProcessor&&(e=fi.handle(s,e,t,this.options&&this.options.postProcessPassResolved?K({i18nResolved:K(K({},r),{},{usedParams:this.getUsedParamsDetails(n)})},n):n,this)),e}resolve(e){let t,n,r,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ho(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&!Ho(a.count),d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==a.context&&(Ho(a.context)||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach(e=>{this.isValidLookup(t)||(i=e,!gi[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(gi[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{if(this.isValidLookup(t))return;o=n;const i=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(l+e),a.ordinal&&0===e.indexOf(r)&&i.push(l+e.replace(r,this.options.pluralSeparator)),d&&i.push(l+t)),h){const n=`${l}${this.options.contextSeparator}${a.context}`;i.push(n),u&&(i.push(n+e),a.ordinal&&0===e.indexOf(r)&&i.push(n+e.replace(r,this.options.pluralSeparator)),d&&i.push(n+t))}}let s;for(;s=i.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Ho(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r=K(K({},this.options.interpolation.defaultVariables),r)),!n){r=K({},r);for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}},vi=e=>e.charAt(0).toUpperCase()+e.slice(1),yi=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=di.create("languageUtils")}getScriptPartFromCode(e){if(!(e=li(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=li(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Ho(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(rp){}const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=vi(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=vi(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=vi(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Ho(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Ho(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):Ho(e)&&o(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&o(this.formatLanguageCode(e))}),r}},bi=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],wi={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},xi=["v1","v2","v3"],_i=["v4"],ki={zero:0,one:1,two:2,few:3,many:4,other:5},Ei=()=>{const e={};return bi.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:wi[t.fc]}})}),e},Si=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=di.create("pluralResolver"),this.options.compatibilityJSON&&!_i.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Ei(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const r=li("dev"===e?"en":e),o=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(r,{type:o})}catch(n){if(!e.match(/-|_/))return;const r=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(r,t)}return this.pluralRulesCache[i]=a,a}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>ki[e]-ki[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!xi.includes(this.options.compatibilityJSON)}},Oi=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=Zo(e,t,n);return!i&&o&&Ho(n)&&(i=si(e,n,r),void 0===i&&(i=si(t,n,r))),i},Ci=e=>e.replace(/\$/g,"$$$$"),Pi=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=di.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:i,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:p,nestingSuffixEscaped:f,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:v}=e.interpolation;this.escape=void 0!==t?t:ri,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?ti(o):i||"{{",this.suffix=a?ti(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?ti(d):h||ti("$t("),this.nestingSuffix=p?ti(p):f||ti(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==v&&v,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let o,i,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const o=Oi(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,K(K(K({},r),t),{},{interpolationkey:e})):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(Oi(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,K(K(K({},r),t),{},{interpolationkey:i}))};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Ci(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Ci(this.escape(e)):Ci(e)}].forEach(t=>{for(a=0;o=t.regex.exec(e);){const n=o[1].trim();if(i=l(n),void 0===i)if("function"==typeof c){const t=c(e,o,r);i=Ho(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(u){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else Ho(i)||this.useRawValueToEscape||(i=Bo(i));const s=t.safeValue(i);if(e=e.replace(o[0],s),u?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);const a=i.match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=K(K({},t),o))}catch(rp){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,rp),`${e}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];o=K({},i),o=o.replace&&!Ho(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),o),o),r&&n[0]===e&&!Ho(r))return r;Ho(r)||(r=Bo(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce((e,t)=>this.format(e,t,i.lng,K(K({},i),{},{interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}},Ri=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();n[i]||(n[i]=o),"false"===o&&(n[i]=!1),"true"===o&&(n[i]=!0),isNaN(o)||(n[i]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}},Li=e=>{const t={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i=K(K({},i),{},{[o.interpolationkey]:void 0}));const a=r+JSON.stringify(i);let s=t[a];return s||(s=e(li(r),o),t[a]=s),s(n)}},Di=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=di.create("formatter"),this.options=e,this.formats={number:Li((e,t)=>{const n=new Intl.NumberFormat(e,K({},t));return e=>n.format(e)}),currency:Li((e,t)=>{const n=new Intl.NumberFormat(e,K(K({},t),{},{style:"currency"}));return e=>n.format(e)}),datetime:Li((e,t)=>{const n=new Intl.DateTimeFormat(e,K({},t));return e=>n.format(e)}),relativetime:Li((e,t)=>{const n=new Intl.RelativeTimeFormat(e,K({},t));return e=>n.format(e,t.range||"day")}),list:Li((e,t)=>{const n=new Intl.ListFormat(e,K({},t));return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Li(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:i}=Ri(t);if(this.formats[o]){let t=e;try{const a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,s,K(K(K({},i),r),a))}catch(a){this.logger.warn(a)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}},Ti=(e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)},ji=class extends hi{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=di.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){const o={},i={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),!t&&n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach(n=>{Jo(n.loaded,[o],i),Ti(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*o,i)},o):i(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(l){a(l)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Ho(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Ho(t)&&(t=[t]);const o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const l=K(K({},i),{},{isUpdate:o}),c=this.backend.create.bind(this.backend);if(c.length<6)try{let o;o=5===c.length?c(e,t,n,r,l):c(e,t,n,r),o&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(s){a(s)}else c(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},Ai=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Ho(e[1])&&(t.defaultValue=e[1]),Ho(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Ni=e=>(Ho(e.ns)&&(e.ns=[e.ns]),Ho(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Ho(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Ii=()=>{},Mi=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})},Fi=class e extends hi{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Ni(e),this.services={},this.logger=di,this.modules={external:[]},Mi(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(Ho(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=Ai();this.options=K(K(K({},r),this.options),Ni(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=K(K({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?di.init(o(this.modules.logger),this.options):di.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=Di);const n=new yi(this.options);this.store=new pi(this.options.resources,this.options);const i=this.services;i.logger=di,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new Si(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Pi(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new ji(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new mi(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit(t,...r)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Ii),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});const i=qo(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ii;const n=Ho(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>r(e)),this.options.preload&&this.options.preload.forEach(e=>r(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,n){const r=qo();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=Ii),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&fi.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=qo();this.emit("languageChanging",e);const o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Ho(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{i(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const o=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];i=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else i=K({},t);i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||o.keyPrefix);const c=r.options.keySeparator||".";let u;return u=i.keyPrefix&&Array.isArray(e)?e.map(e=>`${i.keyPrefix}${c}${e}`):i.keyPrefix?`${i.keyPrefix}${c}${e}`:e,r.t(u,i)};return Ho(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(n,e)||r&&!i(o,e)))}loadNamespaces(e,t){const n=qo();return this.options.ns?(Ho(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=qo();Ho(e)&&(e=[e]);const r=this.options.preload||[],o=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new yi(Ai());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ii;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o=K(K(K({},this.options),t),{},{isClone:!0}),i=new e(o);return void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services=K({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new pi(this.store.data,o),i.services.resourceStore=i.store),i.translator=new mi(i.services,o),i.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)}),i.init(o,n),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},($i=Fi.createInstance()).createInstance=Fi.createInstance,$i.createInstance,$i.dir,$i.init,$i.loadResources,$i.reloadResources,$i.use,$i.changeLanguage,$i.getFixedT,$i.t,$i.exists,$i.setDefaultNamespace,$i.hasLoadedNamespace,$i.loadNamespaces,$i.loadLanguages,zi=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ui={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Hi=e=>Ui[e],qi={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(zi,Hi)},Bi=(e={})=>{qi=K(K({},qi),e)},V("gt",()=>qi),Ki=e=>{Vi=e},V("ht",()=>Vi),Wi={type:"3rdParty",init(e){Bi(e.options.react),Ki(e)}},Gi={attribution:"Powered by",time:{minute_one:"Minute",minute_other:"Minutes",hour_one:"Hour",hour_other:"Hours"},distance:{meter:"m",kilometer:"km",yard:"yd",mile:"mi"},language:{english:"English",french:"French",spanish:"Spanish"},map:{marker:{schoolAttributes:{levels:"Level",grades:"Grades",languages:"Languages",types:"Type",board:"Board",programs:"Programs",categories:"Categories",rating:"School rating"},schoolCta:"Link to school",district:"District",categories:{advancedPlacement:"advanced placement",charter:"charter",magnet:"magnet"}},cluster:{poiCount_one:"{{count}} Location",poiCount_other:"{{count}} Locations"}},scores:{cafes:{title:"Cafes",description:"A measure of the quantity of nearby coffee shops."},car_friendly:{title:"Car friendly",description:"Represents how well traffic flows, and how easy it is to park."},cycling_friendly:{title:"Cycling friendly",description:"Represents how suitable the area is for bicycle commuting or recreational cycling, considering nearby bike paths and lanes, the percentage of cycling commuters, the flatness of the terrain, and the presence of bike-sharing systems."},daycares:{title:"Daycares",description:"Represents the distance to the nearest daycare."},greenery:{title:"Greenery",description:"Quantity of nearby green spaces and tree canopy coverage."},groceries:{title:"Groceries",description:"A measure of the quantity of nearby grocery stores."},high_schools:{title:"High schools",description:"Represents the distance to nearest high school."},historic:{title:"Historic",description:"A measure of the quantity and size of heritage buildings, and the average building age in the area."},nightlife:{title:"Nightlife",description:"Represents the quantity of bars nearby."},parks:{title:"Parks",description:"A measure of the quantity and size of nearby parks."},pedestrian_friendly:{title:"Pedestrian friendly",description:"A measure of how many basic services can be reached on foot and how pleasant it is to walk to them."},primary_schools:{title:"Primary schools",description:"A measure of the distance to the nearest elementary school."},quiet:{title:"Quiet",description:"A measure of the average levels of noise nearby."},restaurants:{title:"Restaurants",description:"Represents the quantity of restaurants nearby."},shopping:{title:"Shopping",description:"A measure of the quantity of fashion and department stores nearby."},transit_friendly:{title:"Transit friendly",description:"A measure of the frequency and level of public transit service."},vibrant:{title:"Vibrancy",description:"Represents the level of street activity nearby."},wellness:{title:"Wellness",description:"Represents how conducive a location is to individuals' well-being."}},pois:{airports:"Airports",alcohol:"Alcohol",art_culture_science:"Art, culture, science",banks:"Banks",bus_stops:"Bus",cafes:"Coffee shops",car_fueling_stations:"Gas stations",casino:"Casino",clothing:"Clothing",common_needs:"Common needs",conference_centers:"Conference centers",convenience_stores:"Convenience stores",daycares:"Daycares",department_stores:"Department stores",entertainment:"Entertainment",fitness:"Fitness",groceries:"Groceries",groceries_specialized:"Specialty",health_care:"Health care",home_improvement:"Home improvement",hospitals:"Hospitals",libraries:"Libraries",nightlife:"Nightlife",non_food_shops:"Shopping",parks:"Parks",personal_care:"Personal care",pet_care:"Pet care",pharmacies:"Pharmacies",rapid_transit_stations:"Rapid transit",restaurants:"Restaurants",retail:"Retail",shops_and_services:"Shops and services",sport_facilities:"Sport facilities",train_stations:"Train",high_schools:"High schools",primary_schools:"Primary schools",healthy_restaurants:"Healthy restaurants",shopping:"Shopping"},valueDrivers:{bus_service_access:"Bus services",shops_and_services_access:"Shops and Services",coffee_shop_access:"Coffee shops",clothing_and_accessory_store_access:"Clothing stores",common_needs_access:"Common necessities",department_store_access:"Department stores",entertainment_venue_access:"Entertainment venues",fitness_establishment_access:"Fitness",nightlife_access:"Nightlife",pedestrian_oriented_street_access:"Walkable streets",rapid_transit_service_access:"Rapid transit service",restaurant_access:"Restaurants",specialty_grocery_store_access:"Specialty groceries",sports_facility_access:"Sport facilities",train_service_access:"Train stations",nearest_highway_proximity:"Highway access",nearest_pharmacy_proximity:"Nearby pharmacies",nearest_bicycle_share_station_proximity:"Nearby bikeshare stations",bicycle_path_access:"Bike path access",bicycle_share_station_access:"Bike share",nearest_park_area:"Nearby large park",bicycle_infrastructure_quality:"Bike infrastructure",high_schools:"High schools",primary_schools:"Elementary schools",quiet:"Quiet",daycares:"Daycares",parks:"Parks"}},Yi={header:{title:"Explore {{neighborhood}}",description:"Learn about schools, prices, community vibe, and more before you decide to move.",titleNoNeighborhood:"the neighborhood"},cards:{neighborhoodIntel:{title:"Lifestyle Report",description:""},neighborhoodContext:{title:"Neighborhood Context",description:"Discover what day to day life looks like in the area."},locationInsights:{title:"Location Insights",description:"See how local amenities and features compare to the city average."},climateRisk:{title:"Climate Risk",description:"Understand how climate risks may affect lifestyle and long-term value."},communityPortrait:{title:"Community Portrait",description:"Explore demographics, housing types, and overall community vibe."},localMarketOverview:{title:"Local Market Overview",description:""},marketTrendsReport:{title:"Market Report",description:""},neighborhoodMarketTrends:{title:"Neighborhood Market Trends",description:""},dailyUpdates:{title:"Daily Updates",description:""},fiveYearHistoricalView:{title:"5-Year Historical View",description:""},easyToReadFormat:{title:"Easy-to-Read Format",description:""},actionableInsights:{title:"Actionable Insights",description:""}},downloadCard:{title:"Get your neighborhood report",description:"Uncover instant insights on local lifestyle, demographics, and market trends.",cta:"Get your report",ctaCAN:"Get your lifestyle report",select:{default:"Select report type",niReport:"Lifestyle Report",marketReport:"Market Report",both:"Both Reports"}},contactInfo:{back:"Back",title:"Almost there!",description:"Enter your details to get instant access to your neighborhood report. It’s fast, free, and full of insights.",submit:"Submit",confirmationMessage:"All set! We’ve sent your report to {{email}}",instructions:"Please check your inbox. If you don’t see it within a few minutes, check your spam or junk folder.",resendInstructions:"Still can’t find it? <resendReport>Click here to resend.</resendReport>",consentTexts:{topText:"I agree that Local Logic may share my contact information with real estate professionals so they can contact me regarding my home search.",bottomText:"This consent is required to use this tool. See our <LinkToPrivacyPolicy>Privacy Policy</LinkToPrivacyPolicy>.",CANTopText:"I agree that Local Logic may share my contact information with the operator of this website so they can contact me regarding my home search.",CANBottomText:"This consent is required to use this tool. You can withdraw your consent at any time. See our <LinkToPrivacyPolicy>Privacy Policy</LinkToPrivacyPolicy>."}},initialValues:{firstName:"First Name *",lastName:"Last Name *",email:"Email Address *",phone:"Phone Number"},errors:{firstName:"First Name is required",lastName:"Last Name is required",email:"Email Address is required",notValidEmail:"Email Address is not valid",privacyCheckbox:"You must agree to the privacy policy",phone:"Phone is not a valid number"},toastAlerts:{error:{title:"Something went wrong",description:"We couldn’t complete your request. Please try again in a moment. If the issue continues, ",action:"contact support."}}},Xi={sidebar:{header:{title:"Categories",backAction:"Back to menu",toggle:{ariaLabel:"Toggle sidebar",ariaLabel_open:"Open sidebar",ariaLabel_close:"Close sidebar"}}},categoriesToggle:{toggleLabel:"Categories",backAction:"Back"},categories:{transport:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",health:"Health"},scoreComparison:{text:"Comparable to the {{name}} average of {{value}}",text_higher:"Higher than the {{name}} average of {{value}}",text_lower:"Lower than the {{name}} average of {{value}}"},poiSearchRadius:"Showing POIs in a {{radius}} {{unit}} radius",commute:{placeholder:"Search map...",cta:"Calculate commute",cta_long:"Calculate commute",cta_short:"Calculate",viewRoute:"View route",travelTypes:{walking:"Walking",driving:"Driving",cycling:"Cycling"},results:{noRoute:"No route available.",trySuggestion:"Try another query.",fastestRoute:"Fastest route"}}},Ji={title:"Local Demographics",note:"Displaying demographics statistics for area {{value}} {{unit}} around selected location.",noData:"No demographic information is available for this specific location.",data:{income:{title:"Income",graphs:{averageIncome:{title:"Average Income",title_USA:"Income",types:{avgHouseholdIncome:"Family",avgHouseholdIncome_USA:"Household (median)",avgIndividualIncome:"Individual",avgIndividualIncome_USA:"Individual (per capita)"}},employment:{title:"Employment"},incomeBrackets:{title:"Income Brackets"}}},population:{title:"Population",graphs:{totalPopulation:{title:"Total Population"},populationByAgeGroup:{title:"Population By Age Group"}}},housing:{title:"Housing",graphs:{homeOwnershipType:{title:"Owners vs Renters"},typeOfHousing:{title:"Type of Housing"}}},household:{title:"Household",graphs:{householdComposition:{title:"Household Composition"}}},education:{title:"Education",graphs:{educationLevel:{title:"Highest Level Of Education Achieved"}}},commute:{title:"Commute",graphs:{commuteMode:{title:"Commute Mode"}}},languages:{title:"Languages",graphs:{spokenLanguages:{title:"Spoken Official Languages"},motherTongue:{title:"Mother Tongue"}}}}},Qi={title:"Characteristics",noData:"No information is available for this neighborhood yet. Stay tuned for updates as new neighborhoods are added.",sections:{transport:{title:"Transportation"},services:{title:"Services"},character:{title:"Character"}}},Zi={title:"Demographics",note:"Displaying demographics statistics for the current location.",noData:"No demographic information is available for this specific location.",data:{income:{title:"Income",graphs:{averageIncome:{title:"Average Income",types:{avg_household_income:"Family",avg_individual_income:"Individual"}},employment:{title:"Employment"},incomeBrackets:{title:"Income Brackets"}}},population:{title:"Population",graphs:{totalPopulation:{title:"Total Population"},populationByAgeGroup:{title:"Population By Age Group"}}},housing:{title:"Housing",graphs:{homeOwnershipType:{title:"Owners vs Renters"},typeOfHousing:{title:"Type of Housing"}}},household:{title:"Household",graphs:{householdComposition:{title:"Household Composition"}}},education:{title:"Education",graphs:{educationLevel:{title:"Highest Level Of Education Achieved"}}},commute:{title:"Commute",graphs:{commuteMode:{title:"Commute Mode"}}},languages:{title:"Languages",graphs:{spokenLanguages:{title:"Spoken Official Languages"},motherTongue:{title:"Mother Tongue"}}}}},ea={title:"Featured Neighborhoods",exploreMoreNeighborhoods:"EXPLORE MORE NEIGHBORHOODS",noData:"You haven't added any featured and favorite neighborhoods to your list yet. Head over to the <bold><LinkToHub>Featured Neighborhoods</LinkToHub></bold> section to select them."},ta={summaryTitle:"About the neighborhood",summaryTitle_area:"About the area"},na={title:"Highlights",noData:"Discover what this neighborhood has to offer in terms of transportation, services, and character.",highlight:{title:"This area is great for"}},ra={filters:{navigation:{scrollLeftAriaLabel:"Scroll left",scrollRightAriaLabel:"Scroll right",allFiltersAriaLabel:"View all filters"},radius:{title:"Radius:",value:"{{value}} {{unit}}"},popup:{title:"Filters",description:"Please select one option",cta:{reset:"Reset All",apply:"Apply Filter"}}}},oa={title:"Market trends",noData:"Market trends are not available for this neighborhood at this time.",disclaimer:{header:"Market trend information is based on home transaction data for the previous 12 months and current listing data.",footer:"Displaying trends for the selected neighborhood. Market Trend information is updated daily.",footer_large:"Displaying trends for the selected location. Market Trend information is updated daily."},tabs:{currentActivity:{title:"Current activity"},recentTrends:{title:"Recent trends"},marketConditions:{title:"Market conditions"}},marketIndicator:{increase:"increase",decrease:"decrease",noChangeDisclaimer:"There has been no change in the {{fieldTitle}} compared to the last 30 days."},valueComparison:{lower:"lower",equal:"Equal",higher:"higher"},graphs:{activeListings:{title:"Number of active listings",yAxisTitle:"Active listings"},homesSold:{title:"Homes sold",disclaimer:"The number of residential homes sold over the past 12 months.",changeDisclaimer:"The percent change in the number of homes sold over the previous 12 months."},housingMarketConditions:{title:"Housing market conditions",subtitle:"An indication of market conditions over time.",marketTypes:{buyer:"Buyer's market",seller:"Seller's market",neutral:"Neutral market"}},marketType:{title:"Buyer/Seller market",disclaimer:"Buyer/Seller market indicator is based on the ratio of recent homes sold to new listings.",marketTypes:{buyer:"Buyer's market",seller:"Seller's market",neutral:"Neutral market"}},medianAskingPrice:{title:"Median asking price",disclaimer:"The median asking price of residential homes over the past 30 days.",changeDisclaimer:"The percent change in the median asking price over the previous 30 days."},medianConstructionYear:{title:"The median construction year of homes sold in the past 12 months is "},medianDaysOnMarket:{title:"Median days on market",disclaimer:"The median days on market of residential homes over the past 30 days.",changeDisclaimer:"The percent change in the median days on market over the previous 30 days.",yAxisTitle:"Days on market"},medianSalePrice:{title:"Median sales price",disclaimer:"The median sales price of residential properties over the past 12 months.",changeDisclaimer:"The percent change in the median sales price over the previous 12 months."},medianSalePricePerSqft:{title:"Median sales price per square foot",disclaimer:"The median sales price per square foot of residential properties over the past 12 months.",changeDisclaimer:"The percent change in the median sales price per square foot over the previous 12 months."},medianSaleVsAskingPrice:{title:"Median sales vs. asking price of sold homes",disclaimer:"The median ratio of sold price to asking price of residential homes over the past 30 days.",changeDisclaimer:"The percent change in the ratio of sales price to asking price of residential homes over the last 30 days."}}},ia={title:"Similar neighborhoods",title_32:"Similar zip codes",title_37:"Similar counties",description:"Discover similar locations to this neighborhood and see how they compare in terms of characteristics and amenities.",descriptionWithNeighborhood:"Discover similar locations to {{neighborhoodName}} and see how they compare in terms of characteristics and amenities.",noData:"Similar neighborhoods are not available for this location.",tags:{negative:"Less affordable",neutral:"Comparable",positive:"More affordable"},pagination:{previous:"Show less",next:"Show more"}},aa={title:"Property value drivers",description:"These characteristics most positively impact the values of homes in this neighborhood.",noData:"Discover characteristics that influence home prices; this list details the factors that positively affect property values in a {{locationType}}.",locationType:{neighborhood:"neighborhood",location:"location"},valueDrivers:{bus_service_access:{tag:{high:"Great access"},qualifier:{high:"Having bus services enhances connectivity and accessibility, making it more attractive to commuters and increasing the overall desirability of the {{locationType}}."}},shops_and_services_access:{tag:{high:"Many nearby"},qualifier:{high:"Having plenty of nearby shops and services that are easily accessible can increase the overall desirability of a {{locationType}}."}},coffee_shop_access:{tag:{high:"Many nearby"},qualifier:{high:"Nearby and easily accessible coffee shops can create a welcoming environment and a more desirable {{locationType}}."}},clothing_and_accessory_store_access:{tag:{high:"Many nearby"},qualifier:{high:"Many nearby clothing and accessory stores which are easily accessible can increase the overall desirability of a {{locationType}}."}},common_needs_access:{tag:{high:"Great access"},qualifier:{high:"Easy access to basic amenities such as hardware stores, post offices, and convenience stores can improve the accessibility of services in a {{locationType}}."}},department_store_access:{tag:{high:"Many nearby"},qualifier:{high:"Nearby department stores that are easily accessible can increase the overall desirability of a {{locationType}}."}},entertainment_venue_access:{tag:{high:"Many nearby"},qualifier:{high:"Easily accessible entertainment venues can indicate a more vibrant and desirable {{locationType}}."}},fitness_establishment_access:{tag:{high:"Many nearby"},qualifier:{high:"Easily accessible fitness establishments such as gyms, yoga studios, and pools can create a more desirable {{locationType}}."}},nightlife_access:{tag:{high:"Great access"},qualifier:{high:"Easy access to local centers of nightlife, such as bars, pubs, and comedy clubs, can indicate a more vibrant {{locationType}}."}},pedestrian_oriented_street_access:{tag:{high:"Great access"},qualifier:{high:"Easily accessible commercial streets designed to be pedestrian-friendly can create a more desirable {{locationType}}."}},rapid_transit_service_access:{tag:{high:"Great access"},qualifier:{high:"Nearby rapid transit stations with frequent service can indicate a more accessible {{locationType}}."}},restaurant_access:{tag:{high:"Many nearby"},qualifier:{high:"Easily accessible and nearby restaurants can create a more desirable {{locationType}}."}},specialty_grocery_store_access:{tag:{high:"Many nearby"},qualifier:{high:"Nearby specialty grocery stores can indicate a more desirable {{locationType}}."}},sports_facility_access:{tag:{high:"Many nearby"},qualifier:{high:"Nearby sports facilities such as soccer fields, running tracks, and ice rinks can create a more desirable {{locationType}}."}},train_service_access:{tag:{high:"Great access"},qualifier:{high:"Nearby train stations with frequent service can indicate a more accessible {{locationType}}."}},nearest_highway_proximity:{tag:{high:"Great access",low:"Low density"},qualifier:{high:"Easy access to major highways can create a more accessible {{locationType}}.",low:"Few major highways nearby can create a quieter and more desirable {{locationType}}."}},nearest_pharmacy_proximity:{tag:{high:"Available close"},qualifier:{high:"Easy access to a nearby pharmacy can indicate a more accessible {{locationType}}."}},nearest_bicycle_share_station_proximity:{tag:{high:"Great access"},qualifier:{high:"Nearby bicycle-sharing stations can lead to a more accessible {{locationType}}."}},bicycle_path_access:{tag:{high:"Great access"},qualifier:{high:"Easily accessible bicycle paths can create a more accessible and desirable {{locationType}}."}},bicycle_share_station_access:{tag:{high:"Great access"},qualifier:{high:"Nearby bicycle-sharing stations can lead to a more accessible {{locationType}}."}},nearest_park_area:{tag:{high:"Available close"},qualifier:{high:"Large nearby parks can create a more desirable {{locationType}}."}},bicycle_infrastructure_quality:{tag:{high:"Great access"},qualifier:{high:"High-quality bicycle infrastructure can create a more accessible {{locationType}}."}},high_schools:{tag:{high:"Great access"},qualifier:{high:"Easy access to nearby schools can create a more desirable {{locationType}}."}},primary_schools:{tag:{high:"Great access"},qualifier:{high:"Easy access to nearby schools can create a more desirable {{locationType}}."}},quiet:{tag:{high:"Great access"},qualifier:{high:"Few sources of nearby noise can create a more desirable {{locationType}}."}},daycares:{tag:{high:"Great access"},qualifier:{high:"Easy access to nearby childcare can create a more desirable {{locationType}}."}},parks:{tag:{high:"Great access"},qualifier:{high:"Plenty of nearby parks can create a more desirable {{locationType}} environment."}}}},sa={title:"Nearby schools",noData:"There are no available schools nearby.",noFilteredData:"There are no nearby schools that match your current filters.",english:"English",french:"French",board:"School Board or District",headers:{name:"Name",type:"Type",languages:"Languages",levels:"Levels",category:"Category",address:"Address",typesFilter:"All types",levelsFilter:"All levels"},categories:{advancedPlacement:"Advanced Placement",charter:"Charter",magnet:"Magnet"},dataDisclaimer:"Schools are selected for display based on their proximity to the location. Please contact the schools directly to verify attendance zones."},la={title:"Neighborhood Showcase",header:{title:"Search Neighborhoods",description:"Explore any neighborhood to find the location that’s right for you",search:{placeholder:"Search all neighborhoods",results:{all:"All neighborhoods",featured:"Featured neighborhoods"}}},noData:"You haven't added any neighborhoods to your list yet. Head over to the <bold><LinkToHub>Neighborhood Showcase</LinkToHub></bold> section to select them."},ca={attribution:"Propulsé par",time:{minute_one:"Minute",minute_other:"Minutes",hour_one:"Heure",hour_other:"Heures"},distance:{meter:"m",kilometer:"km",yard:"vg",mile:"mil"},language:{english:"Anglais",french:"Français",spanish:"Espagnol"},map:{marker:{schoolAttributes:{levels:"Niveau",grades:"Notes",languages:"Langues",types:"Type",board:"Commission",programs:"Programmes",categories:"Catégories",rating:"Note des écoles"},schoolCta:"Lien vers l'école",district:"Commission",categories:{advancedPlacement:"placement avancé",charter:"à charte",magnet:"à vocation particulière"}},cluster:{poiCount_one:"{{count}} Lieu",poiCount_other:"{{count}} Lieux"}},scores:{cafes:{title:"Cafés",description:"Une mesure de la quantité et de la diversité des cafés à proximité."},car_friendly:{title:"Adapté aux voitures",description:"Représente la fluidité de la circulation et la facilité de stationnement."},cycling_friendly:{title:"Adapté aux cyclistes",description:"Représente la qualité de l'aménagement du réseau cyclable autant pour les déplacement que pour le cyclisme récréatif, considérant les pistes et bande cyclables à proximité, le pourcentage d'habitants qui se déplacent à vélo, le dénivelé du terrain ainsi que la présence de vélos en libre-service."},daycares:{title:"Garderies",description:"Représente la distance jusqu'à la garderie la plus proche."},greenery:{title:"Verdure",description:"Quantité d'espaces verts à proximité et couverture de la canopée des arbres."},groceries:{title:"Épiceries",description:"Une mesure de la quantité d'épiceries à proximité."},high_schools:{title:"Écoles secondaires",description:"Représente la distance jusqu'à l'école secondaire la plus proche."},historic:{title:"Historique",description:"Une mesure de la quantité et de la taille des bâtiments patrimoniaux, et de l'âge moyen des bâtiments dans la région."},nightlife:{title:"Vie nocturne",description:"Représente la quantité et la diversité des bars à proximité."},parks:{title:"Parcs",description:"Une mesure de la quantité et de la taille des parcs à proximité."},pedestrian_friendly:{title:"Adapté aux piétons",description:"Une mesure de la proximité des services de base et du niveau de convivialité d'y aller à pied."},primary_schools:{title:"Écoles primaires",description:"Une mesure de la distance jusqu'à l'école primaire la plus proche."},quiet:{title:"Silencieux",description:"Une mesure des niveaux moyens de bruit à proximité."},restaurants:{title:"Restaurants",description:"Représente la quantité et la diversité des restaurants à proximité."},shopping:{title:"Magasins",description:"Une mesure de la quantité et de la diversité de magasins de mode et de grands magasins à proximité."},transit_friendly:{title:"Transport public",description:"Une mesure de la fréquence et du niveau de service de transport en commun."},vibrant:{title:"Dynamisme",description:"Représente le niveau d'activité de la rue à proximité."},wellness:{title:"Bien-être",description:"Représente à quel point un emplacement favorise le bien-être des individus."}},pois:{airports:"Aéroports",alcohol:"Alcool",art_culture_science:"Art, culture, science",banks:"Banques",bus_stops:"Autobus",cafes:"Cafés",car_fueling_stations:"Stations-service",casino:"Casino",clothing:"Vêtements",common_needs:"Besoins quotidiens",conference_centers:"Salles de conférence",convenience_stores:"Dépanneurs",daycares:"Garderies",department_stores:"Grands magasins",entertainment:"Divertissement",fitness:"Entraînement physique",groceries:"Épiceries",groceries_specialized:"Spécialisées",health_care:"Soins de santé",home_improvement:"Magasin de rénovation",hospitals:"Hôpitaux",libraries:"Librairies",nightlife:"Vie nocturne",non_food_shops:"Magasinage",parks:"Parcs",personal_care:"Soins personnels",pet_care:"Soins pour animaux",pharmacies:"Pharmacies",rapid_transit_stations:"Métro",restaurants:"Restaurants",retail:"Magasins de détail",shops_and_services:"Magasins et services",sport_facilities:"Installations sportives",train_stations:"Train",high_schools:"Écoles secondaires",primary_schools:"Écoles primaires",healthy_restaurants:"Restaurants sains",shopping:"Magasinage"},valueDrivers:{bus_service_access:"Services d'autobus",shops_and_services_access:"Magasins et services",coffee_shop_access:"Cafés",clothing_and_accessory_store_access:"Magasins de vêtements",common_needs_access:"Nécessités communes",department_store_access:"Grands magasins",entertainment_venue_access:"Lieux de divertissement",fitness_establishment_access:"Conditionnement physique",nightlife_access:"Vie nocturne",pedestrian_oriented_street_access:"Rues accessibles aux piétons",rapid_transit_service_access:"Service de transport en commun rapide",restaurant_access:"Restaurants",specialty_grocery_store_access:"Épiceries spécialisées",sports_facility_access:"Installations sportives",train_service_access:"Gares",nearest_highway_proximity:"Accès à l'autoroute",nearest_pharmacy_proximity:"Pharmacies à proximité",nearest_bicycle_share_station_proximity:"Stations de vélos en libre-service à proximité",bicycle_path_access:"Stations de vélopartage à proximité",bicycle_share_station_access:"Partage de vélo",nearest_park_area:"Grand parc à proximité",bicycle_infrastructure_quality:"Infrastructure pour vélos",high_schools:"Écoles secondaires",primary_schools:"Écoles primaires",quiet:"Calme",daycares:"Garderies",parks:"Parcs"}},ua={},da={sidebar:{header:{title:"Catégories",backAction:"Retour au menu",toggle:{ariaLabel:"Basculer le menu des scores",ariaLabel_open:"Ouvrir le menu des scores",ariaLabel_close:"Fermer le menu des scores"}}},categoriesToggle:{toggleLabel:"Catégories",backAction:"Retour"},categories:{commute:"Transport",amenities:"Services",character:"Caractère",nature:"Nature",education:"Éducation",health:"Santé"},scoreComparison:{text:"Comparable à la moyenne de {{name}} de {{value}}",text_higher:"Supérieur à la moyenne de {{name}} de {{value}}",text_lower:"Inférieur à la moyenne de {{name}} de {{value}}"},poiSearchRadius:"Affichage des PO dans un rayon de {{radius}} {{unit}}",commute:{placeholder:"Faire une recherche...",cta:"Calculer le trajet",cta_long:"Calculer le trajet",cta_short:"Calculer",viewRoute:"Voir l'itinéraire",travelTypes:{walking:"À pied",driving:"En voiture",cycling:"À vélo"},results:{noRoute:"Aucun itinéraire disponible.",trySuggestion:"Essayez une autre requête.",fastestRoute:"Itinéraire le plus rapide"}}},ha={title:"Données démographiques locales",note:"Affichage des données démographiques pour la zone située à {{value}} {{unit}} autour de l'emplacement sélectionné.",noData:"Aucune donnée démographique n'est disponible pour cet endroit particulier.",data:{income:{title:"Revenu",graphs:{averageIncome:{title:"Revenu moyen",title_USA:"Revenu",types:{avgHouseholdIncome:"Familial",avgHouseholdIncome_USA:"Ménage (médian)",avgIndividualIncome:"Individuel",avgIndividualIncome_USA:"Individuel (par habitant)"}},employment:{title:"Emploi"},incomeBrackets:{title:"Tranches de revenu"}}},population:{title:"Population",graphs:{totalPopulation:{title:"Population totale"},populationByAgeGroup:{title:"Population par tranche d'âge"}}},housing:{title:"Logement",graphs:{homeOwnershipType:{title:"Propriétaires c. locataires"},typeOfHousing:{title:"Type de logement"}}},household:{title:"Ménages",graphs:{householdComposition:{title:"Composition des ménages"}}},education:{title:"Éducation",graphs:{educationLevel:{title:"Niveau d'études atteint"}}},commute:{title:"Transport",graphs:{commuteMode:{title:"Modes de transport"}}},languages:{title:"Langues",graphs:{spokenLanguages:{title:"Langues officielles parlées"},motherTongue:{title:"Langue maternelle"}}}}},pa={title:"Caractéristiques",noData:"Aucune information n'est présentement disponible pour ce quartier. Restez à l'affût des mises à jour pour l'ajout de nouveaux quartiers.",sections:{transport:{title:"Transport"},services:{title:"Services"},character:{title:"Caractère"}}},fa={title:"Démographie du quartier",note:"Affichage des statistiques démographiques pour le quartier.",noData:"Aucune donnée démographique n'est offerte pour cet endroit particulier.",data:{income:{title:"Revenu",graphs:{averageIncome:{title:"Revenu moyen",types:{avg_household_income:"Familial",avg_individual_income:"Individuel"}},employment:{title:"Emploi"},incomeBrackets:{title:"Tranches de revenu"}}},population:{title:"Population",graphs:{totalPopulation:{title:"Population totale"},populationByAgeGroup:{title:"Population par tranche d'âge"}}},housing:{title:"Logement",graphs:{homeOwnershipType:{title:"Propriétaires c.. locataires"},typeOfHousing:{title:"Type de logement"}}},household:{title:"Ménage",graphs:{householdComposition:{title:"Composition des ménages"}}},education:{title:"Éducation",graphs:{educationLevel:{title:"Niveau d'études atteint"}}},commute:{title:"Transport",graphs:{commuteMode:{title:"Mode de déplacement"}}},languages:{title:"Langues",graphs:{spokenLanguages:{title:"Langues officielles parlées"},motherTongue:{title:"Langue maternelle"}}}}},ga={title:""},ma={summaryTitle:"À propos du quartier"},va={title:"Points forts",noData:"Découvrez ce que ce quartier a à offrir en termes de transport, de services et de caractère.",highlight:{title:"Cette zone est idéale pour"}},ya={filters:{navigation:{scrollLeftAriaLabel:"Défiler vers la gauche",scrollRightAriaLabel:"Défiler vers la droite",allFiltersAriaLabel:"Voir tous les filtres"},radius:{title:"Rayon :",value:"{{value}} {{unit}}"},popup:{title:"Filtres",description:"Veuillez sélectionner une option",cta:{reset:"Réinitialiser tout",apply:"Appliquer le filtre"}}}},ba={},wa={title:"Quartiers similaires",title_32:"Codes postaux similaires",title_37:"Comtés similaires",description:"Découvrez des lieux similaires à celui-ci et comparez-les en termes de caractéristiques et services de proximité.",descriptionWithNeighborhood:"Découvrez des lieux similaires à {{neighborhoodName}} et comparez-les en termes de caractéristiques et services de proximité.",noData:"Les quartiers similaires ne sont pas disponibles pour cet emplacement.",tags:{negative:"Moins abordable",neutral:"Comparable",positive:"Plus abordable"},pagination:{previous:"Afficher moins",next:"Afficher plus"}},xa={title:"Facteurs de valeur immobilière",description:"Ces caractéristiques ont le plus d'impact positif sur les valeurs des maisons dans ce quartier.",noData:"Découvrez les caractéristiques qui influencent les prix des maisons; cette liste détaille les facteurs qui affectent positivement les valeurs des propriétés dans un {{locationType}}.",locationType:{neighborhood:"quartier",location:"emplacement"},valueDrivers:{bus_service_access:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de services d'autobus améliore la connectivité et l'accessibilité d'un {{locationType}}, le rendant plus attrayant pour les navetteurs et augmentant son attractivité globale."}},shops_and_services_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de nombreux commerces de proximité facilement accessibles peut augmenter l'attractivité globale d'un {{locationType}}."}},coffee_shop_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de cafés à proximité et facilement accessibles peut créer un environnement accueillant et un {{locationType}} plus attrayant."}},clothing_and_accessory_store_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de nombreux magasins de vêtements et d'accessoires facilement accessibles à proximité peut accroître la désirabilité globale d'un {{locationType}}."}},common_needs_access:{tag:{high:"Excellent accès"},qualifier:{high:"L'accès facile à des commodités de base comme les quincailleries, bureaux de poste et dépanneurs peut améliorer l'accessibilité des services dans un {{locationType}}."}},department_store_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de grands magasins à proximité et facilement accessibles peut augmenter l'attractivité globale d'un {{locationType}}."}},entertainment_venue_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de lieux de divertissement facilement accessibles peut être le signe d'un {{locationType}} plus vivant et plus attrayant."}},fitness_establishment_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence d'établissements de conditionnement physique facilement accessibles, tels que des gymnases, des studios de yoga et des piscines, peut rendre le {{locationType}} plus attrayant."}},nightlife_access:{tag:{high:"Excellent accès"},qualifier:{high:"Un accès facile aux centres locaux de la vie nocturne, tels que les bars, les pubs et les clubs de comédie, peut être le signe d'un {{locationType}} plus dynamique."}},pedestrian_oriented_street_access:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de rues commerciales facilement accessibles, conçues pour être conviviales pour les piétons, peut créer un {{locationType}} plus attrayant."}},rapid_transit_service_access:{tag:{high:"Excellent accès"},qualifier:{high:"La proximité de stations de transport en commun rapide à haute fréquence peut être le signe d'un {{locationType}} plus accessible."}},restaurant_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence de restaurants facilement accessibles et à proximité peut créer un {{locationType}} plus attrayant."}},specialty_grocery_store_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La présence d'épiceries spécialisées à proximité peut indiquer un {{locationType}} plus attrayant."}},sports_facility_access:{tag:{high:"Plusieurs à proximité"},qualifier:{high:"La proximité d'installations sportives telles que des terrains de football, des pistes de course et des patinoires peut rendre le {{locationType}} plus attrayant."}},train_service_access:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de gares à proximité qui ont un service fréquent peut indiquer un {{locationType}} plus accessible."}},nearest_highway_proximity:{tag:{high:"Excellent accès",low:"Faible densité"},qualifier:{high:"Un accès facile aux grandes autoroutes peut créer un {{locationType}} plus accessible.",low:"Peu d'autoroutes à proximité peut rendre le {{locationType}} plus calme et plus attrayant."}},nearest_pharmacy_proximity:{tag:{high:"Disponible à proximité"},qualifier:{high:"Un accès facile à une pharmacie à proximité peut indiquer un {{locationType}} plus accessible."}},nearest_bicycle_share_station_proximity:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de stations de vélopartage à proximité peut être le signe d'un {{locationType}} plus accessible."}},bicycle_path_access:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de pistes cyclables facilement accessibles peut être le signe d'un {{locationType}} plus accessible et plus attrayant."}},bicycle_share_station_access:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de stations de vélopartage à proximité peut être le signe d'un {{locationType}} plus accessible."}},nearest_park_area:{tag:{high:"Disponible à proximité"},qualifier:{high:"La présence de grands parcs à proximité peut être le signe d'un {{locationType}} plus attrayant."}},bicycle_infrastructure_quality:{tag:{high:"Excellent accès"},qualifier:{high:"La présence d'une infrastructure de qualité pour les vélos peut être le signe d'un {{locationType}} plus accessible."}},high_schools:{tag:{high:"Excellent accès"},qualifier:{high:"Un accès facile aux écoles à proximité peut rendre le {{locationType}} plus attrayant."}},primary_schools:{tag:{high:"Excellent accès"},qualifier:{high:"Un accès facile aux écoles à proximité peut rendre le {{locationType}} plus attrayant."}},quiet:{tag:{high:"Excellent accès"},qualifier:{high:"Le peu de sources de bruit à proximité peut rendre le {{locationType}} plus attrayant."}},daycares:{tag:{high:"Excellent accès"},qualifier:{high:"Un accès facile aux services de garde à proximité peut rendre le {{locationType}} plus attrayant."}},parks:{tag:{high:"Excellent accès"},qualifier:{high:"La présence de nombreux parcs à proximité peut rendre le {{locationType}} plus attrayant."}}}},_a={title:"Écoles à proximité",noData:"Il n'y a pas d'écoles disponibles à proximité.",noFilteredData:"Aucune école à proximité ne correspond à vos filtres actuels.",english:"Anglais",french:"Français",board:"Commission scolaire ou district",headers:{name:"Nom",type:"Type",languages:"Langues",levels:"Niveaux",category:"Catégorie",address:"Adresse",typesFilter:"Tous types",levelsFilter:"Tous niveaux"},categories:{advancedPlacement:"Placement avancé",charter:"À charte",magnet:"À vocation particulière"},dataDisclaimer:"Les écoles sont sélectionnées pour être affichées en fonction de leur proximité avec le lieu. Veuillez contacter directement les écoles pour vérifier les zones de fréquentation."},ka={},$i.isInitialized||$i.use(Wi).init({debug:!1,fallbackLng:"en",returnEmptyString:!1,supportedLngs:["en","fr"],resources:{en:{common:Gi,leadCapture:Yi,localContent:Xi,localDemographics:Ji,neighborhoodCharacteristics:Qi,neighborhoodDemographics:Zi,neighborhoodFeatured:ea,neighborhoodShowcase:la,neighborhoodHero:ta,neighborhoodHighlights:na,neighborhoodMap:ra,neighborhoodMatch:ia,neighborhoodPropertyValueDrivers:aa,neighborhoodMarketTrends:oa,neighborhoodSchools:sa},fr:{common:ca,leadCapture:ua,localContent:da,localDemographics:ha,neighborhoodCharacteristics:pa,neighborhoodDemographics:fa,neighborhoodFeatured:ga,neighborhoodShowcase:ka,neighborhoodHero:ma,neighborhoodHighlights:va,neighborhoodMap:ya,neighborhoodMatch:wa,neighborhoodPropertyValueDrivers:xa,neighborhoodMarketTrends:ba,neighborhoodSchools:_a}}}),Ea=$i,Sa=X(()=>{}),Oa=J({Action:()=>Ca,createBrowserHistory:()=>ny,createHashHistory:()=>ry,createMemoryHistory:()=>oy,createPath:()=>cy,parsePath:()=>uy}),Ta=X(()=>{Sa(),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Ca||(Ca={})),Pa=function(e){return e},Ra="beforeunload",La="hashchange",Da="popstate"}),ja=Q((e,t)=>{!function(n,r){"object"==typeof e&&void 0!==t?r(e,ee(),(Ta(),Y(Oa))):"function"==typeof define&&define.amd?define(["exports","react","history"],r):r((n="undefined"!=typeof globalThis?globalThis:n||self).ReactLocation={},n.React,n.History)}(e,function(e,t,n){var r=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}(t);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function a(e){if(!e)return"";var t=decodeURIComponent(e);return"false"!==t&&("true"===t||(0*+t==0?+t:t))}const s=["children","location","__experimental__snapshot"],l=["location","__experimental__snapshot"],c=["basepath","routes"],u=["to","search","hash","children","target","style","replace","onClick","onMouseEnter","className","getActiveProps","getInactiveProps","activeOptions","preload","disabled","_ref"],d=["style","className"],h=["style","className"],p=["pending"],f=["children"],g=r.createContext(null),m=r.createContext(null),v=r.createContext(null),y=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),b=y?r.useLayoutEffect:r.useEffect;class w{constructor(){this.listeners=[]}subscribe(e){return this.listeners.push(e),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}notify(){this.listeners.forEach(e=>e())}}function x(e){return r.createElement(m.Provider,e)}function _(){const e=E(),t=N(),n=A();return b(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class k extends w{constructor(e){var t;let{location:n,__experimental__snapshot:r}=e,a=i(e,l);super(),this.routesById={},this.update=e=>{let{basepath:t,routes:n}=e,r=i(e,c);Object.assign(this,r),this.basepath=B("/"+(null!=t?t:"")),this.routesById={};const a=(e,t)=>e.map(e=>{var n,i,s,l;const c=null!=(n=e.path)?n:"*",u=q(["root"===(null==t?void 0:t.id)?"":null==t?void 0:t.id,(null==c?void 0:c.replace(/(.)\/$/,"$1"))+(e.id?"-"+e.id:"")]);if(e=o({},e,{pendingMs:null!=(i=e.pendingMs)?i:null==r?void 0:r.defaultPendingMs,pendingMinMs:null!=(s=e.pendingMinMs)?s:null==r?void 0:r.defaultPendingMinMs,id:u}),this.routesById[u])throw new Error;return this.routesById[u]=e,e.children=null!=(l=e.children)&&l.length?a(e.children,e):void 0,e});this.routes=a(n),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=e=>{const t=e({state:this.state,pending:this.pending});this.state=t.state,this.pending=t.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var e,t,n;const r=[...null!=(e=null==this?void 0:this.state.matches)?e:[],...null!=(t=null==this||null==(n=this.pending)?void 0:n.matches)?t:[]].map(e=>e.id);Object.values(this.matchCache).forEach(e=>{var t;if(!e.updatedAt)return;if(r.includes(e.id))return;const n=Date.now()-(null!=(t=e.updatedAt)?t:0);(!e.maxAge||n>e.maxAge)&&(e.route.unloader&&e.route.unloader(e),delete this.matchCache[e.id])})},this.updateLocation=e=>{let t;return{promise:new Promise(n=>{const r=new O(this,e);this.setState(e=>o({},e,{pending:{location:r.location,matches:r.matches}})),t=r.subscribe(()=>{const e=this.state.matches;e.filter(e=>!r.matches.find(t=>t.id===e.id)).forEach(e=>{null==e.onExit||e.onExit(e)}),e.filter(e=>r.matches.find(t=>t.id===e.id)).forEach(e=>{null==e.route.onTransition||e.route.onTransition(e)}),r.matches.filter(t=>!e.find(e=>e.id===t.id)).forEach(e=>{e.onExit=null==e.route.onMatch?void 0:e.route.onMatch(e)}),this.setState(e=>o({},e,{state:{location:r.location,matches:r.matches},pending:void 0})),n()}),r.loadData(),r.startPending()}),unsubscribe:t}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(e=>{let{ownData:t,id:n}=e;return{id:n,ownData:t}})}),this.update(a);let s=[];if(r){const e=new O(this,n.current);e.matches.forEach((e,t)=>{var n,o,i,a;if(e.id!==(null==(n=r.matches[t])?void 0:n.id))throw new Error("Router hydration mismatch: "+e.id+" !== "+(null==(a=r.matches[t])?void 0:a.id));e.ownData=null!=(o=null==(i=r.matches[t])?void 0:i.ownData)?o:{}}),C(e.matches),s=e.matches}this.state={location:null!=(t=null==r?void 0:r.location)?t:n.current,matches:s},n.subscribe(()=>this.notify())}}function E(){const e=r.useContext(g);return U(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class S{constructor(e){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=e=>{var t;null==(t=this.matchLoader)||t.preNotify(e?this:void 0)},this.assignMatchLoader=e=>{this.matchLoader=e},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),void 0!==this.route.pendingMs&&(this.pendingTimeout=setTimeout(()=>{var e;"loading"===this.status&&(this.status="pending"),null==(e=this.notify)||e.call(this),void 0!==this.route.pendingMinMs&&(this.pendingMinPromise=new Promise(e=>setTimeout(e,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=e=>{var t,n;if(this.maxAge=null!=(t=null!=(n=e.maxAge)?n:this.route.loaderMaxAge)?t:e.router.defaultLoaderMaxAge,this.loaderPromise)return;const r=this.route.import;this.loaderPromise=(r?(this.isLoading=!0,r({params:this.params,search:this.search}).then(e=>{this.route=o({},this.route,e)})):Promise.resolve()).then(()=>{const t=[];["element","errorElement","pendingElement"].forEach(e=>{const n=this.route[e];this[e]||("function"==typeof n?(this.isLoading=!0,t.push(n(this).then(t=>{this[e]=t}))):this[e]=this.route[e])});const n=this.route.loader,r=n?new Promise(async t=>{this.isLoading=!0;const r=e=>{this.updatedAt=Date.now(),t(this.ownData),this.status=e},o=e=>{this.ownData=e,this.error=void 0,r("resolved")},i=e=>{console.error(e),this.error=e,r("rejected")};try{o(await n(this,{parentMatch:e.parentMatch,dispatch:async e=>{var t;"resolve"===e.type?o(e.data):"reject"===e.type?i(e.error):"loading"===e.type?this.isLoading=!0:"maxAge"===e.type&&(this.maxAge=e.maxAge),this.updatedAt=Date.now(),null==(t=this.notify)||t.call(this,!0)}}))}catch(e){i(e)}}):Promise.resolve();return Promise.all([...t,r]).then(()=>{this.status="resolved",this.isLoading=!1,this.startPending=void 0}).then(()=>this.pendingMinPromise).then(()=>{var e;this.pendingTimeout&&clearTimeout(this.pendingTimeout),null==(e=this.notify)||e.call(this,!0)})}).then(()=>this.ownData)},Object.assign(this,e)}}class O extends w{constructor(e,t){var n;super(),n=this,this.preNotifiedMatches=[],this.status="pending",this.preNotify=e=>{e&&(this.preNotifiedMatches.includes(e)||this.preNotifiedMatches.push(e)),e&&this.preNotifiedMatches.length!==this.matches.length||(this.status="resolved",C(this.matches),this.notify())},this.loadData=async function(e){var t;let{maxAge:r}=void 0===e?{}:e;if(n.router.cleanMatchCache(),null!=(t=n.matches)&&t.length)return n.firstRenderPromises=[],n.matches.forEach((e,t)=>{var o,i;const a=null==(o=n.matches)?void 0:o[t-1];null==e.assignMatchLoader||e.assignMatchLoader(n),null==e.load||e.load({maxAge:r,parentMatch:a,router:n.router}),null==(i=n.firstRenderPromises)||i.push(e.loaderPromise)}),await Promise.all(n.firstRenderPromises).then(()=>(n.preNotify(),n.matches));n.preNotify()},this.load=async function(e){let{maxAge:t}=void 0===e?{}:e;return await n.loadData({maxAge:t})},this.startPending=async()=>{this.matches.forEach(e=>null==e.startPending?void 0:e.startPending())},this.router=e,this.location=t,this.matches=[];const r=R(this.router,this.location);this.matches=null==r?void 0:r.map(e=>(this.router.matchCache[e.id]||(this.router.matchCache[e.id]=new S(e)),this.router.matchCache[e.id]))}}function C(e){null==e||e.forEach((t,n)=>{var r;const i=null==e?void 0:e[n-1];t.data=o({},null!=(r=null==i?void 0:i.data)?r:{},t.ownData)})}function P(){const e=r.useContext(v);if(!e)throw U(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function R(e,t){if(!e.routes.length)return[];const n=[],r=async(i,a)=>{var s;let{pathname:l,params:c}=a;const u=(null!=e&&e.filterRoutes?null==e?void 0:e.filterRoutes(i):i).find(n=>{var r,i;const a=q([l,n.path]),s=!!("/"!==n.path||null!=(r=n.children)&&r.length),u=F(t,{to:a,search:n.search,fuzzy:s,caseSensitive:null!=(i=n.caseSensitive)?i:e.caseSensitive});return u&&(c=o({},c,u)),!!u});if(!u)return;const d=L(u.path,c);l=q([l,d]);const h={id:L(u.id,c,!0),route:u,params:c,pathname:l,search:t.search};n.push(h),null!=(s=u.children)&&s.length&&r(u.children,h)};return r(e.routes,e.rootMatch),n}function L(e,t,n){return q(K(e).map(e=>{return"*"!==e.value||n?"param"===e.type?null!=(r=t[e.value.substring(1)])?r:"":e.value:"";var r}))}function D(){const e=E(),t=j(),n=P(),r=N();return G(async function(i,a){var s;return void 0===i&&(i=e.current),await new O(n,r(o({},i,{from:null!=(s=i.from)?s:{pathname:t.pathname}}))).load(a)})}function T(){return r.useContext(m)}function j(){var e;return null==(e=T())?void 0:e[0]}function A(){const e=E(),t=j(),n=N();return G(function(r){var o;let{search:i,hash:a,replace:s,from:l,to:c,fromCurrent:u}=r;u=null!=(o=u)?o:void 0===c;const d=n({to:c,search:i,hash:a,from:u?e.current:null!=l?l:{pathname:t.pathname}});e.navigate(d,s)})}function N(){const e=E(),t=P();return G(n=>{const r=R(t,e.buildNext(t.basepath,n)).map(e=>{var t;return null!=(t=e.route.searchFilters)?t:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,o({},n,{__searchFilters:r}))})}function I(){var e;const t=P(),[n,...o]=T(),i=o[0];if(!i)return null;const a=null!=(e=i.errorElement)?e:t.defaultErrorElement,s=(()=>{var e,n;if("rejected"===i.status){if(a)return a;if(!t.useErrorBoundary)return"An unknown error occured!";throw i.error}const o=null!=(e=i.pendingElement)?e:t.defaultPendingElement;if("loading"===i.status)return null;if("pending"===i.status&&(i.route.pendingMs||o))return null!=o?o:null;const s=null!=(n=i.element)?n:t.defaultElement;return null!=s?s:r.createElement(I,null)})();return r.createElement(x,{value:o},s)}function M(){const e=P(),t=j();return G(n=>W(e.basepath,t.pathname,B(n)))}function F(e,t){const n=V(e,t),r=function(e,t){return!(!t.search||!t.search(e.search))}(e,t);if((!t.to||n)&&(!t.search||r))return null!=n?n:{}}function $(){const e=P(),t=M();return G(n=>{let{pending:r}=n,a=i(n,p);if(a=o({},a,{to:a.to?t(""+a.to):void 0}),r){var s;if(null==(s=e.pending)||!s.location)return;return F(e.pending.location,a)}return F(e.state.location,a)})}function z(e,t){const n=E();r.useEffect(()=>{if(!t)return;let r=n.history.block(t=>{window.confirm(e)?(r(),t.retry()):n.current.pathname=window.location.pathname});return r},[t,n,e])}function U(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function H(e,t){return"function"==typeof e?e(t):e}function q(e){return B(e.filter(Boolean).join("/"))}function B(e){return(""+e).replace(/\/{2,}/g,"/")}function V(e,t){var n;const r=K(e.pathname),o=K(""+(null!=(n=t.to)?n:"*")),i={};return(()=>{for(let e=0;e<Math.max(r.length,o.length);e++){const n=r[e],a=o[e],s=e===o.length-1,l=e===r.length-1;if(a){if("wildcard"===a.type)return!(null==n||!n.value||(i["*"]=q(r.slice(e).map(e=>e.value)),0));if("pathname"===a.type){if("/"===a.value&&(null==n||!n.value))return!0;if(n)if(t.caseSensitive){if(a.value!==n.value)return!1}else if(a.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;"param"===a.type&&(i[a.value.substring(1)]=n.value)}if(s&&!l)return!!t.fuzzy}return!0})()?i:void 0}function K(e){if(!e)return[];const t=[];if("/"===(e=B(e)).slice(0,1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(e=>e.startsWith("*")?{type:"wildcard",value:e}:":"===e.charAt(0)?{type:"param",value:e}:{type:"pathname",value:e})),"/"===e.slice(-1)&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function W(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=K(t);const o=K(n);return o.forEach((e,t)=>{if("/"===e.value)t?t===o.length-1&&r.push(e):r=[e];else if(".."===e.value)r.pop();else{if("."===e.value)return;r.push(e)}}),B(q([e,...r.map(e=>e.value)]))}function G(e){const t=r.useRef(),n=r.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function Y(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||X(e)&&X(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const r=n?l:o[l];a[r]=Y(e[r],t[r]),a[r]===e[r]&&s++}return r===i&&s===r?e:a}return t}function X(e){if(!J(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!J(n)&&!!n.hasOwnProperty("isPrototypeOf")}function J(e){return"[object Object]"===Object.prototype.toString.call(e)}const Q=ee(JSON.parse),Z=te(JSON.stringify);function ee(e){return t=>{"?"===t.substring(0,1)&&(t=t.substring(1));let n=function(e){for(var t,n,r={},o=e.split("&");t=o.shift();)void 0!==r[n=(t=t.split("=")).shift()]?r[n]=[].concat(r[n],a(t.shift())):r[n]=a(t.shift());return r}(t);for(let r in n){const t=n[r];if("string"==typeof t)try{n[r]=e(t)}catch(e){}}return n}}function te(e){return t=>{(t=o({},t))&&Object.keys(t).forEach(n=>{const r=t[n];if(void 0===r||void 0===r)delete t[n];else if(r&&"object"==typeof r&&null!==r)try{t[n]=e(r)}catch(e){}});const n=function(e){var t,n,r,o="";for(t in e)if(void 0!==(r=e[t]))if(Array.isArray(r))for(n=0;n<r.length;n++)o&&(o+="&"),o+=encodeURIComponent(t)+"="+encodeURIComponent(r[n]);else o&&(o+="&"),o+=encodeURIComponent(t)+"="+encodeURIComponent(r);return""+o}(t).toString();return n?"?"+n:""}}Object.defineProperty(e,"createBrowserHistory",{enumerable:!0,get:function(){return n.createBrowserHistory}}),Object.defineProperty(e,"createHashHistory",{enumerable:!0,get:function(){return n.createHashHistory}}),Object.defineProperty(e,"createMemoryHistory",{enumerable:!0,get:function(){return n.createMemoryHistory}}),e.Link=function(e){var t;let{to:n=".",search:a,hash:s,children:l,target:c,style:p={},replace:f,onClick:g,onMouseEnter:m,className:v="",getActiveProps:y=()=>({className:"active"}),getInactiveProps:b=()=>({}),activeOptions:w,preload:x,disabled:_,_ref:k}=e,S=i(e,u);const O=D(),C=j(),R=E(),L=P(),T=A(),I=N();x=null!=(t=x)?t:L.defaultLinkPreloadMaxAge;try{U(!1,"<Link /> should not be used for external URLs like: "+new URL(""+n).href)}catch(e){}const M=I({to:n,search:a,hash:s,from:{pathname:C.pathname}}),F=R.current.pathname===M.pathname,$=R.current.pathname.split("/"),z=M.pathname.split("/").every((e,t)=>e===$[t]),H=R.current.hash===M.hash,q=null!=w&&w.exact?F:z,B=null==w||!w.includeHash||H,V=q&&B,K=V?y():{},{style:W={},className:G=""}=K,Y=i(K,d),X=V?{}:b(),{style:J={},className:Q=""}=X,Z=i(X,h);return r.createElement("a",o({ref:k,href:_?void 0:M.href,onClick:e=>{_||(g&&g(e),function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||e.defaultPrevented||c&&"_self"!==c||0!==e.button||(e.preventDefault(),T({to:n,search:a,hash:s,replace:f,from:{pathname:C.pathname}})))},onMouseEnter:e=>{m&&m(e),x&&x>0&&O({to:n,search:a,hash:s},{maxAge:x})},target:c,style:o({},p,W,J),className:[v,G,Q].filter(Boolean).join(" ")||void 0},_?{role:"link","aria-disabled":!0}:void 0,S,Y,Z,{children:"function"==typeof l?l({isActive:V}):l}))},e.MatchRoute=function(e){let{children:t}=e,n=i(e,f);const r=$()(n);return"function"==typeof t?t(r):r?t:null},e.MatchesProvider=x,e.Navigate=function(e){let t=A();return b(()=>{t(e)},[t]),null},e.Outlet=I,e.Prompt=function(e){let{message:t,when:n,children:r}=e;return z(t,null==n||n),null!=r?r:null},e.ReactLocation=class extends w{constructor(e){var t,r;super(),this.isTransitioning=!1,this.history=(null==e?void 0:e.history)||(y?n.createBrowserHistory():n.createMemoryHistory()),this.stringifySearch=null!=(t=null==e?void 0:e.stringifySearch)?t:Z,this.parseSearch=null!=(r=null==e?void 0:e.parseSearch)?r:Q,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(e=>{this.current=this.parseLocation(e.location,this.current),this.notify()})}buildNext(e,t){var n,r,i,a;void 0===e&&(e="/"),void 0===t&&(t={});const s=o({},this.current,t.from),l=W(e,s.pathname,""+(null!=(n=t.to)?n:".")),c=null!=(r=t.__searchFilters)&&r.length?t.__searchFilters.reduce((e,t)=>t(e),s.search):s.search,u=!0===t.search?c:t.search?null!=(i=H(t.search,c))?i:{}:null!=(a=t.__searchFilters)&&a.length?c:{},d=Y(s.search,u),h=this.stringifySearch(d);let p=!0===t.hash?s.hash:H(t.hash,s.hash);return p=p?"#"+p:"",{pathname:l,search:d,searchStr:h,hash:p,href:""+l+h+p,key:t.key}}navigate(e,t){this.current=e,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let n="replace";return t||(n="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(n="replace"),"replace"===n?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}parseLocation(e,t){var n;const r=this.parseSearch(e.search);return{pathname:e.pathname,searchStr:e.search,search:Y(null==t?void 0:t.search,r),hash:null!=(n=e.hash.split("#").reverse()[0])?n:"",href:""+e.pathname+e.search+e.hash,key:e.key}}},e.RouteMatch=S,e.Router=function(e){let{children:t,location:n,__experimental__snapshot:o}=e,a=i(e,s);const l=r.useRef(null);l.current||(l.current=new k({location:n,__experimental__snapshot:o,routes:a.routes}));const c=l.current,[u,d]=r.useReducer(()=>({}),{});return c.update(a),b(()=>c.subscribe(()=>{d()}),[]),b(()=>c.updateLocation(n.current).unsubscribe,[n.current.key]),r.createElement(g.Provider,{value:{location:n}},r.createElement(v.Provider,{value:{router:c}},r.createElement(_,null),r.createElement(x,{value:[c.rootMatch,...c.state.matches]},null!=t?t:r.createElement(I,null))))},e.RouterInstance=k,e.cleanPath=B,e.defaultParseSearch=Q,e.defaultStringifySearch=Z,e.functionalUpdate=H,e.matchByPath=V,e.matchRoute=F,e.matchRoutes=R,e.parsePathname=K,e.parseSearchWith=ee,e.resolvePath=W,e.stringifySearchWith=te,e.useLoadRoute=D,e.useLocation=E,e.useMatch=j,e.useMatchRoute=$,e.useMatches=T,e.useNavigate=A,e.useParentMatches=function(){const e=P(),t=j(),n=e.state.matches;return n.slice(0,n.findIndex(e=>e.id===t.id)-1)},e.usePrompt=z,e.useResolvePath=M,e.useRouter=P,e.useSearch=function(){return E().current.search},Object.defineProperty(e,"__esModule",{value:!0})})}),V("mt",Aa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}),V("at",Na="undefined"==typeof window||"Deno"in globalThis),Ia=Symbol(),Ma=G(Z(),1),Fa=ja(),$a=new WeakMap,za=new WeakMap,Ua=new WeakMap,V("$",Ha=new class extends Aa{constructor(){super(),Ly(this,$a,void 0),Ly(this,za,void 0),Ly(this,Ua,void 0),Ty(Ua,this,e=>{if(!Na&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){jy(za,this)||this.setEventListener(jy(Ua,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=jy(za,this))||void 0===e||e.call(this),Ty(za,this,void 0))}setEventListener(e){var t;Ty(Ua,this,e),null===(t=jy(za,this))||void 0===t||t.call(this),Ty(za,this,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){jy($a,this)!==e&&(Ty($a,this,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof jy($a,this)?jy($a,this):"hidden"!==(null===(e=globalThis.document)||void 0===e?void 0:e.visibilityState)}}),qa=new WeakMap,Ba=new WeakMap,Va=new WeakMap,Ka=new class extends Aa{constructor(){super(),Ly(this,qa,!0),Ly(this,Ba,void 0),Ly(this,Va,void 0),Ty(Va,this,e=>{if(!Na&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}onSubscribe(){jy(Ba,this)||this.setEventListener(jy(Va,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=jy(Ba,this))||void 0===e||e.call(this),Ty(Ba,this,void 0))}setEventListener(e){var t;Ty(Va,this,e),null===(t=jy(Ba,this))||void 0===t||t.call(this),Ty(Ba,this,e(this.setOnline.bind(this)))}setOnline(e){jy(qa,this)!==e&&(Ty(qa,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return jy(qa,this)}},Wa=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}},Ga=e=>setTimeout(e,0),V("Z",Ya=$y()),Xa=new WeakMap,Ja=class{constructor(){Ly(this,Xa,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hy(this.gcTime)&&Ty(Xa,this,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:Na?1/0:3e5)}clearGcTimeout(){jy(Xa,this)&&(clearTimeout(jy(Xa,this)),Ty(Xa,this,void 0))}},Qa=new WeakMap,Za=new WeakMap,es=new WeakMap,ts=new WeakMap,ns=new WeakMap,rs=new WeakMap,os=new WeakMap,is=new WeakSet,as=class extends Ja{constructor(e){var t;super(),zy(this,is),Ly(this,Qa,void 0),Ly(this,Za,void 0),Ly(this,es,void 0),Ly(this,ts,void 0),Ly(this,ns,void 0),Ly(this,rs,void 0),Ly(this,os,void 0),Ty(os,this,!1),Ty(rs,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],Ty(ts,this,e.client),Ty(es,this,jy(ts,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Ty(Qa,this,function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=null!==(t=e.state)&&void 0!==t?t:jy(Qa,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return null===(e=jy(ns,this))||void 0===e?void 0:e.promise}setOptions(e){this.options=K(K({},jy(rs,this)),e),this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||jy(es,this).remove(this)}setData(e,t){const n=Sy(this.state.data,e,this.options);return Dy(is,this,Uy).call(this,{data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){Dy(is,this,Uy).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const r=null===(t=jy(ns,this))||void 0===t?void 0:t.promise;return null===(n=jy(ns,this))||void 0===n||n.cancel(e),r?r.then(dy).catch(dy):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(jy(Qa,this))}isActive(){return this.observers.some(e=>!1!==gy(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ia||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===fy(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!py(this.state.dataUpdatedAt,e))}onFocus(){var e,t;null===(e=this.observers.find(e=>e.shouldFetchOnWindowFocus()))||void 0===e||e.refetch({cancelRefetch:!1}),null===(t=jy(ns,this))||void 0===t||t.continue()}onOnline(){var e,t;null===(e=this.observers.find(e=>e.shouldFetchOnReconnect()))||void 0===e||e.refetch({cancelRefetch:!1}),null===(t=jy(ns,this))||void 0===t||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),jy(es,this).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(jy(ns,this)&&(jy(os,this)?jy(ns,this).cancel({revert:!0}):jy(ns,this).cancelRetry()),this.scheduleGc()),jy(es,this).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Dy(is,this,Uy).call(this,{type:"invalidate"})}fetch(e,t){var n,r,o;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(jy(ns,this))return jy(ns,this).continueRetry(),jy(ns,this).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const i=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(Ty(os,this,!0),i.signal)})},s=()=>{const e=Py(this.options,t),n=(()=>{const e={client:jy(ts,this),queryKey:this.queryKey,meta:this.meta};return a(e),e})();return Ty(os,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},l=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:jy(ts,this),state:this.state,fetchFn:s};return a(e),e})();null===(n=this.options.behavior)||void 0===n||n.onFetch(l,this),Ty(Za,this,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===(null===(r=l.fetchOptions)||void 0===r?void 0:r.meta)||Dy(is,this,Uy).call(this,{type:"fetch",meta:null===(o=l.fetchOptions)||void 0===o?void 0:o.meta});const c=e=>{var t,n,r,o;(My(e)&&e.silent||Dy(is,this,Uy).call(this,{type:"error",error:e}),My(e))||(null===(t=(n=jy(es,this).config).onError)||void 0===t||t.call(n,e,this),null===(r=(o=jy(es,this).config).onSettled)||void 0===r||r.call(o,this.state.data,e,this));this.scheduleGc()};return Ty(ns,this,Fy({initialPromise:null==t?void 0:t.initialPromise,fn:l.fetchFn,abort:i.abort.bind(i),onSuccess:e=>{var t,n,r,o;if(void 0!==e){try{this.setData(e)}catch(i){return void c(i)}null===(t=(n=jy(es,this).config).onSuccess)||void 0===t||t.call(n,e,this),null===(r=(o=jy(es,this).config).onSettled)||void 0===r||r.call(o,e,this.state.error,this),this.scheduleGc()}else c(new Error(`${this.queryHash} data is undefined`))},onError:c,onFail:(e,t)=>{Dy(is,this,Uy).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{Dy(is,this,Uy).call(this,{type:"pause"})},onContinue:()=>{Dy(is,this,Uy).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),jy(ns,this).start()}},ss=new WeakMap,ls=class extends Aa{constructor(e={}){super(),Ly(this,ss,void 0),this.config=e,Ty(ss,this,new Map)}build(e,t,n){var r;const o=t.queryKey,i=null!==(r=t.queryHash)&&void 0!==r?r:yy(o,t);let a=this.get(i);return a||(a=new as({client:e,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){jy(ss,this).has(e.queryHash)||(jy(ss,this).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=jy(ss,this).get(e.queryHash);t&&(e.destroy(),t===e&&jy(ss,this).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ya.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return jy(ss,this).get(e)}getAll(){return[...jy(ss,this).values()]}find(e){const t=K({exact:!0},e);return this.getAll().find(e=>my(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>my(e,t)):t}notify(e){Ya.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ya.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ya.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},cs=new WeakMap,us=new WeakMap,ds=new WeakMap,hs=new WeakSet,ps=class extends Ja{constructor(e){super(),zy(this,hs),Ly(this,cs,void 0),Ly(this,us,void 0),Ly(this,ds,void 0),this.mutationId=e.mutationId,Ty(us,this,e.mutationCache),Ty(cs,this,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){jy(cs,this).includes(e)||(jy(cs,this).push(e),this.clearGcTimeout(),jy(us,this).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Ty(cs,this,jy(cs,this).filter(t=>t!==e)),this.scheduleGc(),jy(us,this).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){jy(cs,this).length||("pending"===this.state.status?this.scheduleGc():jy(us,this).remove(this))}continue(){var e,t;return null!==(e=null===(t=jy(ds,this))||void 0===t?void 0:t.continue())&&void 0!==e?e:this.execute(this.state.variables)}async execute(e){var t;const n=()=>{Dy(hs,this,qy).call(this,{type:"continue"})};Ty(ds,this,Fy({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{Dy(hs,this,qy).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{Dy(hs,this,qy).call(this,{type:"pause"})},onContinue:n,retry:null!==(t=this.options.retry)&&void 0!==t?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>jy(us,this).canRun(this)}));const r="pending"===this.state.status,o=!jy(ds,this).canStart();try{var i,a,s,l,c,u,d,h;if(r)n();else{var p,f,g,m;Dy(hs,this,qy).call(this,{type:"pending",variables:e,isPaused:o}),await(null===(p=(f=jy(us,this).config).onMutate)||void 0===p?void 0:p.call(f,e,this));const t=await(null===(g=(m=this.options).onMutate)||void 0===g?void 0:g.call(m,e));t!==this.state.context&&Dy(hs,this,qy).call(this,{type:"pending",context:t,variables:e,isPaused:o})}const t=await jy(ds,this).start();return await(null===(i=(a=jy(us,this).config).onSuccess)||void 0===i?void 0:i.call(a,t,e,this.state.context,this)),await(null===(s=(l=this.options).onSuccess)||void 0===s?void 0:s.call(l,t,e,this.state.context)),await(null===(c=(u=jy(us,this).config).onSettled)||void 0===c?void 0:c.call(u,t,null,this.state.variables,this.state.context,this)),await(null===(d=(h=this.options).onSettled)||void 0===d?void 0:d.call(h,t,null,e,this.state.context)),Dy(hs,this,qy).call(this,{type:"success",data:t}),t}catch(S){try{var v,y,b,w,x,_,k,E;throw await(null===(v=(y=jy(us,this).config).onError)||void 0===v?void 0:v.call(y,S,e,this.state.context,this)),await(null===(b=(w=this.options).onError)||void 0===b?void 0:b.call(w,S,e,this.state.context)),await(null===(x=(_=jy(us,this).config).onSettled)||void 0===x?void 0:x.call(_,void 0,S,this.state.variables,this.state.context,this)),await(null===(k=(E=this.options).onSettled)||void 0===k?void 0:k.call(E,void 0,S,e,this.state.context)),S}finally{Dy(hs,this,qy).call(this,{type:"error",error:S})}}finally{jy(us,this).runNext(this)}}},fs=new WeakMap,gs=new WeakMap,ms=new WeakMap,vs=class extends Aa{constructor(e={}){super(),Ly(this,fs,void 0),Ly(this,gs,void 0),Ly(this,ms,void 0),this.config=e,Ty(fs,this,new Set),Ty(gs,this,new Map),Ty(ms,this,0)}build(e,t,n){var r;const o=new ps({mutationCache:this,mutationId:Ty(ms,this,(r=jy(ms,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(o),o}add(e){jy(fs,this).add(e);const t=Vy(e);if("string"==typeof t){const n=jy(gs,this).get(t);n?n.push(e):jy(gs,this).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(jy(fs,this).delete(e)){const t=Vy(e);if("string"==typeof t){const n=jy(gs,this).get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&jy(gs,this).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Vy(e);if("string"==typeof t){var n;const r=null===(n=jy(gs,this).get(t))||void 0===n?void 0:n.find(e=>"pending"===e.state.status);return!r||r===e}return!0}runNext(e){var t,n;const r=Vy(e);return"string"==typeof r&&null!==(t=null===(n=jy(gs,this).get(r))||void 0===n||null===(n=n.find(t=>t!==e&&t.state.isPaused))||void 0===n?void 0:n.continue())&&void 0!==t?t:Promise.resolve()}clear(){Ya.batch(()=>{jy(fs,this).forEach(e=>{this.notify({type:"removed",mutation:e})}),jy(fs,this).clear(),jy(gs,this).clear()})}getAll(){return Array.from(jy(fs,this))}find(e){const t=K({exact:!0},e);return this.getAll().find(e=>vy(t,e))}findAll(e={}){return this.getAll().filter(t=>vy(e,t))}notify(e){Ya.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return Ya.batch(()=>Promise.all(e.map(e=>e.continue().catch(dy))))}},ys=new WeakMap,bs=new WeakMap,ws=new WeakMap,xs=new WeakMap,_s=new WeakMap,ks=new WeakMap,Es=new WeakMap,Ss=new WeakMap,Os=class{constructor(e={}){Ly(this,ys,void 0),Ly(this,bs,void 0),Ly(this,ws,void 0),Ly(this,xs,void 0),Ly(this,_s,void 0),Ly(this,ks,void 0),Ly(this,Es,void 0),Ly(this,Ss,void 0),Ty(ys,this,e.queryCache||new ls),Ty(bs,this,e.mutationCache||new vs),Ty(ws,this,e.defaultOptions||{}),Ty(xs,this,new Map),Ty(_s,this,new Map),Ty(ks,this,0)}mount(){var e;Ty(ks,this,(e=jy(ks,this),++e)),1===jy(ks,this)&&(Ty(Es,this,Ha.subscribe(async e=>{e&&(await this.resumePausedMutations(),jy(ys,this).onFocus())})),Ty(Ss,this,Ka.subscribe(async e=>{e&&(await this.resumePausedMutations(),jy(ys,this).onOnline())})))}unmount(){var e,t,n;Ty(ks,this,(n=jy(ks,this),--n)),0===jy(ks,this)&&(null===(e=jy(Es,this))||void 0===e||e.call(this),Ty(Es,this,void 0),null===(t=jy(Ss,this))||void 0===t||t.call(this),Ty(Ss,this,void 0))}isFetching(e){return jy(ys,this).findAll(K(K({},e),{},{fetchStatus:"fetching"})).length}isMutating(e){return jy(bs,this).findAll(K(K({},e),{},{status:"pending"})).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=jy(ys,this).get(n.queryHash))||void 0===t?void 0:t.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=jy(ys,this).build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(fy(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return jy(ys,this).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){var r;const o=this.defaultQueryOptions({queryKey:e}),i=function(e,t){return"function"==typeof e?e(t):e}(t,null===(r=jy(ys,this).get(o.queryHash))||void 0===r?void 0:r.state.data);if(void 0!==i)return jy(ys,this).build(this,o).setData(i,K(K({},n),{},{manual:!0}))}setQueriesData(e,t,n){return Ya.batch(()=>jy(ys,this).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=jy(ys,this).get(n.queryHash))||void 0===t?void 0:t.state}removeQueries(e){const t=jy(ys,this);Ya.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=jy(ys,this);return Ya.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(K({type:"active"},e),t)))}cancelQueries(e,t={}){const n=K({revert:!0},t),r=Ya.batch(()=>jy(ys,this).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(dy).catch(dy)}invalidateQueries(e,t={}){return Ya.batch(()=>{var n,r;return jy(ys,this).findAll(e).forEach(e=>{e.invalidate()}),"none"===(null==e?void 0:e.refetchType)?Promise.resolve():this.refetchQueries(K(K({},e),{},{type:null!==(n=null!==(r=null==e?void 0:e.refetchType)&&void 0!==r?r:null==e?void 0:e.type)&&void 0!==n?n:"active"}),t)})}refetchQueries(e,t={}){var n;const r=K(K({},t),{},{cancelRefetch:null===(n=t.cancelRefetch)||void 0===n||n}),o=Ya.batch(()=>jy(ys,this).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(dy)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(o).then(dy)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=jy(ys,this).build(this,t);return n.isStaleByTime(fy(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dy).catch(dy)}fetchInfiniteQuery(e){return e.behavior=Ky(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dy).catch(dy)}ensureInfiniteQueryData(e){return e.behavior=Ky(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ka.isOnline()?jy(bs,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return jy(ys,this)}getMutationCache(){return jy(bs,this)}getDefaultOptions(){return jy(ws,this)}setDefaultOptions(e){Ty(ws,this,e)}setQueryDefaults(e,t){jy(xs,this).set(by(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...jy(xs,this).values()],n={};return t.forEach(t=>{wy(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){jy(_s,this).set(by(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...jy(_s,this).values()],n={};return t.forEach(t=>{wy(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t=K(K(K(K({},jy(ws,this).queries),this.getQueryDefaults(e.queryKey)),e),{},{_defaulted:!0});return t.queryHash||(t.queryHash=yy(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ia&&(t.enabled=!1),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:K(K(K(K({},jy(ws,this).mutations),(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey)),e),{},{_defaulted:!0})}clear(){jy(ys,this).clear(),jy(bs,this).clear()}},Cs=Q(e=>{var t=ee(),n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,l={},c=null,u=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:u,props:l,_owner:i.current}}e.Fragment=r,e.jsx=s,e.jsxs=s}),V("q",Ps=Q((e,t)=>{t.exports=Cs()})),Rs=Ps(),Ls=Wt.createContext(void 0),V("K",e=>{const t=Wt.useContext(Ls);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t}),Ds=({client:e,children:t})=>(Wt.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,Rs.jsx)(Ls.Provider,{value:e,children:t})),Ts=(0,Wt.createContext)(null),js={didCatch:!1,error:null},As=class extends Wt.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=js}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(null!==e){for(var t,n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];null===(t=(n=this.props).onReset)||void 0===t||t.call(n,{args:o,reason:"imperative-api"}),this.setState(js)}}componentDidCatch(e,t){var n,r;null===(n=(r=this.props).onError)||void 0===n||n.call(r,e,t)}componentDidUpdate(e,t){const{didCatch:n}=this.state,{resetKeys:r}=this.props;var o,i;n&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}(e.resetKeys,r)&&(null===(o=(i=this.props).onReset)||void 0===o||o.call(i,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(js))}render(){const{children:e,fallbackRender:t,FallbackComponent:n,fallback:r}=this.props,{didCatch:o,error:i}=this.state;let a=e;if(o){const e={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)a=t(e);else if(n)a=(0,Wt.createElement)(n,e);else{if(void 0===r)throw i;a=r}}return(0,Wt.createElement)(Ts.Provider,{value:{didCatch:o,error:i,resetErrorBoundary:this.resetErrorBoundary}},a)}},Ns=function(e){return e.LOCAL_CONTENT="local-content",e.LOCAL_CONTENT_GOOGLE_MAPS="local-content-google-maps",e.LOCAL_DEMOGRAPHICS="local-demographics",e.NEIGHBORHOOD_HERO="neighborhood-hero",e.NEIGHBORHOOD_MAP="neighborhood-map",e.NEIGHBORHOOD_CHARACTERISTICS="neighborhood-characteristics",e.NEIGHBORHOOD_HIGHLIGHTS="neighborhood-highlights",e.NEIGHBORHOOD_DEMOGRAPHICS="neighborhood-demographics",e.NEIGHBORHOOD_PROPERTY_VALUE_DRIVERS="neighborhood-property-value-drivers",e.NEIGHBORHOOD_MATCH="neighborhood-match",e.NEIGHBORHOOD_MARKET_TRENDS="neighborhood-market-trends",e.NEIGHBORHOOD_SCHOOLS="neighborhood-schools",e.LEAD_CAPTURE="lead-capture",e.NEIGHBORHOOD_SHOWCASE="neighborhood-showcase",e.NEIGHBORHOOD_FEATURED="neighborhood-featured",e}({}),V("G",Is=function(e,t,n){let r=Promise.resolve();function o(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&o(e.reason);return e().catch(o)})}),Ms=new Fa.ReactLocation,Fs=Wt.lazy(()=>Is(()=>W.import("./LocalContent-legacy-is3KMNbp.js"),void 0)),$s=Wt.lazy(()=>Is(()=>W.import("./LocalDemographics-legacy-jYYfhemY.js"),void 0)),zs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodHero-legacy-DBXy8A9v.js"),void 0)),Us=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodMap-legacy-qKRq45VQ.js"),void 0)),Hs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodCharacteristics-legacy-N-y878TT.js"),void 0)),qs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodHighlights-legacy-DuaIiUeU.js"),void 0)),Bs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodDemographics-legacy-Dm5pQwht.js"),void 0)),Vs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodPropertyValueDrivers-legacy-CSn26WOI.js"),void 0)),Ks=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodMatch-legacy-C9pmkVI0.js"),void 0)),Ws=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodMarketTrends-legacy-DflW5bwf.js"),void 0)),Gs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodSchools-legacy-DZOdDDpP.js"),void 0)),Ys=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodShowcase-legacy-BkNvt6P2.js"),void 0)),Xs=Wt.lazy(()=>Is(()=>W.import("./NeighborhoodFeatured-legacy-DFs2mouX.js"),void 0)),Js=Wt.lazy(()=>Is(()=>W.import("./LeadCapture-legacy-B2kUL7l2.js"),void 0)),Qs=({children:e})=>(0,Rs.jsx)(Fa.Router,{location:Ms,routes:[{path:`/sdks-app/v1/${Ns.LOCAL_CONTENT}`,element:(0,Rs.jsx)(Fs,{})},{path:`/sdks-app/v1/${Ns.LOCAL_DEMOGRAPHICS}`,element:(0,Rs.jsx)($s,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_MAP}`,element:(0,Rs.jsx)(Us,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_HERO}`,element:(0,Rs.jsx)(zs,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_CHARACTERISTICS}`,element:(0,Rs.jsx)(Hs,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_HIGHLIGHTS}`,element:(0,Rs.jsx)(qs,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_DEMOGRAPHICS}`,element:(0,Rs.jsx)(Bs,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_PROPERTY_VALUE_DRIVERS}`,element:(0,Rs.jsx)(Vs,{})},{path:`/sdks-app/v1/local-${Ns.NEIGHBORHOOD_MATCH}`,element:(0,Rs.jsx)(Ks,{})},{path:"/sdks-app/v1/demographics",element:(0,Rs.jsx)($s,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_MAP}`,element:(0,Rs.jsx)(Us,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_HERO}`,element:(0,Rs.jsx)(zs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_CHARACTERISTICS}`,element:(0,Rs.jsx)(Hs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_HIGHLIGHTS}`,element:(0,Rs.jsx)(qs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_DEMOGRAPHICS}`,element:(0,Rs.jsx)(Bs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_PROPERTY_VALUE_DRIVERS}`,element:(0,Rs.jsx)(Vs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_MATCH}`,element:(0,Rs.jsx)(Ks,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_MARKET_TRENDS}`,element:(0,Rs.jsx)(Ws,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_SCHOOLS}`,element:(0,Rs.jsx)(Gs,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_SHOWCASE}`,element:(0,Rs.jsx)(Ys,{})},{path:`/sdks-app/v1/${Ns.NEIGHBORHOOD_FEATURED}`,element:(0,Rs.jsx)(Xs,{})},{path:`/sdks-app/v1/${Ns.LEAD_CAPTURE}`,element:(0,Rs.jsx)(Js,{})}],children:e}),V("W",Zs={"--ll-base-unit":"var(--ll-base-unit)","--ll-color-primary":"var(--ll-color-primary)","--ll-color-primary-variant1":"var(--ll-color-primary-variant1)","--ll-color-background":"var(--ll-color-background)","--ll-color-surface":"var(--ll-color-surface)","--ll-color-surface-variant1":"var(--ll-color-surface-variant1)","--ll-color-surface-variant2":"var(--ll-color-surface-variant2)","--ll-color-on-primary":"var(--ll-color-on-primary)","--ll-color-on-primary-variant1":"var(--ll-color-on-primary-variant1)","--ll-color-on-background":"var(--ll-color-on-background)","--ll-color-on-background-variant1":"var(--ll-color-on-background-variant1)","--ll-color-on-surface":"var(--ll-color-on-surface)","--ll-color-on-surface-variant1":"var(--ll-color-on-surface-variant1)","--ll-color-placeholder":"var(--ll-color-placeholder)","--ll-color-disabled":"var(--ll-color-disabled)","--ll-color-border":"var(--ll-color-border)","--ll-color-link":"var(--ll-color-link)","--ll-sdk-title-color":"var(--ll-sdk-title-color)","--ll-color-error":"var(--ll-color-error)","--ll-border-radius-base-unit":"var(--ll-border-radius-base-unit)","--ll-border-radius-small":"var(--ll-border-radius-small)","--ll-border-radius-medium":"var(--ll-border-radius-medium)","--ll-border-radius-large":"var(--ll-border-radius-large)","--ll-shadow-small":"var(--ll-shadow-small)","--ll-shadow-medium":"var(--ll-shadow-medium)","--ll-spacing-base-unit":"var(--ll-spacing-base-unit)","--ll-spacing-auto":"var(--ll-spacing-auto)","--ll-spacing-xx-small":"var(--ll-spacing-xx-small)","--ll-spacing-x-small":"var(--ll-spacing-x-small)","--ll-spacing-small":"var(--ll-spacing-small)","--ll-spacing-medium":"var(--ll-spacing-medium)","--ll-spacing-large":"var(--ll-spacing-large)","--ll-spacing-x-large":"var(--ll-spacing-x-large)","--ll-spacing-xx-large":"var(--ll-spacing-xx-large)","--ll-spacing-xxx-large":"var(--ll-spacing-xxx-large)","--ll-font-family":"var(--ll-font-family)","--ll-font-family-mono":"var(--ll-font-family-mono)","--ll-font-size-base":"var(--ll-font-size-base)","--ll-font-size-h1":"var(--ll-font-size-h1)","--ll-font-size-h2":"var(--ll-font-size-h2)","--ll-font-size-h3":"var(--ll-font-size-h3)","--ll-font-size-h4":"var(--ll-font-size-h4)","--ll-font-size-h5":"var(--ll-font-size-h5)","--ll-font-size-h6":"var(--ll-font-size-h6)","--ll-font-size-p":"var(--ll-font-size-p)","--ll-font-size-caption-1":"var(--ll-font-size-caption-1)","--ll-font-size-caption-2":"var(--ll-font-size-caption-2)","--ll-font-weight-light":"var(--ll-font-weight-light)","--ll-font-weight-normal":"var(--ll-font-weight-normal)","--ll-font-weight-medium":"var(--ll-font-weight-medium)","--ll-font-weight-semibold":"var(--ll-font-weight-semibold)","--ll-font-weight-bold":"var(--ll-font-weight-bold)"}),el=J({blueColors:()=>rl,neutralColors:()=>nl,primaryColors:()=>tl}),tl={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},nl={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},rl={colorBlue70:"#0056D3"},ol=J({transitions:()=>il}),il={default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}},al=J({screenSizes:()=>sl}),sl={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},V("U",K(K({colors:el},ol),al)),ll=({SVGElement:e,fill:t=`${Zs["--ll-color-on-background"]}`,className:n,height:r=24,width:o=24})=>(0,Rs.jsx)("div",{className:`${n} [&>svg]:fill-inherit`,style:{height:`${r}px`,width:`${o}px`,fill:t},children:(0,Rs.jsx)(e,{})}),V("H",cl=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",lineClamp:o,noMargin:i,lineHeight:a,weight:s="normal",family:l="sans-serif",className:c,textTransform:u="none",letterSpacing:d,fontVariant:h="initial"})=>(0,Rs.jsx)(`${["caption1","caption2","p"].includes(t)?"p":t}`,{style:{color:`${r in Zs?Zs[r]:r}`,fontVariant:`${h}`,lineHeight:a||"1.45",letterSpacing:`${d}`,fontWeight:Zs[s]},className:`${c} \n m-0 mb-2\n data-[nomargin=true]:mb-0\n data-[align=left]:text-left\n data-[align=center]:text-center\n data-[align=right]:text-right\n data-[variant=h1]:text-ll-font-size-h1\n data-[variant=h2]:text-ll-font-size-h2\n data-[variant=h3]:text-ll-font-size-h3\n data-[variant=h4]:text-ll-font-size-h4\n data-[variant=h5]:text-ll-font-size-h5\n data-[variant=h6]:text-ll-font-size-h6\n data-[variant=p]:text-ll-font-size-p\n data-[variant=caption1]:text-ll-font-size-caption-1\n data-[variant=caption2]:text-ll-font-size-caption-2\n data-[texttransform=capitalize]:capitalize\n data-[texttransform=uppercase]:uppercase\n data-[texttransform=lowercase]:lowercase\n data-[texttransform=none]:normal-case\n data-[family=sans-serif]:font-sans\n data-[family=mono]:font-mono\n\n data-[lineclamp=none]:line-clamp-none\n data-[lineclamp=none]:whitespace-nowrap\n data-[lineclamp="1"]:line-clamp-1\n data-[lineclamp="2"]:line-clamp-2\n data-[lineclamp="3"]:line-clamp-3\n data-[lineclamp="4"]:line-clamp-4\n data-[lineclamp="5"]:line-clamp-5\n data-[lineclamp="6"]:line-clamp-g\n`,"data-align":n,"data-variant":t,"data-texttransform":u,"data-family":l,"data-nomargin":i,"data-lineclamp":o,children:e})),ul=Symbol.for("react.lazy"),dl=Wt[" use ".trim().toString()],hl=Symbol("radix.slottable"),pl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,n)=>{const r=function(t){const n=Zy(t),r=Wt.forwardRef((t,r)=>{let{children:o}=t,i=B(t,e);Qy(o)&&"function"==typeof dl&&(o=dl(o._payload));const a=Wt.Children.toArray(o),s=a.find(eb);if(s){const e=s.props.children,t=a.map(t=>t===s?Wt.Children.count(e)>1?Wt.Children.only(null):Wt.isValidElement(e)?e.props.children:null:t);return(0,Rs.jsx)(n,K(K({},i),{},{ref:r,children:Wt.isValidElement(e)?Wt.cloneElement(e,void 0,t):null}))}return(0,Rs.jsx)(n,K(K({},i),{},{ref:r,children:o}))});return r.displayName=`${t}.Slot`,r}(`Primitive.${n}`),o=Wt.forwardRef((e,t)=>{const{asChild:o}=e,i=B(e,a),s=o?r:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,Rs.jsx)(s,K(K({},i),{},{ref:t}))});return o.displayName=`Primitive.${n}`,K(K({},t),{},{[n]:o})},{}),(fl=Wt.forwardRef((e,t)=>(0,Rs.jsx)(pl.label,K(K({},e),{},{ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})))).displayName="Label",gl=fl,ml=e=>(0,Rs.jsx)(gl,K({className:"\n text-ll-font-size-p text-ll-on-background font-sans\n"},e)),V("B",vl=({size:e="medium",image:t,color:n="default"})=>t?(0,Rs.jsx)("img",{src:"/sdks-app/v1/assets/spinner-qYD5cm1L.gif",alt:"Loading animation",width:90,height:90,className:"h-[90px] w-[90px] max-h-auto"}):(0,Rs.jsx)("div",{className:"\n border-solid \n border-ll-on-surface-variant1\n border-b-[transparent]\n rounded-[50%]\n inline-block\n border-box\n animate-spin\n\n data-[color=white]:border-white\n data-[color=white]:border-b-[transparent]\n\n data-[size=small]:h-4\n data-[size=small]:w-4\n data-[size=small]:border-2\n\n data-[size=medium]:h-6\n data-[size=medium]:w-6\n data-[size=medium]:border-4\n\n data-[size=large]:h-8\n data-[size=large]:w-8\n data-[size=large]:border-[6px]\n","data-size":e,"data-color":n})),yl=Wt.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",isLoading:s,props:l},c)=>(0,Rs.jsx)("button",K(K({"data-variant":r,"data-size":i,onClick:e=>{t||n&&(s||n(e))},disabled:t||s,className:"\n group\n font-normal rounded inline-flex items-center justify-center cursor-pointer\n bg-transparent border-0 box-border h-10 py-0 px-3\n text-ll-font-size-p\n\n disabled:cursor-default\n\n data-[size=small]:h-8\n data-[size=small]:px-2\n data-[size=small]:text-ll-font-size-caption-1\n\n data-[size=large]:h-12\n data-[size=large]:px-4\n\n data-[variant=contained]:bg-ll-primary\n data-[variant=contained]:text-ll-on-primary\n data-[variant=contained]:border\n data-[variant=contained]:border-solid\n data-[variant=contained]:border-transparent\n data-[variant=contained]:hover:bg-ll-primary-variant1\n data-[variant=contained]:disabled:bg-ll-disabled\n \n\n data-[variant=outlined]:bg-ll-background\n data-[variant=outlined]:text-ll-primary\n data-[variant=outlined]:border\n data-[variant=outlined]:border-solid\n data-[variant=outlined]:border-ll-primary\n data-[variant=outlined]:hover:bg-ll-surface-variant1\n data-[variant=outlined]:disabled:bg-ll-disabled\n data-[variant=outlined]:disabled:text-ll-on-primary\n data-[variant=outlined]:disabled:border-ll-on-background\n\n data-[variant=text]:text-ll-on-background\n",type:a,ref:c},l),{},{children:s?(0,Rs.jsx)(vl,{}):(0,Rs.jsxs)(Rs.Fragment,{children:[o&&(0,Rs.jsx)("div",{className:"\n flex items-center mr-2 ml-1\n [&>svg]:fill-current [&>svg]:h-5 [&>svg]:w-5\n\n group-data-[size=small]:[&>svg]:h-3\n group-data-[size=small]:[&>svg]:w-3\n\n group-data-[size=large]:[&>svg]:h-6\n group-data-[size=large]:[&>svg]:w-6\n",children:o}),e]})}))),yl.displayName="Button",bl=e=>Wt.createElement("svg",K({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Wt.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM10 8.59L13.59 5L15 6.41L11.41 10L15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59Z"})),(0,Wt.forwardRef)(({name:e,value:t,label:n,placeholder:r,className:o,autofocus:i=!1,hasError:a=!1,adornment:s,onBlur:l,onFocus:c,onClear:u,onChange:d},h)=>{const p=(0,Wt.useId)(),f=(0,Wt.useRef)(null),g=(0,Wt.useRef)(null);(0,Wt.useImperativeHandle)(h,()=>({focus:()=>{var e;null==f||null===(e=f.current)||void 0===e||e.focus()},get input(){return f.current},get container(){return g.current}}));const m=(0,Wt.useMemo)(()=>n?(0,Rs.jsx)(ml,{htmlFor:p,style:{lineHeight:"26px"},children:n}):null,[n]);return(0,Rs.jsxs)("div",{className:"\n flex flex-col flex-1\n",ref:g,children:[m,(0,Rs.jsxs)("div",{className:"\n border flex items-center bg-ll-background\n rounded-sm focus-within:shadow-lg\n data-[has-error=true]:border-ll-error\n data-[has-error=false]:border-ll-border\n","data-has-error":a,children:[s&&(0,Rs.jsx)("span",{className:"\n h-full w-[20px] flex justify-center items-center mx-2\n",children:s}),(0,Rs.jsx)("input",{type:"text",className:`${o} \n border flex-1 text-ll-on-background h-[30px]\n inline-flex justify-center items-center py-0 px-2\n leading-none font-sans text-ll-font-size-h6 md:text-ll-font-size-p \n `,ref:f,name:e,autoFocus:i,id:p,value:t,onBlur:l,onFocus:c,onChange:d,placeholder:r,style:s&&{width:"-webkit-fill-available"}}),u&&(0,Rs.jsx)(yl,{size:"small",variant:"text",onClick:u,children:(0,Rs.jsx)(bl,{})})]})]})}).displayName="Input",wl=Symbol("radix.slottable"),_l=new WeakMap,xl=new WeakMap,class e extends Map{constructor(e){super(e),Ly(this,xl,void 0),Ty(xl,this,[...super.keys()]),_l.set(this,!0)}set(e,t){return _l.get(this)&&(this.has(e)?jy(xl,this)[jy(xl,this).indexOf(e)]=e:jy(xl,this).push(e)),super.set(e,t),this}insert(e,t,n){const r=this.has(t),o=jy(xl,this).length,i=ub(e);let a=i>=0?i:o+i;const s=a<0||a>=o?-1:a;if(s===this.size||r&&s===this.size-1||-1===s)return this.set(t,n),this;const l=this.size+(r?0:1);i<0&&a++;const c=[...jy(xl,this)];let u,d=!1;for(let h=a;h<l;h++)if(a===h){let e=c[h];c[h]===t&&(e=c[h+1]),r&&this.delete(t),u=this.get(e),this.set(t,n)}else{d||c[h-1]!==t||(d=!0);const e=c[d?h:h-1],n=u;u=this.get(e),this.delete(e),this.set(e,n)}return this}with(t,n,r){const o=new e(this);return o.insert(t,n,r),o}before(e){const t=jy(xl,this).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){const r=jy(xl,this).indexOf(e);return-1===r?this:this.insert(r,t,n)}after(e){let t=jy(xl,this).indexOf(e);if(t=-1===t||t===this.size-1?-1:t+1,-1!==t)return this.entryAt(t)}setAfter(e,t,n){const r=jy(xl,this).indexOf(e);return-1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return Ty(xl,this,[]),super.clear()}delete(e){const t=super.delete(e);return t&&jy(xl,this).splice(jy(xl,this).indexOf(e),1),t}deleteAt(e){const t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){const t=cb(jy(xl,this),e);if(void 0!==t)return this.get(t)}entryAt(e){const t=cb(jy(xl,this),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return jy(xl,this).indexOf(e)}keyAt(e){return cb(jy(xl,this),e)}from(e,t){const n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){const n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return-1}filter(t,n){const r=[];let o=0;for(const e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){const r=[];let o=0;for(const e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(...e){const[t,n]=e;let r=0,o=null!=n?n:this.at(0);for(const i of this)o=0===r&&1===e.length?i:Reflect.apply(t,this,[o,i,r,this]),r++;return o}reduceRight(...e){const[t,n]=e;let r=null!=n?n:this.at(-1);for(let o=this.size-1;o>=0;o--){const n=this.at(o);r=o===this.size-1&&1===e.length?n:Reflect.apply(t,this,[r,n,o,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){const t=new e;for(let e=this.size-1;e>=0;e--){const n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){const n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){const r=new e;let o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){const t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(const r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(const r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}},kl=Wt.createContext(void 0),V("F",El=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=ib(`Primitive.${t}`),r=Wt.forwardRef((e,r)=>{const{asChild:o}=e,i=B(e,s),a=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,Rs.jsx)(a,K(K({},i),{},{ref:r}))});return r.displayName=`Primitive.${t}`,K(K({},e),{},{[t]:r})},{})),Sl="dismissableLayer.update",Ol="dismissableLayer.pointerDownOutside",Cl="dismissableLayer.focusOutside",Rl=Wt.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ll=Wt.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c}=e,u=B(e,l),d=Wt.useContext(Rl),[h,p]=Wt.useState(null),f=null!==(n=null==h?void 0:h.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,g]=Wt.useState({}),m=Jy(t,e=>p(e)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),w=h?v.indexOf(h):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,_=w>=b,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=hb(e),r=Wt.useRef(!1),o=Wt.useRef(()=>{});return Wt.useEffect(()=>{const e=e=>{if(e.target&&!r.current){let r=function(){fb(Ol,n,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));_&&!n&&(null==i||i(e),null==s||s(e),e.defaultPrevented||null==c||c())},f),E=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=hb(e),r=Wt.useRef(!1);return Wt.useEffect(()=>{const e=e=>{e.target&&!r.current&&fb(Cl,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==c||c())},f);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=hb(e);Wt.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{w===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},f),Wt.useEffect(()=>{if(h)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Pl=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),pb(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=Pl)}},[h,f,r,d]),Wt.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),pb())},[h,d]),Wt.useEffect(()=>{const e=()=>g({});return document.addEventListener(Sl,e),()=>document.removeEventListener(Sl,e)},[]),(0,Rs.jsx)(El.div,K(K({},u),{},{ref:m,style:K({pointerEvents:x?_?"auto":"none":void 0},e.style),onFocusCapture:nb(e.onFocusCapture,E.onFocusCapture),onBlurCapture:nb(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:nb(e.onPointerDownCapture,k.onPointerDownCapture)}))}),Ll.displayName="DismissableLayer",Wt.forwardRef((e,t)=>{const n=Wt.useContext(Rl),r=Wt.useRef(null),o=Jy(t,r);return Wt.useEffect(()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,Rs.jsx)(El.div,K(K({},e),{},{ref:o}))}).displayName="DismissableLayerBranch",Dl=0,Tl="focusScope.autoFocusOnMount",jl="focusScope.autoFocusOnUnmount",Al={bubbles:!1,cancelable:!0},Nl=Wt.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i}=e,a=B(e,c),[s,l]=Wt.useState(null),u=hb(o),d=hb(i),h=Wt.useRef(null),p=Jy(t,e=>l(e)),f=Wt.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Wt.useEffect(()=>{if(r){let e=function(e){if(f.paused||!s)return;const t=e.target;s.contains(t)?h.current=t:wb(h.current,{select:!0})},t=function(e){if(f.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||wb(h.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&wb(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,s,f.paused]),Wt.useEffect(()=>{if(s){Il.add(f);const t=document.activeElement;if(!s.contains(t)){const n=new CustomEvent(Tl,Al);s.addEventListener(Tl,u),s.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wb(r,{select:t}),document.activeElement!==n)return}((e=vb(s),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&wb(s))}return()=>{s.removeEventListener(Tl,u),setTimeout(()=>{const e=new CustomEvent(jl,Al);s.addEventListener(jl,d),s.dispatchEvent(e),e.defaultPrevented||wb(null!=t?t:document.body,{select:!0}),s.removeEventListener(jl,d),Il.remove(f)},0)}}var e},[s,u,d,f]);const g=Wt.useCallback(e=>{if(!n&&!r)return;if(f.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=vb(e);return[yb(t,e),yb(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&wb(i,{select:!0})):(e.preventDefault(),n&&wb(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,f.paused]);return(0,Rs.jsx)(El.div,K(K({tabIndex:-1},a),{},{ref:p,onKeyDown:g}))}),Nl.displayName="FocusScope",Il=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=xb(e,t),e.unshift(t)},remove(t){var n;e=xb(e,t),null===(n=e[0])||void 0===n||n.resume()}}}(),V("N",Ml=null!==globalThis&&void 0!==globalThis&&globalThis.document?Wt.useLayoutEffect:()=>{}),Fl=Wt[" useId ".trim().toString()]||(()=>{}),$l=0,zl=["top","right","bottom","left"],Ul=Math.min,Hl=Math.max,ql=Math.round,Bl=Math.floor,Vl=e=>({x:e,y:e}),Kl={left:"right",right:"left",bottom:"top",top:"bottom"},Wl={start:"end",end:"start"},Gl=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Nb(c,r,l),h=r,p={},f=0;for(let g=0;g<s.length;g++){const{name:n,fn:i}=s[g],{x:m,y:v,data:y,reset:b}=await i({x:u,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=v?v:d,p=K(K({},p),{},{[n]:K(K({},p[n]),y)}),b&&f<=50&&(f++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=Nb(c,h,l))),g=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:p}},Yl=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=Eb(e,t)||{};if(null==c)return{};const d=jb(u),h={x:n,y:r},p=Lb(o),f=Pb(p),g=await a.getDimensions(c),m="y"===p,v=m?"top":"left",y=m?"bottom":"right",b=m?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[p]-h[p]-i.floating[f],x=h[p]-i.reference[p],_=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let k=_?_[b]:0;k&&await(null==a.isElement?void 0:a.isElement(_))||(k=s.floating[b]||i.floating[f]);const E=w/2-x/2,S=k/2-g[f]/2-1,O=Ul(d[v],S),C=Ul(d[y],S),P=O,R=k-g[f]-C,L=k/2-g[f]/2+E,D=kb(P,L,R),T=!l.arrow&&null!=Ob(o)&&L!==D&&i.reference[f]/2-(L<P?O:C)-g[f]/2<0,j=T?L<P?L-P:L-R:0;return{[p]:h[p]+j,data:K({[p]:D,centerOffset:L-D-j},T&&{alignmentOffset:j}),reset:T}}}),Xl=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,d=Eb(e,t),{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0}=d,y=B(d,u);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const b=Sb(o),w=Rb(s),x=Sb(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),k=f||(x||!v?[Tb(s)]:function(e){const t=Tb(e);return[Db(e),t,Db(t)]}(s)),E="none"!==m;!f&&E&&k.push(...function(e,t,n,r){const o=Ob(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(Sb(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(Db)))),i}(s,v,m,_));const S=[s,...k],O=await Ib(t,y),C=[];let P=(null==(r=i.flip)?void 0:r.overflows)||[];if(h&&C.push(O[b]),p){const e=function(e,t,n){void 0===n&&(n=!1);const r=Ob(e),o=Lb(e),i=Pb(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Tb(a)),[a,Tb(a)]}(o,a,_);C.push(O[e[0]],O[e[1]])}if(P=[...P,{placement:o,overflows:C}],!C.every(e=>e<=0)){var R,L;const e=((null==(R=i.flip)?void 0:R.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(L=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:L.placement;if(!n)switch(g){case"bestFit":{var D;const e=null==(D=P.filter(e=>{if(E){const t=Rb(e.placement);return t===w||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:D[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Jl=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,r=Eb(e,t),{strategy:o="referenceHidden"}=r,i=B(r,d);switch(o){case"referenceHidden":{const e=Mb(await Ib(t,K(K({},i),{},{elementContext:"reference"})),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Fb(e)}}}case"escaped":{const e=Mb(await Ib(t,K(K({},i),{},{altBoundary:!0})),n.floating);return{data:{escapedOffsets:e,escaped:Fb(e)}}}default:return{}}}}},Ql=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Sb(n),s=Ob(n),l="y"===Rb(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=Eb(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:f}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof f&&(p="end"===s?-1*f:f),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:K(K({},l),{},{placement:a})}}}},Zl=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,i=Eb(e,t),{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}}}=i,c=B(i,h),u={x:n,y:r},d=await Ib(t,c),p=Rb(Sb(o)),f=Cb(p);let g=u[f],m=u[p];if(a){const e="y"===f?"bottom":"right";g=kb(g+d["y"===f?"top":"left"],g,g-d[e])}if(s){const e="y"===p?"bottom":"right";m=kb(m+d["y"===p?"top":"left"],m,m-d[e])}const v=l.fn(K(K({},t),{},{[f]:g,[p]:m}));return K(K({},v),{},{data:{x:v.x-n,y:v.y-r,enabled:{[f]:a,[p]:s}}})}}},ec=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=Eb(e,t),u={x:n,y:r},d=Rb(o),h=Cb(d);let p=u[h],f=u[d];const g=Eb(s,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:K({mainAxis:0,crossAxis:0},g);if(l){const e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+m.mainAxis,n=i.reference[h]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var v,y;const e="y"===h?"width":"height",t=["top","left"].includes(Sb(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:m.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?m.crossAxis:0);f<n?f=n:f>r&&(f=r)}return{[h]:p,[d]:f}}}},tc=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,l=Eb(e,t),{apply:c=()=>{}}=l,u=B(l,p),d=await Ib(t,u),h=Sb(o),f=Ob(o),g="y"===Rb(o),{width:m,height:v}=i.floating;let y,b;"top"===h||"bottom"===h?(y=h,b=f===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(b=h,y="end"===f?"top":"bottom");const w=v-d.top-d.bottom,x=m-d.left-d.right,_=Ul(v-d[y],w),k=Ul(m-d[b],x),E=!t.middlewareData.shift;let S=_,O=k;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(O=x),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=w),E&&!f){const e=Hl(d.left,0),t=Hl(d.right,0),n=Hl(d.top,0),r=Hl(d.bottom,0);g?O=m-2*(0!==e||0!==t?e+t:Hl(d.left,d.right)):S=v-2*(0!==n||0!==r?n+r:Hl(d.top,d.bottom))}await c(K(K({},t),{},{availableWidth:O,availableHeight:S}));const C=await a.getDimensions(s.floating);return m!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}},nc=Vl(0),rc={convertOffsetParentRelativeRectToViewportRelativeRect:hw,getDocumentElement:Hb,getClippingRect:vw,getOffsetParent:_w,getElementRects:async function(e){const t=this.getOffsetParent||_w,n=this.getDimensions,r=await n(e.floating);return{reference:bw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:pw,getDimensions:yw,getScale:sw,isElement:Bb,isRTL:kw},oc=Ql,ic=Zl,ac=Xl,sc=tc,lc=Jl,cc=Yl,uc=ec,dc=(e,t,n)=>{const r=new Map,o=K({platform:rc},n),i=K(K({},o.platform),{},{_c:r});return Gl(e,t,K(K({},o),{},{platform:i}))},hc="undefined"!=typeof document?Wt.useLayoutEffect:Wt.useEffect,pc=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?cc({element:n.current,padding:r}).fn(t):{}:n?cc({element:n,padding:r}).fn(t):{};var o}}),fc=(e,t)=>K(K({},oc(e)),{},{options:[e,t]}),gc=(e,t)=>K(K({},ic(e)),{},{options:[e,t]}),mc=(e,t)=>K(K({},uc(e)),{},{options:[e,t]}),vc=(e,t)=>K(K({},ac(e)),{},{options:[e,t]}),yc=(e,t)=>K(K({},sc(e)),{},{options:[e,t]}),bc=(e,t)=>K(K({},lc(e)),{},{options:[e,t]}),wc=(e,t)=>K(K({},pc(e)),{},{options:[e,t]}),(xc=Wt.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5}=e,i=B(e,f);return(0,Rs.jsx)(El.svg,K(K({},i),{},{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,Rs.jsx)("polygon",{points:"0,0 30,0 15,10"})}))})).displayName="Arrow",_c=xc,kc="Popper",[Ec,Sc]=rb(kc),[Oc,Cc]=Ec(kc),(Pc=e=>{const{__scopePopper:t,children:n}=e,[r,o]=Wt.useState(null);return(0,Rs.jsx)(Oc,{scope:t,anchor:r,onAnchorChange:o,children:n})}).displayName=kc,Rc="PopperAnchor",(Lc=Wt.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r}=e,o=B(e,g),i=Cc(Rc,n),a=Wt.useRef(null),s=Jy(t,a);return Wt.useEffect(()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,Rs.jsx)(El.div,K(K({},o),{},{ref:s}))})).displayName=Rc,Dc="PopperContent",[Tc,jc]=Ec(Dc),Ac=Wt.forwardRef((e,t)=>{var n,r,o,i,a,s,l,c;const{__scopePopper:u,side:d="bottom",sideOffset:h=0,align:p="center",alignOffset:f=0,arrowPadding:g=0,avoidCollisions:v=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:w="partial",hideWhenDetached:x=!1,updatePositionStrategy:_="optimized",onPlaced:k}=e,E=B(e,m),S=Cc(Dc,u),[O,C]=Wt.useState(null),P=Jy(t,e=>C(e)),[R,L]=Wt.useState(null),D=function(e){const[t,n]=Wt.useState(void 0);return Ml(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(R),T=null!==(n=null==D?void 0:D.width)&&void 0!==n?n:0,j=null!==(r=null==D?void 0:D.height)&&void 0!==r?r:0,A=d+("center"!==p?"-"+p:""),N="number"==typeof b?b:K({top:0,right:0,bottom:0,left:0},b),I=Array.isArray(y)?y:[y],M=I.length>0,F={padding:N,boundary:I.filter(Rw),altBoundary:M},{refs:$,floatingStyles:z,placement:U,isPositioned:H,middlewareData:q}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=Wt.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=Wt.useState(r);Sw(h,r)||p(r);const[f,g]=Wt.useState(null),[m,v]=Wt.useState(null),y=Wt.useCallback(e=>{e!==_.current&&(_.current=e,g(e))},[]),b=Wt.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),w=i||f,x=a||m,_=Wt.useRef(null),k=Wt.useRef(null),E=Wt.useRef(u),S=null!=l,O=Pw(l),C=Pw(o),P=Pw(c),R=Wt.useCallback(()=>{if(!_.current||!k.current)return;const e={placement:t,strategy:n,middleware:h};C.current&&(e.platform=C.current),dc(_.current,k.current,e).then(e=>{const t=K(K({},e),{},{isPositioned:!1!==P.current});L.current&&!Sw(E.current,t)&&(E.current=t,Ma.flushSync(()=>{d(t)}))})},[h,t,n,C,P]);hc(()=>{!1===c&&E.current.isPositioned&&(E.current.isPositioned=!1,d(e=>K(K({},e),{},{isPositioned:!1})))},[c]);const L=Wt.useRef(!1);hc(()=>(L.current=!0,()=>{L.current=!1}),[]),hc(()=>{if(w&&(_.current=w),x&&(k.current=x),w&&x){if(O.current)return O.current(w,x,R);R()}},[w,x,R,O,S]);const D=Wt.useMemo(()=>({reference:_,floating:k,setReference:y,setFloating:b}),[y,b]),T=Wt.useMemo(()=>({reference:w,floating:x}),[w,x]),j=Wt.useMemo(()=>{const e={position:n,left:0,top:0};if(!T.floating)return e;const t=Cw(T.floating,u.x),r=Cw(T.floating,u.y);return s?K(K({},e),{},{transform:"translate("+t+"px, "+r+"px)"},Ow(T.floating)>=1.5&&{willChange:"transform"}):{position:n,left:t,top:r}},[n,s,T.floating,u.x,u.y]);return Wt.useMemo(()=>K(K({},u),{},{update:R,refs:D,elements:T,floatingStyles:j}),[u,R,D,T,j])}({strategy:"fixed",placement:A,whileElementsMounted:(...e)=>Ew(...e,{animationFrame:"always"===_}),elements:{reference:S.anchor},middleware:[fc({mainAxis:h+j,alignmentAxis:f}),v&&gc(K({mainAxis:!0,crossAxis:!1,limiter:"partial"===w?mc():void 0},F)),v&&vc(K({},F)),yc(K(K({},F),{},{apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}})),R&&wc({element:R,padding:g}),Fc({arrowWidth:T,arrowHeight:j}),x&&bc(K({strategy:"referenceHidden"},F))]}),[V,W]=Lw(U),G=hb(k);Ml(()=>{H&&(null==G||G())},[H,G]);const Y=null===(o=q.arrow)||void 0===o?void 0:o.x,X=null===(i=q.arrow)||void 0===i?void 0:i.y,J=0!==(null===(a=q.arrow)||void 0===a?void 0:a.centerOffset),[Q,Z]=Wt.useState();return Ml(()=>{O&&Z(window.getComputedStyle(O).zIndex)},[O]),(0,Rs.jsx)("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:K(K({},z),{},{transform:H?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null===(s=q.transformOrigin)||void 0===s?void 0:s.x,null===(l=q.transformOrigin)||void 0===l?void 0:l.y].join(" ")},(null===(c=q.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:e.dir,children:(0,Rs.jsx)(Tc,{scope:u,placedSide:V,onArrowChange:L,arrowX:Y,arrowY:X,shouldHideArrow:J,children:(0,Rs.jsx)(El.div,K(K({"data-side":V,"data-align":W},E),{},{ref:P,style:K(K({},E.style),{},{animation:H?void 0:"none"})}))})})}),Ac.displayName=Dc,Nc="PopperArrow",Ic={top:"bottom",right:"left",bottom:"top",left:"right"},(Mc=Wt.forwardRef(function(e,t){const{__scopePopper:n}=e,r=B(e,v),o=jc(Nc,n),i=Ic[o.placedSide];return(0,Rs.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,Rs.jsx)(_c,K(K({},r),{},{ref:t,style:K(K({},r.style),{},{display:"block"})}))})})).displayName=Nc,Fc=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,h=u?0:e.arrowHeight,[p,f]=Lw(s),g={start:"0%",center:"50%",end:"100%"}[f],m=(null!==(r=null===(o=c.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,v=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+h/2;let y="",b="";return"bottom"===p?(y=u?g:`${m}px`,b=-h+"px"):"top"===p?(y=u?g:`${m}px`,b=`${l.floating.height+h}px`):"right"===p?(y=-h+"px",b=u?g:`${v}px`):"left"===p&&(y=`${l.floating.width+h}px`,b=u?g:`${v}px`),{data:{x:y,y:b}}}}),$c=Pc,zc=Lc,Uc=Ac,Hc=Mc,qc=Wt.forwardRef((e,t)=>{var n;const{container:r}=e,o=B(e,y),[i,a]=Wt.useState(!1);Ml(()=>a(!0),[]);const s=r||i&&(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body);return s?Ma.createPortal((0,Rs.jsx)(El.div,K(K({},o),{},{ref:t})),s):null}),qc.displayName="Portal",Bc=Wt[" useInsertionEffect ".trim().toString()]||Ml,Vc=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Wt.forwardRef((e,t)=>(0,Rs.jsx)(El.span,K(K({},e),{},{ref:t,style:K(K({},Vc),e.style)}))).displayName="VisuallyHidden",Kc=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Wc=new WeakMap,Gc=new WeakMap,Yc={},Xc=0,Jc=function(e){return e&&(e.host||Jc(e.parentNode))},Qc=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Jc(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})},Zc=function(e,t,n,r){var o=Qc(t,Array.isArray(e)?e:[e]);Yc[n]||(Yc[n]=new WeakMap);var i=Yc[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Wc.get(e)||0)+1,c=(i.get(e)||0)+1;Wc.set(e,l),i.set(e,c),a.push(e),1===l&&o&&Gc.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(rp){console.error("aria-hidden: cannot operate on ",e,rp)}})};return u(t),s.clear(),Xc++,function(){a.forEach(function(e){var t=Wc.get(e)-1,o=i.get(e)-1;Wc.set(e,t),i.set(e,o),t||(Gc.has(e)||e.removeAttribute(r),Gc.delete(e)),o||e.removeAttribute(n)}),--Xc||(Wc=new WeakMap,Wc=new WeakMap,Gc=new WeakMap,Yc={})}},eu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Kc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Zc(r,o,n,"aria-hidden")):function(){return null}},tu=function(){return tu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tu.apply(this,arguments)},nu="right-scroll-bar-position",ru="width-before-scroll-bar",ou="undefined"!=typeof window?Wt.useLayoutEffect:Wt.useEffect,iu=new WeakMap,(au=function(e){var t=e.sideCar,n=Tw(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Wt.createElement(r,tu({},n))}).isSideCarExport=!0,su=Iw(),lu=function(){},cu=Wt.forwardRef(function(e,t){var n=Wt.useRef(null),r=Wt.useState({onScrollCapture:lu,onWheelCapture:lu,onTouchMoveCapture:lu}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,f=e.inert,g=e.allowPinchZoom,m=e.as,v=void 0===m?"div":m,y=e.gapMode,b=Tw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=h,x=Aw([n,t]),_=tu(tu({},b),o);return Wt.createElement(Wt.Fragment,null,u&&Wt.createElement(w,{sideCar:su,removeScrollBar:c,shards:d,noIsolation:p,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:y}),a?Wt.cloneElement(Wt.Children.only(s),tu(tu({},_),{ref:x})):Wt.createElement(v,tu({},_,{className:l,ref:x}),s))}),cu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},cu.classNames={fullWidth:ru,zeroRight:nu},uu=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__},du=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=uu();return t&&e.setAttribute("nonce",t),e}())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hu=function(){var e=du();return function(t,n){Wt.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fu={left:0,top:0,right:0,gap:0},gu=function(e){return parseInt(e||"",10)||0},mu=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[gu(n),gu(r),gu(o)]},vu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return fu;var t=mu(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},yu=(pu=function(){var e=hu();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}})(),bu="data-scroll-locked",wu=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(bu,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(nu," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(ru," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(nu," .").concat(nu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(ru," .").concat(ru," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(bu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},xu=function(){var e=parseInt(document.body.getAttribute("data-scroll-locked")||"0",10);return isFinite(e)?e:0},_u=function(){Wt.useEffect(function(){return document.body.setAttribute(bu,(xu()+1).toString()),function(){var e=xu()-1;e<=0?document.body.removeAttribute(bu):document.body.setAttribute(bu,e.toString())}},[])},ku=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;_u();var i=Wt.useMemo(function(){return vu(o)},[o]);return Wt.createElement(yu,{styles:wu(i,!t,o,n?"":"!important")})},Eu=!1,"undefined"!=typeof window)try{Su=Object.defineProperty({},"passive",{get:function(){return Eu=!0,!0}}),window.addEventListener("test",Su,Su),window.removeEventListener("test",Su,Su)}catch(n){Eu=!1}var t;Ou=!!Eu&&{passive:!1},Cu=function(e){return"TEXTAREA"===e.tagName},Pu=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!Cu(e)&&"visible"===n[t])},Ru=function(e){return Pu(e,"overflowY")},Lu=function(e){return Pu(e,"overflowX")},Du=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Au(e,r)){var o=Nu(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Tu=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},ju=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},Au=function(e,t){return"v"===e?Ru(t):Lu(t)},Nu=function(e,t){return"v"===e?Tu(t):ju(t)},Iu=function(e,t){return"h"===e&&"rtl"===t?-1:1},Mu=function(e,t,n,r,o){var i=Iu(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),c=!1,u=a>0,d=0,h=0;do{var p=Nu(e,s),f=p[0],g=p[1]-p[2]-i*f;(f||g)&&Au(e,s)&&(d+=g,h+=f),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(u&&(o&&Math.abs(d)<1||!o&&a>d)||!u&&(o&&Math.abs(h)<1||!o&&-a>h))&&(c=!0),c},Fu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$u=function(e){return[e.deltaX,e.deltaY]},zu=function(e){return e&&"current"in e?e.current:e},Uu=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Hu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},qu=0,Bu=[],t=Mw,su.useMedium(t),Vu=au,(Ku=Wt.forwardRef(function(e,t){return Wt.createElement(cu,tu({},e,{ref:t,sideCar:Vu}))})).classNames=cu.classNames,Wu=J({Arrow:()=>dh,Content:()=>th,Group:()=>rh,Icon:()=>Zd,Item:()=>ih,ItemIndicator:()=>sh,ItemText:()=>ah,Label:()=>oh,Portal:()=>eh,Root:()=>Xd,ScrollDownButton:()=>ch,ScrollUpButton:()=>lh,Select:()=>sd,SelectArrow:()=>Gd,SelectContent:()=>gd,SelectGroup:()=>Ld,SelectIcon:()=>hd,SelectItem:()=>Id,SelectItemIndicator:()=>zd,SelectItemText:()=>Fd,SelectLabel:()=>Td,SelectPortal:()=>pd,SelectScrollDownButton:()=>Bd,SelectScrollUpButton:()=>Hd,SelectSeparator:()=>Kd,SelectTrigger:()=>cd,SelectValue:()=>dd,SelectViewport:()=>Od,Separator:()=>uh,Trigger:()=>Jd,Value:()=>Qd,Viewport:()=>nh,createSelectScope:()=>td}),Gu=[" ","Enter","ArrowUp","ArrowDown"],Yu=[" ","Enter"],Xu="Select",[Ju,Qu,Zu]=lb(Xu),[ed,td]=rb(Xu,[Zu,Sc]),nd=Sc(),[rd,od]=ed(Xu),[id,ad]=ed(Xu),sd=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:c,name:u,autoComplete:d,disabled:h,required:p,form:f}=e,g=nd(t),[m,v]=Wt.useState(null),[y,b]=Wt.useState(null),[w,x]=Wt.useState(!1),_=db(c),[k,E]=Dw({prop:r,defaultProp:null!=o&&o,onChange:i,caller:Xu}),[S,O]=Dw({prop:a,defaultProp:s,onChange:l,caller:Xu}),C=Wt.useRef(null),P=!m||(f||!!m.closest("form")),[R,L]=Wt.useState(new Set),D=Array.from(R).map(e=>e.props.value).join(";");return(0,Rs.jsx)($c,K(K({},g),{},{children:(0,Rs.jsxs)(rd,{required:p,scope:t,trigger:m,onTriggerChange:v,valueNode:y,onValueNodeChange:b,valueNodeHasChildren:w,onValueNodeHasChildrenChange:x,contentId:_b(),value:S,onValueChange:O,open:k,onOpenChange:E,dir:_,triggerPointerDownPosRef:C,disabled:h,children:[(0,Rs.jsx)(Ju.Provider,{scope:t,children:(0,Rs.jsx)(id,{scope:e.__scopeSelect,onNativeOptionAdd:Wt.useCallback(e=>{L(t=>new Set(t).add(e))},[]),onNativeOptionRemove:Wt.useCallback(e=>{L(t=>{const n=new Set(t);return n.delete(e),n})},[]),children:n})}),P?(0,Rs.jsxs)(Yd,{"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:d,value:S,onChange:e=>O(e.target.value),disabled:h,form:f,children:[void 0===S?(0,Rs.jsx)("option",{value:""}):null,Array.from(R)]},D):null]})}))},sd.displayName=Xu,ld="SelectTrigger",cd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1}=e,o=B(e,b),i=nd(n),a=od(ld,n),s=a.disabled||r,l=Jy(t,a.onTriggerChange),c=Qu(n),u=Wt.useRef("touch"),[d,h,p]=zw(e=>{const t=c().filter(e=>!e.disabled),n=Uw(t,e,t.find(e=>e.value===a.value));void 0!==n&&a.onValueChange(n.value)}),f=e=>{s||(a.onOpenChange(!0),p()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,Rs.jsx)(zc,K(K({asChild:!0},i),{},{children:(0,Rs.jsx)(El.button,K(K({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":$w(a.value)?"":void 0},o),{},{ref:l,onClick:nb(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==u.current&&f(e)}),onPointerDown:nb(o.onPointerDown,e=>{u.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(f(e),e.preventDefault())}),onKeyDown:nb(o.onKeyDown,e=>{const t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),t&&" "===e.key||Gu.includes(e.key)&&(f(),e.preventDefault())})}))}))}),cd.displayName=ld,ud="SelectValue",(dd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a=""}=e,s=B(e,w),l=od(ud,n),{onValueNodeHasChildrenChange:c}=l,u=void 0!==i,d=Jy(t,l.onValueNodeChange);return Ml(()=>{c(u)},[c,u]),(0,Rs.jsx)(El.span,K(K({},s),{},{ref:d,style:{pointerEvents:"none"},children:$w(l.value)?(0,Rs.jsx)(Rs.Fragment,{children:a}):i}))})).displayName=ud,V("D",hd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,children:r}=e,o=B(e,x);return(0,Rs.jsx)(El.span,K(K({"aria-hidden":!0},o),{},{ref:t,children:r||"▼"}))})),hd.displayName="SelectIcon",(pd=e=>(0,Rs.jsx)(qc,K({asChild:!0},e))).displayName="SelectPortal",fd="SelectContent",(gd=Wt.forwardRef((e,t)=>{const n=od(fd,e.__scopeSelect),[r,o]=Wt.useState();if(Ml(()=>{o(new DocumentFragment)},[]),!n.open){const t=r;return t?Ma.createPortal((0,Rs.jsx)(vd,{scope:e.__scopeSelect,children:(0,Rs.jsx)(Ju.Slot,{scope:e.__scopeSelect,children:(0,Rs.jsx)("div",{children:e.children})})}),t):null}return(0,Rs.jsx)(wd,K(K({},e),{},{ref:t}))})).displayName=fd,md=10,[vd,yd]=ed(fd),bd=ib("SelectContent.RemoveScroll"),wd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:d,collisionBoundary:h,collisionPadding:p,sticky:f,hideWhenDetached:g,avoidCollisions:m}=e,v=B(e,_),y=od(fd,n),[b,w]=Wt.useState(null),[x,k]=Wt.useState(null),E=Jy(t,e=>w(e)),[S,O]=Wt.useState(null),[C,P]=Wt.useState(null),R=Qu(n),[L,D]=Wt.useState(!1),T=Wt.useRef(!1);Wt.useEffect(()=>{if(b)return eu(b)},[b]),gb();const j=Wt.useCallback(e=>{const[t,...n]=R().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(const i of e){if(i===o)return;if(null==i||i.scrollIntoView({block:"nearest"}),i===t&&x&&(x.scrollTop=0),i===r&&x&&(x.scrollTop=x.scrollHeight),null==i||i.focus(),document.activeElement!==o)return}},[R,x]),A=Wt.useCallback(()=>j([S,b]),[j,S,b]);Wt.useEffect(()=>{L&&A()},[L,A]);const{onOpenChange:N,triggerPointerDownPosRef:I}=y;Wt.useEffect(()=>{if(b){let e={x:0,y:0};const t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=I.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(i=I.current)||void 0===i?void 0:i.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():b.contains(n.target)||N(!1),document.removeEventListener("pointermove",t),I.current=null};return null!==I.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[b,N,I]),Wt.useEffect(()=>{const e=()=>N(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[N]);const[M,F]=zw(e=>{const t=R().filter(e=>!e.disabled),n=Uw(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current.focus())}),$=Wt.useCallback((e,t,n)=>{const r=!T.current&&!n;(void 0!==y.value&&y.value===t||r)&&(O(e),r&&(T.current=!0))},[y.value]),z=Wt.useCallback(()=>null==b?void 0:b.focus(),[b]),U=Wt.useCallback((e,t,n)=>{const r=!T.current&&!n;(void 0!==y.value&&y.value===t||r)&&P(e)},[y.value]),H="popper"===r?_d:xd,q=H===_d?{side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:d,collisionBoundary:h,collisionPadding:p,sticky:f,hideWhenDetached:g,avoidCollisions:m}:{};return(0,Rs.jsx)(vd,{scope:n,content:b,viewport:x,onViewportChange:k,itemRefCallback:$,selectedItem:S,onItemLeave:z,itemTextRefCallback:U,focusSelectedItem:A,selectedItemText:C,position:r,isPositioned:L,searchRef:M,children:(0,Rs.jsx)(Ku,{as:bd,allowPinchZoom:!0,children:(0,Rs.jsx)(Nl,{asChild:!0,trapped:y.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:nb(o,e=>{var t;null===(t=y.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,Rs.jsx)(Ll,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:(0,Rs.jsx)(H,K(K(K({role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:e=>e.preventDefault()},v),q),{},{onPlaced:()=>D(!0),ref:E,style:K({display:"flex",flexDirection:"column",outline:"none"},v.style),onKeyDown:nb(v.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||F(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=R().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>j(t)),e.preventDefault()}})}))})})})})}),wd.displayName="SelectContentImpl",xd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r}=e,o=B(e,k),i=od(fd,n),a=yd(fd,n),[s,l]=Wt.useState(null),[c,u]=Wt.useState(null),d=Jy(t,e=>u(e)),h=Qu(n),p=Wt.useRef(!1),f=Wt.useRef(!0),{viewport:g,selectedItem:m,selectedItemText:v,focusSelectedItem:y}=a,b=Wt.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&c&&g&&m&&v){const e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=v.getBoundingClientRect();if("rtl"!==i.dir){const r=o.left-t.left,i=n.left-r,a=e.left-i,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-md,d=tb(i,[md,Math.max(md,u-c)]);s.style.minWidth=l+"px",s.style.left=d+"px"}else{const r=t.right-o.right,i=window.innerWidth-n.right-r,a=window.innerWidth-e.right-i,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-md,d=tb(i,[md,Math.max(md,u-c)]);s.style.minWidth=l+"px",s.style.right=d+"px"}const a=h(),l=window.innerHeight-2*md,u=g.scrollHeight,d=window.getComputedStyle(c),f=parseInt(d.borderTopWidth,10),y=parseInt(d.paddingTop,10),b=parseInt(d.borderBottomWidth,10),w=f+y+u+parseInt(d.paddingBottom,10)+b,x=Math.min(5*m.offsetHeight,w),_=window.getComputedStyle(g),k=parseInt(_.paddingTop,10),E=parseInt(_.paddingBottom,10),S=e.top+e.height/2-md,O=l-S,C=m.offsetHeight/2,P=f+y+(m.offsetTop+C),R=w-P;if(P<=S){const e=a.length>0&&m===a[a.length-1].ref.current;s.style.bottom="0px";const t=c.clientHeight-g.offsetTop-g.offsetHeight,n=P+Math.max(O,C+(e?E:0)+t+b);s.style.height=n+"px"}else{const e=a.length>0&&m===a[0].ref.current;s.style.top="0px";const t=Math.max(S,f+g.offsetTop+(e?k:0)+C)+R;s.style.height=t+"px",g.scrollTop=P-S+g.offsetTop}s.style.margin=`${md}px 0`,s.style.minHeight=x+"px",s.style.maxHeight=l+"px",null==r||r(),requestAnimationFrame(()=>p.current=!0)}},[h,i.trigger,i.valueNode,s,c,g,m,v,i.dir,r]);Ml(()=>b(),[b]);const[w,x]=Wt.useState();return Ml(()=>{c&&x(window.getComputedStyle(c).zIndex)},[c]),(0,Rs.jsx)(kd,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:Wt.useCallback(e=>{e&&!0===f.current&&(b(),null==y||y(),f.current=!1)},[b,y]),children:(0,Rs.jsx)("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:w},children:(0,Rs.jsx)(El.div,K(K({},o),{},{ref:d,style:K({boxSizing:"border-box",maxHeight:"100%"},o.style)}))})})}),xd.displayName="SelectItemAlignedPosition",(_d=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=md}=e,i=B(e,E),a=nd(n);return(0,Rs.jsx)(Uc,K(K(K({},a),i),{},{ref:t,align:r,collisionPadding:o,style:K(K({boxSizing:"border-box"},i.style),{},{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"})}))})).displayName="SelectPopperPosition",[kd,Ed]=ed(fd,{}),Sd="SelectViewport",Od=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r}=e,o=B(e,S),i=yd(Sd,n),a=Ed(Sd,n),s=Jy(t,i.onViewportChange),l=Wt.useRef(0);return(0,Rs.jsxs)(Rs.Fragment,{children:[(0,Rs.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,Rs.jsx)(Ju.Slot,{scope:n,children:(0,Rs.jsx)(El.div,K(K({"data-radix-select-viewport":"",role:"presentation"},o),{},{ref:s,style:K({position:"relative",flex:1,overflow:"hidden auto"},o.style),onScroll:nb(o.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if(null!=r&&r.current&&n){const e=Math.abs(l.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*md,o=parseFloat(n.style.minHeight),i=parseFloat(n.style.height),a=Math.max(o,i);if(a<r){const o=a+e,i=Math.min(r,o),s=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}l.current=t.scrollTop})}))})]})}),Od.displayName=Sd,Cd="SelectGroup",[Pd,Rd]=ed(Cd),(Ld=Wt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,r=B(e,O),o=_b();return(0,Rs.jsx)(Pd,{scope:n,id:o,children:(0,Rs.jsx)(El.div,K(K({role:"group","aria-labelledby":o},r),{},{ref:t}))})})).displayName=Cd,Dd="SelectLabel",(Td=Wt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,r=B(e,C),o=Rd(Dd,n);return(0,Rs.jsx)(El.div,K(K({id:o.id},r),{},{ref:t}))})).displayName=Dd,jd="SelectItem",[Ad,Nd]=ed(jd),(Id=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i}=e,a=B(e,P),s=od(jd,n),l=yd(jd,n),c=s.value===r,[u,d]=Wt.useState(null!=i?i:""),[h,p]=Wt.useState(!1),f=Jy(t,e=>{var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,o)}),g=_b(),m=Wt.useRef("touch"),v=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};if(""===r)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,Rs.jsx)(Ad,{scope:n,value:r,disabled:o,textId:g,isSelected:c,onItemTextChange:Wt.useCallback(e=>{d(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[]),children:(0,Rs.jsx)(Ju.ItemSlot,{scope:n,value:r,disabled:o,textValue:u,children:(0,Rs.jsx)(El.div,K(K({role:"option","aria-labelledby":g,"data-highlighted":h?"":void 0,"aria-selected":c&&h,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a),{},{ref:f,onFocus:nb(a.onFocus,()=>p(!0)),onBlur:nb(a.onBlur,()=>p(!1)),onClick:nb(a.onClick,()=>{"mouse"!==m.current&&v()}),onPointerUp:nb(a.onPointerUp,()=>{"mouse"===m.current&&v()}),onPointerDown:nb(a.onPointerDown,e=>{m.current=e.pointerType}),onPointerMove:nb(a.onPointerMove,e=>{var t;m.current=e.pointerType,o?null===(t=l.onItemLeave)||void 0===t||t.call(l):"mouse"===m.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:nb(a.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null===(t=l.onItemLeave)||void 0===t||t.call(l))}),onKeyDown:nb(a.onKeyDown,e=>{var t;""!==(null===(t=l.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(Yu.includes(e.key)&&v()," "===e.key&&e.preventDefault())})}))})})})).displayName=jd,Md="SelectItemText",(Fd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o}=e,i=B(e,R),a=od(Md,n),s=yd(Md,n),l=Nd(Md,n),c=ad(Md,n),[u,d]=Wt.useState(null),h=Jy(t,e=>d(e),l.onItemTextChange,e=>{var t;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,l.value,l.disabled)}),p=null==u?void 0:u.textContent,f=Wt.useMemo(()=>(0,Rs.jsx)("option",{value:l.value,disabled:l.disabled,children:p},l.value),[l.disabled,l.value,p]),{onNativeOptionAdd:g,onNativeOptionRemove:m}=c;return Ml(()=>(g(f),()=>m(f)),[g,m,f]),(0,Rs.jsxs)(Rs.Fragment,{children:[(0,Rs.jsx)(El.span,K(K({id:l.textId},i),{},{ref:h})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Ma.createPortal(i.children,a.valueNode):null]})})).displayName=Md,$d="SelectItemIndicator",(zd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,r=B(e,L);return Nd($d,n).isSelected?(0,Rs.jsx)(El.span,K(K({"aria-hidden":!0},r),{},{ref:t})):null})).displayName=$d,Ud="SelectScrollUpButton",Hd=Wt.forwardRef((e,t)=>{const n=yd(Ud,e.__scopeSelect),r=Ed(Ud,e.__scopeSelect),[o,i]=Wt.useState(!1),a=Jy(t,r.onScrollButtonChange);return Ml(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,Rs.jsx)(Vd,K(K({},e),{},{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null}),Hd.displayName=Ud,qd="SelectScrollDownButton",Bd=Wt.forwardRef((e,t)=>{const n=yd(qd,e.__scopeSelect),r=Ed(qd,e.__scopeSelect),[o,i]=Wt.useState(!1),a=Jy(t,r.onScrollButtonChange);return Ml(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,Rs.jsx)(Vd,K(K({},e),{},{ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null}),Bd.displayName=qd,Vd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r}=e,o=B(e,D),i=yd("SelectScrollButton",n),a=Wt.useRef(null),s=Qu(n),l=Wt.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return Wt.useEffect(()=>()=>l(),[l]),Ml(()=>{var e;null===(e=s().find(e=>e.ref.current===document.activeElement))||void 0===e||null===(e=e.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[s]),(0,Rs.jsx)(El.div,K(K({"aria-hidden":!0},o),{},{ref:t,style:K({flexShrink:0},o.style),onPointerDown:nb(o.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:nb(o.onPointerMove,()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:nb(o.onPointerLeave,()=>{l()})}))}),(Kd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,r=B(e,T);return(0,Rs.jsx)(El.div,K(K({"aria-hidden":!0},r),{},{ref:t}))})).displayName="SelectSeparator",Wd="SelectArrow",(Gd=Wt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,r=B(e,j),o=nd(n),i=od(Wd,n),a=yd(Wd,n);return i.open&&"popper"===a.position?(0,Rs.jsx)(Hc,K(K(K({},o),r),{},{ref:t})):null})).displayName=Wd,(Yd=Wt.forwardRef((e,t)=>{let{__scopeSelect:n,value:r}=e,o=B(e,A);const i=Wt.useRef(null),a=Jy(t,i),s=function(e){const t=Wt.useRef({value:e,previous:e});return Wt.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(r);return Wt.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(s!==r&&n){const t=new Event("change",{bubbles:!0});n.call(e,r),e.dispatchEvent(t)}},[s,r]),(0,Rs.jsx)(El.select,K(K({},o),{},{style:K(K({},Vc),o.style),ref:a,defaultValue:r}))})).displayName="SelectBubbleInput",V("E",Xd=sd),V("O",Jd=cd),V("k",Qd=dd),V("x",Zd=hd),V("T",eh=pd),V("b",th=gd),V("A",nh=Od),rh=Ld,oh=Td,V("S",ih=Id),V("w",ah=Fd),V("C",sh=zd),lh=Hd,ch=Bd,uh=Kd,dh=Gd,hh=e=>Wt.createElement("svg",K({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Wt.createElement("g",{clipPath:"url(#clip0_17_2062)"},Wt.createElement("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"}))),ph=e=>Wt.createElement("svg",K({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Wt.createElement("g",{clipPath:"url(#clip0_17_4631)"},Wt.createElement("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"}))),V("y",e=>{let{size:t="medium",children:n}=e,r=B(e,N);return(0,Rs.jsxs)(Jd,K(K({className:"\n inline-flex items-center justify-between flex-1\n bg-ll-background rounded-sm border\n py-1 pr-2 pl-3 min-w-[120px]\n data-[size=medium]:text-ll-font-size-p data-[size=medium]:h-8\n data-[size=large]:text-ll-font-size-h6 data-[size=large]:h-10\n","data-size":t},r),{},{children:[n,(0,Rs.jsx)(hd,{children:(0,Rs.jsx)(ll,{SVGElement:hh,fill:Zs["--ll-color-on-background-variant1"]})})]}))}),V("g",e=>{let{size:t="medium",children:n}=e,r=B(e,I);return(0,Rs.jsx)(th,K(K({className:"\n overflow-hidden bg-ll-background rounded-sm shadow-md\n z-10 min-w-[120px]\n data-[size=medium]:text-ll-font-size-p\n data-[size=large]:text-ll-font-size-h6\n","data-size":t},r),{},{children:(0,Rs.jsx)(nh,{className:"font-inherit p-0",children:n})}))}),V("_",e=>{let{variant:t="dark",children:n}=e,r=B(e,M);return(0,Rs.jsxs)(ih,K(K({className:'\n font-sans font-inherit py-1 pr-8 pl-6 outline-none\n relative rounded-sm cursor-default text-ll-on-surface-variant1\n\n data-[highlighted]:[&:not([data-variant="light"])]:bg-ll-primary\n data-[highlighted]:[&:not([data-variant="light"])]:text-ll-on-primary\n\n // Special color between now and design system\n data-[highlighted]:[&:not([data-variant="dark"])]:bg-[#EBF5F7]\n data-[highlighted]:[&:not([data-variant="dark"])]:text-ll-on-surface\n ',"data-variant":t},r),{},{children:[(0,Rs.jsx)(ah,{children:n}),(0,Rs.jsx)(sh,{className:"\n absolute left-0 bottom-0\n inline-flex justify-center items-center\n h-full w-6\n",children:(0,Rs.jsx)(ll,{SVGElement:ph,fill:"currentColor",height:12,width:12})})]}))}),({Root:fh}=Wu),V("v",fh),V("h",gh=e=>{const{present:t,children:n}=e,r=Hw(t),o="function"==typeof n?n({present:r.isPresent}):Wt.Children.only(n),i=Jy(r.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof n||r.isPresent?Wt.cloneElement(o,{ref:i}):null}),gh.displayName="Presence",mh=J({Anchor:()=>Hh,Arrow:()=>Wh,Close:()=>Kh,Content:()=>Vh,Popover:()=>kh,PopoverAnchor:()=>Sh,PopoverArrow:()=>zh,PopoverClose:()=>$h,PopoverContent:()=>jh,PopoverPortal:()=>Dh,PopoverTrigger:()=>Ch,Portal:()=>Bh,Root:()=>Uh,Trigger:()=>qh,createPopoverScope:()=>bh}),vh="Popover",[yh,bh]=rb(vh,[Sc]),wh=Sc(),[xh,_h]=yh(vh),(kh=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=wh(t),l=Wt.useRef(null),[c,u]=Wt.useState(!1),[d,h]=Dw({prop:r,defaultProp:null!=o&&o,onChange:i,caller:vh});return(0,Rs.jsx)($c,K(K({},s),{},{children:(0,Rs.jsx)(xh,{scope:t,contentId:_b(),triggerRef:l,open:d,onOpenChange:h,onOpenToggle:Wt.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:Wt.useCallback(()=>u(!0),[]),onCustomAnchorRemove:Wt.useCallback(()=>u(!1),[]),modal:a,children:n})}))}).displayName=vh,Eh="PopoverAnchor",(Sh=Wt.forwardRef((e,t)=>{const{__scopePopover:n}=e,r=B(e,F),o=_h(Eh,n),i=wh(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return Wt.useEffect(()=>(a(),()=>s()),[a,s]),(0,Rs.jsx)(zc,K(K(K({},i),r),{},{ref:t}))})).displayName=Eh,Oh="PopoverTrigger",Ch=Wt.forwardRef((e,t)=>{const{__scopePopover:n}=e,r=B(e,$),o=_h(Oh,n),i=wh(n),a=Jy(t,o.triggerRef),s=(0,Rs.jsx)(El.button,K(K({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Bw(o.open)},r),{},{ref:a,onClick:nb(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:(0,Rs.jsx)(zc,K(K({asChild:!0},i),{},{children:s}))}),Ch.displayName=Oh,Ph="PopoverPortal",[Rh,Lh]=yh(Ph,{forceMount:void 0}),Dh=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=_h(Ph,t);return(0,Rs.jsx)(Rh,{scope:t,forceMount:n,children:(0,Rs.jsx)(gh,{present:n||i.open,children:(0,Rs.jsx)(qc,{asChild:!0,container:o,children:r})})})},Dh.displayName=Ph,Th="PopoverContent",(jh=Wt.forwardRef((e,t)=>{const n=Lh(Th,e.__scopePopover),{forceMount:r=n.forceMount}=e,o=B(e,z),i=_h(Th,e.__scopePopover);return(0,Rs.jsx)(gh,{present:r||i.open,children:i.modal?(0,Rs.jsx)(Nh,K(K({},o),{},{ref:t})):(0,Rs.jsx)(Ih,K(K({},o),{},{ref:t}))})})).displayName=Th,Ah=ib("PopoverContent.RemoveScroll"),Nh=Wt.forwardRef((e,t)=>{const n=_h(Th,e.__scopePopover),r=Wt.useRef(null),o=Jy(t,r),i=Wt.useRef(!1);return Wt.useEffect(()=>{const e=r.current;if(e)return eu(e)},[]),(0,Rs.jsx)(Ku,{as:Ah,allowPinchZoom:!0,children:(0,Rs.jsx)(Mh,K(K({},e),{},{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:nb(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),i.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:nb(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;i.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:nb(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})}))})}),Ih=Wt.forwardRef((e,t)=>{const n=_h(Th,e.__scopePopover),r=Wt.useRef(!1),o=Wt.useRef(!1);return(0,Rs.jsx)(Mh,K(K({},e),{},{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;null!==(a=n.triggerRef.current)&&void 0!==a&&a.contains(s)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Mh=Wt.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u}=e,d=B(e,U),h=_h(Th,n),p=wh(n);return gb(),(0,Rs.jsx)(Nl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,Rs.jsx)(Ll,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),children:(0,Rs.jsx)(Uc,K(K(K({"data-state":Bw(h.open),role:"dialog",id:h.contentId},p),d),{},{ref:t,style:K(K({},d.style),{},{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"})}))})})}),Fh="PopoverClose",($h=Wt.forwardRef((e,t)=>{const{__scopePopover:n}=e,r=B(e,H),o=_h(Fh,n);return(0,Rs.jsx)(El.button,K(K({type:"button"},r),{},{ref:t,onClick:nb(e.onClick,()=>o.onOpenChange(!1))}))})).displayName=Fh,(zh=Wt.forwardRef((e,t)=>{const{__scopePopover:n}=e,r=B(e,q),o=wh(n);return(0,Rs.jsx)(Hc,K(K(K({},o),r),{},{ref:t}))})).displayName="PopoverArrow",V("p",Uh=kh),Hh=Sh,V("m",qh=Ch),Bh=Dh,V("f",Vh=jh),V("d",Kh=$h),Wh=zh,({Root:Gh,Portal:Yh}=mh),Xh=Wt.createContext({}),Jh=()=>(0,Wt.useContext)(Xh),Qh=()=>{const{data:e,colors:t,icon:n}=Jh(),r=e.reduce((e,t)=>e+t,0),o=(0,Wt.useMemo)(()=>e.map((n,o)=>{var i;const a=n/r*100>50,s=e.slice(0,o).reduce((e,t)=>e+t,0)/r*360,l=n/r*360,c=a?"-100%":"0%",u=a?"200%":"100%";return(0,Rs.jsx)("div",{className:"ll-donut-segment",style:{"--ll-chart-donut-segment-clip-path":`polygon(${c} ${c}, ${u} ${c}, ${u} ${u}, ${c} ${u})`,"--ll-chart-donut-segment-bg":null!==(i=null==t?void 0:t[o])&&void 0!==i?i:"#000","--ll-chart-donut-segment-degrees":s,"--ll-chart-donut-segment-before-degrees":l,"--ll-chart-donut-segment-opacity":a?1:0}},`segment-${o}`)}),[e,t]);return(0,Rs.jsxs)("div",{className:"\n relative aspect-square rounded-full flex items-center justify-center overflow-hidden\n",children:[o,(0,Rs.jsx)("div",{className:"\n bg-ll-surface rounded-full w-[70%] h-[70%]\n flex items-center justify-center absolute\n",children:(0,Rs.jsx)("div",{className:"\n flex items-center justify-center\n w-full h-full\n\n [&>svg]:w-1/2\n [&>svg]:w-1/2\n [&>svg>path]:fill-ll-primary\n",children:n})})]})},Zh=()=>{const{labels:e,colors:t}=Jh();return(0,Rs.jsx)("ul",{className:"list-none p-0",children:e.map((e,n)=>(0,Rs.jsxs)("li",{className:"flex items-center",children:[(0,Rs.jsx)("div",{className:"w-3 h-3 rounded mr-2.5",style:{backgroundColor:(null==t?void 0:t[n])||"#000"}}),(0,Rs.jsx)(cl,{noMargin:!0,lineClamp:1,variant:"caption1",children:e})]},e))})},V("u",()=>{const{title:e,labels:t,data:n,unit:r}=Jh(),o=(0,Wt.useMemo)(()=>{if(n)return[...n].sort((e,t)=>e-t).reverse()[0]},[n]),i=(0,Wt.useMemo)(()=>r&&o?10*Math.ceil(o/10):100,[o,r]),a=(0,Wt.useMemo)(()=>n.map((e,n)=>({label:t[n],value:e,width:Math.round(100*e/i)})),[i,n,t]);return(0,Rs.jsxs)("div",{className:"\n h-full w-full overflow-hidden bg-ll-surface\n rounded-md p-3 flex flex-col\n",children:[(0,Rs.jsx)("div",{className:"h-[6%] min-h-5",children:(0,Rs.jsx)(cl,{variant:"p",noMargin:!0,weight:"--ll-font-weight-bold",children:`${e} (${r})`})}),(0,Rs.jsx)("div",{className:"grow mx-0 my-2 grid gap-y-1",children:a.map(e=>(0,Rs.jsxs)("div",{className:"\n grid grid-rows-1 grid-cols-[140px_calc(100%-165px)]\n gap-y-1 items-center\n",children:["0"!==e.label&&(0,Rs.jsx)(cl,{noMargin:!0,variant:"caption2",children:e.label}),(0,Rs.jsxs)("div",{className:"\n relative py-0.5 px-2.5 h-full\n flex justify-start items-center\n",children:[(0,Rs.jsx)("div",{className:"\n z-10 flex items-center justify-center\n h-full w-10 absolute top-0\n",style:{left:`${e.width}%`},children:(0,Rs.jsxs)(cl,{noMargin:!0,align:"center",color:"--ll-color-on-background",variant:"caption2",children:[e.value,r]})}),(0,Rs.jsx)("span",{className:"\n bg-ll-primary rounded-r-md inline-block h-full absolute top-0 bottom-0 left-0\n",style:{width:`${e.width}%`}})]})]},e.label))}),(0,Rs.jsxs)("div",{className:"\n border-t border-ll-placeholder border-solid\n h-[6%] min-h-3 w-[calc(100%-165px)]\n ml-[140px] grid grid-cols-3\n",children:[(0,Rs.jsx)(cl,{noMargin:!0,variant:"caption2",color:"--ll-color-on-background",children:"0"}),(0,Rs.jsx)(cl,{noMargin:!0,variant:"caption2",align:"center",color:"--ll-color-on-background",children:`${i/2}${r}`}),(0,Rs.jsx)(cl,{noMargin:!0,variant:"caption2",align:"right",color:"--ll-color-on-background",children:`${i}${r}`})]})]})}),ep=["rgb(0, 188,202)","rgb(208,232,233)","rgb(243,209,130)","rgb(255,116,16)","rgb(52,65,181)","rgb(151,184,126)","rgb(0,132,145)","rgb(62,49,91)"],V("l",tp=e=>{var t;return(0,Rs.jsx)(Xh.Provider,{value:K(K({},e),{},{colors:null!==(t=e.colors)&&void 0!==t?t:ep}),children:e.children})}),V("c",({title:e,labels:t,data:n,icon:r})=>(0,Rs.jsxs)("div",{className:"\n w-full h-full\n overflow-hidden\n bg-ll-surface\n font-sans\n rounded-md\n p-3\n",children:[(0,Rs.jsx)("div",{className:"\n mb-2\n",children:(0,Rs.jsx)(cl,{variant:"p",noMargin:!0,weight:"--ll-font-weight-bold",children:e})}),(0,Rs.jsx)(tp,{data:n,labels:t,icon:r,children:(0,Rs.jsxs)("div",{className:"\n items-center\n h-[80%]\n overflow-hidden\n my-0 mx-auto\n w-[90%] max-w-[380px] \n flex flex-row\n justify-between\n",children:[(0,Rs.jsx)("div",{className:"\n w-[35%] md:w-[45%]\n",children:(0,Rs.jsx)(Qh,{})}),(0,Rs.jsx)(Rs.Fragment,{children:(0,Rs.jsx)(Zh,{})})]})})]})),np=({error:e})=>(0,Rs.jsxs)("div",{className:"\n w-full h-full flex items-center justify-center flex-col\n","data-testid":"error-fallback",children:[(0,Rs.jsx)(cl,{variant:"h4",children:"An error occurred"}),(0,Rs.jsx)(cl,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),rp=Object.create,op=Object.defineProperty,ip=Object.getOwnPropertyDescriptor,ap=Object.getOwnPropertyNames,sp=Object.getPrototypeOf,lp=Object.prototype.hasOwnProperty,cp=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),up=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var o,i=ap(t),a=0,s=i.length;a<s;a++)o=i[a],!lp.call(e,o)&&o!==n&&op(e,o,{get:(e=>t[e]).bind(null,o),enumerable:!(r=ip(t,o))||r.enumerable});return e},dp=(e,t,n)=>(n=null==e?{}:rp(sp(e)),up(!t&&e&&e.__esModule?n:op(n,"default",{value:e,enumerable:!0}),e)),hp="CONNECT",V("s",pp=function(e){return e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e.RESIZE="resize",e}({})),fp=new(dp(cp((e,t)=>{var n=(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(t,n,r)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,s=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&a(e,n,t[n]);if(r)for(var n of r(t))i.call(t,n)&&a(e,n,t[n]);return e},l=(r,i,a,s)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let l of n(i))!o.call(r,l)&&l!==a&&e(r,l,{get:()=>i[l],enumerable:!(s=t(i,l))||s.enumerable});return r},c=(e,t,n)=>a(e,"symbol"==typeof t?t:t+"",n),u={};((t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})})(u,{DEFAULT_OPTIONS:()=>h,DEFAULT_UUID_LENGTH:()=>d,default:()=>f});var d=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:d,counter:0},p=class{constructor(e={}){c(this,"counter"),c(this,"debug"),c(this,"dict"),c(this,"version"),c(this,"dictIndex",0),c(this,"dictRange",[]),c(this,"lowerBound",0),c(this,"upperBound",0),c(this,"dictLength",0),c(this,"uuidLength"),c(this,"_digit_first_ascii",48),c(this,"_digit_last_ascii",58),c(this,"_alpha_lower_first_ascii",97),c(this,"_alpha_lower_last_ascii",123),c(this,"_hex_last_ascii",103),c(this,"_alpha_upper_first_ascii",65),c(this,"_alpha_upper_last_ascii",91),c(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),c(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),c(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),c(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),c(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),c(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),c(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),c(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),c(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),c(this,"log",(...e)=>{let t=[...e];t[0]=`[short-unique-id] ${e[0]}`,!0===this.debug&&typeof console<"u"&&null!==console&&console.log(...t)}),c(this,"_normalizeDictionary",(e,t)=>{let n;if(e&&Array.isArray(e)&&e.length>1)n=e;else{n=[],this.dictIndex=0;let t=`_${e}_dict_ranges`,r=this._dict_ranges[t],o=0;for(let[,e]of Object.entries(r)){let[t,n]=e;o+=Math.abs(n-t)}n=Array(o);let i=0;for(let[,e]of Object.entries(r)){this.dictRange=e,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];let t=this.lowerBound<=this.upperBound,r=this.lowerBound,o=this.upperBound;if(t)for(let e=r;e<o;e++)n[i++]=String.fromCharCode(e),this.dictIndex=e;else for(let e=r;e>o;e--)n[i++]=String.fromCharCode(e),this.dictIndex=e}n.length=i}if(t){for(let e=n.length-1;e>0;e--){let t=Math.floor(Math.random()*(e+1));[n[e],n[t]]=[n[t],n[e]]}}return n}),c(this,"setDictionary",(e,t)=>{this.dict=this._normalizeDictionary(e,t),this.dictLength=this.dict.length,this.setCounter(0)}),c(this,"seq",()=>this.sequentialUUID()),c(this,"sequentialUUID",()=>{let e=this.dictLength,t=this.dict,n=this.counter,r=[];do{let o=n%e;n=Math.trunc(n/e),r.push(t[o])}while(0!==n);let o=r.join("");return this.counter+=1,o}),c(this,"rnd",(e=this.uuidLength||d)=>this.randomUUID(e)),c(this,"randomUUID",(e=this.uuidLength||d)=>{if(null==e||e<1)throw Error("Invalid UUID Length Provided");let t=Array(e),n=this.dictLength,r=this.dict;for(let o=0;o<e;o++)t[o]=r[Math.floor(Math.random()*n)];return t.join("")}),c(this,"fmt",(e,t)=>this.formattedUUID(e,t)),c(this,"formattedUUID",(e,t)=>{let n={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,e=>{let r=e.slice(0,2),o=Number.parseInt(e.slice(2),10);return"$s"===r?n[r]().padStart(o,"0"):"$t"===r&&t?n[r](o,t):n[r](o)})}),c(this,"availableUUIDs",(e=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**e).toFixed(0))),c(this,"_collisionCache",new Map),c(this,"approxMaxBeforeCollision",(e=this.availableUUIDs(this.uuidLength))=>{let t=e,n=this._collisionCache.get(t);if(void 0!==n)return n;let r=Number.parseFloat(Math.sqrt(Math.PI/2*e).toFixed(20));return this._collisionCache.set(t,r),r}),c(this,"collisionProbability",(e=this.availableUUIDs(this.uuidLength),t=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(e)/this.availableUUIDs(t)).toFixed(20))),c(this,"uniqueness",(e=this.availableUUIDs(this.uuidLength))=>{let t=Number.parseFloat((1-this.approxMaxBeforeCollision(e)/e).toFixed(20));return t>1?1:t<0?0:t}),c(this,"getVersion",()=>this.version),c(this,"stamp",(e,t)=>{let n=Math.floor((t||new Date)/1e3).toString(16);if("number"==typeof e&&0===e)return n;if("number"!=typeof e||e<10)throw Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join("\n"));let r=e-9,o=Math.round(Math.random()*(r>15?15:r)),i=this.randomUUID(r);return`${i.substring(0,o)}${n}${i.substring(o)}${o.toString(16)}`}),c(this,"parseStamp",(e,t)=>{if(t&&!/t0|t[1-9]\d{1,}/.test(t))throw Error("Cannot extract date from a formated UUID with no timestamp in the format");let n=t?t.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,e=>{let t={$r:e=>[...Array(e)].map(()=>"r").join(""),$s:e=>[...Array(e)].map(()=>"s").join(""),$t:e=>[...Array(e)].map(()=>"t").join("")},n=e.slice(0,2),r=Number.parseInt(e.slice(2),10);return t[n](r)}).replace(/^(.*?)(t{8,})(.*)$/g,(t,n,r)=>e.substring(n.length,n.length+r.length)):e;if(8===n.length)return new Date(1e3*Number.parseInt(n,16));if(n.length<10)throw Error("Stamp length invalid");let r=Number.parseInt(n.substring(n.length-1),16);return new Date(1e3*Number.parseInt(n.substring(r,r+8),16))}),c(this,"setCounter",e=>{this.counter=e}),c(this,"validate",(e,t)=>{let n=t?this._normalizeDictionary(t):this.dict;return e.split("").every(e=>n.includes(e))});let t=s(s({},h),e);this.counter=0,this.debug=!1,this.dict=[],this.version="5.3.2";let{dictionary:n,shuffle:r,length:o,counter:i}=t;this.uuidLength=o,this.setDictionary(n,r),this.setCounter(i),this.debug=t.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this)}};c(p,"default",p);var f=p;return(t=>l(e({},"__esModule",{value:!0}),t))(u)})();void 0!==t&&(t.exports=n.default),typeof window<"u"&&(n=n.default)})(),1).default)({length:10}),gp=class e{constructor(e,t){this.onMessageHandlers=[],this.message=(e,t,n)=>this.crossOrigin?this.postMessage(e,t,n):this.customEventMessage(e,t,n),this.channelId=null!=e?e:"DEFAULT",this.channelNodeId=`channel-node-${fp.rnd()}`,this.crossOrigin=t,this.connection=new Promise(e=>{this.resolveConnection=e}),this.boundMessageHandler=this.handleMessage.bind(this)}disconnect(){this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise(e=>{this.resolveConnection=e})}onMessage(e){this.onMessageHandlers.push(e)}removeMessageHandler(e){let t=this.onMessageHandlers.findIndex(t=>t===e);this.onMessageHandlers.splice(t,1)}customEventMessage(e,t,n){let r=new CustomEvent(this.channelId,{detail:{eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t}});window.dispatchEvent(r)}postMessage(e,t,n){var r,o,i;null!==(r=this.crossOrigin)&&void 0!==r&&r.targetOrigin?null===(o=this.crossOrigin)||void 0===o||null===(o=o.window)||void 0===o||o.postMessage({eventId:n,channelId:this.channelId,channelNodeId:this.channelNodeId,name:e,data:t},null===(i=this.crossOrigin)||void 0===i?void 0:i.targetOrigin):console.error("A target origin was not specified.")}async eventRequest(e,t){let n=fp.rnd();return new Promise(r=>{let o=e=>{let{eventId:t}=e;n===t&&(this.removeMessageHandler(o),r(e))};this.onMessage(o),this.message(e,t,n)})}async waitForEvent(e){return new Promise(t=>{let n=r=>{let{name:o}=r;e===o&&(this.removeMessageHandler(n),t(r))};this.onMessage(n)})}handleMessage(t){let n;if(e.isCustomEvent(t))n=t.detail;else{var r;if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&"*"!==(null===(r=this.crossOrigin)||void 0===r?void 0:r.targetOrigin))return;n=t.data}let{channelId:o,channelNodeId:i}=n;this.channelId===o&&this.channelNodeId!==i&&this.onMessageHandlers.forEach(e=>{e(n)})}static isCustomEvent(e){return void 0!==e.detail}},mp=class extends gp{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(hp).then(e=>{this.resolveConnection(e)}),this.connection}},vp=Q((e,t)=>{var n=1/0,r=17976931348623157e292,o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,d=Object.prototype.toString;function h(e,t){var h;if("function"!=typeof t)throw new TypeError("Expected a function");return e=function(e){var t=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&d.call(e)==i}(e))return o;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?o:+e}(e),e===n||e===-1/0?(e<0?-1:1)*r:e==e?e:0):0===e?e:0}(e),h=t%1;return t==t?h?t-h:t:0}(e),function(){return--e>0&&(h=t.apply(this,arguments)),e<=1&&(t=void 0),h}}function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}t.exports=function(e){return h(2,e)}}),yp=G(vp(),1),bp={mapProvider:{name:"maptiler"},zoom:14,pitch:0,bearing:0,cooperativeGestures:!0,distanceUnit:"metric",hideScores:!1,showSchoolRatings:!1,scoresMenu:{defaultOpen:!0,title:!0,categories:{amenities:{hide:!1,order:1,colors:{background:"#FFF2C3",fill:"#BF8500"},scores:{shopping:{hide:!1,hideScore:!1,order:1},groceries:{hide:!1,hideScore:!1,order:2},restaurants:{hide:!1,hideScore:!1,order:3},cafes:{hide:!1,hideScore:!1,order:4}}},education:{hide:!1,order:2,colors:{background:"#E4EFFF",fill:"#003548"},scores:{daycares:{hide:!1,hideScore:!1,order:1},primary_schools:{hide:!1,hideScore:!1,order:2},high_schools:{hide:!1,hideScore:!1,order:3}}},transport:{hide:!1,order:3,colors:{background:"#E9F8FA",fill:"#008491"},scores:{transit_friendly:{hide:!1,hideScore:!1,order:1},car_friendly:{hide:!1,hideScore:!1,order:2},pedestrian_friendly:{hide:!1,hideScore:!1,order:3},cycling_friendly:{hide:!1,hideScore:!1,order:4}}},character:{hide:!1,order:4,colors:{background:"#FFDAAC",fill:"#FF7044"},scores:{nightlife:{hide:!1,hideScore:!1,order:1},vibrant:{hide:!1,hideScore:!1,order:2},historic:{hide:!1,hideScore:!1,order:3},quiet:{hide:!1,hideScore:!1,order:4}}},nature:{hide:!1,order:5,colors:{background:"#D8F4D9",fill:"#0F766E"},scores:{parks:{hide:!1,hideScore:!1,order:1},greenery:{hide:!1,hideScore:!1,order:2}}},health:{hide:!1,order:6,colors:{background:"#FFE7FE",fill:"#FF84D6"},scores:{wellness:{hide:!1,hideScore:!1,order:1}}}}}},wp={},xp={zoom:15,pitch:0,bearing:0,cooperativeGestures:!0,mapProvider:{name:"maptiler"},hideAttribution:!1,showSchoolRatings:!1},_p={},kp={},Ep={hideAttribution:!1},Sp={},Op={},Cp={hideAttribution:!1},Pp={hideAttribution:!1},V("o",{buyerColor:"#21BCCC",neutralColor:"#BEBEBE",sellerColor:"#FDC033",decreaseColor:"#EF4444",increaseColor:"#21BCCC"}),Lp={"local-content":{globalOptions:Rp={locale:"en"},options:bp},"local-demographics":{globalOptions:Rp,options:wp},"neighborhood-map":{globalOptions:Rp,options:xp},"neighborhood-hero":{globalOptions:Rp,options:_p},"neighborhood-characteristics":{globalOptions:Rp,options:kp},"neighborhood-highlights":{globalOptions:Rp,options:Sp},"neighborhood-demographics":{globalOptions:Rp,options:Ep},"neighborhood-property-value-drivers":{globalOptions:Rp,options:Op},"neighborhood-match":{globalOptions:Rp,options:Cp},"neighborhood-market-trends":{globalOptions:Rp,options:Pp},"neighborhood-schools":{globalOptions:Rp,options:{hideAttribution:!1,showSchoolRatings:!1}},"neighborhood-showcase":{globalOptions:Rp,options:{}},"neighborhood-featured":{globalOptions:Rp,options:{}},"lead-capture":{globalOptions:Rp,options:{}},demographics:{globalOptions:Rp,options:wp},"local-neighborhood-map":{globalOptions:Rp,options:xp},"local-neighborhood-hero":{globalOptions:Rp,options:_p},"local-neighborhood-characteristics":{globalOptions:Rp,options:kp},"local-neighborhood-highlights":{globalOptions:Rp,options:Sp},"local-neighborhood-demographics":{globalOptions:Rp,options:Ep},"local-neighborhood-property-value-drivers":{globalOptions:Rp,options:Op},"local-neighborhood-match":{globalOptions:Rp,options:Cp}},Dp=class{constructor(){this.data=new Map}getItem(e){var t;return null!==(t=this.data.get(e))&&void 0!==t?t:null}setItem(e,t){this.data.set(e,t)}removeItem(e){this.data.delete(e)}clear(){this.data.clear()}key(e){var t;return null!==(t=Array.from(this.data.keys())[e])&&void 0!==t?t:null}get length(){return this.data.size}},V("a",Tp=class{constructor(e){this.group=e,this.storage=function(){try{return"undefined"!=typeof window&&window.localStorage?window.localStorage:new Dp}catch(e){return new Dp}}()}setGroup(e){this.group=e}getGroup(){return this.group}getItem(e){return this.storage.getItem(this.group?`${this.group}.${e}`:e)}setItem(e,t){this.storage.setItem(this.group?`${this.group}.${e}`:e,t)}removeItem(e){this.storage.removeItem(this.group?`${this.group}.${e}`:e)}}),new Tp,jp=class{constructor(){this.storageLocation="suggestion_history",this.history=[],this.storage=new Tp("commute");const e=this.storage.getItem(this.storageLocation);e&&(this.history=JSON.parse(e))}push(e){this.history=this.removeDuplicateEntries(e),this.history.unshift(e),this.history.length>5&&(this.history=this.history.slice(0,5)),this.storage.setItem(this.storageLocation,JSON.stringify(this.history))}hasSuggestionHistory(){return this.history.length>0}getSuggestionHistory(){return this.history}removeDuplicateEntries(e){return this.history.filter(t=>t.locationId!==e.locationId)}},V("i",new jp),Ap=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),V("r",Np=e=>{const t=(0,Wt.useRef)(e),n=(0,Wt.useRef)(),r=(0,Wt.useRef)(!1),o=(0,Wt.useRef)(!1),[,i]=(0,Wt.useState)(0);r.current&&(o.current=!0),(0,Wt.useEffect)(()=>(r.current||(n.current=t.current(),r.current=!0),i(e=>e+1),()=>{o.current&&n.current&&n.current()}),[])}),V("n",Ip=(e,t)=>{const[n,r]=(0,Wt.useState)(e);return(0,Wt.useEffect)(()=>{const n=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(n)}},[e,t]),n}),Mp=(0,yp.default)(()=>Wt.createContext({})),V("t",Fp=()=>{const e=Wt.useContext(Mp());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e}),$p=Wt.memo(({children:e})=>{var t;const n=Mp(),r=(0,Fa.useSearch)(),o=Wt.useRef(r),i=(0,Fa.useLocation)().current.pathname.split("/"),a=Lp[i[i.length-1]],s=Wt.useRef(),[l,c]=(0,Wt.useState)(!1),[u,d]=(0,Wt.useState)(Kw(a)),h=Ip(u,500),p=(0,Fa.useNavigate)(),f=e=>{o.current=Kw(e),d(Kw(e))},g=e=>{var t;e.name===pp.GET_STATE&&(null===(t=s.current)||void 0===t||t.message(pp.GET_STATE_RESPONSE,o.current,e.eventId)),e.name===pp.SET_STATE&&f(e.data)};Np(()=>{const e=new URLSearchParams(window.location.search).get("parentOrigin"),t=new mp(r.channelId,{targetOrigin:e||document.referrer,window:window.parent});s.current=t,null==t||t.onMessage(g),null==t||t.connect().then(e=>{const t=Vw(u,e.data);f(t),c(!0),Uo.addBreadCrumb("stateManager","useEffectOnce: Connected to sdks-js",{oldState:u,newState:e.data,mergedState:t})})});const m=e=>{var t;null===(t=s.current)||void 0===t||t.message(pp.ON_CHANGE,e),Uo.addBreadCrumb("stateManager","onChange",{data:e})};(0,Wt.useEffect)(()=>{p({search:()=>h,replace:!0})},[h]),(0,Wt.useEffect)(()=>{u.options&&m({type:"options",data:u.options})},[u.options]);const v=(0,Wt.useMemo)(()=>({sdkState:u,setSdkState:f,onChange:m,followerNode:s.current}),[u,f,m]);return(0,Wt.useEffect)(()=>{var e,t;if(!l||null===(e=u.globalOptions)||void 0===e||!e.locale)return;const n=(null===(t=u.globalOptions)||void 0===t?void 0:t.locale)||"en";Ea.language!==n&&(Uo.addBreadCrumb("stateManager","i18n.changeLanguage",{language:n}),Ea.changeLanguage(n))},[null===(t=u.globalOptions)||void 0===t?void 0:t.locale,l]),l?(0,Rs.jsx)(n.Provider,{value:v,children:e}):null}),$p.displayName="StateManagerProvider",zp=(e,t="",n={})=>(Object.keys(e).forEach(r=>{if(Object.prototype.hasOwnProperty.call(e,r)){const o=t?`${t}.${r}`:r;"object"!=typeof e[r]||null===e[r]||Array.isArray(e[r])?n[`LocalLogic.${o}`]=e[r]:zp(e[r],o,n)}}),K({},n)),Up=({children:e})=>{const{sdkState:t}=Fp();return(0,Wt.useEffect)(()=>{Uo.setTags(zp(t||{}))},[t.apiKey,t.globalOptions,t.options]),(0,Rs.jsx)(Rs.Fragment,{children:e})},Hp=({children:e})=>{var t;const{sdkState:n}=Fp(),r=(0,Fa.useRouter)();return(0,Rs.jsx)(Po,{clientSideID:"643eb54728e2fd16ae6e7a15",context:{kind:"organization",key:n.clientId,custom:{locale:(null===(t=n.globalOptions)||void 0===t?void 0:t.locale)||"en",sdk:r.state.location.pathname.split("/")[3]}},reactOptions:{sendEventsOnFlagRead:!0},options:{streaming:!0,logger:io({level:"none"})},children:e})},qp=new Os({defaultOptions:{queries:{retry:2,staleTime:1/0}}}),Bp=()=>{return(0,Rs.jsx)(Rs.Fragment,{children:(0,Rs.jsx)(As,{FallbackComponent:np,onError:(t,n)=>{const r=pv(t,n);e&&e(t,n,r)},children:(0,Rs.jsx)(Qs,{children:(0,Rs.jsx)(Ds,{client:qp,children:(0,Rs.jsx)($p,{children:(0,Rs.jsx)(Hp,{children:(0,Rs.jsx)(Up,{children:(0,Rs.jsx)(Fa.Outlet,{})})})})})})})});var e},window.addEventListener("DOMContentLoaded",e=>{Jt.createRoot(document.getElementById("root")).render((0,Rs.jsx)(Wt.StrictMode,{children:(0,Rs.jsx)(Bp,{})}))})}}})}();
|
|
2
|
-
//# sourceMappingURL=index-legacy-C3WMF-is.js.map
|