おもいつきであれば
omoitsukideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 思いつき

1. If [it] occurs to [me]; If [I] think of it; If [I] have the idea

Ba Conditional