How to define the following matrix in Mathematica?
$$A(n) = \begin{pmatrix} B_{1} & B_{2} & \cdots & B_{n} & 1 \\ B_{n} & B_{1} & \cdots & B_{n-1} &1 \\ \vdots & \vdots & \ddots & \vdots \\ B_{2} & B_{3} & \cdots & B_{1} & 1\\ A_{1} & A_{2} & \cdots & A_{n} &1 \end{pmatrix}$$
For instance :
for $n=4$
Table[Subscript[B, k], {k, 1, 4}]
$$A(4) = \begin{pmatrix} B_{1} & B_{2} & B_{3} & B_{4}&1 \\ B_{4} & B_{1} & B_{2} & B_{3}&1 \\ B_{3} & B_{4} & B_{1} & B_{2}&1 \\ B_{2} & B_{3} & B_{4} & B_{1}&1 \\ A_{1} & A_{2} & A_{3} & A_{4}&1 \end{pmatrix}$$
how to define $A(n)$ as a function of $n$?
And then I wanna manipulate $A(n)$
Manipulate[A[n], {n, 2, 30}]
Thank you in advance to any one who may be able to give me some ideas