Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Period differential equations for the families of \(K3\) surfaces with two parameters derived from the reflexive polytopes 