Search for exotic decays of a Higgs boson into undetectable particles and one or more photons