code: function getCenteringPrice(options) {
    const { leftOffset, rightOffset } = centeringProperties(options);
    // TODO: currently shifted popovers have higher price,
    // popover shift could be taken into account with the same price
    return Math.max(0, leftOffset) + Math.max(0, rightOffset);
  }
docs: /* Evaluate centering placement