Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Analytic continuation of holomorphic maps respecting varieties of minimal rational tangents and applications to rational homogeneous manifolds 