Derivation of functional trophoblast stem cells from primed human pluripotent stem cells