Photovoltaic encapsulation