getAnchorUrl(anchor) {
    return this.baseUrl ? this.baseUrl + anchor : anchor;
  }
Prefix the full url on anchor links to make sure that links are resolved
relative to the current URL instead of the one defined in <base href>.
@param {string} anchor - The anchor hash, including the #.
@returns {string} The hyperlink to the PDF object.