1: \begin{abstract}
2: Simple, or Kleinian, singularities are classified by Dyn\-kin diagrams of
3: type $ADE$. Let $\lieg$ be the corresponding finite-dimensional Lie algebra, and $W$ its Weyl group.
4: The set of $\lieg$-invariants in the basic representation of the affine Kac--Moody algebra
5: $\hat\lieg$ is known as a $\W$-algebra and is a subalgebra of the
6: Heisenberg vertex algebra $\F$. Using period integrals, we construct an analytic
7: continuation of the twisted representation of $\F$. Our construction yields a global object, which may be called
8: a $W$-twisted representation of $\F$.
9: Our main result is that the total descendant potential of the singularity,
10: introduced by Givental, is a highest weight vector for the $\W$-algebra.
11: \end{abstract}
12: