Type-I contributions to the one and two level densities of quadratic Dirichlet L–functions over function fields