ハグであれば
hagudeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ハグ

1. If hugging; When hugging

Ba Conditional