function _getAllClasses(classes, classPrefix, constraints) {
  const allClasses = [getClass('pinned', classes, classPrefix), getClass('out-of-bounds', classes, classPrefix)];

  constraints.forEach((constraint) => {
    const { outOfBoundsClass, pinnedClass } = constraint;
    if (outOfBoundsClass) {
      allClasses.push(outOfBoundsClass);
    }
    if (pinnedClass) {
      allClasses.push(pinnedClass);
    }
  });

  allClasses.forEach((cls) => {
    ['left', 'top', 'right', 'bottom'].forEach((side) => {
      allClasses.push(`${cls}-${side}`);
    });
  });

  return allClasses;
}
Get all the initial classes
@param classes
@param {string} classPrefix
@param constraints
@return {[*, *]}
@private