sample-cross-fx 0.15.0-beta.4696 → 0.15.0-beta.4708
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.
- package/app/{index.dd11de.js → index.0ca7fb.js} +1150 -1405
- package/app/{index.dd11de.js.map → index.0ca7fb.js.map} +1 -1
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +1 -1
|
@@ -58614,193 +58614,921 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
58614
58614
|
/* harmony export */ "requireModule": () => (/* binding */ requireModule),
|
|
58615
58615
|
/* harmony export */ "unregisterModules": () => (/* binding */ unregisterModules)
|
|
58616
58616
|
/* harmony export */ });
|
|
58617
|
-
|
|
58618
|
-
|
|
58619
|
-
|
|
58620
|
-
|
|
58621
|
-
|
|
58617
|
+
// ../../../node_modules/systemjs/dist/system.js
|
|
58618
|
+
(function () {
|
|
58619
|
+
function errMsg(errCode, msg) {
|
|
58620
|
+
return (msg || "") + " (SystemJS Error#" + errCode + " https://git.io/JvFET#" + errCode + ")";
|
|
58621
|
+
}
|
|
58622
58622
|
|
|
58623
|
+
var hasSymbol = typeof Symbol !== "undefined";
|
|
58624
|
+
var hasSelf = typeof self !== "undefined";
|
|
58625
|
+
var hasDocument = typeof document !== "undefined";
|
|
58626
|
+
var envGlobal = hasSelf ? self : __webpack_require__.g;
|
|
58627
|
+
var baseUrl;
|
|
58623
58628
|
|
|
58629
|
+
if (hasDocument) {
|
|
58630
|
+
var baseEl = document.querySelector("base[href]");
|
|
58631
|
+
if (baseEl) baseUrl = baseEl.href;
|
|
58632
|
+
}
|
|
58624
58633
|
|
|
58625
|
-
|
|
58626
|
-
|
|
58634
|
+
if (!baseUrl && typeof location !== "undefined") {
|
|
58635
|
+
baseUrl = location.href.split("#")[0].split("?")[0];
|
|
58636
|
+
var lastSepIndex = baseUrl.lastIndexOf("/");
|
|
58637
|
+
if (lastSepIndex !== -1) baseUrl = baseUrl.slice(0, lastSepIndex + 1);
|
|
58638
|
+
}
|
|
58627
58639
|
|
|
58628
|
-
|
|
58629
|
-
return [...System.entries()].filter(([name]) => name.startsWith(prefix)).map(([name]) => name.substring(prefix.length));
|
|
58630
|
-
}
|
|
58640
|
+
var backslashRegEx = /\\/g;
|
|
58631
58641
|
|
|
58632
|
-
function
|
|
58633
|
-
|
|
58642
|
+
function resolveIfNotPlainOrUrl(relUrl, parentUrl) {
|
|
58643
|
+
if (relUrl.indexOf("\\") !== -1) relUrl = relUrl.replace(backslashRegEx, "/");
|
|
58634
58644
|
|
|
58635
|
-
|
|
58636
|
-
|
|
58637
|
-
|
|
58638
|
-
|
|
58645
|
+
if (relUrl[0] === "/" && relUrl[1] === "/") {
|
|
58646
|
+
return parentUrl.slice(0, parentUrl.indexOf(":") + 1) + relUrl;
|
|
58647
|
+
} else if (relUrl[0] === "." && (relUrl[1] === "/" || relUrl[1] === "." && (relUrl[2] === "/" || relUrl.length === 2 && (relUrl += "/")) || relUrl.length === 1 && (relUrl += "/")) || relUrl[0] === "/") {
|
|
58648
|
+
var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(":") + 1);
|
|
58649
|
+
var pathname;
|
|
58639
58650
|
|
|
58640
|
-
|
|
58641
|
-
|
|
58642
|
-
|
|
58651
|
+
if (parentUrl[parentProtocol.length + 1] === "/") {
|
|
58652
|
+
if (parentProtocol !== "file:") {
|
|
58653
|
+
pathname = parentUrl.slice(parentProtocol.length + 2);
|
|
58654
|
+
pathname = pathname.slice(pathname.indexOf("/") + 1);
|
|
58655
|
+
} else {
|
|
58656
|
+
pathname = parentUrl.slice(8);
|
|
58657
|
+
}
|
|
58658
|
+
} else {
|
|
58659
|
+
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === "/"));
|
|
58660
|
+
}
|
|
58643
58661
|
|
|
58644
|
-
|
|
58662
|
+
if (relUrl[0] === "/") return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;
|
|
58663
|
+
var segmented = pathname.slice(0, pathname.lastIndexOf("/") + 1) + relUrl;
|
|
58664
|
+
var output = [];
|
|
58665
|
+
var segmentIndex = -1;
|
|
58645
58666
|
|
|
58646
|
-
for (
|
|
58647
|
-
if (
|
|
58648
|
-
|
|
58667
|
+
for (var i = 0; i < segmented.length; i++) {
|
|
58668
|
+
if (segmentIndex !== -1) {
|
|
58669
|
+
if (segmented[i] === "/") {
|
|
58670
|
+
output.push(segmented.slice(segmentIndex, i + 1));
|
|
58671
|
+
segmentIndex = -1;
|
|
58672
|
+
}
|
|
58673
|
+
} else if (segmented[i] === ".") {
|
|
58674
|
+
if (segmented[i + 1] === "." && (segmented[i + 2] === "/" || i + 2 === segmented.length)) {
|
|
58675
|
+
output.pop();
|
|
58676
|
+
i += 2;
|
|
58677
|
+
} else if (segmented[i + 1] === "/" || i + 1 === segmented.length) {
|
|
58678
|
+
i += 1;
|
|
58679
|
+
} else {
|
|
58680
|
+
segmentIndex = i;
|
|
58681
|
+
}
|
|
58682
|
+
} else {
|
|
58683
|
+
segmentIndex = i;
|
|
58649
58684
|
}
|
|
58650
58685
|
}
|
|
58686
|
+
|
|
58687
|
+
if (segmentIndex !== -1) output.push(segmented.slice(segmentIndex));
|
|
58688
|
+
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join("");
|
|
58651
58689
|
}
|
|
58652
58690
|
}
|
|
58653
58691
|
|
|
58654
|
-
|
|
58655
|
-
|
|
58692
|
+
function resolveUrl(relUrl, parentUrl) {
|
|
58693
|
+
return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(":") !== -1 ? relUrl : resolveIfNotPlainOrUrl("./" + relUrl, parentUrl));
|
|
58694
|
+
}
|
|
58656
58695
|
|
|
58657
|
-
function
|
|
58658
|
-
|
|
58659
|
-
|
|
58660
|
-
|
|
58661
|
-
|
|
58662
|
-
|
|
58696
|
+
function resolveAndComposePackages(packages, outPackages, baseUrl2, parentMap, parentUrl) {
|
|
58697
|
+
for (var p in packages) {
|
|
58698
|
+
var resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl2) || p;
|
|
58699
|
+
var rhs = packages[p];
|
|
58700
|
+
if (typeof rhs !== "string") continue;
|
|
58701
|
+
var mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(rhs, baseUrl2) || rhs, parentUrl);
|
|
58702
|
+
|
|
58703
|
+
if (!mapped) {
|
|
58704
|
+
targetWarning("W1", p, rhs, "bare specifier did not resolve");
|
|
58705
|
+
} else outPackages[resolvedLhs] = mapped;
|
|
58706
|
+
}
|
|
58663
58707
|
}
|
|
58664
|
-
}
|
|
58665
58708
|
|
|
58666
|
-
function
|
|
58667
|
-
|
|
58668
|
-
|
|
58669
|
-
}
|
|
58709
|
+
function resolveAndComposeImportMap(json, baseUrl2, outMap) {
|
|
58710
|
+
if (json.imports) resolveAndComposePackages(json.imports, outMap.imports, baseUrl2, outMap, null);
|
|
58711
|
+
var u;
|
|
58670
58712
|
|
|
58671
|
-
|
|
58672
|
-
|
|
58673
|
-
|
|
58674
|
-
|
|
58675
|
-
const result = findMatchingPackage(id);
|
|
58713
|
+
for (u in json.scopes || {}) {
|
|
58714
|
+
var resolvedScope = resolveUrl(u, baseUrl2);
|
|
58715
|
+
resolveAndComposePackages(json.scopes[u], outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}), baseUrl2, outMap, resolvedScope);
|
|
58716
|
+
}
|
|
58676
58717
|
|
|
58677
|
-
|
|
58678
|
-
|
|
58718
|
+
for (u in json.depcache || {}) outMap.depcache[resolveUrl(u, baseUrl2)] = json.depcache[u];
|
|
58719
|
+
|
|
58720
|
+
for (u in json.integrity || {}) outMap.integrity[resolveUrl(u, baseUrl2)] = json.integrity[u];
|
|
58721
|
+
}
|
|
58722
|
+
|
|
58723
|
+
function getMatch(path, matchObj) {
|
|
58724
|
+
if (matchObj[path]) return path;
|
|
58725
|
+
var sepIndex = path.length;
|
|
58726
|
+
|
|
58727
|
+
do {
|
|
58728
|
+
var segment = path.slice(0, sepIndex + 1);
|
|
58729
|
+
if (segment in matchObj) return segment;
|
|
58730
|
+
} while ((sepIndex = path.lastIndexOf("/", sepIndex - 1)) !== -1);
|
|
58731
|
+
}
|
|
58732
|
+
|
|
58733
|
+
function applyPackages(id, packages) {
|
|
58734
|
+
var pkgName = getMatch(id, packages);
|
|
58735
|
+
|
|
58736
|
+
if (pkgName) {
|
|
58737
|
+
var pkg = packages[pkgName];
|
|
58738
|
+
if (pkg === null) return;
|
|
58739
|
+
|
|
58740
|
+
if (id.length > pkgName.length && pkg[pkg.length - 1] !== "/") {
|
|
58741
|
+
targetWarning("W2", pkgName, pkg, "should have a trailing '/'");
|
|
58742
|
+
} else return pkg + id.slice(pkgName.length);
|
|
58679
58743
|
}
|
|
58744
|
+
}
|
|
58680
58745
|
|
|
58681
|
-
|
|
58746
|
+
function targetWarning(code, match, target, msg) {
|
|
58747
|
+
console.warn(errMsg(code, "Package target " + msg + ", resolving target '" + target + "' for " + match));
|
|
58682
58748
|
}
|
|
58683
|
-
};
|
|
58684
58749
|
|
|
58685
|
-
|
|
58686
|
-
|
|
58687
|
-
|
|
58688
|
-
const exp = (...p) => {
|
|
58689
|
-
if (p.length === 1) {
|
|
58690
|
-
const content = p[0];
|
|
58750
|
+
function resolveImportMap(importMap2, resolvedOrPlain, parentUrl) {
|
|
58751
|
+
var scopes = importMap2.scopes;
|
|
58752
|
+
var scopeUrl = parentUrl && getMatch(parentUrl, scopes);
|
|
58691
58753
|
|
|
58692
|
-
|
|
58693
|
-
|
|
58694
|
-
|
|
58695
|
-
|
|
58754
|
+
while (scopeUrl) {
|
|
58755
|
+
var packageResolution = applyPackages(resolvedOrPlain, scopes[scopeUrl]);
|
|
58756
|
+
if (packageResolution) return packageResolution;
|
|
58757
|
+
scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf("/")), scopes);
|
|
58758
|
+
}
|
|
58696
58759
|
|
|
58697
|
-
|
|
58698
|
-
|
|
58699
|
-
});
|
|
58760
|
+
return applyPackages(resolvedOrPlain, importMap2.imports) || resolvedOrPlain.indexOf(":") !== -1 && resolvedOrPlain;
|
|
58761
|
+
}
|
|
58700
58762
|
|
|
58701
|
-
|
|
58702
|
-
|
|
58703
|
-
_export('__esModule', true);
|
|
58763
|
+
var toStringTag$1 = hasSymbol && Symbol.toStringTag;
|
|
58764
|
+
var REGISTRY = hasSymbol ? Symbol() : "@";
|
|
58704
58765
|
|
|
58705
|
-
|
|
58706
|
-
|
|
58707
|
-
|
|
58766
|
+
function SystemJS() {
|
|
58767
|
+
this[REGISTRY] = {};
|
|
58768
|
+
}
|
|
58769
|
+
|
|
58770
|
+
var systemJSPrototype = SystemJS.prototype;
|
|
58771
|
+
|
|
58772
|
+
systemJSPrototype.import = function (id, parentUrl) {
|
|
58773
|
+
var loader = this;
|
|
58774
|
+
return Promise.resolve(loader.prepareImport()).then(function () {
|
|
58775
|
+
return loader.resolve(id, parentUrl);
|
|
58776
|
+
}).then(function (id2) {
|
|
58777
|
+
var load = getOrCreateLoad(loader, id2);
|
|
58778
|
+
return load.C || topLevelLoad(loader, load);
|
|
58779
|
+
});
|
|
58780
|
+
};
|
|
58781
|
+
|
|
58782
|
+
systemJSPrototype.createContext = function (parentId) {
|
|
58783
|
+
var loader = this;
|
|
58784
|
+
return {
|
|
58785
|
+
url: parentId,
|
|
58786
|
+
resolve: function (id, parentUrl) {
|
|
58787
|
+
return Promise.resolve(loader.resolve(id, parentUrl || parentId));
|
|
58788
|
+
}
|
|
58789
|
+
};
|
|
58790
|
+
};
|
|
58791
|
+
|
|
58792
|
+
systemJSPrototype.onload = function () {};
|
|
58793
|
+
|
|
58794
|
+
function loadToId(load) {
|
|
58795
|
+
return load.id;
|
|
58796
|
+
}
|
|
58797
|
+
|
|
58798
|
+
function triggerOnload(loader, load, err, isErrSource) {
|
|
58799
|
+
loader.onload(err, load.id, load.d && load.d.map(loadToId), !!isErrSource);
|
|
58800
|
+
if (err) throw err;
|
|
58801
|
+
}
|
|
58802
|
+
|
|
58803
|
+
var lastRegister;
|
|
58804
|
+
|
|
58805
|
+
systemJSPrototype.register = function (deps, declare) {
|
|
58806
|
+
lastRegister = [deps, declare];
|
|
58807
|
+
};
|
|
58808
|
+
|
|
58809
|
+
systemJSPrototype.getRegister = function () {
|
|
58810
|
+
var _lastRegister = lastRegister;
|
|
58811
|
+
lastRegister = void 0;
|
|
58812
|
+
return _lastRegister;
|
|
58813
|
+
};
|
|
58814
|
+
|
|
58815
|
+
function getOrCreateLoad(loader, id, firstParentUrl) {
|
|
58816
|
+
var load = loader[REGISTRY][id];
|
|
58817
|
+
if (load) return load;
|
|
58818
|
+
var importerSetters = [];
|
|
58819
|
+
var ns = Object.create(null);
|
|
58820
|
+
if (toStringTag$1) Object.defineProperty(ns, toStringTag$1, {
|
|
58821
|
+
value: "Module"
|
|
58822
|
+
});
|
|
58823
|
+
var instantiatePromise = Promise.resolve().then(function () {
|
|
58824
|
+
return loader.instantiate(id, firstParentUrl);
|
|
58825
|
+
}).then(function (registration) {
|
|
58826
|
+
if (!registration) throw Error(errMsg(2, "Module " + id + " did not instantiate"));
|
|
58827
|
+
|
|
58828
|
+
function _export(name, value) {
|
|
58829
|
+
load.h = true;
|
|
58830
|
+
var changed = false;
|
|
58831
|
+
|
|
58832
|
+
if (typeof name === "string") {
|
|
58833
|
+
if (!(name in ns) || ns[name] !== value) {
|
|
58834
|
+
ns[name] = value;
|
|
58835
|
+
changed = true;
|
|
58836
|
+
}
|
|
58837
|
+
} else {
|
|
58838
|
+
for (var p in name) {
|
|
58839
|
+
var value = name[p];
|
|
58708
58840
|
|
|
58709
|
-
|
|
58710
|
-
|
|
58841
|
+
if (!(p in ns) || ns[p] !== value) {
|
|
58842
|
+
ns[p] = value;
|
|
58843
|
+
changed = true;
|
|
58844
|
+
}
|
|
58845
|
+
}
|
|
58846
|
+
|
|
58847
|
+
if (name && name.__esModule) {
|
|
58848
|
+
ns.__esModule = name.__esModule;
|
|
58711
58849
|
}
|
|
58712
58850
|
}
|
|
58713
|
-
|
|
58714
|
-
|
|
58851
|
+
|
|
58852
|
+
if (changed) for (var i = 0; i < importerSetters.length; i++) {
|
|
58853
|
+
var setter = importerSetters[i];
|
|
58854
|
+
if (setter) setter(ns);
|
|
58855
|
+
}
|
|
58856
|
+
return value;
|
|
58715
58857
|
}
|
|
58858
|
+
|
|
58859
|
+
var declared = registration[1](_export, registration[1].length === 2 ? {
|
|
58860
|
+
import: function (importId) {
|
|
58861
|
+
return loader.import(importId, id);
|
|
58862
|
+
},
|
|
58863
|
+
meta: loader.createContext(id)
|
|
58864
|
+
} : void 0);
|
|
58865
|
+
|
|
58866
|
+
load.e = declared.execute || function () {};
|
|
58867
|
+
|
|
58868
|
+
return [registration[0], declared.setters || []];
|
|
58869
|
+
}, function (err) {
|
|
58870
|
+
load.e = null;
|
|
58871
|
+
load.er = err;
|
|
58872
|
+
triggerOnload(loader, load, err, true);
|
|
58873
|
+
throw err;
|
|
58874
|
+
});
|
|
58875
|
+
var linkPromise = instantiatePromise.then(function (instantiation) {
|
|
58876
|
+
return Promise.all(instantiation[0].map(function (dep, i) {
|
|
58877
|
+
var setter = instantiation[1][i];
|
|
58878
|
+
return Promise.resolve(loader.resolve(dep, id)).then(function (depId) {
|
|
58879
|
+
var depLoad = getOrCreateLoad(loader, depId, id);
|
|
58880
|
+
return Promise.resolve(depLoad.I).then(function () {
|
|
58881
|
+
if (setter) {
|
|
58882
|
+
depLoad.i.push(setter);
|
|
58883
|
+
if (depLoad.h || !depLoad.I) setter(depLoad.n);
|
|
58884
|
+
}
|
|
58885
|
+
|
|
58886
|
+
return depLoad;
|
|
58887
|
+
});
|
|
58888
|
+
});
|
|
58889
|
+
})).then(function (depLoads) {
|
|
58890
|
+
load.d = depLoads;
|
|
58891
|
+
});
|
|
58892
|
+
});
|
|
58893
|
+
return load = loader[REGISTRY][id] = {
|
|
58894
|
+
id,
|
|
58895
|
+
i: importerSetters,
|
|
58896
|
+
n: ns,
|
|
58897
|
+
I: instantiatePromise,
|
|
58898
|
+
L: linkPromise,
|
|
58899
|
+
h: false,
|
|
58900
|
+
d: void 0,
|
|
58901
|
+
e: void 0,
|
|
58902
|
+
er: void 0,
|
|
58903
|
+
E: void 0,
|
|
58904
|
+
C: void 0,
|
|
58905
|
+
p: void 0
|
|
58716
58906
|
};
|
|
58907
|
+
}
|
|
58717
58908
|
|
|
58718
|
-
|
|
58719
|
-
|
|
58720
|
-
|
|
58721
|
-
|
|
58722
|
-
|
|
58723
|
-
|
|
58724
|
-
|
|
58725
|
-
|
|
58726
|
-
|
|
58909
|
+
function instantiateAll(loader, load, parent, loaded) {
|
|
58910
|
+
if (!loaded[load.id]) {
|
|
58911
|
+
loaded[load.id] = true;
|
|
58912
|
+
return Promise.resolve(load.L).then(function () {
|
|
58913
|
+
if (!load.p || load.p.e === null) load.p = parent;
|
|
58914
|
+
return Promise.all(load.d.map(function (dep) {
|
|
58915
|
+
return instantiateAll(loader, dep, parent, loaded);
|
|
58916
|
+
}));
|
|
58917
|
+
}).catch(function (err) {
|
|
58918
|
+
if (load.er) throw err;
|
|
58919
|
+
load.e = null;
|
|
58920
|
+
triggerOnload(loader, load, err, false);
|
|
58921
|
+
throw err;
|
|
58922
|
+
});
|
|
58923
|
+
}
|
|
58924
|
+
}
|
|
58727
58925
|
|
|
58926
|
+
function topLevelLoad(loader, load) {
|
|
58927
|
+
return load.C = instantiateAll(loader, load, load, {}).then(function () {
|
|
58928
|
+
return postOrderExec(loader, load, {});
|
|
58929
|
+
}).then(function () {
|
|
58930
|
+
return load.n;
|
|
58931
|
+
});
|
|
58932
|
+
}
|
|
58728
58933
|
|
|
58729
|
-
|
|
58730
|
-
const moduleNames = Object.keys(modules);
|
|
58731
|
-
moduleNames.forEach(name => registerModule(name, () => modules[name]));
|
|
58732
|
-
return Promise.all(moduleNames.map(name => System.import(name)));
|
|
58733
|
-
}
|
|
58734
|
-
/**
|
|
58735
|
-
* Registers a plain module in SystemJS.
|
|
58736
|
-
* @param name The name of the module
|
|
58737
|
-
* @param resolve The resolver for the module's content.
|
|
58738
|
-
*/
|
|
58934
|
+
var nullContext = Object.freeze(Object.create(null));
|
|
58739
58935
|
|
|
58740
|
-
function
|
|
58741
|
-
|
|
58742
|
-
|
|
58743
|
-
const content = resolve();
|
|
58936
|
+
function postOrderExec(loader, load, seen) {
|
|
58937
|
+
if (seen[load.id]) return;
|
|
58938
|
+
seen[load.id] = true;
|
|
58744
58939
|
|
|
58745
|
-
|
|
58746
|
-
|
|
58747
|
-
|
|
58748
|
-
|
|
58940
|
+
if (!load.e) {
|
|
58941
|
+
if (load.er) throw load.er;
|
|
58942
|
+
if (load.E) return load.E;
|
|
58943
|
+
return;
|
|
58944
|
+
}
|
|
58945
|
+
|
|
58946
|
+
var depLoadPromises;
|
|
58947
|
+
load.d.forEach(function (depLoad) {
|
|
58948
|
+
try {
|
|
58949
|
+
var depLoadPromise = postOrderExec(loader, depLoad, seen);
|
|
58950
|
+
if (depLoadPromise) (depLoadPromises = depLoadPromises || []).push(depLoadPromise);
|
|
58951
|
+
} catch (err) {
|
|
58952
|
+
load.e = null;
|
|
58953
|
+
load.er = err;
|
|
58954
|
+
triggerOnload(loader, load, err, false);
|
|
58955
|
+
throw err;
|
|
58956
|
+
}
|
|
58957
|
+
});
|
|
58958
|
+
if (depLoadPromises) return Promise.all(depLoadPromises).then(doExec);
|
|
58959
|
+
return doExec();
|
|
58960
|
+
|
|
58961
|
+
function doExec() {
|
|
58962
|
+
try {
|
|
58963
|
+
var execPromise = load.e.call(nullContext);
|
|
58964
|
+
|
|
58965
|
+
if (execPromise) {
|
|
58966
|
+
execPromise = execPromise.then(function () {
|
|
58967
|
+
load.C = load.n;
|
|
58968
|
+
load.E = null;
|
|
58969
|
+
if (true) triggerOnload(loader, load, null, true);
|
|
58970
|
+
}, function (err) {
|
|
58971
|
+
load.er = err;
|
|
58972
|
+
load.E = null;
|
|
58973
|
+
if (true) triggerOnload(loader, load, err, true);
|
|
58974
|
+
throw err;
|
|
58975
|
+
});
|
|
58976
|
+
return load.E = execPromise;
|
|
58977
|
+
}
|
|
58978
|
+
|
|
58979
|
+
load.C = load.n;
|
|
58980
|
+
load.L = load.I = void 0;
|
|
58981
|
+
} catch (err) {
|
|
58982
|
+
load.er = err;
|
|
58983
|
+
throw err;
|
|
58984
|
+
} finally {
|
|
58985
|
+
load.e = null;
|
|
58986
|
+
triggerOnload(loader, load, load.er, true);
|
|
58749
58987
|
}
|
|
58750
58988
|
}
|
|
58989
|
+
}
|
|
58751
58990
|
|
|
58752
|
-
|
|
58753
|
-
|
|
58754
|
-
|
|
58755
|
-
|
|
58756
|
-
|
|
58757
|
-
|
|
58758
|
-
|
|
58991
|
+
envGlobal.System = new SystemJS();
|
|
58992
|
+
var importMapPromise = Promise.resolve();
|
|
58993
|
+
var importMap = {
|
|
58994
|
+
imports: {},
|
|
58995
|
+
scopes: {},
|
|
58996
|
+
depcache: {},
|
|
58997
|
+
integrity: {}
|
|
58998
|
+
};
|
|
58999
|
+
var processFirst = hasDocument;
|
|
58759
59000
|
|
|
58760
|
-
function
|
|
58761
|
-
|
|
58762
|
-
|
|
58763
|
-
|
|
58764
|
-
|
|
58765
|
-
* @param name The name of the module to obtain
|
|
58766
|
-
* @returns The module's content, if any, otherwise throws an error.
|
|
58767
|
-
*/
|
|
59001
|
+
systemJSPrototype.prepareImport = function (doProcessScripts) {
|
|
59002
|
+
if (processFirst || doProcessScripts) {
|
|
59003
|
+
processScripts();
|
|
59004
|
+
processFirst = false;
|
|
59005
|
+
}
|
|
58768
59006
|
|
|
58769
|
-
|
|
58770
|
-
|
|
58771
|
-
const dependency = moduleId && System.get(moduleId);
|
|
59007
|
+
return importMapPromise;
|
|
59008
|
+
};
|
|
58772
59009
|
|
|
58773
|
-
if (
|
|
58774
|
-
|
|
58775
|
-
|
|
58776
|
-
throw error;
|
|
59010
|
+
if (hasDocument) {
|
|
59011
|
+
processScripts();
|
|
59012
|
+
window.addEventListener("DOMContentLoaded", processScripts);
|
|
58777
59013
|
}
|
|
58778
59014
|
|
|
58779
|
-
|
|
58780
|
-
|
|
59015
|
+
function processScripts() {
|
|
59016
|
+
[].forEach.call(document.querySelectorAll("script"), function (script) {
|
|
59017
|
+
if (script.sp) return;
|
|
58781
59018
|
|
|
58782
|
-
|
|
59019
|
+
if (script.type === "systemjs-module") {
|
|
59020
|
+
script.sp = true;
|
|
59021
|
+
if (!script.src) return;
|
|
59022
|
+
System.import(script.src.slice(0, 7) === "import:" ? script.src.slice(7) : resolveUrl(script.src, baseUrl)).catch(function (e) {
|
|
59023
|
+
if (e.message.indexOf("https://git.io/JvFET#3") > -1) {
|
|
59024
|
+
var event = document.createEvent("Event");
|
|
59025
|
+
event.initEvent("error", false, false);
|
|
59026
|
+
script.dispatchEvent(event);
|
|
59027
|
+
}
|
|
58783
59028
|
|
|
58784
|
-
|
|
58785
|
-
|
|
58786
|
-
|
|
58787
|
-
|
|
58788
|
-
|
|
59029
|
+
return Promise.reject(e);
|
|
59030
|
+
});
|
|
59031
|
+
} else if (script.type === "systemjs-importmap") {
|
|
59032
|
+
script.sp = true;
|
|
59033
|
+
var fetchPromise = script.src ? (System.fetch || fetch)(script.src, {
|
|
59034
|
+
integrity: script.integrity,
|
|
59035
|
+
passThrough: true
|
|
59036
|
+
}).then(function (res) {
|
|
59037
|
+
if (!res.ok) throw Error("Invalid status code: " + res.status);
|
|
59038
|
+
return res.text();
|
|
59039
|
+
}).catch(function (err) {
|
|
59040
|
+
err.message = errMsg("W4", "Error fetching systemjs-import map " + script.src) + "\n" + err.message;
|
|
59041
|
+
console.warn(err);
|
|
58789
59042
|
|
|
58790
|
-
"
|
|
58791
|
-
|
|
58792
|
-
|
|
58793
|
-
|
|
58794
|
-
|
|
58795
|
-
|
|
58796
|
-
|
|
58797
|
-
|
|
58798
|
-
|
|
58799
|
-
|
|
58800
|
-
|
|
58801
|
-
|
|
58802
|
-
|
|
58803
|
-
|
|
59043
|
+
if (typeof script.onerror === "function") {
|
|
59044
|
+
script.onerror();
|
|
59045
|
+
}
|
|
59046
|
+
|
|
59047
|
+
return "{}";
|
|
59048
|
+
}) : script.innerHTML;
|
|
59049
|
+
importMapPromise = importMapPromise.then(function () {
|
|
59050
|
+
return fetchPromise;
|
|
59051
|
+
}).then(function (text) {
|
|
59052
|
+
extendImportMap(importMap, text, script.src || baseUrl);
|
|
59053
|
+
});
|
|
59054
|
+
}
|
|
59055
|
+
});
|
|
59056
|
+
}
|
|
59057
|
+
|
|
59058
|
+
function extendImportMap(importMap2, newMapText, newMapUrl) {
|
|
59059
|
+
var newMap = {};
|
|
59060
|
+
|
|
59061
|
+
try {
|
|
59062
|
+
newMap = JSON.parse(newMapText);
|
|
59063
|
+
} catch (err) {
|
|
59064
|
+
console.warn(Error(errMsg("W5", "systemjs-importmap contains invalid JSON") + "\n\n" + newMapText + "\n"));
|
|
59065
|
+
}
|
|
59066
|
+
|
|
59067
|
+
resolveAndComposeImportMap(newMap, newMapUrl, importMap2);
|
|
59068
|
+
}
|
|
59069
|
+
|
|
59070
|
+
if (hasDocument) {
|
|
59071
|
+
window.addEventListener("error", function (evt) {
|
|
59072
|
+
lastWindowErrorUrl = evt.filename;
|
|
59073
|
+
lastWindowError = evt.error;
|
|
59074
|
+
});
|
|
59075
|
+
var baseOrigin = location.origin;
|
|
59076
|
+
}
|
|
59077
|
+
|
|
59078
|
+
systemJSPrototype.createScript = function (url) {
|
|
59079
|
+
var script = document.createElement("script");
|
|
59080
|
+
script.async = true;
|
|
59081
|
+
if (url.indexOf(baseOrigin + "/")) script.crossOrigin = "anonymous";
|
|
59082
|
+
var integrity = importMap.integrity[url];
|
|
59083
|
+
if (integrity) script.integrity = integrity;
|
|
59084
|
+
script.src = url;
|
|
59085
|
+
return script;
|
|
59086
|
+
};
|
|
59087
|
+
|
|
59088
|
+
var lastAutoImportDeps, lastAutoImportTimeout;
|
|
59089
|
+
var autoImportCandidates = {};
|
|
59090
|
+
var systemRegister2 = systemJSPrototype.register;
|
|
59091
|
+
|
|
59092
|
+
systemJSPrototype.register = function (deps, declare) {
|
|
59093
|
+
if (hasDocument && document.readyState === "loading" && typeof deps !== "string") {
|
|
59094
|
+
var scripts = document.querySelectorAll("script[src]");
|
|
59095
|
+
var lastScript = scripts[scripts.length - 1];
|
|
59096
|
+
|
|
59097
|
+
if (lastScript) {
|
|
59098
|
+
lastAutoImportDeps = deps;
|
|
59099
|
+
var loader = this;
|
|
59100
|
+
lastAutoImportTimeout = setTimeout(function () {
|
|
59101
|
+
autoImportCandidates[lastScript.src] = [deps, declare];
|
|
59102
|
+
loader.import(lastScript.src);
|
|
59103
|
+
});
|
|
59104
|
+
}
|
|
59105
|
+
} else {
|
|
59106
|
+
lastAutoImportDeps = void 0;
|
|
59107
|
+
}
|
|
59108
|
+
|
|
59109
|
+
return systemRegister2.call(this, deps, declare);
|
|
59110
|
+
};
|
|
59111
|
+
|
|
59112
|
+
var lastWindowErrorUrl, lastWindowError;
|
|
59113
|
+
|
|
59114
|
+
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
59115
|
+
var autoImportRegistration = autoImportCandidates[url];
|
|
59116
|
+
|
|
59117
|
+
if (autoImportRegistration) {
|
|
59118
|
+
delete autoImportCandidates[url];
|
|
59119
|
+
return autoImportRegistration;
|
|
59120
|
+
}
|
|
59121
|
+
|
|
59122
|
+
var loader = this;
|
|
59123
|
+
return Promise.resolve(systemJSPrototype.createScript(url)).then(function (script) {
|
|
59124
|
+
return new Promise(function (resolve, reject) {
|
|
59125
|
+
script.addEventListener("error", function () {
|
|
59126
|
+
reject(Error(errMsg(3, "Error loading " + url + (firstParentUrl ? " from " + firstParentUrl : ""))));
|
|
59127
|
+
});
|
|
59128
|
+
script.addEventListener("load", function () {
|
|
59129
|
+
document.head.removeChild(script);
|
|
59130
|
+
|
|
59131
|
+
if (lastWindowErrorUrl === url) {
|
|
59132
|
+
reject(lastWindowError);
|
|
59133
|
+
} else {
|
|
59134
|
+
var register = loader.getRegister(url);
|
|
59135
|
+
if (register && register[0] === lastAutoImportDeps) clearTimeout(lastAutoImportTimeout);
|
|
59136
|
+
resolve(register);
|
|
59137
|
+
}
|
|
59138
|
+
});
|
|
59139
|
+
document.head.appendChild(script);
|
|
59140
|
+
});
|
|
59141
|
+
});
|
|
59142
|
+
};
|
|
59143
|
+
|
|
59144
|
+
systemJSPrototype.shouldFetch = function () {
|
|
59145
|
+
return false;
|
|
59146
|
+
};
|
|
59147
|
+
|
|
59148
|
+
if (typeof fetch !== "undefined") systemJSPrototype.fetch = fetch;
|
|
59149
|
+
var instantiate = systemJSPrototype.instantiate;
|
|
59150
|
+
var jsContentTypeRegEx = /^(text|application)\/(x-)?javascript(;|$)/;
|
|
59151
|
+
|
|
59152
|
+
systemJSPrototype.instantiate = function (url, parent) {
|
|
59153
|
+
var loader = this;
|
|
59154
|
+
if (!this.shouldFetch(url)) return instantiate.apply(this, arguments);
|
|
59155
|
+
return this.fetch(url, {
|
|
59156
|
+
credentials: "same-origin",
|
|
59157
|
+
integrity: importMap.integrity[url]
|
|
59158
|
+
}).then(function (res) {
|
|
59159
|
+
if (!res.ok) throw Error(errMsg(7, res.status + " " + res.statusText + ", loading " + url + (parent ? " from " + parent : "")));
|
|
59160
|
+
var contentType = res.headers.get("content-type");
|
|
59161
|
+
if (!contentType || !jsContentTypeRegEx.test(contentType)) throw Error(errMsg(4, 'Unknown Content-Type "' + contentType + '", loading ' + url + (parent ? " from " + parent : "")));
|
|
59162
|
+
return res.text().then(function (source) {
|
|
59163
|
+
if (source.indexOf("//# sourceURL=") < 0) source += "\n//# sourceURL=" + url;
|
|
59164
|
+
(0, eval)(source);
|
|
59165
|
+
return loader.getRegister(url);
|
|
59166
|
+
});
|
|
59167
|
+
});
|
|
59168
|
+
};
|
|
59169
|
+
|
|
59170
|
+
systemJSPrototype.resolve = function (id, parentUrl) {
|
|
59171
|
+
parentUrl = parentUrl || false || baseUrl;
|
|
59172
|
+
return resolveImportMap(importMap, resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) || throwUnresolved(id, parentUrl);
|
|
59173
|
+
};
|
|
59174
|
+
|
|
59175
|
+
function throwUnresolved(id, parentUrl) {
|
|
59176
|
+
throw Error(errMsg(8, "Unable to resolve bare specifier '" + id + (parentUrl ? "' from " + parentUrl : "'")));
|
|
59177
|
+
}
|
|
59178
|
+
|
|
59179
|
+
var systemInstantiate = systemJSPrototype.instantiate;
|
|
59180
|
+
|
|
59181
|
+
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
59182
|
+
var preloads = importMap.depcache[url];
|
|
59183
|
+
|
|
59184
|
+
if (preloads) {
|
|
59185
|
+
for (var i = 0; i < preloads.length; i++) getOrCreateLoad(this, this.resolve(preloads[i], url), url);
|
|
59186
|
+
}
|
|
59187
|
+
|
|
59188
|
+
return systemInstantiate.call(this, url, firstParentUrl);
|
|
59189
|
+
};
|
|
59190
|
+
|
|
59191
|
+
if (hasSelf && typeof importScripts === "function") systemJSPrototype.instantiate = function (url) {
|
|
59192
|
+
var loader = this;
|
|
59193
|
+
return Promise.resolve().then(function () {
|
|
59194
|
+
importScripts(url);
|
|
59195
|
+
return loader.getRegister(url);
|
|
59196
|
+
});
|
|
59197
|
+
};
|
|
59198
|
+
|
|
59199
|
+
(function (global2) {
|
|
59200
|
+
var systemJSPrototype2 = global2.System.constructor.prototype;
|
|
59201
|
+
var firstGlobalProp, secondGlobalProp, lastGlobalProp;
|
|
59202
|
+
|
|
59203
|
+
function getGlobalProp(useFirstGlobalProp) {
|
|
59204
|
+
var cnt = 0;
|
|
59205
|
+
var foundLastProp, result;
|
|
59206
|
+
|
|
59207
|
+
for (var p in global2) {
|
|
59208
|
+
if (shouldSkipProperty(p)) continue;
|
|
59209
|
+
if (cnt === 0 && p !== firstGlobalProp || cnt === 1 && p !== secondGlobalProp) return p;
|
|
59210
|
+
|
|
59211
|
+
if (foundLastProp) {
|
|
59212
|
+
lastGlobalProp = p;
|
|
59213
|
+
result = useFirstGlobalProp && result || p;
|
|
59214
|
+
} else {
|
|
59215
|
+
foundLastProp = p === lastGlobalProp;
|
|
59216
|
+
}
|
|
59217
|
+
|
|
59218
|
+
cnt++;
|
|
59219
|
+
}
|
|
59220
|
+
|
|
59221
|
+
return result;
|
|
59222
|
+
}
|
|
59223
|
+
|
|
59224
|
+
function noteGlobalProps() {
|
|
59225
|
+
firstGlobalProp = secondGlobalProp = void 0;
|
|
59226
|
+
|
|
59227
|
+
for (var p in global2) {
|
|
59228
|
+
if (shouldSkipProperty(p)) continue;
|
|
59229
|
+
if (!firstGlobalProp) firstGlobalProp = p;else if (!secondGlobalProp) secondGlobalProp = p;
|
|
59230
|
+
lastGlobalProp = p;
|
|
59231
|
+
}
|
|
59232
|
+
|
|
59233
|
+
return lastGlobalProp;
|
|
59234
|
+
}
|
|
59235
|
+
|
|
59236
|
+
var impt = systemJSPrototype2.import;
|
|
59237
|
+
|
|
59238
|
+
systemJSPrototype2.import = function (id, parentUrl) {
|
|
59239
|
+
noteGlobalProps();
|
|
59240
|
+
return impt.call(this, id, parentUrl);
|
|
59241
|
+
};
|
|
59242
|
+
|
|
59243
|
+
var emptyInstantiation = [[], function () {
|
|
59244
|
+
return {};
|
|
59245
|
+
}];
|
|
59246
|
+
var getRegister = systemJSPrototype2.getRegister;
|
|
59247
|
+
|
|
59248
|
+
systemJSPrototype2.getRegister = function () {
|
|
59249
|
+
var lastRegister2 = getRegister.call(this);
|
|
59250
|
+
if (lastRegister2) return lastRegister2;
|
|
59251
|
+
var globalProp = getGlobalProp(this.firstGlobalProp);
|
|
59252
|
+
if (!globalProp) return emptyInstantiation;
|
|
59253
|
+
var globalExport;
|
|
59254
|
+
|
|
59255
|
+
try {
|
|
59256
|
+
globalExport = global2[globalProp];
|
|
59257
|
+
} catch (e) {
|
|
59258
|
+
return emptyInstantiation;
|
|
59259
|
+
}
|
|
59260
|
+
|
|
59261
|
+
return [[], function (_export) {
|
|
59262
|
+
return {
|
|
59263
|
+
execute: function () {
|
|
59264
|
+
_export(globalExport);
|
|
59265
|
+
|
|
59266
|
+
_export({
|
|
59267
|
+
default: globalExport,
|
|
59268
|
+
__useDefault: true
|
|
59269
|
+
});
|
|
59270
|
+
}
|
|
59271
|
+
};
|
|
59272
|
+
}];
|
|
59273
|
+
};
|
|
59274
|
+
|
|
59275
|
+
var isIE11 = typeof navigator !== "undefined" && navigator.userAgent.indexOf("Trident") !== -1;
|
|
59276
|
+
|
|
59277
|
+
function shouldSkipProperty(p) {
|
|
59278
|
+
return !global2.hasOwnProperty(p) || !isNaN(p) && p < global2.length || isIE11 && global2[p] && typeof window !== "undefined" && global2[p].parent === window;
|
|
59279
|
+
}
|
|
59280
|
+
})(typeof self !== "undefined" ? self : __webpack_require__.g);
|
|
59281
|
+
|
|
59282
|
+
(function (global2) {
|
|
59283
|
+
var systemJSPrototype2 = global2.System.constructor.prototype;
|
|
59284
|
+
var moduleTypesRegEx = /^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;
|
|
59285
|
+
|
|
59286
|
+
systemJSPrototype2.shouldFetch = function (url) {
|
|
59287
|
+
return moduleTypesRegEx.test(url);
|
|
59288
|
+
};
|
|
59289
|
+
|
|
59290
|
+
var jsonContentType = /^application\/json(;|$)/;
|
|
59291
|
+
var cssContentType = /^text\/css(;|$)/;
|
|
59292
|
+
var wasmContentType = /^application\/wasm(;|$)/;
|
|
59293
|
+
var fetch2 = systemJSPrototype2.fetch;
|
|
59294
|
+
|
|
59295
|
+
systemJSPrototype2.fetch = function (url, options) {
|
|
59296
|
+
return fetch2(url, options).then(function (res) {
|
|
59297
|
+
if (options.passThrough) return res;
|
|
59298
|
+
if (!res.ok) return res;
|
|
59299
|
+
var contentType = res.headers.get("content-type");
|
|
59300
|
+
if (jsonContentType.test(contentType)) return res.json().then(function (json) {
|
|
59301
|
+
return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",' + JSON.stringify(json) + ")}}})"], {
|
|
59302
|
+
type: "application/javascript"
|
|
59303
|
+
}));
|
|
59304
|
+
});
|
|
59305
|
+
if (cssContentType.test(contentType)) return res.text().then(function (source) {
|
|
59306
|
+
source = source.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g, function (match, quotes, relUrl1, relUrl2) {
|
|
59307
|
+
return "url(" + quotes + resolveUrl(relUrl1 || relUrl2, url) + quotes + ")";
|
|
59308
|
+
});
|
|
59309
|
+
return new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync(" + JSON.stringify(source) + ');e("default",s)}}})'], {
|
|
59310
|
+
type: "application/javascript"
|
|
59311
|
+
}));
|
|
59312
|
+
});
|
|
59313
|
+
if (wasmContentType.test(contentType)) return (WebAssembly.compileStreaming ? WebAssembly.compileStreaming(res) : res.arrayBuffer().then(WebAssembly.compile)).then(function (module) {
|
|
59314
|
+
if (!global2.System.wasmModules) global2.System.wasmModules = Object.create(null);
|
|
59315
|
+
global2.System.wasmModules[url] = module;
|
|
59316
|
+
var deps = [];
|
|
59317
|
+
var setterSources = [];
|
|
59318
|
+
if (WebAssembly.Module.imports) WebAssembly.Module.imports(module).forEach(function (impt) {
|
|
59319
|
+
var key = JSON.stringify(impt.module);
|
|
59320
|
+
|
|
59321
|
+
if (deps.indexOf(key) === -1) {
|
|
59322
|
+
deps.push(key);
|
|
59323
|
+
setterSources.push("function(m){i[" + key + "]=m}");
|
|
59324
|
+
}
|
|
59325
|
+
});
|
|
59326
|
+
return new Response(new Blob(["System.register([" + deps.join(",") + "],function(e){var i={};return{setters:[" + setterSources.join(",") + "],execute:function(){return WebAssembly.instantiate(System.wasmModules[" + JSON.stringify(url) + "],i).then(function(m){e(m.exports)})}}})"], {
|
|
59327
|
+
type: "application/javascript"
|
|
59328
|
+
}));
|
|
59329
|
+
});
|
|
59330
|
+
return res;
|
|
59331
|
+
});
|
|
59332
|
+
};
|
|
59333
|
+
})(typeof self !== "undefined" ? self : __webpack_require__.g);
|
|
59334
|
+
|
|
59335
|
+
var toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag;
|
|
59336
|
+
|
|
59337
|
+
systemJSPrototype.get = function (id) {
|
|
59338
|
+
var load = this[REGISTRY][id];
|
|
59339
|
+
|
|
59340
|
+
if (load && load.e === null && !load.E) {
|
|
59341
|
+
if (load.er) return null;
|
|
59342
|
+
return load.n;
|
|
59343
|
+
}
|
|
59344
|
+
};
|
|
59345
|
+
|
|
59346
|
+
systemJSPrototype.set = function (id, module) {
|
|
59347
|
+
{
|
|
59348
|
+
try {
|
|
59349
|
+
new URL(id);
|
|
59350
|
+
} catch (err) {
|
|
59351
|
+
console.warn(Error(errMsg("W3", '"' + id + '" is not a valid URL to set in the module registry')));
|
|
59352
|
+
}
|
|
59353
|
+
}
|
|
59354
|
+
var ns;
|
|
59355
|
+
|
|
59356
|
+
if (toStringTag && module[toStringTag] === "Module") {
|
|
59357
|
+
ns = module;
|
|
59358
|
+
} else {
|
|
59359
|
+
ns = Object.assign(Object.create(null), module);
|
|
59360
|
+
if (toStringTag) Object.defineProperty(ns, toStringTag, {
|
|
59361
|
+
value: "Module"
|
|
59362
|
+
});
|
|
59363
|
+
}
|
|
59364
|
+
|
|
59365
|
+
var done = Promise.resolve(ns);
|
|
59366
|
+
var load = this[REGISTRY][id] || (this[REGISTRY][id] = {
|
|
59367
|
+
id,
|
|
59368
|
+
i: [],
|
|
59369
|
+
h: false,
|
|
59370
|
+
d: [],
|
|
59371
|
+
e: null,
|
|
59372
|
+
er: void 0,
|
|
59373
|
+
E: void 0
|
|
59374
|
+
});
|
|
59375
|
+
if (load.e || load.E) return false;
|
|
59376
|
+
Object.assign(load, {
|
|
59377
|
+
n: ns,
|
|
59378
|
+
I: void 0,
|
|
59379
|
+
L: void 0,
|
|
59380
|
+
C: done
|
|
59381
|
+
});
|
|
59382
|
+
return ns;
|
|
59383
|
+
};
|
|
59384
|
+
|
|
59385
|
+
systemJSPrototype.has = function (id) {
|
|
59386
|
+
var load = this[REGISTRY][id];
|
|
59387
|
+
return !!load;
|
|
59388
|
+
};
|
|
59389
|
+
|
|
59390
|
+
systemJSPrototype.delete = function (id) {
|
|
59391
|
+
var registry = this[REGISTRY];
|
|
59392
|
+
var load = registry[id];
|
|
59393
|
+
if (!load || load.p && load.p.e !== null || load.E) return false;
|
|
59394
|
+
var importerSetters = load.i;
|
|
59395
|
+
if (load.d) load.d.forEach(function (depLoad) {
|
|
59396
|
+
var importerIndex = depLoad.i.indexOf(load);
|
|
59397
|
+
if (importerIndex !== -1) depLoad.i.splice(importerIndex, 1);
|
|
59398
|
+
});
|
|
59399
|
+
delete registry[id];
|
|
59400
|
+
return function () {
|
|
59401
|
+
var load2 = registry[id];
|
|
59402
|
+
if (!load2 || !importerSetters || load2.e !== null || load2.E) return false;
|
|
59403
|
+
importerSetters.forEach(function (setter) {
|
|
59404
|
+
load2.i.push(setter);
|
|
59405
|
+
setter(load2.n);
|
|
59406
|
+
});
|
|
59407
|
+
importerSetters = null;
|
|
59408
|
+
};
|
|
59409
|
+
};
|
|
59410
|
+
|
|
59411
|
+
var iterator = typeof Symbol !== "undefined" && Symbol.iterator;
|
|
59412
|
+
|
|
59413
|
+
systemJSPrototype.entries = function () {
|
|
59414
|
+
var loader = this,
|
|
59415
|
+
keys = Object.keys(loader[REGISTRY]);
|
|
59416
|
+
var index = 0,
|
|
59417
|
+
ns,
|
|
59418
|
+
key;
|
|
59419
|
+
var result = {
|
|
59420
|
+
next: function () {
|
|
59421
|
+
while ((key = keys[index++]) !== void 0 && (ns = loader.get(key)) === void 0);
|
|
59422
|
+
|
|
59423
|
+
return {
|
|
59424
|
+
done: key === void 0,
|
|
59425
|
+
value: key !== void 0 && [key, ns]
|
|
59426
|
+
};
|
|
59427
|
+
}
|
|
59428
|
+
};
|
|
59429
|
+
|
|
59430
|
+
result[iterator] = function () {
|
|
59431
|
+
return this;
|
|
59432
|
+
};
|
|
59433
|
+
|
|
59434
|
+
return result;
|
|
59435
|
+
};
|
|
59436
|
+
})(); // ../../../node_modules/systemjs/dist/extras/named-register.js
|
|
59437
|
+
|
|
59438
|
+
|
|
59439
|
+
(function () {
|
|
59440
|
+
(function (global2) {
|
|
59441
|
+
var System2 = global2.System;
|
|
59442
|
+
setRegisterRegistry(System2);
|
|
59443
|
+
var systemJSPrototype = System2.constructor.prototype;
|
|
59444
|
+
var constructor = System2.constructor;
|
|
59445
|
+
|
|
59446
|
+
var SystemJS = function () {
|
|
59447
|
+
constructor.call(this);
|
|
59448
|
+
setRegisterRegistry(this);
|
|
59449
|
+
};
|
|
59450
|
+
|
|
59451
|
+
SystemJS.prototype = systemJSPrototype;
|
|
59452
|
+
System2.constructor = SystemJS;
|
|
59453
|
+
var firstNamedDefine, firstName;
|
|
59454
|
+
|
|
59455
|
+
function setRegisterRegistry(systemInstance) {
|
|
59456
|
+
systemInstance.registerRegistry = Object.create(null);
|
|
59457
|
+
systemInstance.namedRegisterAliases = Object.create(null);
|
|
59458
|
+
}
|
|
59459
|
+
|
|
59460
|
+
var register = systemJSPrototype.register;
|
|
59461
|
+
|
|
59462
|
+
systemJSPrototype.register = function (name, deps, declare) {
|
|
59463
|
+
if (typeof name !== "string") return register.apply(this, arguments);
|
|
59464
|
+
var define = [deps, declare];
|
|
59465
|
+
this.registerRegistry[name] = define;
|
|
59466
|
+
|
|
59467
|
+
if (!firstNamedDefine) {
|
|
59468
|
+
firstNamedDefine = define;
|
|
59469
|
+
firstName = name;
|
|
59470
|
+
}
|
|
59471
|
+
|
|
59472
|
+
Promise.resolve().then(function () {
|
|
59473
|
+
firstNamedDefine = null;
|
|
59474
|
+
firstName = null;
|
|
59475
|
+
});
|
|
59476
|
+
return register.apply(this, [deps, declare]);
|
|
59477
|
+
};
|
|
59478
|
+
|
|
59479
|
+
var resolve = systemJSPrototype.resolve;
|
|
59480
|
+
|
|
59481
|
+
systemJSPrototype.resolve = function (id, parentURL) {
|
|
59482
|
+
try {
|
|
59483
|
+
return resolve.call(this, id, parentURL);
|
|
59484
|
+
} catch (err) {
|
|
59485
|
+
if (id in this.registerRegistry) {
|
|
59486
|
+
return this.namedRegisterAliases[id] || id;
|
|
59487
|
+
}
|
|
59488
|
+
|
|
59489
|
+
throw err;
|
|
59490
|
+
}
|
|
59491
|
+
};
|
|
59492
|
+
|
|
59493
|
+
var instantiate = systemJSPrototype.instantiate;
|
|
59494
|
+
|
|
59495
|
+
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
59496
|
+
var result = this.registerRegistry[url];
|
|
59497
|
+
|
|
59498
|
+
if (result) {
|
|
59499
|
+
this.registerRegistry[url] = null;
|
|
59500
|
+
return result;
|
|
59501
|
+
} else {
|
|
59502
|
+
return instantiate.call(this, url, firstParentUrl);
|
|
59503
|
+
}
|
|
59504
|
+
};
|
|
59505
|
+
|
|
59506
|
+
var getRegister = systemJSPrototype.getRegister;
|
|
59507
|
+
|
|
59508
|
+
systemJSPrototype.getRegister = function (url) {
|
|
59509
|
+
var register2 = getRegister.call(this, url);
|
|
59510
|
+
|
|
59511
|
+
if (firstName && url) {
|
|
59512
|
+
this.namedRegisterAliases[firstName] = url;
|
|
59513
|
+
}
|
|
59514
|
+
|
|
59515
|
+
var result = firstNamedDefine || register2;
|
|
59516
|
+
firstNamedDefine = null;
|
|
59517
|
+
firstName = null;
|
|
59518
|
+
return result;
|
|
59519
|
+
};
|
|
59520
|
+
})(typeof self !== "undefined" ? self : __webpack_require__.g);
|
|
59521
|
+
})(); // ../../tooling/piral-cli/src/common/version.ts
|
|
59522
|
+
|
|
59523
|
+
|
|
59524
|
+
var semver = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
|
|
59525
|
+
var acceptsAll = ["*", "x", ">=0"];
|
|
59526
|
+
var operatorResMap = {
|
|
59527
|
+
">": [1],
|
|
59528
|
+
">=": [0, 1],
|
|
59529
|
+
"=": [0],
|
|
59530
|
+
"<=": [-1, 0],
|
|
59531
|
+
"<": [-1]
|
|
58804
59532
|
};
|
|
58805
59533
|
|
|
58806
59534
|
function indexOrEnd(str, q) {
|
|
@@ -58808,15 +59536,15 @@ function indexOrEnd(str, q) {
|
|
|
58808
59536
|
}
|
|
58809
59537
|
|
|
58810
59538
|
function splitVersion(v) {
|
|
58811
|
-
|
|
58812
|
-
|
|
58813
|
-
|
|
59539
|
+
const c = v.replace(/^v/, "").replace(/\+.*$/, "");
|
|
59540
|
+
const patchIndex = indexOrEnd(c, "-");
|
|
59541
|
+
const arr = c.substring(0, patchIndex).split(".");
|
|
58814
59542
|
arr.push(c.substring(patchIndex + 1));
|
|
58815
59543
|
return arr;
|
|
58816
59544
|
}
|
|
58817
59545
|
|
|
58818
59546
|
function parseSegment(v) {
|
|
58819
|
-
|
|
59547
|
+
const n = parseInt(v, 10);
|
|
58820
59548
|
return isNaN(n) ? v : n;
|
|
58821
59549
|
}
|
|
58822
59550
|
|
|
@@ -58841,7 +59569,7 @@ function compareStrings(a, b) {
|
|
|
58841
59569
|
|
|
58842
59570
|
function compareSegments(a, b) {
|
|
58843
59571
|
for (let i = 0; i < 2; i++) {
|
|
58844
|
-
const r = compareStrings(a[i] ||
|
|
59572
|
+
const r = compareStrings(a[i] || "0", b[i] || "0");
|
|
58845
59573
|
|
|
58846
59574
|
if (r !== 0) {
|
|
58847
59575
|
return r;
|
|
@@ -58857,8 +59585,8 @@ function compareVersions(v1, v2) {
|
|
|
58857
59585
|
const len = Math.max(s1.length - 1, s2.length - 1);
|
|
58858
59586
|
|
|
58859
59587
|
for (let i = 0; i < len; i++) {
|
|
58860
|
-
const n1 = parseInt(s1[i] ||
|
|
58861
|
-
const n2 = parseInt(s2[i] ||
|
|
59588
|
+
const n1 = parseInt(s1[i] || "0", 10);
|
|
59589
|
+
const n2 = parseInt(s2[i] || "0", 10);
|
|
58862
59590
|
|
|
58863
59591
|
if (n1 > n2) {
|
|
58864
59592
|
return 1;
|
|
@@ -58871,14 +59599,14 @@ function compareVersions(v1, v2) {
|
|
|
58871
59599
|
const sp2 = s2[s2.length - 1];
|
|
58872
59600
|
|
|
58873
59601
|
if (sp1 && sp2) {
|
|
58874
|
-
const p1 = sp1.split(
|
|
58875
|
-
const p2 = sp2.split(
|
|
58876
|
-
const
|
|
59602
|
+
const p1 = sp1.split(".").map(parseSegment);
|
|
59603
|
+
const p2 = sp2.split(".").map(parseSegment);
|
|
59604
|
+
const len2 = Math.max(p1.length, p2.length);
|
|
58877
59605
|
|
|
58878
|
-
for (let i = 0; i <
|
|
58879
|
-
if (p1[i] ===
|
|
59606
|
+
for (let i = 0; i < len2; i++) {
|
|
59607
|
+
if (p1[i] === void 0 || typeof p2[i] === "string" && typeof p1[i] === "number") {
|
|
58880
59608
|
return -1;
|
|
58881
|
-
} else if (p2[i] ===
|
|
59609
|
+
} else if (p2[i] === void 0 || typeof p1[i] === "string" && typeof p2[i] === "number") {
|
|
58882
59610
|
return 1;
|
|
58883
59611
|
} else if (p1[i] > p2[i]) {
|
|
58884
59612
|
return 1;
|
|
@@ -58894,8 +59622,6 @@ function compareVersions(v1, v2) {
|
|
|
58894
59622
|
}
|
|
58895
59623
|
|
|
58896
59624
|
function compare(v1, v2, operator) {
|
|
58897
|
-
// since result of compareVersions can only be -1 or 0 or 1
|
|
58898
|
-
// a simple map can be used to replace switch
|
|
58899
59625
|
const res = compareVersions(v1, v2);
|
|
58900
59626
|
return operatorResMap[operator].indexOf(res) > -1;
|
|
58901
59627
|
}
|
|
@@ -58903,23 +59629,22 @@ function compare(v1, v2, operator) {
|
|
|
58903
59629
|
function validate(version) {
|
|
58904
59630
|
return acceptsAll.includes(version) || semver.test(version);
|
|
58905
59631
|
}
|
|
59632
|
+
|
|
58906
59633
|
function satisfies(v, r) {
|
|
58907
59634
|
if (!acceptsAll.includes(r)) {
|
|
58908
|
-
// if no range operator then "="
|
|
58909
59635
|
const match = r.match(/^([<>=~^]+)/);
|
|
58910
|
-
const op = match ? match[1] :
|
|
59636
|
+
const op = match ? match[1] : "=";
|
|
58911
59637
|
|
|
58912
|
-
if (op !==
|
|
59638
|
+
if (op !== "^" && op !== "~") {
|
|
58913
59639
|
return compare(v, r, op);
|
|
58914
|
-
}
|
|
58915
|
-
|
|
59640
|
+
}
|
|
58916
59641
|
|
|
58917
59642
|
const [v1, v2, v3] = validateAndParse(v);
|
|
58918
59643
|
const [m1, m2, m3] = validateAndParse(r);
|
|
58919
59644
|
|
|
58920
59645
|
if (compareStrings(v1, m1) !== 0) {
|
|
58921
59646
|
return false;
|
|
58922
|
-
} else if (op ===
|
|
59647
|
+
} else if (op === "^") {
|
|
58923
59648
|
return compareSegments([v2, v3], [m2, m3]) >= 0;
|
|
58924
59649
|
} else if (compareStrings(v2, m2) !== 0) {
|
|
58925
59650
|
return false;
|
|
@@ -58929,8 +59654,145 @@ function satisfies(v, r) {
|
|
|
58929
59654
|
}
|
|
58930
59655
|
|
|
58931
59656
|
return true;
|
|
59657
|
+
} // src/utils/system.ts
|
|
59658
|
+
|
|
59659
|
+
|
|
59660
|
+
var systemResolve = System.constructor.prototype.resolve;
|
|
59661
|
+
var systemRegister = System.constructor.prototype.register;
|
|
59662
|
+
|
|
59663
|
+
function getLoadedVersions(prefix) {
|
|
59664
|
+
return [...System.entries()].filter(([name]) => name.startsWith(prefix)).map(([name]) => name.substring(prefix.length));
|
|
59665
|
+
}
|
|
59666
|
+
|
|
59667
|
+
function findMatchingPackage(id) {
|
|
59668
|
+
const sep = id.indexOf("@", 1);
|
|
59669
|
+
|
|
59670
|
+
if (sep > 1) {
|
|
59671
|
+
const available = Object.keys(System.registerRegistry);
|
|
59672
|
+
const name = id.substring(0, sep + 1);
|
|
59673
|
+
const versionSpec = id.substring(sep + 1);
|
|
59674
|
+
|
|
59675
|
+
if (validate(versionSpec)) {
|
|
59676
|
+
const loadedVersions = getLoadedVersions(name);
|
|
59677
|
+
const allVersions = available.filter(m => m.startsWith(name)).map(m => m.substring(name.length));
|
|
59678
|
+
const availableVersions = [...loadedVersions, ...allVersions.filter(m => !loadedVersions.includes(m))];
|
|
59679
|
+
|
|
59680
|
+
for (const availableVersion of availableVersions) {
|
|
59681
|
+
if (validate(availableVersion) && satisfies(availableVersion, versionSpec)) {
|
|
59682
|
+
return name + availableVersion;
|
|
59683
|
+
}
|
|
59684
|
+
}
|
|
59685
|
+
}
|
|
59686
|
+
}
|
|
59687
|
+
|
|
59688
|
+
return void 0;
|
|
59689
|
+
}
|
|
59690
|
+
|
|
59691
|
+
function isPrimitiveExport(content) {
|
|
59692
|
+
const type = typeof content;
|
|
59693
|
+
return type === "number" || type === "boolean" || type === "symbol" || type === "string" || type === "bigint" || Array.isArray(content);
|
|
59694
|
+
}
|
|
59695
|
+
|
|
59696
|
+
System.constructor.prototype.resolve = function (id, parentUrl) {
|
|
59697
|
+
try {
|
|
59698
|
+
return systemResolve.call(this, id, parentUrl);
|
|
59699
|
+
} catch (ex) {
|
|
59700
|
+
const result = findMatchingPackage(id);
|
|
59701
|
+
|
|
59702
|
+
if (!result) {
|
|
59703
|
+
throw ex;
|
|
59704
|
+
}
|
|
59705
|
+
|
|
59706
|
+
return result;
|
|
59707
|
+
}
|
|
59708
|
+
};
|
|
59709
|
+
|
|
59710
|
+
System.constructor.prototype.register = function (...args) {
|
|
59711
|
+
const getContent = args.pop();
|
|
59712
|
+
args.push((_export, ctx) => {
|
|
59713
|
+
const exp = (...p) => {
|
|
59714
|
+
if (p.length === 1) {
|
|
59715
|
+
const content = p[0];
|
|
59716
|
+
|
|
59717
|
+
if (content instanceof Promise) {
|
|
59718
|
+
return content.then(exp);
|
|
59719
|
+
} else if (typeof content === "function") {
|
|
59720
|
+
_export("__esModule", true);
|
|
59721
|
+
|
|
59722
|
+
Object.keys(content).forEach(prop => {
|
|
59723
|
+
_export(prop, content[prop]);
|
|
59724
|
+
});
|
|
59725
|
+
|
|
59726
|
+
_export("default", content);
|
|
59727
|
+
} else if (isPrimitiveExport(content)) {
|
|
59728
|
+
_export("__esModule", true);
|
|
59729
|
+
|
|
59730
|
+
_export("default", content);
|
|
59731
|
+
} else if (content) {
|
|
59732
|
+
_export(content);
|
|
59733
|
+
|
|
59734
|
+
if (typeof content === "object" && !("default" in content)) {
|
|
59735
|
+
_export("default", content);
|
|
59736
|
+
}
|
|
59737
|
+
}
|
|
59738
|
+
} else {
|
|
59739
|
+
_export(...p);
|
|
59740
|
+
}
|
|
59741
|
+
};
|
|
59742
|
+
|
|
59743
|
+
return getContent(exp, ctx);
|
|
59744
|
+
});
|
|
59745
|
+
return systemRegister.apply(this, args);
|
|
59746
|
+
};
|
|
59747
|
+
|
|
59748
|
+
function tryResolve(name, parent) {
|
|
59749
|
+
try {
|
|
59750
|
+
return System.resolve(name, parent);
|
|
59751
|
+
} catch (e) {
|
|
59752
|
+
return void 0;
|
|
59753
|
+
}
|
|
59754
|
+
}
|
|
59755
|
+
|
|
59756
|
+
function registerDependencies(modules) {
|
|
59757
|
+
const moduleNames = Object.keys(modules);
|
|
59758
|
+
moduleNames.forEach(name => registerModule(name, () => modules[name]));
|
|
59759
|
+
return Promise.all(moduleNames.map(name => System.import(name)));
|
|
59760
|
+
}
|
|
59761
|
+
|
|
59762
|
+
function registerModule(name, resolve) {
|
|
59763
|
+
System.register(name, [], _exports => ({
|
|
59764
|
+
execute() {
|
|
59765
|
+
const content = resolve();
|
|
59766
|
+
|
|
59767
|
+
if (content instanceof Promise) {
|
|
59768
|
+
return content.then(_exports);
|
|
59769
|
+
} else {
|
|
59770
|
+
_exports(content);
|
|
59771
|
+
}
|
|
59772
|
+
}
|
|
59773
|
+
|
|
59774
|
+
}));
|
|
59775
|
+
}
|
|
59776
|
+
|
|
59777
|
+
function unregisterModules(baseUrl, dependencies) {
|
|
59778
|
+
[...System.entries()].map(([name]) => name).filter(name => name.startsWith(baseUrl) && !dependencies.includes(name)).forEach(name => System.delete(name));
|
|
59779
|
+
}
|
|
59780
|
+
|
|
59781
|
+
function requireModule(name, parent) {
|
|
59782
|
+
const moduleId = tryResolve(name, parent);
|
|
59783
|
+
const dependency = moduleId && System.get(moduleId);
|
|
59784
|
+
|
|
59785
|
+
if (!dependency) {
|
|
59786
|
+
const error = new Error(`Cannot find module '${name}'`);
|
|
59787
|
+
error.code = "MODULE_NOT_FOUND";
|
|
59788
|
+
throw error;
|
|
59789
|
+
}
|
|
59790
|
+
|
|
59791
|
+
return dependency;
|
|
58932
59792
|
}
|
|
58933
59793
|
|
|
59794
|
+
|
|
59795
|
+
|
|
58934
59796
|
/***/ }),
|
|
58935
59797
|
|
|
58936
59798
|
/***/ "../../framework/piral-core/esm/Piral.js":
|
|
@@ -60254,97 +61116,6 @@ function createInstance(config = {}) {
|
|
|
60254
61116
|
|
|
60255
61117
|
/***/ }),
|
|
60256
61118
|
|
|
60257
|
-
/***/ "../../framework/piral-core/esm/debugger.js":
|
|
60258
|
-
/*!**************************************************!*\
|
|
60259
|
-
!*** ../../framework/piral-core/esm/debugger.js ***!
|
|
60260
|
-
\**************************************************/
|
|
60261
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60262
|
-
|
|
60263
|
-
"use strict";
|
|
60264
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60265
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60266
|
-
/* harmony export */ "integrateDebugger": () => (/* binding */ integrateDebugger)
|
|
60267
|
-
/* harmony export */ });
|
|
60268
|
-
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/debug.js");
|
|
60269
|
-
|
|
60270
|
-
function integrateDebugger(context, options, debug = {}) {
|
|
60271
|
-
(0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug)(Object.assign(Object.assign({}, debug), {
|
|
60272
|
-
addPilet: context.addPilet,
|
|
60273
|
-
removePilet: context.removePilet,
|
|
60274
|
-
|
|
60275
|
-
updatePilet(pilet) {
|
|
60276
|
-
if (!pilet.disabled) {
|
|
60277
|
-
const {
|
|
60278
|
-
createApi
|
|
60279
|
-
} = options;
|
|
60280
|
-
const newApi = createApi(pilet);
|
|
60281
|
-
|
|
60282
|
-
try {
|
|
60283
|
-
context.injectPilet(pilet);
|
|
60284
|
-
pilet.setup(newApi);
|
|
60285
|
-
} catch (error) {
|
|
60286
|
-
console.error(error);
|
|
60287
|
-
}
|
|
60288
|
-
} else {
|
|
60289
|
-
context.injectPilet(pilet);
|
|
60290
|
-
}
|
|
60291
|
-
},
|
|
60292
|
-
|
|
60293
|
-
fireEvent: context.emit,
|
|
60294
|
-
|
|
60295
|
-
getDependencies() {
|
|
60296
|
-
return Object.keys(options.dependencies);
|
|
60297
|
-
},
|
|
60298
|
-
|
|
60299
|
-
getExtensions() {
|
|
60300
|
-
return context.readState(s => Object.keys(s.registry.extensions));
|
|
60301
|
-
},
|
|
60302
|
-
|
|
60303
|
-
getRoutes() {
|
|
60304
|
-
const registeredRoutes = context.readState(state => Object.keys(state.registry.pages));
|
|
60305
|
-
const componentRoutes = context.readState(state => Object.keys(state.routes));
|
|
60306
|
-
return [...componentRoutes, ...registeredRoutes];
|
|
60307
|
-
},
|
|
60308
|
-
|
|
60309
|
-
getGlobalState() {
|
|
60310
|
-
return context.readState(s => s);
|
|
60311
|
-
},
|
|
60312
|
-
|
|
60313
|
-
navigate(path, state) {
|
|
60314
|
-
return context.navigation.push(path, state);
|
|
60315
|
-
},
|
|
60316
|
-
|
|
60317
|
-
getPilets() {
|
|
60318
|
-
return context.readState(s => s.modules);
|
|
60319
|
-
},
|
|
60320
|
-
|
|
60321
|
-
integrate(dbg) {
|
|
60322
|
-
context.dispatch(s => Object.assign(Object.assign({}, s), {
|
|
60323
|
-
components: Object.assign(Object.assign({}, s.components), dbg.components),
|
|
60324
|
-
routes: Object.assign(Object.assign({}, s.routes), dbg.routes),
|
|
60325
|
-
registry: Object.assign(Object.assign({}, s.registry), {
|
|
60326
|
-
wrappers: Object.assign(Object.assign({}, s.registry.wrappers), dbg.wrappers)
|
|
60327
|
-
})
|
|
60328
|
-
}));
|
|
60329
|
-
context.state.subscribe((current, previous) => {
|
|
60330
|
-
const pilets = current.modules !== previous.modules;
|
|
60331
|
-
const pages = current.registry.pages !== previous.registry.pages || current.routes !== previous.routes;
|
|
60332
|
-
const extensions = current.registry.extensions !== previous.registry.extensions;
|
|
60333
|
-
const state = current !== previous;
|
|
60334
|
-
dbg.onChange(previous, current, {
|
|
60335
|
-
pilets,
|
|
60336
|
-
pages,
|
|
60337
|
-
extensions,
|
|
60338
|
-
state
|
|
60339
|
-
});
|
|
60340
|
-
});
|
|
60341
|
-
}
|
|
60342
|
-
|
|
60343
|
-
}));
|
|
60344
|
-
}
|
|
60345
|
-
|
|
60346
|
-
/***/ }),
|
|
60347
|
-
|
|
60348
61119
|
/***/ "../../framework/piral-core/esm/defaults/DefaultErrorInfo.js":
|
|
60349
61120
|
/*!*******************************************************************!*\
|
|
60350
61121
|
!*** ../../framework/piral-core/esm/defaults/DefaultErrorInfo.js ***!
|
|
@@ -60607,33 +61378,6 @@ function createNavigation() {
|
|
|
60607
61378
|
|
|
60608
61379
|
/***/ }),
|
|
60609
61380
|
|
|
60610
|
-
/***/ "../../framework/piral-core/esm/emulator.js":
|
|
60611
|
-
/*!**************************************************!*\
|
|
60612
|
-
!*** ../../framework/piral-core/esm/emulator.js ***!
|
|
60613
|
-
\**************************************************/
|
|
60614
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60615
|
-
|
|
60616
|
-
"use strict";
|
|
60617
|
-
__webpack_require__.r(__webpack_exports__);
|
|
60618
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60619
|
-
/* harmony export */ "integrateEmulator": () => (/* binding */ integrateEmulator)
|
|
60620
|
-
/* harmony export */ });
|
|
60621
|
-
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
60622
|
-
|
|
60623
|
-
function integrateEmulator(context, options) {
|
|
60624
|
-
(0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiletEmulator)(options.fetchPilets, {
|
|
60625
|
-
addPilet: context.addPilet,
|
|
60626
|
-
removePilet: context.removePilet,
|
|
60627
|
-
|
|
60628
|
-
integrate(requester) {
|
|
60629
|
-
options.fetchPilets = requester;
|
|
60630
|
-
}
|
|
60631
|
-
|
|
60632
|
-
});
|
|
60633
|
-
}
|
|
60634
|
-
|
|
60635
|
-
/***/ }),
|
|
60636
|
-
|
|
60637
61381
|
/***/ "../../framework/piral-core/esm/helpers.js":
|
|
60638
61382
|
/*!*************************************************!*\
|
|
60639
61383
|
!*** ../../framework/piral-core/esm/helpers.js ***!
|
|
@@ -60647,8 +61391,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60647
61391
|
/* harmony export */ });
|
|
60648
61392
|
/* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/loader.js");
|
|
60649
61393
|
/* harmony import */ var _modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules */ "../../framework/piral-core/esm/modules/dependencies.js");
|
|
60650
|
-
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app.codegen */ "../../framework/piral-core/esm/debugger.js");
|
|
60651
|
-
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.codegen */ "../../framework/piral-core/esm/emulator.js");
|
|
61394
|
+
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../app.codegen */ "../../framework/piral-core/esm/tools/debugger.js");
|
|
61395
|
+
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../app.codegen */ "../../framework/piral-core/esm/tools/emulator.js");
|
|
60652
61396
|
|
|
60653
61397
|
|
|
60654
61398
|
|
|
@@ -61392,6 +62136,124 @@ function withApi(context, component, piral, errorType, wrapperType = errorType,
|
|
|
61392
62136
|
|
|
61393
62137
|
/***/ }),
|
|
61394
62138
|
|
|
62139
|
+
/***/ "../../framework/piral-core/esm/tools/debugger.js":
|
|
62140
|
+
/*!********************************************************!*\
|
|
62141
|
+
!*** ../../framework/piral-core/esm/tools/debugger.js ***!
|
|
62142
|
+
\********************************************************/
|
|
62143
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
62144
|
+
|
|
62145
|
+
"use strict";
|
|
62146
|
+
__webpack_require__.r(__webpack_exports__);
|
|
62147
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
62148
|
+
/* harmony export */ "integrateDebugger": () => (/* binding */ integrateDebugger)
|
|
62149
|
+
/* harmony export */ });
|
|
62150
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/debug.js");
|
|
62151
|
+
|
|
62152
|
+
function integrateDebugger(context, options, debug = {}) {
|
|
62153
|
+
(0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug)(Object.assign(Object.assign({}, debug), {
|
|
62154
|
+
addPilet: context.addPilet,
|
|
62155
|
+
removePilet: context.removePilet,
|
|
62156
|
+
|
|
62157
|
+
updatePilet(pilet) {
|
|
62158
|
+
if (!pilet.disabled) {
|
|
62159
|
+
const {
|
|
62160
|
+
createApi
|
|
62161
|
+
} = options;
|
|
62162
|
+
const newApi = createApi(pilet);
|
|
62163
|
+
|
|
62164
|
+
try {
|
|
62165
|
+
context.injectPilet(pilet);
|
|
62166
|
+
pilet.setup(newApi);
|
|
62167
|
+
} catch (error) {
|
|
62168
|
+
console.error(error);
|
|
62169
|
+
}
|
|
62170
|
+
} else {
|
|
62171
|
+
context.injectPilet(pilet);
|
|
62172
|
+
}
|
|
62173
|
+
},
|
|
62174
|
+
|
|
62175
|
+
fireEvent: context.emit,
|
|
62176
|
+
|
|
62177
|
+
getDependencies() {
|
|
62178
|
+
return Object.keys(options.dependencies);
|
|
62179
|
+
},
|
|
62180
|
+
|
|
62181
|
+
getExtensions() {
|
|
62182
|
+
return context.readState(s => Object.keys(s.registry.extensions));
|
|
62183
|
+
},
|
|
62184
|
+
|
|
62185
|
+
getRoutes() {
|
|
62186
|
+
const registeredRoutes = context.readState(state => Object.keys(state.registry.pages));
|
|
62187
|
+
const componentRoutes = context.readState(state => Object.keys(state.routes));
|
|
62188
|
+
return [...componentRoutes, ...registeredRoutes];
|
|
62189
|
+
},
|
|
62190
|
+
|
|
62191
|
+
getGlobalState() {
|
|
62192
|
+
return context.readState(s => s);
|
|
62193
|
+
},
|
|
62194
|
+
|
|
62195
|
+
navigate(path, state) {
|
|
62196
|
+
return context.navigation.push(path, state);
|
|
62197
|
+
},
|
|
62198
|
+
|
|
62199
|
+
getPilets() {
|
|
62200
|
+
return context.readState(s => s.modules);
|
|
62201
|
+
},
|
|
62202
|
+
|
|
62203
|
+
integrate(dbg) {
|
|
62204
|
+
context.dispatch(s => Object.assign(Object.assign({}, s), {
|
|
62205
|
+
components: Object.assign(Object.assign({}, s.components), dbg.components),
|
|
62206
|
+
routes: Object.assign(Object.assign({}, s.routes), dbg.routes),
|
|
62207
|
+
registry: Object.assign(Object.assign({}, s.registry), {
|
|
62208
|
+
wrappers: Object.assign(Object.assign({}, s.registry.wrappers), dbg.wrappers)
|
|
62209
|
+
})
|
|
62210
|
+
}));
|
|
62211
|
+
context.state.subscribe((current, previous) => {
|
|
62212
|
+
const pilets = current.modules !== previous.modules;
|
|
62213
|
+
const pages = current.registry.pages !== previous.registry.pages || current.routes !== previous.routes;
|
|
62214
|
+
const extensions = current.registry.extensions !== previous.registry.extensions;
|
|
62215
|
+
const state = current !== previous;
|
|
62216
|
+
dbg.onChange(previous, current, {
|
|
62217
|
+
pilets,
|
|
62218
|
+
pages,
|
|
62219
|
+
extensions,
|
|
62220
|
+
state
|
|
62221
|
+
});
|
|
62222
|
+
});
|
|
62223
|
+
}
|
|
62224
|
+
|
|
62225
|
+
}));
|
|
62226
|
+
}
|
|
62227
|
+
|
|
62228
|
+
/***/ }),
|
|
62229
|
+
|
|
62230
|
+
/***/ "../../framework/piral-core/esm/tools/emulator.js":
|
|
62231
|
+
/*!********************************************************!*\
|
|
62232
|
+
!*** ../../framework/piral-core/esm/tools/emulator.js ***!
|
|
62233
|
+
\********************************************************/
|
|
62234
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
62235
|
+
|
|
62236
|
+
"use strict";
|
|
62237
|
+
__webpack_require__.r(__webpack_exports__);
|
|
62238
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
62239
|
+
/* harmony export */ "integrateEmulator": () => (/* binding */ integrateEmulator)
|
|
62240
|
+
/* harmony export */ });
|
|
62241
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
62242
|
+
|
|
62243
|
+
function integrateEmulator(context, options) {
|
|
62244
|
+
(0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiletEmulator)(options.fetchPilets, {
|
|
62245
|
+
addPilet: context.addPilet,
|
|
62246
|
+
removePilet: context.removePilet,
|
|
62247
|
+
|
|
62248
|
+
integrate(requester) {
|
|
62249
|
+
options.fetchPilets = requester;
|
|
62250
|
+
}
|
|
62251
|
+
|
|
62252
|
+
});
|
|
62253
|
+
}
|
|
62254
|
+
|
|
62255
|
+
/***/ }),
|
|
62256
|
+
|
|
61395
62257
|
/***/ "../../framework/piral-core/esm/utils/compare.js":
|
|
61396
62258
|
/*!*******************************************************!*\
|
|
61397
62259
|
!*** ../../framework/piral-core/esm/utils/compare.js ***!
|
|
@@ -62808,11 +63670,11 @@ function installPiralDebug(options) {
|
|
|
62808
63670
|
debug: debugApiVersion,
|
|
62809
63671
|
instance: {
|
|
62810
63672
|
name: "sample-cross-fx",
|
|
62811
|
-
version: "0.15.0-beta.
|
|
63673
|
+
version: "0.15.0-beta.4708",
|
|
62812
63674
|
dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
|
|
62813
63675
|
},
|
|
62814
63676
|
build: {
|
|
62815
|
-
date: "2022-
|
|
63677
|
+
date: "2022-10-02T21:48:29.999Z",
|
|
62816
63678
|
cli: "0.14.32",
|
|
62817
63679
|
compat: "0.14"
|
|
62818
63680
|
}
|
|
@@ -74539,8 +75401,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74539
75401
|
/* harmony export */ "createNavigation": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.createNavigation),
|
|
74540
75402
|
/* harmony export */ "createRedirect": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.createRedirect),
|
|
74541
75403
|
/* harmony export */ "fillDependencies": () => (/* binding */ fillDependencies),
|
|
74542
|
-
/* harmony export */ "integrateDebugger": () => (/* reexport safe */
|
|
74543
|
-
/* harmony export */ "integrateEmulator": () => (/* reexport safe */
|
|
75404
|
+
/* harmony export */ "integrateDebugger": () => (/* reexport safe */ piral_core_tools_debugger__WEBPACK_IMPORTED_MODULE_37__.integrateDebugger),
|
|
75405
|
+
/* harmony export */ "integrateEmulator": () => (/* reexport safe */ piral_core_tools_emulator__WEBPACK_IMPORTED_MODULE_38__.integrateEmulator),
|
|
74544
75406
|
/* harmony export */ "publicPath": () => (/* binding */ publicPath),
|
|
74545
75407
|
/* harmony export */ "useRouteFilter": () => (/* binding */ useRouteFilter),
|
|
74546
75408
|
/* harmony export */ "useRouterContext": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.useRouterContext)
|
|
@@ -74587,8 +75449,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74587
75449
|
/* harmony import */ var piral_core_defaults_DefaultRouter_v5__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouter_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouter_v5.js");
|
|
74588
75450
|
/* harmony import */ var piral_core_defaults_DefaultRouteSwitch_v5__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouteSwitch_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouteSwitch_v5.js");
|
|
74589
75451
|
/* harmony import */ var piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! piral-core/_/defaults/navigator_v5 */ "../../framework/piral-core/esm/defaults/navigator_v5.js");
|
|
74590
|
-
/* harmony import */ var
|
|
74591
|
-
/* harmony import */ var
|
|
75452
|
+
/* harmony import */ var piral_core_tools_debugger__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! piral-core/_/tools/debugger */ "../../framework/piral-core/esm/tools/debugger.js");
|
|
75453
|
+
/* harmony import */ var piral_core_tools_emulator__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! piral-core/_/tools/emulator */ "../../framework/piral-core/esm/tools/emulator.js");
|
|
74592
75454
|
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
74593
75455
|
|
|
74594
75456
|
|
|
@@ -74630,12 +75492,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74630
75492
|
|
|
74631
75493
|
|
|
74632
75494
|
|
|
74633
|
-
|
|
74634
75495
|
|
|
74635
75496
|
|
|
74636
75497
|
|
|
74637
75498
|
function fillDependencies(deps) {
|
|
74638
|
-
deps['sample-cross-fx']={};deps["@angular/common"]=_angular_common__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/
|
|
75499
|
+
deps['sample-cross-fx']={};deps["@angular/common"]=_angular_common__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/compiler"]=_angular_compiler__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/core"]=_angular_core__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/platform-browser"]=_angular_platform_browser__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser-dynamic"]=_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_22__;deps["@webcomponents/webcomponentsjs"]=_webcomponents_webcomponentsjs__WEBPACK_IMPORTED_MODULE_1__;deps["angular"]=angular__WEBPACK_IMPORTED_MODULE_2__;deps["aurelia-framework"]=aurelia_framework__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-templating-binding"]=aurelia_templating_binding__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-resources"]=aurelia_templating_resources__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-pal-browser"]=aurelia_pal_browser__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-event-aggregator"]=aurelia_event_aggregator__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-history-browser"]=aurelia_history_browser__WEBPACK_IMPORTED_MODULE_8__;deps["hyperapp"]=hyperapp__WEBPACK_IMPORTED_MODULE_9__;deps["inferno"]=inferno__WEBPACK_IMPORTED_MODULE_10__;deps["inferno-create-element"]=inferno_create_element__WEBPACK_IMPORTED_MODULE_11__;deps["mithril"]=mithril__WEBPACK_IMPORTED_MODULE_12__;deps["lit-element"]=lit_element__WEBPACK_IMPORTED_MODULE_13__;deps["solid-js"]=solid_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js/dom"]=solid_js_dom__WEBPACK_IMPORTED_MODULE_24__;deps["piral-ng/common"]=piral_ng_common__WEBPACK_IMPORTED_MODULE_25__;deps["preact"]=preact__WEBPACK_IMPORTED_MODULE_14__;deps["riot"]=riot__WEBPACK_IMPORTED_MODULE_15__;deps["rxjs"]=rxjs__WEBPACK_IMPORTED_MODULE_26__;deps["vue"]=vue__WEBPACK_IMPORTED_MODULE_27__;deps["zone.js"]=zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["tslib"]=tslib__WEBPACK_IMPORTED_MODULE_28__;deps["react"]=react__WEBPACK_IMPORTED_MODULE_17__;deps["react-dom"]=/*#__PURE__*/ (react_dom__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (react_dom__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(react_dom__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-router"]=react_router__WEBPACK_IMPORTED_MODULE_29__;deps["react-router-dom"]=react_router_dom__WEBPACK_IMPORTED_MODULE_30__
|
|
74639
75500
|
}
|
|
74640
75501
|
|
|
74641
75502
|
|
|
@@ -125513,1122 +126374,6 @@ module.exports = function (list, options) {
|
|
|
125513
126374
|
};
|
|
125514
126375
|
};
|
|
125515
126376
|
|
|
125516
|
-
/***/ }),
|
|
125517
|
-
|
|
125518
|
-
/***/ "../../../node_modules/systemjs/dist/extras/named-register.js":
|
|
125519
|
-
/*!********************************************************************!*\
|
|
125520
|
-
!*** ../../../node_modules/systemjs/dist/extras/named-register.js ***!
|
|
125521
|
-
\********************************************************************/
|
|
125522
|
-
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
125523
|
-
|
|
125524
|
-
(function(){/*
|
|
125525
|
-
* SystemJS named register extension
|
|
125526
|
-
* Supports System.register('name', [..deps..], function (_export, _context) { ... })
|
|
125527
|
-
*
|
|
125528
|
-
* Names are written to the registry as-is
|
|
125529
|
-
* System.register('x', ...) can be imported as System.import('x')
|
|
125530
|
-
*/
|
|
125531
|
-
(function (global) {
|
|
125532
|
-
var System = global.System;
|
|
125533
|
-
setRegisterRegistry(System);
|
|
125534
|
-
var systemJSPrototype = System.constructor.prototype;
|
|
125535
|
-
var constructor = System.constructor;
|
|
125536
|
-
var SystemJS = function () {
|
|
125537
|
-
constructor.call(this);
|
|
125538
|
-
setRegisterRegistry(this);
|
|
125539
|
-
};
|
|
125540
|
-
SystemJS.prototype = systemJSPrototype;
|
|
125541
|
-
System.constructor = SystemJS;
|
|
125542
|
-
|
|
125543
|
-
var firstNamedDefine, firstName;
|
|
125544
|
-
|
|
125545
|
-
function setRegisterRegistry(systemInstance) {
|
|
125546
|
-
systemInstance.registerRegistry = Object.create(null);
|
|
125547
|
-
systemInstance.namedRegisterAliases = Object.create(null);
|
|
125548
|
-
}
|
|
125549
|
-
|
|
125550
|
-
var register = systemJSPrototype.register;
|
|
125551
|
-
systemJSPrototype.register = function (name, deps, declare) {
|
|
125552
|
-
if (typeof name !== 'string')
|
|
125553
|
-
return register.apply(this, arguments);
|
|
125554
|
-
var define = [deps, declare];
|
|
125555
|
-
this.registerRegistry[name] = define;
|
|
125556
|
-
if (!firstNamedDefine) {
|
|
125557
|
-
firstNamedDefine = define;
|
|
125558
|
-
firstName = name;
|
|
125559
|
-
}
|
|
125560
|
-
Promise.resolve().then(function () {
|
|
125561
|
-
firstNamedDefine = null;
|
|
125562
|
-
firstName = null;
|
|
125563
|
-
});
|
|
125564
|
-
return register.apply(this, [deps, declare]);
|
|
125565
|
-
};
|
|
125566
|
-
|
|
125567
|
-
var resolve = systemJSPrototype.resolve;
|
|
125568
|
-
systemJSPrototype.resolve = function (id, parentURL) {
|
|
125569
|
-
try {
|
|
125570
|
-
// Prefer import map (or other existing) resolution over the registerRegistry
|
|
125571
|
-
return resolve.call(this, id, parentURL);
|
|
125572
|
-
} catch (err) {
|
|
125573
|
-
if (id in this.registerRegistry) {
|
|
125574
|
-
return this.namedRegisterAliases[id] || id;
|
|
125575
|
-
}
|
|
125576
|
-
throw err;
|
|
125577
|
-
}
|
|
125578
|
-
};
|
|
125579
|
-
|
|
125580
|
-
var instantiate = systemJSPrototype.instantiate;
|
|
125581
|
-
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
125582
|
-
var result = this.registerRegistry[url];
|
|
125583
|
-
if (result) {
|
|
125584
|
-
this.registerRegistry[url] = null;
|
|
125585
|
-
return result;
|
|
125586
|
-
} else {
|
|
125587
|
-
return instantiate.call(this, url, firstParentUrl);
|
|
125588
|
-
}
|
|
125589
|
-
};
|
|
125590
|
-
|
|
125591
|
-
var getRegister = systemJSPrototype.getRegister;
|
|
125592
|
-
systemJSPrototype.getRegister = function (url) {
|
|
125593
|
-
// Calling getRegister() because other extras need to know it was called so they can perform side effects
|
|
125594
|
-
var register = getRegister.call(this, url);
|
|
125595
|
-
|
|
125596
|
-
if (firstName && url) {
|
|
125597
|
-
this.namedRegisterAliases[firstName] = url;
|
|
125598
|
-
}
|
|
125599
|
-
var result = firstNamedDefine || register;
|
|
125600
|
-
firstNamedDefine = null;
|
|
125601
|
-
firstName = null;
|
|
125602
|
-
return result;
|
|
125603
|
-
};
|
|
125604
|
-
})(typeof self !== 'undefined' ? self : __webpack_require__.g);})();
|
|
125605
|
-
|
|
125606
|
-
/***/ }),
|
|
125607
|
-
|
|
125608
|
-
/***/ "../../../node_modules/systemjs/dist/system.js":
|
|
125609
|
-
/*!*****************************************************!*\
|
|
125610
|
-
!*** ../../../node_modules/systemjs/dist/system.js ***!
|
|
125611
|
-
\*****************************************************/
|
|
125612
|
-
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
125613
|
-
|
|
125614
|
-
/*
|
|
125615
|
-
* SystemJS 6.12.1
|
|
125616
|
-
*/
|
|
125617
|
-
(function () {
|
|
125618
|
-
|
|
125619
|
-
function errMsg(errCode, msg) {
|
|
125620
|
-
return (msg || "") + " (SystemJS Error#" + errCode + " " + "https://git.io/JvFET#" + errCode + ")";
|
|
125621
|
-
}
|
|
125622
|
-
|
|
125623
|
-
var hasSymbol = typeof Symbol !== 'undefined';
|
|
125624
|
-
var hasSelf = typeof self !== 'undefined';
|
|
125625
|
-
var hasDocument = typeof document !== 'undefined';
|
|
125626
|
-
|
|
125627
|
-
var envGlobal = hasSelf ? self : __webpack_require__.g;
|
|
125628
|
-
|
|
125629
|
-
var baseUrl;
|
|
125630
|
-
|
|
125631
|
-
if (hasDocument) {
|
|
125632
|
-
var baseEl = document.querySelector('base[href]');
|
|
125633
|
-
if (baseEl)
|
|
125634
|
-
baseUrl = baseEl.href;
|
|
125635
|
-
}
|
|
125636
|
-
|
|
125637
|
-
if (!baseUrl && typeof location !== 'undefined') {
|
|
125638
|
-
baseUrl = location.href.split('#')[0].split('?')[0];
|
|
125639
|
-
var lastSepIndex = baseUrl.lastIndexOf('/');
|
|
125640
|
-
if (lastSepIndex !== -1)
|
|
125641
|
-
baseUrl = baseUrl.slice(0, lastSepIndex + 1);
|
|
125642
|
-
}
|
|
125643
|
-
|
|
125644
|
-
var backslashRegEx = /\\/g;
|
|
125645
|
-
function resolveIfNotPlainOrUrl (relUrl, parentUrl) {
|
|
125646
|
-
if (relUrl.indexOf('\\') !== -1)
|
|
125647
|
-
relUrl = relUrl.replace(backslashRegEx, '/');
|
|
125648
|
-
// protocol-relative
|
|
125649
|
-
if (relUrl[0] === '/' && relUrl[1] === '/') {
|
|
125650
|
-
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl;
|
|
125651
|
-
}
|
|
125652
|
-
// relative-url
|
|
125653
|
-
else if (relUrl[0] === '.' && (relUrl[1] === '/' || relUrl[1] === '.' && (relUrl[2] === '/' || relUrl.length === 2 && (relUrl += '/')) ||
|
|
125654
|
-
relUrl.length === 1 && (relUrl += '/')) ||
|
|
125655
|
-
relUrl[0] === '/') {
|
|
125656
|
-
var parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1);
|
|
125657
|
-
// Disabled, but these cases will give inconsistent results for deep backtracking
|
|
125658
|
-
//if (parentUrl[parentProtocol.length] !== '/')
|
|
125659
|
-
// throw Error('Cannot resolve');
|
|
125660
|
-
// read pathname from parent URL
|
|
125661
|
-
// pathname taken to be part after leading "/"
|
|
125662
|
-
var pathname;
|
|
125663
|
-
if (parentUrl[parentProtocol.length + 1] === '/') {
|
|
125664
|
-
// resolving to a :// so we need to read out the auth and host
|
|
125665
|
-
if (parentProtocol !== 'file:') {
|
|
125666
|
-
pathname = parentUrl.slice(parentProtocol.length + 2);
|
|
125667
|
-
pathname = pathname.slice(pathname.indexOf('/') + 1);
|
|
125668
|
-
}
|
|
125669
|
-
else {
|
|
125670
|
-
pathname = parentUrl.slice(8);
|
|
125671
|
-
}
|
|
125672
|
-
}
|
|
125673
|
-
else {
|
|
125674
|
-
// resolving to :/ so pathname is the /... part
|
|
125675
|
-
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/'));
|
|
125676
|
-
}
|
|
125677
|
-
|
|
125678
|
-
if (relUrl[0] === '/')
|
|
125679
|
-
return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;
|
|
125680
|
-
|
|
125681
|
-
// join together and split for removal of .. and . segments
|
|
125682
|
-
// looping the string instead of anything fancy for perf reasons
|
|
125683
|
-
// '../../../../../z' resolved to 'x/y' is just 'z'
|
|
125684
|
-
var segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl;
|
|
125685
|
-
|
|
125686
|
-
var output = [];
|
|
125687
|
-
var segmentIndex = -1;
|
|
125688
|
-
for (var i = 0; i < segmented.length; i++) {
|
|
125689
|
-
// busy reading a segment - only terminate on '/'
|
|
125690
|
-
if (segmentIndex !== -1) {
|
|
125691
|
-
if (segmented[i] === '/') {
|
|
125692
|
-
output.push(segmented.slice(segmentIndex, i + 1));
|
|
125693
|
-
segmentIndex = -1;
|
|
125694
|
-
}
|
|
125695
|
-
}
|
|
125696
|
-
|
|
125697
|
-
// new segment - check if it is relative
|
|
125698
|
-
else if (segmented[i] === '.') {
|
|
125699
|
-
// ../ segment
|
|
125700
|
-
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) {
|
|
125701
|
-
output.pop();
|
|
125702
|
-
i += 2;
|
|
125703
|
-
}
|
|
125704
|
-
// ./ segment
|
|
125705
|
-
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) {
|
|
125706
|
-
i += 1;
|
|
125707
|
-
}
|
|
125708
|
-
else {
|
|
125709
|
-
// the start of a new segment as below
|
|
125710
|
-
segmentIndex = i;
|
|
125711
|
-
}
|
|
125712
|
-
}
|
|
125713
|
-
// it is the start of a new segment
|
|
125714
|
-
else {
|
|
125715
|
-
segmentIndex = i;
|
|
125716
|
-
}
|
|
125717
|
-
}
|
|
125718
|
-
// finish reading out the last segment
|
|
125719
|
-
if (segmentIndex !== -1)
|
|
125720
|
-
output.push(segmented.slice(segmentIndex));
|
|
125721
|
-
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join('');
|
|
125722
|
-
}
|
|
125723
|
-
}
|
|
125724
|
-
|
|
125725
|
-
/*
|
|
125726
|
-
* Import maps implementation
|
|
125727
|
-
*
|
|
125728
|
-
* To make lookups fast we pre-resolve the entire import map
|
|
125729
|
-
* and then match based on backtracked hash lookups
|
|
125730
|
-
*
|
|
125731
|
-
*/
|
|
125732
|
-
|
|
125733
|
-
function resolveUrl (relUrl, parentUrl) {
|
|
125734
|
-
return resolveIfNotPlainOrUrl(relUrl, parentUrl) || (relUrl.indexOf(':') !== -1 ? relUrl : resolveIfNotPlainOrUrl('./' + relUrl, parentUrl));
|
|
125735
|
-
}
|
|
125736
|
-
|
|
125737
|
-
function resolveAndComposePackages (packages, outPackages, baseUrl, parentMap, parentUrl) {
|
|
125738
|
-
for (var p in packages) {
|
|
125739
|
-
var resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
125740
|
-
var rhs = packages[p];
|
|
125741
|
-
// package fallbacks not currently supported
|
|
125742
|
-
if (typeof rhs !== 'string')
|
|
125743
|
-
continue;
|
|
125744
|
-
var mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(rhs, baseUrl) || rhs, parentUrl);
|
|
125745
|
-
if (!mapped) {
|
|
125746
|
-
targetWarning('W1', p, rhs, 'bare specifier did not resolve');
|
|
125747
|
-
}
|
|
125748
|
-
else
|
|
125749
|
-
outPackages[resolvedLhs] = mapped;
|
|
125750
|
-
}
|
|
125751
|
-
}
|
|
125752
|
-
|
|
125753
|
-
function resolveAndComposeImportMap (json, baseUrl, outMap) {
|
|
125754
|
-
if (json.imports)
|
|
125755
|
-
resolveAndComposePackages(json.imports, outMap.imports, baseUrl, outMap, null);
|
|
125756
|
-
|
|
125757
|
-
var u;
|
|
125758
|
-
for (u in json.scopes || {}) {
|
|
125759
|
-
var resolvedScope = resolveUrl(u, baseUrl);
|
|
125760
|
-
resolveAndComposePackages(json.scopes[u], outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}), baseUrl, outMap, resolvedScope);
|
|
125761
|
-
}
|
|
125762
|
-
|
|
125763
|
-
for (u in json.depcache || {})
|
|
125764
|
-
outMap.depcache[resolveUrl(u, baseUrl)] = json.depcache[u];
|
|
125765
|
-
|
|
125766
|
-
for (u in json.integrity || {})
|
|
125767
|
-
outMap.integrity[resolveUrl(u, baseUrl)] = json.integrity[u];
|
|
125768
|
-
}
|
|
125769
|
-
|
|
125770
|
-
function getMatch (path, matchObj) {
|
|
125771
|
-
if (matchObj[path])
|
|
125772
|
-
return path;
|
|
125773
|
-
var sepIndex = path.length;
|
|
125774
|
-
do {
|
|
125775
|
-
var segment = path.slice(0, sepIndex + 1);
|
|
125776
|
-
if (segment in matchObj)
|
|
125777
|
-
return segment;
|
|
125778
|
-
} while ((sepIndex = path.lastIndexOf('/', sepIndex - 1)) !== -1)
|
|
125779
|
-
}
|
|
125780
|
-
|
|
125781
|
-
function applyPackages (id, packages) {
|
|
125782
|
-
var pkgName = getMatch(id, packages);
|
|
125783
|
-
if (pkgName) {
|
|
125784
|
-
var pkg = packages[pkgName];
|
|
125785
|
-
if (pkg === null) return;
|
|
125786
|
-
if (id.length > pkgName.length && pkg[pkg.length - 1] !== '/') {
|
|
125787
|
-
targetWarning('W2', pkgName, pkg, "should have a trailing '/'");
|
|
125788
|
-
}
|
|
125789
|
-
else
|
|
125790
|
-
return pkg + id.slice(pkgName.length);
|
|
125791
|
-
}
|
|
125792
|
-
}
|
|
125793
|
-
|
|
125794
|
-
function targetWarning (code, match, target, msg) {
|
|
125795
|
-
console.warn(errMsg(code, "Package target " + msg + ", resolving target '" + target + "' for " + match));
|
|
125796
|
-
}
|
|
125797
|
-
|
|
125798
|
-
function resolveImportMap (importMap, resolvedOrPlain, parentUrl) {
|
|
125799
|
-
var scopes = importMap.scopes;
|
|
125800
|
-
var scopeUrl = parentUrl && getMatch(parentUrl, scopes);
|
|
125801
|
-
while (scopeUrl) {
|
|
125802
|
-
var packageResolution = applyPackages(resolvedOrPlain, scopes[scopeUrl]);
|
|
125803
|
-
if (packageResolution)
|
|
125804
|
-
return packageResolution;
|
|
125805
|
-
scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf('/')), scopes);
|
|
125806
|
-
}
|
|
125807
|
-
return applyPackages(resolvedOrPlain, importMap.imports) || resolvedOrPlain.indexOf(':') !== -1 && resolvedOrPlain;
|
|
125808
|
-
}
|
|
125809
|
-
|
|
125810
|
-
/*
|
|
125811
|
-
* SystemJS Core
|
|
125812
|
-
*
|
|
125813
|
-
* Provides
|
|
125814
|
-
* - System.import
|
|
125815
|
-
* - System.register support for
|
|
125816
|
-
* live bindings, function hoisting through circular references,
|
|
125817
|
-
* reexports, dynamic import, import.meta.url, top-level await
|
|
125818
|
-
* - System.getRegister to get the registration
|
|
125819
|
-
* - Symbol.toStringTag support in Module objects
|
|
125820
|
-
* - Hookable System.createContext to customize import.meta
|
|
125821
|
-
* - System.onload(err, id, deps) handler for tracing / hot-reloading
|
|
125822
|
-
*
|
|
125823
|
-
* Core comes with no System.prototype.resolve or
|
|
125824
|
-
* System.prototype.instantiate implementations
|
|
125825
|
-
*/
|
|
125826
|
-
|
|
125827
|
-
var toStringTag$1 = hasSymbol && Symbol.toStringTag;
|
|
125828
|
-
var REGISTRY = hasSymbol ? Symbol() : '@';
|
|
125829
|
-
|
|
125830
|
-
function SystemJS () {
|
|
125831
|
-
this[REGISTRY] = {};
|
|
125832
|
-
}
|
|
125833
|
-
|
|
125834
|
-
var systemJSPrototype = SystemJS.prototype;
|
|
125835
|
-
|
|
125836
|
-
systemJSPrototype.import = function (id, parentUrl) {
|
|
125837
|
-
var loader = this;
|
|
125838
|
-
return Promise.resolve(loader.prepareImport())
|
|
125839
|
-
.then(function() {
|
|
125840
|
-
return loader.resolve(id, parentUrl);
|
|
125841
|
-
})
|
|
125842
|
-
.then(function (id) {
|
|
125843
|
-
var load = getOrCreateLoad(loader, id);
|
|
125844
|
-
return load.C || topLevelLoad(loader, load);
|
|
125845
|
-
});
|
|
125846
|
-
};
|
|
125847
|
-
|
|
125848
|
-
// Hookable createContext function -> allowing eg custom import meta
|
|
125849
|
-
systemJSPrototype.createContext = function (parentId) {
|
|
125850
|
-
var loader = this;
|
|
125851
|
-
return {
|
|
125852
|
-
url: parentId,
|
|
125853
|
-
resolve: function (id, parentUrl) {
|
|
125854
|
-
return Promise.resolve(loader.resolve(id, parentUrl || parentId));
|
|
125855
|
-
}
|
|
125856
|
-
};
|
|
125857
|
-
};
|
|
125858
|
-
|
|
125859
|
-
// onLoad(err, id, deps) provided for tracing / hot-reloading
|
|
125860
|
-
systemJSPrototype.onload = function () {};
|
|
125861
|
-
function loadToId (load) {
|
|
125862
|
-
return load.id;
|
|
125863
|
-
}
|
|
125864
|
-
function triggerOnload (loader, load, err, isErrSource) {
|
|
125865
|
-
loader.onload(err, load.id, load.d && load.d.map(loadToId), !!isErrSource);
|
|
125866
|
-
if (err)
|
|
125867
|
-
throw err;
|
|
125868
|
-
}
|
|
125869
|
-
|
|
125870
|
-
var lastRegister;
|
|
125871
|
-
systemJSPrototype.register = function (deps, declare) {
|
|
125872
|
-
lastRegister = [deps, declare];
|
|
125873
|
-
};
|
|
125874
|
-
|
|
125875
|
-
/*
|
|
125876
|
-
* getRegister provides the last anonymous System.register call
|
|
125877
|
-
*/
|
|
125878
|
-
systemJSPrototype.getRegister = function () {
|
|
125879
|
-
var _lastRegister = lastRegister;
|
|
125880
|
-
lastRegister = undefined;
|
|
125881
|
-
return _lastRegister;
|
|
125882
|
-
};
|
|
125883
|
-
|
|
125884
|
-
function getOrCreateLoad (loader, id, firstParentUrl) {
|
|
125885
|
-
var load = loader[REGISTRY][id];
|
|
125886
|
-
if (load)
|
|
125887
|
-
return load;
|
|
125888
|
-
|
|
125889
|
-
var importerSetters = [];
|
|
125890
|
-
var ns = Object.create(null);
|
|
125891
|
-
if (toStringTag$1)
|
|
125892
|
-
Object.defineProperty(ns, toStringTag$1, { value: 'Module' });
|
|
125893
|
-
|
|
125894
|
-
var instantiatePromise = Promise.resolve()
|
|
125895
|
-
.then(function () {
|
|
125896
|
-
return loader.instantiate(id, firstParentUrl);
|
|
125897
|
-
})
|
|
125898
|
-
.then(function (registration) {
|
|
125899
|
-
if (!registration)
|
|
125900
|
-
throw Error(errMsg(2, 'Module ' + id + ' did not instantiate'));
|
|
125901
|
-
function _export (name, value) {
|
|
125902
|
-
// note if we have hoisted exports (including reexports)
|
|
125903
|
-
load.h = true;
|
|
125904
|
-
var changed = false;
|
|
125905
|
-
if (typeof name === 'string') {
|
|
125906
|
-
if (!(name in ns) || ns[name] !== value) {
|
|
125907
|
-
ns[name] = value;
|
|
125908
|
-
changed = true;
|
|
125909
|
-
}
|
|
125910
|
-
}
|
|
125911
|
-
else {
|
|
125912
|
-
for (var p in name) {
|
|
125913
|
-
var value = name[p];
|
|
125914
|
-
if (!(p in ns) || ns[p] !== value) {
|
|
125915
|
-
ns[p] = value;
|
|
125916
|
-
changed = true;
|
|
125917
|
-
}
|
|
125918
|
-
}
|
|
125919
|
-
|
|
125920
|
-
if (name && name.__esModule) {
|
|
125921
|
-
ns.__esModule = name.__esModule;
|
|
125922
|
-
}
|
|
125923
|
-
}
|
|
125924
|
-
if (changed)
|
|
125925
|
-
for (var i = 0; i < importerSetters.length; i++) {
|
|
125926
|
-
var setter = importerSetters[i];
|
|
125927
|
-
if (setter) setter(ns);
|
|
125928
|
-
}
|
|
125929
|
-
return value;
|
|
125930
|
-
}
|
|
125931
|
-
var declared = registration[1](_export, registration[1].length === 2 ? {
|
|
125932
|
-
import: function (importId) {
|
|
125933
|
-
return loader.import(importId, id);
|
|
125934
|
-
},
|
|
125935
|
-
meta: loader.createContext(id)
|
|
125936
|
-
} : undefined);
|
|
125937
|
-
load.e = declared.execute || function () {};
|
|
125938
|
-
return [registration[0], declared.setters || []];
|
|
125939
|
-
}, function (err) {
|
|
125940
|
-
load.e = null;
|
|
125941
|
-
load.er = err;
|
|
125942
|
-
triggerOnload(loader, load, err, true);
|
|
125943
|
-
throw err;
|
|
125944
|
-
});
|
|
125945
|
-
|
|
125946
|
-
var linkPromise = instantiatePromise
|
|
125947
|
-
.then(function (instantiation) {
|
|
125948
|
-
return Promise.all(instantiation[0].map(function (dep, i) {
|
|
125949
|
-
var setter = instantiation[1][i];
|
|
125950
|
-
return Promise.resolve(loader.resolve(dep, id))
|
|
125951
|
-
.then(function (depId) {
|
|
125952
|
-
var depLoad = getOrCreateLoad(loader, depId, id);
|
|
125953
|
-
// depLoad.I may be undefined for already-evaluated
|
|
125954
|
-
return Promise.resolve(depLoad.I)
|
|
125955
|
-
.then(function () {
|
|
125956
|
-
if (setter) {
|
|
125957
|
-
depLoad.i.push(setter);
|
|
125958
|
-
// only run early setters when there are hoisted exports of that module
|
|
125959
|
-
// the timing works here as pending hoisted export calls will trigger through importerSetters
|
|
125960
|
-
if (depLoad.h || !depLoad.I)
|
|
125961
|
-
setter(depLoad.n);
|
|
125962
|
-
}
|
|
125963
|
-
return depLoad;
|
|
125964
|
-
});
|
|
125965
|
-
});
|
|
125966
|
-
}))
|
|
125967
|
-
.then(function (depLoads) {
|
|
125968
|
-
load.d = depLoads;
|
|
125969
|
-
});
|
|
125970
|
-
});
|
|
125971
|
-
|
|
125972
|
-
// Capital letter = a promise function
|
|
125973
|
-
return load = loader[REGISTRY][id] = {
|
|
125974
|
-
id: id,
|
|
125975
|
-
// importerSetters, the setters functions registered to this dependency
|
|
125976
|
-
// we retain this to add more later
|
|
125977
|
-
i: importerSetters,
|
|
125978
|
-
// module namespace object
|
|
125979
|
-
n: ns,
|
|
125980
|
-
|
|
125981
|
-
// instantiate
|
|
125982
|
-
I: instantiatePromise,
|
|
125983
|
-
// link
|
|
125984
|
-
L: linkPromise,
|
|
125985
|
-
// whether it has hoisted exports
|
|
125986
|
-
h: false,
|
|
125987
|
-
|
|
125988
|
-
// On instantiate completion we have populated:
|
|
125989
|
-
// dependency load records
|
|
125990
|
-
d: undefined,
|
|
125991
|
-
// execution function
|
|
125992
|
-
e: undefined,
|
|
125993
|
-
|
|
125994
|
-
// On execution we have populated:
|
|
125995
|
-
// the execution error if any
|
|
125996
|
-
er: undefined,
|
|
125997
|
-
// in the case of TLA, the execution promise
|
|
125998
|
-
E: undefined,
|
|
125999
|
-
|
|
126000
|
-
// On execution, L, I, E cleared
|
|
126001
|
-
|
|
126002
|
-
// Promise for top-level completion
|
|
126003
|
-
C: undefined,
|
|
126004
|
-
|
|
126005
|
-
// parent instantiator / executor
|
|
126006
|
-
p: undefined
|
|
126007
|
-
};
|
|
126008
|
-
}
|
|
126009
|
-
|
|
126010
|
-
function instantiateAll (loader, load, parent, loaded) {
|
|
126011
|
-
if (!loaded[load.id]) {
|
|
126012
|
-
loaded[load.id] = true;
|
|
126013
|
-
// load.L may be undefined for already-instantiated
|
|
126014
|
-
return Promise.resolve(load.L)
|
|
126015
|
-
.then(function () {
|
|
126016
|
-
if (!load.p || load.p.e === null)
|
|
126017
|
-
load.p = parent;
|
|
126018
|
-
return Promise.all(load.d.map(function (dep) {
|
|
126019
|
-
return instantiateAll(loader, dep, parent, loaded);
|
|
126020
|
-
}));
|
|
126021
|
-
})
|
|
126022
|
-
.catch(function (err) {
|
|
126023
|
-
if (load.er)
|
|
126024
|
-
throw err;
|
|
126025
|
-
load.e = null;
|
|
126026
|
-
triggerOnload(loader, load, err, false);
|
|
126027
|
-
throw err;
|
|
126028
|
-
});
|
|
126029
|
-
}
|
|
126030
|
-
}
|
|
126031
|
-
|
|
126032
|
-
function topLevelLoad (loader, load) {
|
|
126033
|
-
return load.C = instantiateAll(loader, load, load, {})
|
|
126034
|
-
.then(function () {
|
|
126035
|
-
return postOrderExec(loader, load, {});
|
|
126036
|
-
})
|
|
126037
|
-
.then(function () {
|
|
126038
|
-
return load.n;
|
|
126039
|
-
});
|
|
126040
|
-
}
|
|
126041
|
-
|
|
126042
|
-
// the closest we can get to call(undefined)
|
|
126043
|
-
var nullContext = Object.freeze(Object.create(null));
|
|
126044
|
-
|
|
126045
|
-
// returns a promise if and only if a top-level await subgraph
|
|
126046
|
-
// throws on sync errors
|
|
126047
|
-
function postOrderExec (loader, load, seen) {
|
|
126048
|
-
if (seen[load.id])
|
|
126049
|
-
return;
|
|
126050
|
-
seen[load.id] = true;
|
|
126051
|
-
|
|
126052
|
-
if (!load.e) {
|
|
126053
|
-
if (load.er)
|
|
126054
|
-
throw load.er;
|
|
126055
|
-
if (load.E)
|
|
126056
|
-
return load.E;
|
|
126057
|
-
return;
|
|
126058
|
-
}
|
|
126059
|
-
|
|
126060
|
-
// deps execute first, unless circular
|
|
126061
|
-
var depLoadPromises;
|
|
126062
|
-
load.d.forEach(function (depLoad) {
|
|
126063
|
-
try {
|
|
126064
|
-
var depLoadPromise = postOrderExec(loader, depLoad, seen);
|
|
126065
|
-
if (depLoadPromise)
|
|
126066
|
-
(depLoadPromises = depLoadPromises || []).push(depLoadPromise);
|
|
126067
|
-
}
|
|
126068
|
-
catch (err) {
|
|
126069
|
-
load.e = null;
|
|
126070
|
-
load.er = err;
|
|
126071
|
-
triggerOnload(loader, load, err, false);
|
|
126072
|
-
throw err;
|
|
126073
|
-
}
|
|
126074
|
-
});
|
|
126075
|
-
if (depLoadPromises)
|
|
126076
|
-
return Promise.all(depLoadPromises).then(doExec);
|
|
126077
|
-
|
|
126078
|
-
return doExec();
|
|
126079
|
-
|
|
126080
|
-
function doExec () {
|
|
126081
|
-
try {
|
|
126082
|
-
var execPromise = load.e.call(nullContext);
|
|
126083
|
-
if (execPromise) {
|
|
126084
|
-
execPromise = execPromise.then(function () {
|
|
126085
|
-
load.C = load.n;
|
|
126086
|
-
load.E = null; // indicates completion
|
|
126087
|
-
if (true) triggerOnload(loader, load, null, true);
|
|
126088
|
-
}, function (err) {
|
|
126089
|
-
load.er = err;
|
|
126090
|
-
load.E = null;
|
|
126091
|
-
if (true) triggerOnload(loader, load, err, true);
|
|
126092
|
-
throw err;
|
|
126093
|
-
});
|
|
126094
|
-
return load.E = execPromise;
|
|
126095
|
-
}
|
|
126096
|
-
// (should be a promise, but a minify optimization to leave out Promise.resolve)
|
|
126097
|
-
load.C = load.n;
|
|
126098
|
-
load.L = load.I = undefined;
|
|
126099
|
-
}
|
|
126100
|
-
catch (err) {
|
|
126101
|
-
load.er = err;
|
|
126102
|
-
throw err;
|
|
126103
|
-
}
|
|
126104
|
-
finally {
|
|
126105
|
-
load.e = null;
|
|
126106
|
-
triggerOnload(loader, load, load.er, true);
|
|
126107
|
-
}
|
|
126108
|
-
}
|
|
126109
|
-
}
|
|
126110
|
-
|
|
126111
|
-
envGlobal.System = new SystemJS();
|
|
126112
|
-
|
|
126113
|
-
/*
|
|
126114
|
-
* SystemJS browser attachments for script and import map processing
|
|
126115
|
-
*/
|
|
126116
|
-
|
|
126117
|
-
var importMapPromise = Promise.resolve();
|
|
126118
|
-
var importMap = { imports: {}, scopes: {}, depcache: {}, integrity: {} };
|
|
126119
|
-
|
|
126120
|
-
// Scripts are processed immediately, on the first System.import, and on DOMReady.
|
|
126121
|
-
// Import map scripts are processed only once (by being marked) and in order for each phase.
|
|
126122
|
-
// This is to avoid using DOM mutation observers in core, although that would be an alternative.
|
|
126123
|
-
var processFirst = hasDocument;
|
|
126124
|
-
systemJSPrototype.prepareImport = function (doProcessScripts) {
|
|
126125
|
-
if (processFirst || doProcessScripts) {
|
|
126126
|
-
processScripts();
|
|
126127
|
-
processFirst = false;
|
|
126128
|
-
}
|
|
126129
|
-
return importMapPromise;
|
|
126130
|
-
};
|
|
126131
|
-
if (hasDocument) {
|
|
126132
|
-
processScripts();
|
|
126133
|
-
window.addEventListener('DOMContentLoaded', processScripts);
|
|
126134
|
-
}
|
|
126135
|
-
|
|
126136
|
-
function processScripts () {
|
|
126137
|
-
[].forEach.call(document.querySelectorAll('script'), function (script) {
|
|
126138
|
-
if (script.sp) // sp marker = systemjs processed
|
|
126139
|
-
return;
|
|
126140
|
-
// TODO: deprecate systemjs-module in next major now that we have auto import
|
|
126141
|
-
if (script.type === 'systemjs-module') {
|
|
126142
|
-
script.sp = true;
|
|
126143
|
-
if (!script.src)
|
|
126144
|
-
return;
|
|
126145
|
-
System.import(script.src.slice(0, 7) === 'import:' ? script.src.slice(7) : resolveUrl(script.src, baseUrl)).catch(function (e) {
|
|
126146
|
-
// if there is a script load error, dispatch an "error" event
|
|
126147
|
-
// on the script tag.
|
|
126148
|
-
if (e.message.indexOf('https://git.io/JvFET#3') > -1) {
|
|
126149
|
-
var event = document.createEvent('Event');
|
|
126150
|
-
event.initEvent('error', false, false);
|
|
126151
|
-
script.dispatchEvent(event);
|
|
126152
|
-
}
|
|
126153
|
-
return Promise.reject(e);
|
|
126154
|
-
});
|
|
126155
|
-
}
|
|
126156
|
-
else if (script.type === 'systemjs-importmap') {
|
|
126157
|
-
script.sp = true;
|
|
126158
|
-
// The passThrough property is for letting the module types fetch implementation know that this is not a SystemJS module.
|
|
126159
|
-
var fetchPromise = script.src ? (System.fetch || fetch)(script.src, { integrity: script.integrity, passThrough: true }).then(function (res) {
|
|
126160
|
-
if (!res.ok)
|
|
126161
|
-
throw Error('Invalid status code: ' + res.status);
|
|
126162
|
-
return res.text();
|
|
126163
|
-
}).catch(function (err) {
|
|
126164
|
-
err.message = errMsg('W4', 'Error fetching systemjs-import map ' + script.src) + '\n' + err.message;
|
|
126165
|
-
console.warn(err);
|
|
126166
|
-
if (typeof script.onerror === 'function') {
|
|
126167
|
-
script.onerror();
|
|
126168
|
-
}
|
|
126169
|
-
return '{}';
|
|
126170
|
-
}) : script.innerHTML;
|
|
126171
|
-
importMapPromise = importMapPromise.then(function () {
|
|
126172
|
-
return fetchPromise;
|
|
126173
|
-
}).then(function (text) {
|
|
126174
|
-
extendImportMap(importMap, text, script.src || baseUrl);
|
|
126175
|
-
});
|
|
126176
|
-
}
|
|
126177
|
-
});
|
|
126178
|
-
}
|
|
126179
|
-
|
|
126180
|
-
function extendImportMap (importMap, newMapText, newMapUrl) {
|
|
126181
|
-
var newMap = {};
|
|
126182
|
-
try {
|
|
126183
|
-
newMap = JSON.parse(newMapText);
|
|
126184
|
-
} catch (err) {
|
|
126185
|
-
console.warn(Error((errMsg('W5', "systemjs-importmap contains invalid JSON") + '\n\n' + newMapText + '\n' )));
|
|
126186
|
-
}
|
|
126187
|
-
resolveAndComposeImportMap(newMap, newMapUrl, importMap);
|
|
126188
|
-
}
|
|
126189
|
-
|
|
126190
|
-
/*
|
|
126191
|
-
* Script instantiation loading
|
|
126192
|
-
*/
|
|
126193
|
-
|
|
126194
|
-
if (hasDocument) {
|
|
126195
|
-
window.addEventListener('error', function (evt) {
|
|
126196
|
-
lastWindowErrorUrl = evt.filename;
|
|
126197
|
-
lastWindowError = evt.error;
|
|
126198
|
-
});
|
|
126199
|
-
var baseOrigin = location.origin;
|
|
126200
|
-
}
|
|
126201
|
-
|
|
126202
|
-
systemJSPrototype.createScript = function (url) {
|
|
126203
|
-
var script = document.createElement('script');
|
|
126204
|
-
script.async = true;
|
|
126205
|
-
// Only add cross origin for actual cross origin
|
|
126206
|
-
// this is because Safari triggers for all
|
|
126207
|
-
// - https://bugs.webkit.org/show_bug.cgi?id=171566
|
|
126208
|
-
if (url.indexOf(baseOrigin + '/'))
|
|
126209
|
-
script.crossOrigin = 'anonymous';
|
|
126210
|
-
var integrity = importMap.integrity[url];
|
|
126211
|
-
if (integrity)
|
|
126212
|
-
script.integrity = integrity;
|
|
126213
|
-
script.src = url;
|
|
126214
|
-
return script;
|
|
126215
|
-
};
|
|
126216
|
-
|
|
126217
|
-
// Auto imports -> script tags can be inlined directly for load phase
|
|
126218
|
-
var lastAutoImportDeps, lastAutoImportTimeout;
|
|
126219
|
-
var autoImportCandidates = {};
|
|
126220
|
-
var systemRegister = systemJSPrototype.register;
|
|
126221
|
-
systemJSPrototype.register = function (deps, declare) {
|
|
126222
|
-
if (hasDocument && document.readyState === 'loading' && typeof deps !== 'string') {
|
|
126223
|
-
var scripts = document.querySelectorAll('script[src]');
|
|
126224
|
-
var lastScript = scripts[scripts.length - 1];
|
|
126225
|
-
if (lastScript) {
|
|
126226
|
-
lastAutoImportDeps = deps;
|
|
126227
|
-
// if this is already a System load, then the instantiate has already begun
|
|
126228
|
-
// so this re-import has no consequence
|
|
126229
|
-
var loader = this;
|
|
126230
|
-
lastAutoImportTimeout = setTimeout(function () {
|
|
126231
|
-
autoImportCandidates[lastScript.src] = [deps, declare];
|
|
126232
|
-
loader.import(lastScript.src);
|
|
126233
|
-
});
|
|
126234
|
-
}
|
|
126235
|
-
}
|
|
126236
|
-
else {
|
|
126237
|
-
lastAutoImportDeps = undefined;
|
|
126238
|
-
}
|
|
126239
|
-
return systemRegister.call(this, deps, declare);
|
|
126240
|
-
};
|
|
126241
|
-
|
|
126242
|
-
var lastWindowErrorUrl, lastWindowError;
|
|
126243
|
-
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
126244
|
-
var autoImportRegistration = autoImportCandidates[url];
|
|
126245
|
-
if (autoImportRegistration) {
|
|
126246
|
-
delete autoImportCandidates[url];
|
|
126247
|
-
return autoImportRegistration;
|
|
126248
|
-
}
|
|
126249
|
-
var loader = this;
|
|
126250
|
-
return Promise.resolve(systemJSPrototype.createScript(url)).then(function (script) {
|
|
126251
|
-
return new Promise(function (resolve, reject) {
|
|
126252
|
-
script.addEventListener('error', function () {
|
|
126253
|
-
reject(Error(errMsg(3, 'Error loading ' + url + (firstParentUrl ? ' from ' + firstParentUrl : ''))));
|
|
126254
|
-
});
|
|
126255
|
-
script.addEventListener('load', function () {
|
|
126256
|
-
document.head.removeChild(script);
|
|
126257
|
-
// Note that if an error occurs that isn't caught by this if statement,
|
|
126258
|
-
// that getRegister will return null and a "did not instantiate" error will be thrown.
|
|
126259
|
-
if (lastWindowErrorUrl === url) {
|
|
126260
|
-
reject(lastWindowError);
|
|
126261
|
-
}
|
|
126262
|
-
else {
|
|
126263
|
-
var register = loader.getRegister(url);
|
|
126264
|
-
// Clear any auto import registration for dynamic import scripts during load
|
|
126265
|
-
if (register && register[0] === lastAutoImportDeps)
|
|
126266
|
-
clearTimeout(lastAutoImportTimeout);
|
|
126267
|
-
resolve(register);
|
|
126268
|
-
}
|
|
126269
|
-
});
|
|
126270
|
-
document.head.appendChild(script);
|
|
126271
|
-
});
|
|
126272
|
-
});
|
|
126273
|
-
};
|
|
126274
|
-
|
|
126275
|
-
/*
|
|
126276
|
-
* Fetch loader, sets up shouldFetch and fetch hooks
|
|
126277
|
-
*/
|
|
126278
|
-
systemJSPrototype.shouldFetch = function () {
|
|
126279
|
-
return false;
|
|
126280
|
-
};
|
|
126281
|
-
if (typeof fetch !== 'undefined')
|
|
126282
|
-
systemJSPrototype.fetch = fetch;
|
|
126283
|
-
|
|
126284
|
-
var instantiate = systemJSPrototype.instantiate;
|
|
126285
|
-
var jsContentTypeRegEx = /^(text|application)\/(x-)?javascript(;|$)/;
|
|
126286
|
-
systemJSPrototype.instantiate = function (url, parent) {
|
|
126287
|
-
var loader = this;
|
|
126288
|
-
if (!this.shouldFetch(url))
|
|
126289
|
-
return instantiate.apply(this, arguments);
|
|
126290
|
-
return this.fetch(url, {
|
|
126291
|
-
credentials: 'same-origin',
|
|
126292
|
-
integrity: importMap.integrity[url]
|
|
126293
|
-
})
|
|
126294
|
-
.then(function (res) {
|
|
126295
|
-
if (!res.ok)
|
|
126296
|
-
throw Error(errMsg(7, res.status + ' ' + res.statusText + ', loading ' + url + (parent ? ' from ' + parent : '')));
|
|
126297
|
-
var contentType = res.headers.get('content-type');
|
|
126298
|
-
if (!contentType || !jsContentTypeRegEx.test(contentType))
|
|
126299
|
-
throw Error(errMsg(4, 'Unknown Content-Type "' + contentType + '", loading ' + url + (parent ? ' from ' + parent : '')));
|
|
126300
|
-
return res.text().then(function (source) {
|
|
126301
|
-
if (source.indexOf('//# sourceURL=') < 0)
|
|
126302
|
-
source += '\n//# sourceURL=' + url;
|
|
126303
|
-
(0, eval)(source);
|
|
126304
|
-
return loader.getRegister(url);
|
|
126305
|
-
});
|
|
126306
|
-
});
|
|
126307
|
-
};
|
|
126308
|
-
|
|
126309
|
-
systemJSPrototype.resolve = function (id, parentUrl) {
|
|
126310
|
-
parentUrl = parentUrl || !true || baseUrl;
|
|
126311
|
-
return resolveImportMap((importMap), resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) || throwUnresolved(id, parentUrl);
|
|
126312
|
-
};
|
|
126313
|
-
|
|
126314
|
-
function throwUnresolved (id, parentUrl) {
|
|
126315
|
-
throw Error(errMsg(8, "Unable to resolve bare specifier '" + id + (parentUrl ? "' from " + parentUrl : "'")));
|
|
126316
|
-
}
|
|
126317
|
-
|
|
126318
|
-
var systemInstantiate = systemJSPrototype.instantiate;
|
|
126319
|
-
systemJSPrototype.instantiate = function (url, firstParentUrl) {
|
|
126320
|
-
var preloads = (importMap).depcache[url];
|
|
126321
|
-
if (preloads) {
|
|
126322
|
-
for (var i = 0; i < preloads.length; i++)
|
|
126323
|
-
getOrCreateLoad(this, this.resolve(preloads[i], url), url);
|
|
126324
|
-
}
|
|
126325
|
-
return systemInstantiate.call(this, url, firstParentUrl);
|
|
126326
|
-
};
|
|
126327
|
-
|
|
126328
|
-
/*
|
|
126329
|
-
* Supports loading System.register in workers
|
|
126330
|
-
*/
|
|
126331
|
-
|
|
126332
|
-
if (hasSelf && typeof importScripts === 'function')
|
|
126333
|
-
systemJSPrototype.instantiate = function (url) {
|
|
126334
|
-
var loader = this;
|
|
126335
|
-
return Promise.resolve().then(function () {
|
|
126336
|
-
importScripts(url);
|
|
126337
|
-
return loader.getRegister(url);
|
|
126338
|
-
});
|
|
126339
|
-
};
|
|
126340
|
-
|
|
126341
|
-
/*
|
|
126342
|
-
* SystemJS global script loading support
|
|
126343
|
-
* Extra for the s.js build only
|
|
126344
|
-
* (Included by default in system.js build)
|
|
126345
|
-
*/
|
|
126346
|
-
(function (global) {
|
|
126347
|
-
var systemJSPrototype = global.System.constructor.prototype;
|
|
126348
|
-
|
|
126349
|
-
// safari unpredictably lists some new globals first or second in object order
|
|
126350
|
-
var firstGlobalProp, secondGlobalProp, lastGlobalProp;
|
|
126351
|
-
function getGlobalProp (useFirstGlobalProp) {
|
|
126352
|
-
var cnt = 0;
|
|
126353
|
-
var foundLastProp, result;
|
|
126354
|
-
for (var p in global) {
|
|
126355
|
-
// do not check frames cause it could be removed during import
|
|
126356
|
-
if (shouldSkipProperty(p))
|
|
126357
|
-
continue;
|
|
126358
|
-
if (cnt === 0 && p !== firstGlobalProp || cnt === 1 && p !== secondGlobalProp)
|
|
126359
|
-
return p;
|
|
126360
|
-
if (foundLastProp) {
|
|
126361
|
-
lastGlobalProp = p;
|
|
126362
|
-
result = useFirstGlobalProp && result || p;
|
|
126363
|
-
}
|
|
126364
|
-
else {
|
|
126365
|
-
foundLastProp = p === lastGlobalProp;
|
|
126366
|
-
}
|
|
126367
|
-
cnt++;
|
|
126368
|
-
}
|
|
126369
|
-
return result;
|
|
126370
|
-
}
|
|
126371
|
-
|
|
126372
|
-
function noteGlobalProps () {
|
|
126373
|
-
// alternatively Object.keys(global).pop()
|
|
126374
|
-
// but this may be faster (pending benchmarks)
|
|
126375
|
-
firstGlobalProp = secondGlobalProp = undefined;
|
|
126376
|
-
for (var p in global) {
|
|
126377
|
-
// do not check frames cause it could be removed during import
|
|
126378
|
-
if (shouldSkipProperty(p))
|
|
126379
|
-
continue;
|
|
126380
|
-
if (!firstGlobalProp)
|
|
126381
|
-
firstGlobalProp = p;
|
|
126382
|
-
else if (!secondGlobalProp)
|
|
126383
|
-
secondGlobalProp = p;
|
|
126384
|
-
lastGlobalProp = p;
|
|
126385
|
-
}
|
|
126386
|
-
return lastGlobalProp;
|
|
126387
|
-
}
|
|
126388
|
-
|
|
126389
|
-
var impt = systemJSPrototype.import;
|
|
126390
|
-
systemJSPrototype.import = function (id, parentUrl) {
|
|
126391
|
-
noteGlobalProps();
|
|
126392
|
-
return impt.call(this, id, parentUrl);
|
|
126393
|
-
};
|
|
126394
|
-
|
|
126395
|
-
var emptyInstantiation = [[], function () { return {} }];
|
|
126396
|
-
|
|
126397
|
-
var getRegister = systemJSPrototype.getRegister;
|
|
126398
|
-
systemJSPrototype.getRegister = function () {
|
|
126399
|
-
var lastRegister = getRegister.call(this);
|
|
126400
|
-
if (lastRegister)
|
|
126401
|
-
return lastRegister;
|
|
126402
|
-
|
|
126403
|
-
// no registration -> attempt a global detection as difference from snapshot
|
|
126404
|
-
// when multiple globals, we take the global value to be the last defined new global object property
|
|
126405
|
-
// for performance, this will not support multi-version / global collisions as previous SystemJS versions did
|
|
126406
|
-
// note in Edge, deleting and re-adding a global does not change its ordering
|
|
126407
|
-
var globalProp = getGlobalProp(this.firstGlobalProp);
|
|
126408
|
-
if (!globalProp)
|
|
126409
|
-
return emptyInstantiation;
|
|
126410
|
-
|
|
126411
|
-
var globalExport;
|
|
126412
|
-
try {
|
|
126413
|
-
globalExport = global[globalProp];
|
|
126414
|
-
}
|
|
126415
|
-
catch (e) {
|
|
126416
|
-
return emptyInstantiation;
|
|
126417
|
-
}
|
|
126418
|
-
|
|
126419
|
-
return [[], function (_export) {
|
|
126420
|
-
return {
|
|
126421
|
-
execute: function () {
|
|
126422
|
-
_export(globalExport);
|
|
126423
|
-
_export({ default: globalExport, __useDefault: true });
|
|
126424
|
-
}
|
|
126425
|
-
};
|
|
126426
|
-
}];
|
|
126427
|
-
};
|
|
126428
|
-
|
|
126429
|
-
var isIE11 = typeof navigator !== 'undefined' && navigator.userAgent.indexOf('Trident') !== -1;
|
|
126430
|
-
|
|
126431
|
-
function shouldSkipProperty(p) {
|
|
126432
|
-
return !global.hasOwnProperty(p)
|
|
126433
|
-
|| !isNaN(p) && p < global.length
|
|
126434
|
-
|| isIE11 && global[p] && typeof window !== 'undefined' && global[p].parent === window;
|
|
126435
|
-
}
|
|
126436
|
-
})(typeof self !== 'undefined' ? self : __webpack_require__.g);
|
|
126437
|
-
|
|
126438
|
-
/*
|
|
126439
|
-
* Loads JSON, CSS, Wasm module types based on file extension
|
|
126440
|
-
* filters and content type verifications
|
|
126441
|
-
*/
|
|
126442
|
-
(function(global) {
|
|
126443
|
-
var systemJSPrototype = global.System.constructor.prototype;
|
|
126444
|
-
|
|
126445
|
-
var moduleTypesRegEx = /^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;
|
|
126446
|
-
systemJSPrototype.shouldFetch = function (url) {
|
|
126447
|
-
return moduleTypesRegEx.test(url);
|
|
126448
|
-
};
|
|
126449
|
-
|
|
126450
|
-
var jsonContentType = /^application\/json(;|$)/;
|
|
126451
|
-
var cssContentType = /^text\/css(;|$)/;
|
|
126452
|
-
var wasmContentType = /^application\/wasm(;|$)/;
|
|
126453
|
-
|
|
126454
|
-
var fetch = systemJSPrototype.fetch;
|
|
126455
|
-
systemJSPrototype.fetch = function (url, options) {
|
|
126456
|
-
return fetch(url, options)
|
|
126457
|
-
.then(function (res) {
|
|
126458
|
-
if (options.passThrough)
|
|
126459
|
-
return res;
|
|
126460
|
-
|
|
126461
|
-
if (!res.ok)
|
|
126462
|
-
return res;
|
|
126463
|
-
var contentType = res.headers.get('content-type');
|
|
126464
|
-
if (jsonContentType.test(contentType))
|
|
126465
|
-
return res.json()
|
|
126466
|
-
.then(function (json) {
|
|
126467
|
-
return new Response(new Blob([
|
|
126468
|
-
'System.register([],function(e){return{execute:function(){e("default",' + JSON.stringify(json) + ')}}})'
|
|
126469
|
-
], {
|
|
126470
|
-
type: 'application/javascript'
|
|
126471
|
-
}));
|
|
126472
|
-
});
|
|
126473
|
-
if (cssContentType.test(contentType))
|
|
126474
|
-
return res.text()
|
|
126475
|
-
.then(function (source) {
|
|
126476
|
-
source = source.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g, function (match, quotes, relUrl1, relUrl2) {
|
|
126477
|
-
return 'url(' + quotes + resolveUrl(relUrl1 || relUrl2, url) + quotes + ')';
|
|
126478
|
-
});
|
|
126479
|
-
return new Response(new Blob([
|
|
126480
|
-
'System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync(' + JSON.stringify(source) + ');e("default",s)}}})'
|
|
126481
|
-
], {
|
|
126482
|
-
type: 'application/javascript'
|
|
126483
|
-
}));
|
|
126484
|
-
});
|
|
126485
|
-
if (wasmContentType.test(contentType))
|
|
126486
|
-
return (WebAssembly.compileStreaming ? WebAssembly.compileStreaming(res) : res.arrayBuffer().then(WebAssembly.compile))
|
|
126487
|
-
.then(function (module) {
|
|
126488
|
-
if (!global.System.wasmModules)
|
|
126489
|
-
global.System.wasmModules = Object.create(null);
|
|
126490
|
-
global.System.wasmModules[url] = module;
|
|
126491
|
-
// we can only set imports if supported (eg early Safari doesnt support)
|
|
126492
|
-
var deps = [];
|
|
126493
|
-
var setterSources = [];
|
|
126494
|
-
if (WebAssembly.Module.imports)
|
|
126495
|
-
WebAssembly.Module.imports(module).forEach(function (impt) {
|
|
126496
|
-
var key = JSON.stringify(impt.module);
|
|
126497
|
-
if (deps.indexOf(key) === -1) {
|
|
126498
|
-
deps.push(key);
|
|
126499
|
-
setterSources.push('function(m){i[' + key + ']=m}');
|
|
126500
|
-
}
|
|
126501
|
-
});
|
|
126502
|
-
return new Response(new Blob([
|
|
126503
|
-
'System.register([' + deps.join(',') + '],function(e){var i={};return{setters:[' + setterSources.join(',') +
|
|
126504
|
-
'],execute:function(){return WebAssembly.instantiate(System.wasmModules[' + JSON.stringify(url) +
|
|
126505
|
-
'],i).then(function(m){e(m.exports)})}}})'
|
|
126506
|
-
], {
|
|
126507
|
-
type: 'application/javascript'
|
|
126508
|
-
}));
|
|
126509
|
-
});
|
|
126510
|
-
return res;
|
|
126511
|
-
});
|
|
126512
|
-
};
|
|
126513
|
-
})(typeof self !== 'undefined' ? self : __webpack_require__.g);
|
|
126514
|
-
|
|
126515
|
-
var toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag;
|
|
126516
|
-
|
|
126517
|
-
systemJSPrototype.get = function (id) {
|
|
126518
|
-
var load = this[REGISTRY][id];
|
|
126519
|
-
if (load && load.e === null && !load.E) {
|
|
126520
|
-
if (load.er)
|
|
126521
|
-
return null;
|
|
126522
|
-
return load.n;
|
|
126523
|
-
}
|
|
126524
|
-
};
|
|
126525
|
-
|
|
126526
|
-
systemJSPrototype.set = function (id, module) {
|
|
126527
|
-
{
|
|
126528
|
-
try {
|
|
126529
|
-
// No page-relative URLs allowed
|
|
126530
|
-
new URL(id);
|
|
126531
|
-
} catch (err) {
|
|
126532
|
-
console.warn(Error(errMsg('W3', '"' + id + '" is not a valid URL to set in the module registry')));
|
|
126533
|
-
}
|
|
126534
|
-
}
|
|
126535
|
-
var ns;
|
|
126536
|
-
if (toStringTag && module[toStringTag] === 'Module') {
|
|
126537
|
-
ns = module;
|
|
126538
|
-
}
|
|
126539
|
-
else {
|
|
126540
|
-
ns = Object.assign(Object.create(null), module);
|
|
126541
|
-
if (toStringTag)
|
|
126542
|
-
Object.defineProperty(ns, toStringTag, { value: 'Module' });
|
|
126543
|
-
}
|
|
126544
|
-
|
|
126545
|
-
var done = Promise.resolve(ns);
|
|
126546
|
-
|
|
126547
|
-
var load = this[REGISTRY][id] || (this[REGISTRY][id] = {
|
|
126548
|
-
id: id,
|
|
126549
|
-
i: [],
|
|
126550
|
-
h: false,
|
|
126551
|
-
d: [],
|
|
126552
|
-
e: null,
|
|
126553
|
-
er: undefined,
|
|
126554
|
-
E: undefined
|
|
126555
|
-
});
|
|
126556
|
-
|
|
126557
|
-
if (load.e || load.E)
|
|
126558
|
-
return false;
|
|
126559
|
-
|
|
126560
|
-
Object.assign(load, {
|
|
126561
|
-
n: ns,
|
|
126562
|
-
I: undefined,
|
|
126563
|
-
L: undefined,
|
|
126564
|
-
C: done
|
|
126565
|
-
});
|
|
126566
|
-
return ns;
|
|
126567
|
-
};
|
|
126568
|
-
|
|
126569
|
-
systemJSPrototype.has = function (id) {
|
|
126570
|
-
var load = this[REGISTRY][id];
|
|
126571
|
-
return !!load;
|
|
126572
|
-
};
|
|
126573
|
-
|
|
126574
|
-
// Delete function provided for hot-reloading use cases
|
|
126575
|
-
systemJSPrototype.delete = function (id) {
|
|
126576
|
-
var registry = this[REGISTRY];
|
|
126577
|
-
var load = registry[id];
|
|
126578
|
-
// in future we can support load.E case by failing load first
|
|
126579
|
-
// but that will require TLA callbacks to be implemented
|
|
126580
|
-
if (!load || (load.p && load.p.e !== null) || load.E)
|
|
126581
|
-
return false;
|
|
126582
|
-
|
|
126583
|
-
var importerSetters = load.i;
|
|
126584
|
-
// remove from importerSetters
|
|
126585
|
-
// (release for gc)
|
|
126586
|
-
if (load.d)
|
|
126587
|
-
load.d.forEach(function (depLoad) {
|
|
126588
|
-
var importerIndex = depLoad.i.indexOf(load);
|
|
126589
|
-
if (importerIndex !== -1)
|
|
126590
|
-
depLoad.i.splice(importerIndex, 1);
|
|
126591
|
-
});
|
|
126592
|
-
delete registry[id];
|
|
126593
|
-
return function () {
|
|
126594
|
-
var load = registry[id];
|
|
126595
|
-
if (!load || !importerSetters || load.e !== null || load.E)
|
|
126596
|
-
return false;
|
|
126597
|
-
// add back the old setters
|
|
126598
|
-
importerSetters.forEach(function (setter) {
|
|
126599
|
-
load.i.push(setter);
|
|
126600
|
-
setter(load.n);
|
|
126601
|
-
});
|
|
126602
|
-
importerSetters = null;
|
|
126603
|
-
};
|
|
126604
|
-
};
|
|
126605
|
-
|
|
126606
|
-
var iterator = typeof Symbol !== 'undefined' && Symbol.iterator;
|
|
126607
|
-
|
|
126608
|
-
systemJSPrototype.entries = function () {
|
|
126609
|
-
var loader = this, keys = Object.keys(loader[REGISTRY]);
|
|
126610
|
-
var index = 0, ns, key;
|
|
126611
|
-
var result = {
|
|
126612
|
-
next: function () {
|
|
126613
|
-
while (
|
|
126614
|
-
(key = keys[index++]) !== undefined &&
|
|
126615
|
-
(ns = loader.get(key)) === undefined
|
|
126616
|
-
);
|
|
126617
|
-
return {
|
|
126618
|
-
done: key === undefined,
|
|
126619
|
-
value: key !== undefined && [key, ns]
|
|
126620
|
-
};
|
|
126621
|
-
}
|
|
126622
|
-
};
|
|
126623
|
-
|
|
126624
|
-
result[iterator] = function() { return this };
|
|
126625
|
-
|
|
126626
|
-
return result;
|
|
126627
|
-
};
|
|
126628
|
-
|
|
126629
|
-
})();
|
|
126630
|
-
|
|
126631
|
-
|
|
126632
126377
|
/***/ }),
|
|
126633
126378
|
|
|
126634
126379
|
/***/ "../../../node_modules/tiny-invariant/dist/tiny-invariant.esm.js":
|
|
@@ -211306,4 +211051,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
211306
211051
|
|
|
211307
211052
|
/******/ })()
|
|
211308
211053
|
;
|
|
211309
|
-
//# sourceMappingURL=index.
|
|
211054
|
+
//# sourceMappingURL=index.0ca7fb.js.map
|