Exponential stability and hybrid L2h-gain analysis of hybrid systems via max functions. (November 2022)