At the end of Captain Marvel, we find out that the reason Danvers's powers are so strong is that
they are drawn directly from the Tesseract, AKA one of the Infinity Stones.
However, early on in Avengers: Endgame,
Thanos destroys all of the Infinity Stones.
At first glance, it appears that this should have depowered Captain Marvel before she was ever even able to make it to the first fight scene she took part in. Do we have any good explanation for why that didn't happen?