Text this: Spatially Resolved Photon Statistics of General Nanophotonic Systems