PL/2.0/. */

"use strict";

class PictureInPictureVideoWrapper {
  isLive() {
    return !document.querySelector(".seekbar-bar");
  }

  getDuration(video) {
    if (this.isLive(video)) {
      return Infinity;
    }
    return video.duration;
  }
}

this.PictureInPictureVideoWrapper = PictureInPictureVideoWrapper;
PK