Analysis of bound and resonant states of doubly heavy tetraquarks with spin J≤2 | Synapse