playlist-data-engine 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10839,7 +10839,7 @@ const li = {
10839
10839
  elite: 3,
10840
10840
  boss: 4
10841
10841
  };
10842
- class Ze {
10842
+ class Ye {
10843
10843
  /**
10844
10844
  * Generate a spell list for an enemy
10845
10845
  *
@@ -10896,7 +10896,7 @@ class Ze {
10896
10896
  h.some((S) => S.id === T.id) || h.push(T), y.splice(_, 1);
10897
10897
  }
10898
10898
  }
10899
- const g = Ze.getSpellSlotsForCR(n);
10899
+ const g = Ye.getSpellSlotsForCR(n);
10900
10900
  return {
10901
10901
  cantrips: u,
10902
10902
  spells: h,
@@ -10959,7 +10959,7 @@ class Ze {
10959
10959
  d.some((T) => T.id === _.id) || d.push(_), p.splice(b, 1);
10960
10960
  }
10961
10961
  }
10962
- const f = Ze.getSpellSlotsForCR(n);
10962
+ const f = Ye.getSpellSlotsForCR(n);
10963
10963
  return {
10964
10964
  cantrips: l,
10965
10965
  spells: d,
@@ -11068,9 +11068,9 @@ class Ze {
11068
11068
  static spellsToFeatures(e) {
11069
11069
  const t = [];
11070
11070
  for (const i of e.cantrips)
11071
- t.push(Ze.spellToFeature(i));
11071
+ t.push(Ye.spellToFeature(i));
11072
11072
  for (const i of e.spells)
11073
- t.push(Ze.spellToFeature(i));
11073
+ t.push(Ye.spellToFeature(i));
11074
11074
  return t;
11075
11075
  }
11076
11076
  /**
@@ -11339,7 +11339,7 @@ const di = {
11339
11339
  // CR 21+: 6 per day (ancient dragons, demon lords, etc.)
11340
11340
  21: 6
11341
11341
  }, Au = 3;
11342
- class Ke {
11342
+ class je {
11343
11343
  /**
11344
11344
  * Generate legendary configuration for a boss enemy
11345
11345
  *
@@ -11361,10 +11361,10 @@ class Ke {
11361
11361
  * ```
11362
11362
  */
11363
11363
  static generate(e) {
11364
- const { archetype: t, cr: i, seed: n } = e, a = Ke.getResistancesForCR(i), r = new Ue(n), c = [...di[t] || [], ...hi], l = Ke.selectLegendaryActions(
11364
+ const { archetype: t, cr: i, seed: n } = e, a = je.getResistancesForCR(i), r = new Ue(n), c = [...di[t] || [], ...hi], l = je.selectLegendaryActions(
11365
11365
  c,
11366
11366
  r
11367
- ), u = r.random() < 0.2 ? Ke.generateLairActionHint(t, r) : void 0;
11367
+ ), u = r.random() < 0.2 ? je.generateLairActionHint(t, r) : void 0;
11368
11368
  return {
11369
11369
  resistances: a,
11370
11370
  actions: l,
@@ -11380,10 +11380,10 @@ class Ke {
11380
11380
  * @returns Legendary configuration
11381
11381
  */
11382
11382
  static generateWithRNG(e) {
11383
- const { archetype: t, cr: i, rng: n } = e, a = Ke.getResistancesForCR(i), o = [...di[t] || [], ...hi], c = Ke.selectLegendaryActions(
11383
+ const { archetype: t, cr: i, rng: n } = e, a = je.getResistancesForCR(i), o = [...di[t] || [], ...hi], c = je.selectLegendaryActions(
11384
11384
  o,
11385
11385
  n
11386
- ), l = n.random() < 0.2 ? Ke.generateLairActionHint(t, n) : void 0;
11386
+ ), l = n.random() < 0.2 ? je.generateLairActionHint(t, n) : void 0;
11387
11387
  return {
11388
11388
  resistances: a,
11389
11389
  actions: c,
@@ -12034,15 +12034,15 @@ const U = class U {
12034
12034
  o
12035
12035
  )];
12036
12036
  let u;
12037
- if (Ze.shouldHaveSpellcasting(e.archetype, t)) {
12037
+ if (Ye.shouldHaveSpellcasting(e.archetype, t)) {
12038
12038
  const m = n || U.getCRForRarity(t);
12039
- u = Ze.generateSpellListWithRNG({
12039
+ u = Ye.generateSpellListWithRNG({
12040
12040
  archetype: e.archetype,
12041
12041
  rarity: t,
12042
12042
  cr: m,
12043
12043
  rng: i
12044
12044
  });
12045
- const f = Ze.spellsToFeatures(u);
12045
+ const f = Ye.spellsToFeatures(u);
12046
12046
  l.push(...f);
12047
12047
  }
12048
12048
  const h = wt(t).extraAbilityCount;
@@ -12178,7 +12178,7 @@ const U = class U {
12178
12178
  let y;
12179
12179
  u?.hpLevel !== void 0 ? y = ys(h.baseHP, u.hpLevel, r) : y = ys(h.baseHP, f, r), o !== 1 && (y = Math.round(y * o));
12180
12180
  const b = Math.ceil(1 + (f - 1) / 4);
12181
- Ze.shouldHaveSpellcasting(h.archetype, r);
12181
+ Ye.shouldHaveSpellcasting(h.archetype, r);
12182
12182
  const { abilities: _, spellConfig: T } = U.generateAbilities(h, r, d, m, g, f, u);
12183
12183
  let S = _;
12184
12184
  if (r === "boss") {
@@ -12190,9 +12190,9 @@ const U = class U {
12190
12190
  );
12191
12191
  }
12192
12192
  let I = [], D;
12193
- if (Ke.shouldHaveLegendary(r)) {
12193
+ if (je.shouldHaveLegendary(r)) {
12194
12194
  const j = U.getSeededRNG(`${t}-legendary`);
12195
- D = Ke.generateWithRNG({
12195
+ D = je.generateWithRNG({
12196
12196
  archetype: h.archetype,
12197
12197
  cr: m,
12198
12198
  rng: j
@@ -17207,7 +17207,7 @@ class J {
17207
17207
  * 7. multimedia_url (Alternative media field)
17208
17208
  */
17209
17209
  static extractAudioUrl(e) {
17210
- const t = ["mp3_url", "lossy_audio", "audio_url", "lossless_audio", "animation_url", "audio", "multimedia_url"];
17210
+ const t = ["mp3_url", "lossy_audio", "audio_url", "lossless_audio", "animation_url", "audio", "multimedia_url", "losslessAudio"];
17211
17211
  for (const i of t)
17212
17212
  if (e[i] && typeof e[i] == "string")
17213
17213
  return e[i];
@@ -17219,7 +17219,7 @@ class J {
17219
17219
  * Priority: lossless_audio > animation_url (only if it looks like a lossless format)
17220
17220
  */
17221
17221
  static extractAudioUrlLossless(e) {
17222
- const t = ["lossless_audio", "wav_url", "flac_url"];
17222
+ const t = ["audio_url", "lossless_audio", "wav_url", "flac_url", "losslessAudio"];
17223
17223
  for (const i of t)
17224
17224
  if (e[i] && typeof e[i] == "string")
17225
17225
  return e[i];
@@ -17659,11 +17659,11 @@ function Nt(s) {
17659
17659
  }
17660
17660
  return null;
17661
17661
  }
17662
- function je(s, e, t = "") {
17662
+ function Qe(s, e, t = "") {
17663
17663
  return `${e.protocol || "https"}://${e.host}/${s}${t}`;
17664
17664
  }
17665
17665
  function Vb(s, e = Mo, t = "") {
17666
- return e.sort((i, n) => i.priority - n.priority).map((i) => je(s, i, t));
17666
+ return e.sort((i, n) => i.priority - n.priority).map((i) => Qe(s, i, t));
17667
17667
  }
17668
17668
  async function Cg() {
17669
17669
  try {
@@ -17758,7 +17758,7 @@ class Ig {
17758
17758
  txId: t.txId,
17759
17759
  gateway: i.host,
17760
17760
  pathSuffix: t.pathSuffix || void 0
17761
- }), je(t.txId, i, t.pathSuffix);
17761
+ }), Qe(t.txId, i, t.pathSuffix);
17762
17762
  }
17763
17763
  /**
17764
17764
  * Set a preferred gateway by host name.
@@ -17829,15 +17829,10 @@ class Ig {
17829
17829
  const { txId: a, pathSuffix: r } = n, o = this.getCachedGateway(a);
17830
17830
  if (o) {
17831
17831
  this.hitCount++;
17832
- const d = je(a, o, r);
17832
+ const d = Qe(a, o, r);
17833
17833
  return this.logger.debug("Cache hit for txId", { txId: a, gateway: o.host, pathSuffix: r }), d;
17834
17834
  }
17835
17835
  const c = this.activeGateway?.host ?? "none";
17836
- if (this.activeGateway) {
17837
- if (this.loadPersistedGateway())
17838
- return je(a, this.activeGateway, r);
17839
- this.activeGateway = null, this.clearPersistedGateway();
17840
- }
17841
17836
  this.consecutiveSlowResponses >= this.maxSlowResponses && (this.logger.warn("Proactive gateway rotation triggered", {
17842
17837
  slowCount: this.consecutiveSlowResponses,
17843
17838
  threshold: this.maxSlowResponses,
@@ -17858,6 +17853,19 @@ class Ig {
17858
17853
  */
17859
17854
  async resolveGatewayChain(e, t, i, n, a) {
17860
17855
  const r = Date.now(), o = a?.bypassArweaveNet ?? !1;
17856
+ if (e.startsWith("https://") || e.startsWith("http://"))
17857
+ try {
17858
+ const d = new URL(e), h = {
17859
+ host: d.host,
17860
+ // includes port if present
17861
+ protocol: d.protocol.replace(":", ""),
17862
+ priority: 0
17863
+ }, m = Date.now(), f = await this.checkAndSetGateway(e, t, i, h, n), g = Date.now() - m;
17864
+ if (f)
17865
+ return this.logger.info("[gateway] Step 0 (original): success", { host: h.host, ms: g, totalMs: Date.now() - r }), f;
17866
+ this.logger.info("[gateway] Step 0 (original): failed", { host: h.host, ms: g });
17867
+ } catch {
17868
+ }
17861
17869
  if (this.activeGateway) {
17862
17870
  const d = Date.now(), h = await this.checkAndSetGateway(e, t, i, this.activeGateway, n), m = Date.now() - d;
17863
17871
  if (h)
@@ -17959,7 +17967,7 @@ class Ig {
17959
17967
  if (a?.aborted) return null;
17960
17968
  if (await this.checkGateway(t, n, i, a)) {
17961
17969
  this.setActiveGateway(n, t);
17962
- const o = je(t, n, i);
17970
+ const o = Qe(t, n, i);
17963
17971
  return this.logger.info("Gateway resolved", {
17964
17972
  txId: t,
17965
17973
  gateway: n.host,
@@ -17987,7 +17995,7 @@ class Ig {
17987
17995
  return await Promise.any(
17988
17996
  l.map(async (f) => {
17989
17997
  if (await this.checkGateway(t, f, i, u.signal)) {
17990
- const p = je(t, f, i);
17998
+ const p = Qe(t, f, i);
17991
17999
  return h || (h = !0, this.setActiveGateway(f, t), this.logger.info("Gateway resolved via fallback", {
17992
18000
  txId: t,
17993
18001
  gateway: f.host,
@@ -18028,7 +18036,7 @@ class Ig {
18028
18036
  };
18029
18037
  if (await this.checkGateway(t, u, i, n)) {
18030
18038
  this.setActiveGateway(u, t);
18031
- const h = je(t, u, i);
18039
+ const h = Qe(t, u, i);
18032
18040
  return this.logger.info("Gateway resolved via Wayfinder", {
18033
18041
  txId: t,
18034
18042
  gateway: c,
@@ -18104,7 +18112,7 @@ class Ig {
18104
18112
  * @returns true if the gateway can serve the transaction
18105
18113
  */
18106
18114
  async checkGateway(e, t, i = "", n) {
18107
- const a = je(e, t, i), r = Date.now(), o = new AbortController(), c = setTimeout(() => o.abort(), this.timeout), l = () => o.abort();
18115
+ const a = Qe(e, t, i), r = Date.now(), o = new AbortController(), c = setTimeout(() => o.abort(), this.timeout), l = () => o.abort();
18108
18116
  n?.addEventListener("abort", l, { once: !0 });
18109
18117
  try {
18110
18118
  const u = await fetch(a, {
@@ -18126,13 +18134,11 @@ class Ig {
18126
18134
  timeout: this.timeout
18127
18135
  }), !1;
18128
18136
  }
18129
- if (u instanceof TypeError)
18130
- return this.logger.debug("Gateway check failed (likely CORS or network)", {
18131
- txId: e,
18132
- gateway: t.host,
18133
- error: u.message
18134
- }), !1;
18135
- throw u;
18137
+ return this.logger.debug("Gateway HEAD failed", {
18138
+ txId: e,
18139
+ gateway: t.host,
18140
+ error: u instanceof Error ? u.message : String(u)
18141
+ }), !1;
18136
18142
  }
18137
18143
  }
18138
18144
  /**
@@ -18484,7 +18490,7 @@ class Ig {
18484
18490
  const g = Date.now();
18485
18491
  let p = !1, y = this.timeout;
18486
18492
  try {
18487
- const b = je(i, f), _ = new AbortController(), T = setTimeout(() => _.abort(), this.timeout), S = await fetch(b, {
18493
+ const b = Qe(i, f), _ = new AbortController(), T = setTimeout(() => _.abort(), this.timeout), S = await fetch(b, {
18488
18494
  method: "HEAD",
18489
18495
  mode: "cors",
18490
18496
  signal: _.signal
@@ -19385,19 +19391,19 @@ function xg() {
19385
19391
  function kc() {
19386
19392
  return typeof openDatabase == "function";
19387
19393
  }
19388
- var Xe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ic = "~~local_forage_type~", Sa = /^~~local_forage_type~([^~]+)~/, ei = "__lfsc__:", Ui = ei.length, Vi = "arbf", ji = "blob", _a = "si08", Ta = "ui08", Ca = "uic8", Ma = "si16", Aa = "si32", ka = "ur16", Ia = "ui32", Da = "fl32", Ea = "fl64", xa = Ui + Vi.length, Ra = Object.prototype.toString;
19394
+ var Ze = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ic = "~~local_forage_type~", Sa = /^~~local_forage_type~([^~]+)~/, ei = "__lfsc__:", Ui = ei.length, Vi = "arbf", ji = "blob", _a = "si08", Ta = "ui08", Ca = "uic8", Ma = "si16", Aa = "si32", ka = "ur16", Ia = "ui32", Da = "fl32", Ea = "fl64", xa = Ui + Vi.length, Ra = Object.prototype.toString;
19389
19395
  function Pa(v) {
19390
19396
  var C = v.length * 0.75, w = v.length, A, k = 0, M, x, P, B;
19391
19397
  v[v.length - 1] === "=" && (C--, v[v.length - 2] === "=" && C--);
19392
19398
  var N = new ArrayBuffer(C), $ = new Uint8Array(N);
19393
19399
  for (A = 0; A < w; A += 4)
19394
- M = Xe.indexOf(v[A]), x = Xe.indexOf(v[A + 1]), P = Xe.indexOf(v[A + 2]), B = Xe.indexOf(v[A + 3]), $[k++] = M << 2 | x >> 4, $[k++] = (x & 15) << 4 | P >> 2, $[k++] = (P & 3) << 6 | B & 63;
19400
+ M = Ze.indexOf(v[A]), x = Ze.indexOf(v[A + 1]), P = Ze.indexOf(v[A + 2]), B = Ze.indexOf(v[A + 3]), $[k++] = M << 2 | x >> 4, $[k++] = (x & 15) << 4 | P >> 2, $[k++] = (P & 3) << 6 | B & 63;
19395
19401
  return N;
19396
19402
  }
19397
19403
  function Ki(v) {
19398
19404
  var C = new Uint8Array(v), w = "", A;
19399
19405
  for (A = 0; A < C.length; A += 3)
19400
- w += Xe[C[A] >> 2], w += Xe[(C[A] & 3) << 4 | C[A + 1] >> 4], w += Xe[(C[A + 1] & 15) << 2 | C[A + 2] >> 6], w += Xe[C[A + 2] & 63];
19406
+ w += Ze[C[A] >> 2], w += Ze[(C[A] & 3) << 4 | C[A + 1] >> 4], w += Ze[(C[A + 1] & 15) << 2 | C[A + 2] >> 6], w += Ze[C[A + 2] & 63];
19401
19407
  return C.length % 3 === 2 ? w = w.substring(0, w.length - 1) + "=" : C.length % 3 === 1 && (w = w.substring(0, w.length - 2) + "=="), w;
19402
19408
  }
19403
19409
  function Dc(v, C) {
@@ -19486,7 +19492,7 @@ function xg() {
19486
19492
  });
19487
19493
  return w.serializer = Yi, k;
19488
19494
  }
19489
- function Je(v, C, w, A, k, M) {
19495
+ function Xe(v, C, w, A, k, M) {
19490
19496
  v.executeSql(w, A, k, function(x, P) {
19491
19497
  P.code === P.SYNTAX_ERR ? x.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [C.storeName], function(B, N) {
19492
19498
  N.rows.length ? M(B, P) : Ba(B, C, function() {
@@ -19502,7 +19508,7 @@ function xg() {
19502
19508
  w.ready().then(function() {
19503
19509
  var x = w._dbInfo;
19504
19510
  x.db.transaction(function(P) {
19505
- Je(P, x, "SELECT * FROM " + x.storeName + " WHERE key = ? LIMIT 1", [v], function(B, N) {
19511
+ Xe(P, x, "SELECT * FROM " + x.storeName + " WHERE key = ? LIMIT 1", [v], function(B, N) {
19506
19512
  var $ = N.rows.length ? N.rows.item(0).value : null;
19507
19513
  $ && ($ = x.serializer.deserialize($)), k($);
19508
19514
  }, function(B, N) {
@@ -19518,7 +19524,7 @@ function xg() {
19518
19524
  w.ready().then(function() {
19519
19525
  var x = w._dbInfo;
19520
19526
  x.db.transaction(function(P) {
19521
- Je(P, x, "SELECT * FROM " + x.storeName, [], function(B, N) {
19527
+ Xe(P, x, "SELECT * FROM " + x.storeName, [], function(B, N) {
19522
19528
  for (var $ = N.rows, V = $.length, ee = 0; ee < V; ee++) {
19523
19529
  var ie = $.item(ee), ne = ie.value;
19524
19530
  if (ne && (ne = x.serializer.deserialize(ne)), ne = v(ne, ie.key, ee + 1), ne !== void 0) {
@@ -19544,7 +19550,7 @@ function xg() {
19544
19550
  var B = C, N = k._dbInfo;
19545
19551
  N.serializer.serialize(C, function($, V) {
19546
19552
  V ? P(V) : N.db.transaction(function(ee) {
19547
- Je(ee, N, "INSERT OR REPLACE INTO " + N.storeName + " (key, value) VALUES (?, ?)", [v, $], function() {
19553
+ Xe(ee, N, "INSERT OR REPLACE INTO " + N.storeName + " (key, value) VALUES (?, ?)", [v, $], function() {
19548
19554
  x(B);
19549
19555
  }, function(ie, ne) {
19550
19556
  P(ne);
@@ -19573,7 +19579,7 @@ function xg() {
19573
19579
  w.ready().then(function() {
19574
19580
  var x = w._dbInfo;
19575
19581
  x.db.transaction(function(P) {
19576
- Je(P, x, "DELETE FROM " + x.storeName + " WHERE key = ?", [v], function() {
19582
+ Xe(P, x, "DELETE FROM " + x.storeName + " WHERE key = ?", [v], function() {
19577
19583
  k();
19578
19584
  }, function(B, N) {
19579
19585
  M(N);
@@ -19588,7 +19594,7 @@ function xg() {
19588
19594
  C.ready().then(function() {
19589
19595
  var M = C._dbInfo;
19590
19596
  M.db.transaction(function(x) {
19591
- Je(x, M, "DELETE FROM " + M.storeName, [], function() {
19597
+ Xe(x, M, "DELETE FROM " + M.storeName, [], function() {
19592
19598
  A();
19593
19599
  }, function(P, B) {
19594
19600
  k(B);
@@ -19603,7 +19609,7 @@ function xg() {
19603
19609
  C.ready().then(function() {
19604
19610
  var M = C._dbInfo;
19605
19611
  M.db.transaction(function(x) {
19606
- Je(x, M, "SELECT COUNT(key) as c FROM " + M.storeName, [], function(P, B) {
19612
+ Xe(x, M, "SELECT COUNT(key) as c FROM " + M.storeName, [], function(P, B) {
19607
19613
  var N = B.rows.item(0).c;
19608
19614
  A(N);
19609
19615
  }, function(P, B) {
@@ -19619,7 +19625,7 @@ function xg() {
19619
19625
  w.ready().then(function() {
19620
19626
  var x = w._dbInfo;
19621
19627
  x.db.transaction(function(P) {
19622
- Je(P, x, "SELECT key FROM " + x.storeName + " WHERE id = ? LIMIT 1", [v + 1], function(B, N) {
19628
+ Xe(P, x, "SELECT key FROM " + x.storeName + " WHERE id = ? LIMIT 1", [v + 1], function(B, N) {
19623
19629
  var $ = N.rows.length ? N.rows.item(0).key : null;
19624
19630
  k($);
19625
19631
  }, function(B, N) {
@@ -19635,7 +19641,7 @@ function xg() {
19635
19641
  C.ready().then(function() {
19636
19642
  var M = C._dbInfo;
19637
19643
  M.db.transaction(function(x) {
19638
- Je(x, M, "SELECT key FROM " + M.storeName, [], function(P, B) {
19644
+ Xe(x, M, "SELECT key FROM " + M.storeName, [], function(P, B) {
19639
19645
  for (var N = [], $ = 0; $ < B.rows.length; $++)
19640
19646
  N.push(B.rows.item($).key);
19641
19647
  A(N);
@@ -35660,7 +35666,7 @@ class T0 {
35660
35666
  }
35661
35667
  }
35662
35668
  }
35663
- class Qe {
35669
+ class Je {
35664
35670
  /**
35665
35671
  * Separate frequency data into bass, mid, and treble bands
35666
35672
  *
@@ -36391,7 +36397,7 @@ class Zy {
36391
36397
  }
36392
36398
  }
36393
36399
  const lr = Se.for("BeatMapGenerator");
36394
- class Ye {
36400
+ class Ke {
36395
36401
  /**
36396
36402
  * Create a new BeatMapGenerator
36397
36403
  *
@@ -36745,7 +36751,7 @@ class Ye {
36745
36751
  static async saveToFile(e, t) {
36746
36752
  if (typeof process > "u" || !process.versions?.node)
36747
36753
  throw new Error("saveToFile is only available in Node.js environment");
36748
- const { writeFile: i } = await import("./__vite-browser-external-DYxpcVy9.js"), n = Ye.toJSON(e);
36754
+ const { writeFile: i } = await import("./__vite-browser-external-DYxpcVy9.js"), n = Ke.toJSON(e);
36749
36755
  await i(t, n, "utf-8");
36750
36756
  }
36751
36757
  /**
@@ -36758,7 +36764,7 @@ class Ye {
36758
36764
  if (typeof process > "u" || !process.versions?.node)
36759
36765
  throw new Error("loadFromFile is only available in Node.js environment");
36760
36766
  const { readFile: t } = await import("./__vite-browser-external-DYxpcVy9.js"), i = await t(e, "utf-8");
36761
- return Ye.fromJSON(i);
36767
+ return Ke.fromJSON(i);
36762
36768
  }
36763
36769
  }
36764
36770
  function Xy(s) {
@@ -38643,7 +38649,7 @@ const Ut = class Ut {
38643
38649
  r.push(b);
38644
38650
  }
38645
38651
  const o = this.averageFrequencyBands(r);
38646
- let c = Qe.calculateDominance(o.bass, 380), l = Qe.calculateDominance(o.mid, 3600), u = Qe.calculateDominance(o.treble, 1e4);
38652
+ let c = Je.calculateDominance(o.bass, 380), l = Je.calculateDominance(o.mid, 3600), u = Je.calculateDominance(o.treble, 1e4);
38647
38653
  c = c * this.options.bassBoost, l = l * this.options.midBoost, u = u * this.options.trebleBoost;
38648
38654
  const d = c + l + u;
38649
38655
  c = c / (d || 1), l = l / (d || 1), u = u / (d || 1);
@@ -38695,7 +38701,7 @@ const Ut = class Ut {
38695
38701
  const d = Math.floor(c * a), h = Math.floor((c + u) * a), m = this.extractAudioSegment(i, d, h), f = this.performFFT(m, this.options.fftSize), g = new Uint8Array(f.length);
38696
38702
  for (let R = 0; R < f.length; R++)
38697
38703
  g[R] = Math.min(255, Math.round(f[R]));
38698
- const p = Qe.separateFrequencyBands(g, a), y = Qe.calculateDominance(p.bass) * this.options.bassBoost, b = Qe.calculateDominance(p.mid) * this.options.midBoost, _ = Qe.calculateDominance(p.treble) * this.options.trebleBoost, T = y + b + _ || 1, S = this.calculateRMS(i, d, h), I = this.calculatePeak(i, d, h), D = [
38704
+ const p = Je.separateFrequencyBands(g, a), y = Je.calculateDominance(p.bass) * this.options.bassBoost, b = Je.calculateDominance(p.mid) * this.options.midBoost, _ = Je.calculateDominance(p.treble) * this.options.trebleBoost, T = y + b + _ || 1, S = this.calculateRMS(i, d, h), I = this.calculatePeak(i, d, h), D = [
38699
38705
  ...p.bass,
38700
38706
  ...p.mid,
38701
38707
  ...p.treble
@@ -38748,7 +38754,7 @@ const Ut = class Ut {
38748
38754
  * ```
38749
38755
  */
38750
38756
  async generateBeatMap(e, t, i, n, a) {
38751
- return new Ye(i).generateBeatMap(e, t, n, a);
38757
+ return new Ke(i).generateBeatMap(e, t, n, a);
38752
38758
  }
38753
38759
  /**
38754
38760
  * Generate a beat map from an AudioBuffer
@@ -38774,7 +38780,7 @@ const Ut = class Ut {
38774
38780
  * ```
38775
38781
  */
38776
38782
  async generateBeatMapFromBuffer(e, t, i, n, a) {
38777
- return new Ye(i).generateBeatMapFromBuffer(e, t, n, a);
38783
+ return new Ke(i).generateBeatMapFromBuffer(e, t, n, a);
38778
38784
  }
38779
38785
  /**
38780
38786
  * Create a BeatStream for real-time beat event streaming
@@ -38907,7 +38913,7 @@ const Ut = class Ut {
38907
38913
  * @returns JSON string
38908
38914
  */
38909
38915
  static beatMapToJSON(e) {
38910
- return Ye.toJSON(e);
38916
+ return Ke.toJSON(e);
38911
38917
  }
38912
38918
  /**
38913
38919
  * Parse a beat map from JSON string
@@ -38916,7 +38922,7 @@ const Ut = class Ut {
38916
38922
  * @returns Beat map
38917
38923
  */
38918
38924
  static beatMapFromJSON(e) {
38919
- return Ye.fromJSON(e);
38925
+ return Ke.fromJSON(e);
38920
38926
  }
38921
38927
  /**
38922
38928
  * Save a beat map to a file (Node.js only)
@@ -38925,7 +38931,7 @@ const Ut = class Ut {
38925
38931
  * @param filePath - Path to save to
38926
38932
  */
38927
38933
  static async saveBeatMapToFile(e, t) {
38928
- return Ye.saveToFile(e, t);
38934
+ return Ke.saveToFile(e, t);
38929
38935
  }
38930
38936
  /**
38931
38937
  * Load a beat map from a file (Node.js only)
@@ -38934,7 +38940,7 @@ const Ut = class Ut {
38934
38940
  * @returns Beat map
38935
38941
  */
38936
38942
  static async loadBeatMapFromFile(e) {
38937
- return Ye.loadFromFile(e);
38943
+ return Ke.loadFromFile(e);
38938
38944
  }
38939
38945
  // ==================== Procedural Rhythm Generation ====================
38940
38946
  /**
@@ -39250,7 +39256,7 @@ const Ut = class Ut {
39250
39256
  const c = this.extractAudioSegment(e, r, o), l = this.performFFT(c, this.options.fftSize), u = new Uint8Array(l.length);
39251
39257
  for (let d = 0; d < l.length; d++)
39252
39258
  u[d] = Math.min(255, Math.round(l[d]));
39253
- return Qe.separateFrequencyBands(u, n);
39259
+ return Je.separateFrequencyBands(u, n);
39254
39260
  }
39255
39261
  /**
39256
39262
  * Extract audio segment from buffer
@@ -51081,7 +51087,7 @@ export {
51081
51087
  yv as BalancedStrategy,
51082
51088
  da as BeatConverter,
51083
51089
  Ni as BeatInterpolator,
51084
- Ye as BeatMapGenerator,
51090
+ Ke as BeatMapGenerator,
51085
51091
  Qy as BeatStream,
51086
51092
  Xt as BeatSubdivider,
51087
51093
  Zy as BeatTracker,
@@ -51235,7 +51241,7 @@ export {
51235
51241
  dp as SkillAssigner,
51236
51242
  Ne as SkillQuery,
51237
51243
  Ge as SkillValidator,
51238
- Qe as SpectrumScanner,
51244
+ Je as SpectrumScanner,
51239
51245
  ye as SpellCaster,
51240
51246
  Qs as SpellManager,
51241
51247
  it as SpellQuery,
@@ -51274,7 +51280,7 @@ export {
51274
51280
  vp as calculateStdDev,
51275
51281
  Gv as chartedBeatMapToBeatMap,
51276
51282
  R0 as clearAllKeys,
51277
- je as constructGatewayUrl,
51283
+ Qe as constructGatewayUrl,
51278
51284
  qn as convertToAllowedGridType,
51279
51285
  ow as createCharismaEnchantment,
51280
51286
  aw as createConstitutionEnchantment,
@@ -1 +1 @@
1
- {"version":3,"file":"arweaveGatewayManager.d.ts","sourceRoot":"","sources":["../../src/utils/arweaveGatewayManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AA+BvD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,8DAA8D;IAC9D,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,cAAc,EAAE,aAAa,CAAC;IAC9B,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,OAAO,EAAE,aAAa,CAAC;IACvB,0CAA0C;IAC1C,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC,gDAAgD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+https://github.com/jasondesante/playlist-data-engine.git"
8
8
  },
9
- "version": "1.3.0",
9
+ "version": "1.3.2",
10
10
  "type": "module",
11
11
  "main": "./dist/playlist-data-engine.js",
12
12
  "module": "./dist/playlist-data-engine.mjs",