SMS dit: Immersed Lagrangian Floer theory