var PB = /** @class */ (function () { /** * Create a new progress bar object * @param element */ function PB(element, progressBarElement, config) { this.mouse_over_progressbar = false; this.title_jumped = false; this.sections = new Array(); this.moments = new Array(); this.el_pbar = $(progressBarElement); this.el_body = $(element); this.el_body.css("pointer-events", "none"); this.video_length = config.videoLength; this.ev_config = config; this.c_width = this.el_body.width() - 1; this.createElements(); this.startResizeMonitoring(); } PB.prototype.createElements = function () { this.el_base = $('
'); this.el_root = $('