function createRoundedBoxPath(top, bottom, left, right, borderRadius) {
const width = right - left;
const height = bottom - top;
const pathData = `
M ${left + borderRadius} ${top}
q 0 -${borderRadius} ${borderRadius} -${borderRadius}
M ${left + 30 + borderRadius * 2} ${top - borderRadius}
h ${width - 2 * borderRadius- 30}
q ${borderRadius} 0 ${borderRadius} ${borderRadius}
v ${height - 2 * borderRadius}
q 0 ${borderRadius} -${borderRadius} ${borderRadius}
h -${width - 2 * borderRadius}
q -${borderRadius} 0 -${borderRadius} -${borderRadius}
v -${height - 2 * borderRadius}
`;
return pathData;
}