/*!
 * SPDX-License-Identifier: Unlicense
 * This file was automatically generated by https://github.com/yt-dlp/ejs
 */
!function () {
  "use strict";

  !function (t) {
    var r = t.Object,
      n = t.Array,
      e = t.String;
    r.assign || (r.assign = function (t) {
      if (null == t) throw new TypeError("Cannot convert undefined or null to object");
      for (var n = r(t), e = 1; e < arguments.length; e++) {
        var o = arguments[e];
        if (null != o) for (var i in r(o)) r.prototype.hasOwnProperty.call(o, i) && (n[i] = o[i]);
      }
      return n;
    }), r.values || (r.values = function (t) {
      for (var n = r.keys(r(t)), e = [], o = 0; o < n.length; o++) e.push(t[n[o]]);
      return e;
    }), r.entries || (r.entries = function (t) {
      for (var n = r.keys(r(t)), e = [], o = 0; o < n.length; o++) e.push([n[o], t[n[o]]]);
      return e;
    }), r.fromEntries || (r.fromEntries = function (t) {
      for (var r = {}, n = 0; n < t.length; n++) r[t[n][0]] = t[n][1];
      return r;
    }), r.hasOwn || (r.hasOwn = function (t, n) {
      return r.prototype.hasOwnProperty.call(t, n);
    }), r.getOwnPropertyDescriptors || (r.getOwnPropertyDescriptors = function (t) {
      for (var n = {}, e = r.getOwnPropertyNames(t), o = 0; o < e.length; o++) n[e[o]] = r.getOwnPropertyDescriptor(t, e[o]);
      return n;
    }), n.from || (n.from = function (t) {
      for (var r = [], n = 0; n < t.length; n++) r.push(t[n]);
      return r;
    }), n.prototype.includes || (n.prototype.includes = function (t) {
      return -1 !== this.indexOf(t);
    }), n.prototype.fill || (n.prototype.fill = function (t, r, n) {
      for (var e = this.length >>> 0, o = null == r ? 0 : r < 0 ? Math.max(e + r, 0) : r, i = null == n ? e : n < 0 ? Math.max(e + n, 0) : n, a = o; a < Math.min(i, e); a++) this[a] = t;
      return this;
    }), e.fromCodePoint || (e.fromCodePoint = function () {
      for (var t = "", r = 0; r < arguments.length; r++) {
        var n = Number(arguments[r]);
        n <= 65535 ? t += e.fromCharCode(n) : (n -= 65536, t += e.fromCharCode(55296 + (n >> 10), n % 1024 + 56320));
      }
      return t;
    }), e.prototype.startsWith || (e.prototype.startsWith = function (t, r) {
      var n = r || 0;
      return this.slice(n, n + t.length) === t;
    }), e.prototype.endsWith || (e.prototype.endsWith = function (t, r) {
      var n = void 0 === r || r > this.length ? this.length : r;
      return this.slice(n - t.length, n) === t;
    }), e.prototype.includes || (e.prototype.includes = function (t, r) {
      return -1 !== this.indexOf(t, r || 0);
    }), e.prototype.repeat || (e.prototype.repeat = function (t) {
      if (t < 0 || t === 1 / 0) throw new RangeError("Invalid count value");
      return new Array(Math.floor(t) + 1).join(this);
    }), t.Math.trunc || (t.Math.trunc = function (t) {
      return t < 0 ? Math.ceil(t) : Math.floor(t);
    });
    for (var o = ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"], i = 0; i < o.length; i++) {
      var a = t[o[i]];
      a && !a.prototype.fill && (a.prototype.fill = n.prototype.fill);
    }
  }("undefined" != typeof window ? window : "undefined" != typeof self ? self : {});
}();
