Collective antiskyrmion-mediated phase transition and defect-induced melting in chiral magnetic films