Which punctuation is correct for this sentence? :
"I took the dog to the park this morning and, of course, he needed a bath afterwards because he rolled in the mud."
"I took the dog to the park this morning, and of course, he needed a bath afterwards because he rolled in the mud."
"I took the dog to the park this morning, and, of course, he needed a bath afterwards because he rolled in the mud."
I specifically want to know about instances where the independent clauses are long enough that they cannot reasonably go without a comma between them. I've been struggling to find an answer for this anywhere.
Edit 1: To Edwin Ashworth - No, unfortunately that does not answer my question. That example uses a complex sentence, where I am specifically wondering about compound sentences.
My confusion lies in the fact that compound sentences require a comma before the conjunction, but if there's a disjunct or a parenthetical expression after the conjunction, does it change the rule?
Edit 2: I see what you mean, and while I largely agree that many "rules" are up to the author's style and intent, I'm looking for a rule of thumb in this instance.
If I'm editing a manuscript and I don't know the author's intent, which sentence from above would be the safest punctuation to follow? In this sort of situation, I think it's best to have a rule of thumb and to stay consistent with that style as much as possible throughout the manuscript. Then the author can decide from there what their intent is and whether they keep or reject an edit.