@pie-players/pie-section-player 0.2.0 → 0.2.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pie-section-player.d.ts","sourceRoot":"","sources":["../src/pie-section-player.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIxE,OAAO,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"pie-section-player.d.ts","sourceRoot":"","sources":["../src/pie-section-player.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIxE,OAAO,2BAA2B,CAAC"}
|
|
@@ -6,10 +6,6 @@ var Xx = (e, t, n) => t in e ? Vx(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Cl = (e, t, n) => Xx(e, typeof t != "symbol" ? t + "" : t, n), Ub = (e, t, n) => t.has(e) || rx("Cannot " + n);
|
|
7
7
|
var vl = (e, t, n) => (Ub(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Gc = (e, t, n) => t.has(e) ? rx("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Mc = (e, t, n, o) => (Ub(e, t, "write to private field"), o ? o.call(e, n) : t.set(e, n), n), rd = (e, t, n) => (Ub(e, t, "access private method"), n);
|
|
8
8
|
import { DesmosCalculatorProvider } from "@pie-players/pie-calculator-desmos";
|
|
9
|
-
import "@pie-players/pie-tool-answer-eliminator";
|
|
10
|
-
import "@pie-players/pie-tool-calculator";
|
|
11
|
-
import "@pie-players/pie-tool-calculator-inline";
|
|
12
|
-
import "@pie-players/pie-tool-tts-inline";
|
|
13
9
|
const PUBLIC_VERSION = "5";
|
|
14
10
|
var nx;
|
|
15
11
|
typeof window < "u" && ((nx = window.__svelte ?? (window.__svelte = {})).v ?? (nx.v = /* @__PURE__ */ new Set())).add(PUBLIC_VERSION);
|
|
@@ -5589,6 +5585,7 @@ const parsePackageName$2 = (e) => {
|
|
|
5589
5585
|
};
|
|
5590
5586
|
}, getPackageWithoutVersion$2 = (e) => e.split("+").map((t) => parsePackageName$2(t).name).join("+");
|
|
5591
5587
|
let logger$7;
|
|
5588
|
+
const DEFAULT_BUNDLE_HOST$1 = "https://proxy.pie-api.com/bundles/";
|
|
5592
5589
|
typeof window < "u" && !window.pieHelpers && (window.pieHelpers = {
|
|
5593
5590
|
loadingScripts: {},
|
|
5594
5591
|
loadingPromises: {}
|
|
@@ -5607,8 +5604,11 @@ let IifePieLoader$1 = class {
|
|
|
5607
5604
|
getBundleUrl(t, n, o) {
|
|
5608
5605
|
if (o?.url)
|
|
5609
5606
|
return logger$7.debug("Using explicit bundle URL from config:", o.url), o.url;
|
|
5610
|
-
const i = Object.values(t).join("+")
|
|
5611
|
-
|
|
5607
|
+
const i = Object.values(t).join("+");
|
|
5608
|
+
let a = this.config.bundleHost || DEFAULT_BUNDLE_HOST$1;
|
|
5609
|
+
a = a.trim(), a = a.replace(/\/+$/, "") + "/";
|
|
5610
|
+
const l = `${a}${encodeURI(i)}/${n}`;
|
|
5611
|
+
return logger$7.debug("Using bundle host URL:", l), l;
|
|
5612
5612
|
}
|
|
5613
5613
|
/**
|
|
5614
5614
|
* Load an IIFE bundle from the specified URL
|
|
@@ -79879,8 +79879,11 @@ class IifePieLoader {
|
|
|
79879
79879
|
getBundleUrl(t, n, o) {
|
|
79880
79880
|
if (o?.url)
|
|
79881
79881
|
return logger$5$1.debug("Using explicit bundle URL from config:", o.url), o.url;
|
|
79882
|
-
const i = Object.values(t).join("+")
|
|
79883
|
-
|
|
79882
|
+
const i = Object.values(t).join("+");
|
|
79883
|
+
let a = this.config.bundleHost || DEFAULT_BUNDLE_HOST;
|
|
79884
|
+
a = a.trim(), a = a.replace(/\/+$/, "") + "/";
|
|
79885
|
+
const l = `${a}${encodeURI(i)}/${n}`;
|
|
79886
|
+
return logger$5$1.debug("Using bundle host URL:", l), l;
|
|
79884
79887
|
}
|
|
79885
79888
|
/**
|
|
79886
79889
|
* Load an IIFE bundle from the specified URL
|