@pod-os/core 0.9.1-49d87ed.0 → 0.9.1-6931b20.0

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/lib/index.js CHANGED
@@ -7603,13 +7603,13 @@ var PodOS = (() => {
7603
7603
  // ../node_modules/@babel/runtime/helpers/typeof.js
7604
7604
  var require_typeof = __commonJS({
7605
7605
  "../node_modules/@babel/runtime/helpers/typeof.js"(exports, module3) {
7606
- function _typeof2(obj) {
7606
+ function _typeof2(o) {
7607
7607
  "@babel/helpers - typeof";
7608
- return module3.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
7609
- return typeof obj2;
7610
- } : function(obj2) {
7611
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
7612
- }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports, _typeof2(obj);
7608
+ return module3.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
7609
+ return typeof o2;
7610
+ } : function(o2) {
7611
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7612
+ }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports, _typeof2(o);
7613
7613
  }
7614
7614
  module3.exports = _typeof2, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7615
7615
  }
@@ -7622,319 +7622,314 @@ var PodOS = (() => {
7622
7622
  function _regeneratorRuntime3() {
7623
7623
  "use strict";
7624
7624
  module3.exports = _regeneratorRuntime3 = function _regeneratorRuntime4() {
7625
- return exports2;
7625
+ return e;
7626
7626
  }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7627
- var exports2 = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function(obj, key3, desc) {
7628
- obj[key3] = desc.value;
7629
- }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
7630
- function define2(obj, key3, value6) {
7631
- return Object.defineProperty(obj, key3, {
7632
- value: value6,
7627
+ var t, e = {}, r = Object.prototype, n2 = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
7628
+ t2[e2] = r2.value;
7629
+ }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
7630
+ function define2(t2, e2, r2) {
7631
+ return Object.defineProperty(t2, e2, {
7632
+ value: r2,
7633
7633
  enumerable: true,
7634
7634
  configurable: true,
7635
7635
  writable: true
7636
- }), obj[key3];
7636
+ }), t2[e2];
7637
7637
  }
7638
7638
  try {
7639
7639
  define2({}, "");
7640
- } catch (err) {
7641
- define2 = function define3(obj, key3, value6) {
7642
- return obj[key3] = value6;
7640
+ } catch (t2) {
7641
+ define2 = function define3(t3, e2, r2) {
7642
+ return t3[e2] = r2;
7643
7643
  };
7644
7644
  }
7645
- function wrap3(innerFn, outerFn, self2, tryLocsList) {
7646
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator3 = Object.create(protoGenerator.prototype), context3 = new Context(tryLocsList || []);
7647
- return defineProperty(generator3, "_invoke", {
7648
- value: makeInvokeMethod(innerFn, self2, context3)
7649
- }), generator3;
7645
+ function wrap3(t2, e2, r2, n3) {
7646
+ var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n3 || []);
7647
+ return o(a2, "_invoke", {
7648
+ value: makeInvokeMethod(t2, r2, c2)
7649
+ }), a2;
7650
7650
  }
7651
- function tryCatch(fn2, obj, arg2) {
7651
+ function tryCatch(t2, e2, r2) {
7652
7652
  try {
7653
7653
  return {
7654
7654
  type: "normal",
7655
- arg: fn2.call(obj, arg2)
7655
+ arg: t2.call(e2, r2)
7656
7656
  };
7657
- } catch (err) {
7657
+ } catch (t3) {
7658
7658
  return {
7659
7659
  type: "throw",
7660
- arg: err
7660
+ arg: t3
7661
7661
  };
7662
7662
  }
7663
7663
  }
7664
- exports2.wrap = wrap3;
7665
- var ContinueSentinel = {};
7664
+ e.wrap = wrap3;
7665
+ var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
7666
7666
  function Generator() {
7667
7667
  }
7668
7668
  function GeneratorFunction() {
7669
7669
  }
7670
7670
  function GeneratorFunctionPrototype() {
7671
7671
  }
7672
- var IteratorPrototype = {};
7673
- define2(IteratorPrototype, iteratorSymbol, function() {
7672
+ var p = {};
7673
+ define2(p, a, function() {
7674
7674
  return this;
7675
7675
  });
7676
- var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([])));
7677
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
7678
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
7679
- function defineIteratorMethods(prototype) {
7680
- ["next", "throw", "return"].forEach(function(method5) {
7681
- define2(prototype, method5, function(arg2) {
7682
- return this._invoke(method5, arg2);
7676
+ var d = Object.getPrototypeOf, v2 = d && d(d(values([])));
7677
+ v2 && v2 !== r && n2.call(v2, a) && (p = v2);
7678
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
7679
+ function defineIteratorMethods(t2) {
7680
+ ["next", "throw", "return"].forEach(function(e2) {
7681
+ define2(t2, e2, function(t3) {
7682
+ return this._invoke(e2, t3);
7683
7683
  });
7684
7684
  });
7685
7685
  }
7686
- function AsyncIterator(generator3, PromiseImpl) {
7687
- function invoke(method5, arg2, resolve, reject2) {
7688
- var record = tryCatch(generator3[method5], generator3, arg2);
7689
- if ("throw" !== record.type) {
7690
- var result5 = record.arg, value6 = result5.value;
7691
- return value6 && "object" == _typeof2(value6) && hasOwn.call(value6, "__await") ? PromiseImpl.resolve(value6.__await).then(function(value7) {
7692
- invoke("next", value7, resolve, reject2);
7693
- }, function(err) {
7694
- invoke("throw", err, resolve, reject2);
7695
- }) : PromiseImpl.resolve(value6).then(function(unwrapped) {
7696
- result5.value = unwrapped, resolve(result5);
7697
- }, function(error5) {
7698
- return invoke("throw", error5, resolve, reject2);
7686
+ function AsyncIterator(t2, e2) {
7687
+ function invoke(r3, o2, i2, a2) {
7688
+ var c2 = tryCatch(t2[r3], t2, o2);
7689
+ if ("throw" !== c2.type) {
7690
+ var u2 = c2.arg, h2 = u2.value;
7691
+ return h2 && "object" == _typeof2(h2) && n2.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
7692
+ invoke("next", t3, i2, a2);
7693
+ }, function(t3) {
7694
+ invoke("throw", t3, i2, a2);
7695
+ }) : e2.resolve(h2).then(function(t3) {
7696
+ u2.value = t3, i2(u2);
7697
+ }, function(t3) {
7698
+ return invoke("throw", t3, i2, a2);
7699
7699
  });
7700
7700
  }
7701
- reject2(record.arg);
7701
+ a2(c2.arg);
7702
7702
  }
7703
- var previousPromise;
7704
- defineProperty(this, "_invoke", {
7705
- value: function value6(method5, arg2) {
7703
+ var r2;
7704
+ o(this, "_invoke", {
7705
+ value: function value6(t3, n3) {
7706
7706
  function callInvokeWithMethodAndArg() {
7707
- return new PromiseImpl(function(resolve, reject2) {
7708
- invoke(method5, arg2, resolve, reject2);
7707
+ return new e2(function(e3, r3) {
7708
+ invoke(t3, n3, e3, r3);
7709
7709
  });
7710
7710
  }
7711
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
7711
+ return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
7712
7712
  }
7713
7713
  });
7714
7714
  }
7715
- function makeInvokeMethod(innerFn, self2, context3) {
7716
- var state2 = "suspendedStart";
7717
- return function(method5, arg2) {
7718
- if ("executing" === state2)
7715
+ function makeInvokeMethod(e2, r2, n3) {
7716
+ var o2 = h;
7717
+ return function(i2, a2) {
7718
+ if (o2 === f)
7719
7719
  throw new Error("Generator is already running");
7720
- if ("completed" === state2) {
7721
- if ("throw" === method5)
7722
- throw arg2;
7723
- return doneResult();
7724
- }
7725
- for (context3.method = method5, context3.arg = arg2; ; ) {
7726
- var delegate = context3.delegate;
7727
- if (delegate) {
7728
- var delegateResult = maybeInvokeDelegate(delegate, context3);
7729
- if (delegateResult) {
7730
- if (delegateResult === ContinueSentinel)
7720
+ if (o2 === s) {
7721
+ if ("throw" === i2)
7722
+ throw a2;
7723
+ return {
7724
+ value: t,
7725
+ done: true
7726
+ };
7727
+ }
7728
+ for (n3.method = i2, n3.arg = a2; ; ) {
7729
+ var c2 = n3.delegate;
7730
+ if (c2) {
7731
+ var u2 = maybeInvokeDelegate(c2, n3);
7732
+ if (u2) {
7733
+ if (u2 === y)
7731
7734
  continue;
7732
- return delegateResult;
7735
+ return u2;
7733
7736
  }
7734
7737
  }
7735
- if ("next" === context3.method)
7736
- context3.sent = context3._sent = context3.arg;
7737
- else if ("throw" === context3.method) {
7738
- if ("suspendedStart" === state2)
7739
- throw state2 = "completed", context3.arg;
7740
- context3.dispatchException(context3.arg);
7738
+ if ("next" === n3.method)
7739
+ n3.sent = n3._sent = n3.arg;
7740
+ else if ("throw" === n3.method) {
7741
+ if (o2 === h)
7742
+ throw o2 = s, n3.arg;
7743
+ n3.dispatchException(n3.arg);
7741
7744
  } else
7742
- "return" === context3.method && context3.abrupt("return", context3.arg);
7743
- state2 = "executing";
7744
- var record = tryCatch(innerFn, self2, context3);
7745
- if ("normal" === record.type) {
7746
- if (state2 = context3.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel)
7745
+ "return" === n3.method && n3.abrupt("return", n3.arg);
7746
+ o2 = f;
7747
+ var p2 = tryCatch(e2, r2, n3);
7748
+ if ("normal" === p2.type) {
7749
+ if (o2 = n3.done ? s : l, p2.arg === y)
7747
7750
  continue;
7748
7751
  return {
7749
- value: record.arg,
7750
- done: context3.done
7752
+ value: p2.arg,
7753
+ done: n3.done
7751
7754
  };
7752
7755
  }
7753
- "throw" === record.type && (state2 = "completed", context3.method = "throw", context3.arg = record.arg);
7756
+ "throw" === p2.type && (o2 = s, n3.method = "throw", n3.arg = p2.arg);
7754
7757
  }
7755
7758
  };
7756
7759
  }
7757
- function maybeInvokeDelegate(delegate, context3) {
7758
- var methodName = context3.method, method5 = delegate.iterator[methodName];
7759
- if (void 0 === method5)
7760
- return context3.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context3.method = "return", context3.arg = void 0, maybeInvokeDelegate(delegate, context3), "throw" === context3.method) || "return" !== methodName && (context3.method = "throw", context3.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
7761
- var record = tryCatch(method5, delegate.iterator, context3.arg);
7762
- if ("throw" === record.type)
7763
- return context3.method = "throw", context3.arg = record.arg, context3.delegate = null, ContinueSentinel;
7764
- var info2 = record.arg;
7765
- return info2 ? info2.done ? (context3[delegate.resultName] = info2.value, context3.next = delegate.nextLoc, "return" !== context3.method && (context3.method = "next", context3.arg = void 0), context3.delegate = null, ContinueSentinel) : info2 : (context3.method = "throw", context3.arg = new TypeError("iterator result is not an object"), context3.delegate = null, ContinueSentinel);
7766
- }
7767
- function pushTryEntry(locs) {
7768
- var entry2 = {
7769
- tryLoc: locs[0]
7760
+ function maybeInvokeDelegate(e2, r2) {
7761
+ var n3 = r2.method, o2 = e2.iterator[n3];
7762
+ if (o2 === t)
7763
+ return r2.delegate = null, "throw" === n3 && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), "throw" === r2.method) || "return" !== n3 && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n3 + "' method")), y;
7764
+ var i2 = tryCatch(o2, e2.iterator, r2.arg);
7765
+ if ("throw" === i2.type)
7766
+ return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
7767
+ var a2 = i2.arg;
7768
+ return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, "return" !== r2.method && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
7769
+ }
7770
+ function pushTryEntry(t2) {
7771
+ var e2 = {
7772
+ tryLoc: t2[0]
7770
7773
  };
7771
- 1 in locs && (entry2.catchLoc = locs[1]), 2 in locs && (entry2.finallyLoc = locs[2], entry2.afterLoc = locs[3]), this.tryEntries.push(entry2);
7774
+ 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
7772
7775
  }
7773
- function resetTryEntry(entry2) {
7774
- var record = entry2.completion || {};
7775
- record.type = "normal", delete record.arg, entry2.completion = record;
7776
+ function resetTryEntry(t2) {
7777
+ var e2 = t2.completion || {};
7778
+ e2.type = "normal", delete e2.arg, t2.completion = e2;
7776
7779
  }
7777
- function Context(tryLocsList) {
7780
+ function Context(t2) {
7778
7781
  this.tryEntries = [{
7779
7782
  tryLoc: "root"
7780
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(true);
7781
- }
7782
- function values(iterable) {
7783
- if (iterable) {
7784
- var iteratorMethod = iterable[iteratorSymbol];
7785
- if (iteratorMethod)
7786
- return iteratorMethod.call(iterable);
7787
- if ("function" == typeof iterable.next)
7788
- return iterable;
7789
- if (!isNaN(iterable.length)) {
7790
- var i = -1, next3 = function next4() {
7791
- for (; ++i < iterable.length; )
7792
- if (hasOwn.call(iterable, i))
7793
- return next4.value = iterable[i], next4.done = false, next4;
7794
- return next4.value = void 0, next4.done = true, next4;
7783
+ }], t2.forEach(pushTryEntry, this), this.reset(true);
7784
+ }
7785
+ function values(e2) {
7786
+ if (e2 || "" === e2) {
7787
+ var r2 = e2[a];
7788
+ if (r2)
7789
+ return r2.call(e2);
7790
+ if ("function" == typeof e2.next)
7791
+ return e2;
7792
+ if (!isNaN(e2.length)) {
7793
+ var o2 = -1, i2 = function next3() {
7794
+ for (; ++o2 < e2.length; )
7795
+ if (n2.call(e2, o2))
7796
+ return next3.value = e2[o2], next3.done = false, next3;
7797
+ return next3.value = t, next3.done = true, next3;
7795
7798
  };
7796
- return next3.next = next3;
7799
+ return i2.next = i2;
7797
7800
  }
7798
7801
  }
7799
- return {
7800
- next: doneResult
7801
- };
7802
+ throw new TypeError(_typeof2(e2) + " is not iterable");
7802
7803
  }
7803
- function doneResult() {
7804
- return {
7805
- value: void 0,
7806
- done: true
7807
- };
7808
- }
7809
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
7804
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
7810
7805
  value: GeneratorFunctionPrototype,
7811
7806
  configurable: true
7812
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
7807
+ }), o(GeneratorFunctionPrototype, "constructor", {
7813
7808
  value: GeneratorFunction,
7814
7809
  configurable: true
7815
- }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports2.isGeneratorFunction = function(genFun) {
7816
- var ctor = "function" == typeof genFun && genFun.constructor;
7817
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
7818
- }, exports2.mark = function(genFun) {
7819
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
7820
- }, exports2.awrap = function(arg2) {
7810
+ }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
7811
+ var e2 = "function" == typeof t2 && t2.constructor;
7812
+ return !!e2 && (e2 === GeneratorFunction || "GeneratorFunction" === (e2.displayName || e2.name));
7813
+ }, e.mark = function(t2) {
7814
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define2(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
7815
+ }, e.awrap = function(t2) {
7821
7816
  return {
7822
- __await: arg2
7817
+ __await: t2
7823
7818
  };
7824
- }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
7819
+ }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, c, function() {
7825
7820
  return this;
7826
- }), exports2.AsyncIterator = AsyncIterator, exports2.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
7827
- void 0 === PromiseImpl && (PromiseImpl = Promise);
7828
- var iter = new AsyncIterator(wrap3(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
7829
- return exports2.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result5) {
7830
- return result5.done ? result5.value : iter.next();
7821
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n3, o2, i2) {
7822
+ void 0 === i2 && (i2 = Promise);
7823
+ var a2 = new AsyncIterator(wrap3(t2, r2, n3, o2), i2);
7824
+ return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
7825
+ return t3.done ? t3.value : a2.next();
7831
7826
  });
7832
- }, defineIteratorMethods(Gp), define2(Gp, toStringTagSymbol, "Generator"), define2(Gp, iteratorSymbol, function() {
7827
+ }, defineIteratorMethods(g), define2(g, u, "Generator"), define2(g, a, function() {
7833
7828
  return this;
7834
- }), define2(Gp, "toString", function() {
7829
+ }), define2(g, "toString", function() {
7835
7830
  return "[object Generator]";
7836
- }), exports2.keys = function(val) {
7837
- var object6 = Object(val), keys = [];
7838
- for (var key3 in object6)
7839
- keys.push(key3);
7840
- return keys.reverse(), function next3() {
7841
- for (; keys.length; ) {
7842
- var key4 = keys.pop();
7843
- if (key4 in object6)
7844
- return next3.value = key4, next3.done = false, next3;
7831
+ }), e.keys = function(t2) {
7832
+ var e2 = Object(t2), r2 = [];
7833
+ for (var n3 in e2)
7834
+ r2.push(n3);
7835
+ return r2.reverse(), function next3() {
7836
+ for (; r2.length; ) {
7837
+ var t3 = r2.pop();
7838
+ if (t3 in e2)
7839
+ return next3.value = t3, next3.done = false, next3;
7845
7840
  }
7846
7841
  return next3.done = true, next3;
7847
7842
  };
7848
- }, exports2.values = values, Context.prototype = {
7843
+ }, e.values = values, Context.prototype = {
7849
7844
  constructor: Context,
7850
- reset: function reset(skipTempReset) {
7851
- if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset)
7852
- for (var name7 in this)
7853
- "t" === name7.charAt(0) && hasOwn.call(this, name7) && !isNaN(+name7.slice(1)) && (this[name7] = void 0);
7845
+ reset: function reset(e2) {
7846
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
7847
+ for (var r2 in this)
7848
+ "t" === r2.charAt(0) && n2.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
7854
7849
  },
7855
7850
  stop: function stop() {
7856
7851
  this.done = true;
7857
- var rootRecord = this.tryEntries[0].completion;
7858
- if ("throw" === rootRecord.type)
7859
- throw rootRecord.arg;
7852
+ var t2 = this.tryEntries[0].completion;
7853
+ if ("throw" === t2.type)
7854
+ throw t2.arg;
7860
7855
  return this.rval;
7861
7856
  },
7862
- dispatchException: function dispatchException(exception2) {
7857
+ dispatchException: function dispatchException(e2) {
7863
7858
  if (this.done)
7864
- throw exception2;
7865
- var context3 = this;
7866
- function handle(loc, caught) {
7867
- return record.type = "throw", record.arg = exception2, context3.next = loc, caught && (context3.method = "next", context3.arg = void 0), !!caught;
7868
- }
7869
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7870
- var entry2 = this.tryEntries[i], record = entry2.completion;
7871
- if ("root" === entry2.tryLoc)
7859
+ throw e2;
7860
+ var r2 = this;
7861
+ function handle(n3, o3) {
7862
+ return a2.type = "throw", a2.arg = e2, r2.next = n3, o3 && (r2.method = "next", r2.arg = t), !!o3;
7863
+ }
7864
+ for (var o2 = this.tryEntries.length - 1; o2 >= 0; --o2) {
7865
+ var i2 = this.tryEntries[o2], a2 = i2.completion;
7866
+ if ("root" === i2.tryLoc)
7872
7867
  return handle("end");
7873
- if (entry2.tryLoc <= this.prev) {
7874
- var hasCatch = hasOwn.call(entry2, "catchLoc"), hasFinally = hasOwn.call(entry2, "finallyLoc");
7875
- if (hasCatch && hasFinally) {
7876
- if (this.prev < entry2.catchLoc)
7877
- return handle(entry2.catchLoc, true);
7878
- if (this.prev < entry2.finallyLoc)
7879
- return handle(entry2.finallyLoc);
7880
- } else if (hasCatch) {
7881
- if (this.prev < entry2.catchLoc)
7882
- return handle(entry2.catchLoc, true);
7868
+ if (i2.tryLoc <= this.prev) {
7869
+ var c2 = n2.call(i2, "catchLoc"), u2 = n2.call(i2, "finallyLoc");
7870
+ if (c2 && u2) {
7871
+ if (this.prev < i2.catchLoc)
7872
+ return handle(i2.catchLoc, true);
7873
+ if (this.prev < i2.finallyLoc)
7874
+ return handle(i2.finallyLoc);
7875
+ } else if (c2) {
7876
+ if (this.prev < i2.catchLoc)
7877
+ return handle(i2.catchLoc, true);
7883
7878
  } else {
7884
- if (!hasFinally)
7879
+ if (!u2)
7885
7880
  throw new Error("try statement without catch or finally");
7886
- if (this.prev < entry2.finallyLoc)
7887
- return handle(entry2.finallyLoc);
7881
+ if (this.prev < i2.finallyLoc)
7882
+ return handle(i2.finallyLoc);
7888
7883
  }
7889
7884
  }
7890
7885
  }
7891
7886
  },
7892
- abrupt: function abrupt(type5, arg2) {
7893
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7894
- var entry2 = this.tryEntries[i];
7895
- if (entry2.tryLoc <= this.prev && hasOwn.call(entry2, "finallyLoc") && this.prev < entry2.finallyLoc) {
7896
- var finallyEntry = entry2;
7887
+ abrupt: function abrupt(t2, e2) {
7888
+ for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
7889
+ var o2 = this.tryEntries[r2];
7890
+ if (o2.tryLoc <= this.prev && n2.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
7891
+ var i2 = o2;
7897
7892
  break;
7898
7893
  }
7899
7894
  }
7900
- finallyEntry && ("break" === type5 || "continue" === type5) && finallyEntry.tryLoc <= arg2 && arg2 <= finallyEntry.finallyLoc && (finallyEntry = null);
7901
- var record = finallyEntry ? finallyEntry.completion : {};
7902
- return record.type = type5, record.arg = arg2, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
7895
+ i2 && ("break" === t2 || "continue" === t2) && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
7896
+ var a2 = i2 ? i2.completion : {};
7897
+ return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
7903
7898
  },
7904
- complete: function complete2(record, afterLoc) {
7905
- if ("throw" === record.type)
7906
- throw record.arg;
7907
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
7899
+ complete: function complete2(t2, e2) {
7900
+ if ("throw" === t2.type)
7901
+ throw t2.arg;
7902
+ return "break" === t2.type || "continue" === t2.type ? this.next = t2.arg : "return" === t2.type ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : "normal" === t2.type && e2 && (this.next = e2), y;
7908
7903
  },
7909
- finish: function finish(finallyLoc) {
7910
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7911
- var entry2 = this.tryEntries[i];
7912
- if (entry2.finallyLoc === finallyLoc)
7913
- return this.complete(entry2.completion, entry2.afterLoc), resetTryEntry(entry2), ContinueSentinel;
7904
+ finish: function finish(t2) {
7905
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
7906
+ var r2 = this.tryEntries[e2];
7907
+ if (r2.finallyLoc === t2)
7908
+ return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
7914
7909
  }
7915
7910
  },
7916
- "catch": function _catch(tryLoc) {
7917
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7918
- var entry2 = this.tryEntries[i];
7919
- if (entry2.tryLoc === tryLoc) {
7920
- var record = entry2.completion;
7921
- if ("throw" === record.type) {
7922
- var thrown = record.arg;
7923
- resetTryEntry(entry2);
7911
+ "catch": function _catch(t2) {
7912
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
7913
+ var r2 = this.tryEntries[e2];
7914
+ if (r2.tryLoc === t2) {
7915
+ var n3 = r2.completion;
7916
+ if ("throw" === n3.type) {
7917
+ var o2 = n3.arg;
7918
+ resetTryEntry(r2);
7924
7919
  }
7925
- return thrown;
7920
+ return o2;
7926
7921
  }
7927
7922
  }
7928
7923
  throw new Error("illegal catch attempt");
7929
7924
  },
7930
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
7925
+ delegateYield: function delegateYield(e2, r2, n3) {
7931
7926
  return this.delegate = {
7932
- iterator: values(iterable),
7933
- resultName,
7934
- nextLoc
7935
- }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
7927
+ iterator: values(e2),
7928
+ resultName: r2,
7929
+ nextLoc: n3
7930
+ }, "next" === this.method && (this.arg = t), y;
7936
7931
  }
7937
- }, exports2;
7932
+ }, e;
7938
7933
  }
7939
7934
  module3.exports = _regeneratorRuntime3, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7940
7935
  }
@@ -8215,7 +8210,7 @@ var PodOS = (() => {
8215
8210
  * The node at the indexth position in the NodeList, or null if that is not a valid index.
8216
8211
  */
8217
8212
  item: function(index2) {
8218
- return this[index2] || null;
8213
+ return index2 >= 0 && index2 < this.length ? this[index2] : null;
8219
8214
  },
8220
8215
  toString: function(isHTML, nodeFilter) {
8221
8216
  for (var buf = [], i = 0; i < this.length; i++) {
@@ -8247,16 +8242,23 @@ var PodOS = (() => {
8247
8242
  }
8248
8243
  function _updateLiveList(list) {
8249
8244
  var inc = list._node._inc || list._node.ownerDocument._inc;
8250
- if (list._inc != inc) {
8245
+ if (list._inc !== inc) {
8251
8246
  var ls = list._refresh(list._node);
8252
8247
  __set__(list, "length", ls.length);
8248
+ if (!list.$$length || ls.length < list.$$length) {
8249
+ for (var i = ls.length; i in list; i++) {
8250
+ if (Object.prototype.hasOwnProperty.call(list, i)) {
8251
+ delete list[i];
8252
+ }
8253
+ }
8254
+ }
8253
8255
  copy(ls, list);
8254
8256
  list._inc = inc;
8255
8257
  }
8256
8258
  }
8257
8259
  LiveNodeList.prototype.item = function(i) {
8258
8260
  _updateLiveList(this);
8259
- return this[i];
8261
+ return this[i] || null;
8260
8262
  };
8261
8263
  _extends2(LiveNodeList, NodeList);
8262
8264
  function NamedNodeMap() {
@@ -8939,7 +8941,7 @@ var PodOS = (() => {
8939
8941
  createProcessingInstruction: function(target5, data2) {
8940
8942
  var node2 = new ProcessingInstruction();
8941
8943
  node2.ownerDocument = this;
8942
- node2.tagName = node2.target = target5;
8944
+ node2.tagName = node2.nodeName = node2.target = target5;
8943
8945
  node2.nodeValue = node2.data = data2;
8944
8946
  return node2;
8945
8947
  },
@@ -12839,6 +12841,20 @@ var PodOS = (() => {
12839
12841
  }
12840
12842
  });
12841
12843
 
12844
+ // ../node_modules/has-proto/index.js
12845
+ var require_has_proto = __commonJS({
12846
+ "../node_modules/has-proto/index.js"(exports, module3) {
12847
+ "use strict";
12848
+ var test2 = {
12849
+ foo: {}
12850
+ };
12851
+ var $Object = Object;
12852
+ module3.exports = function hasProto() {
12853
+ return { __proto__: test2 }.foo === test2.foo && !({ __proto__: null } instanceof $Object);
12854
+ };
12855
+ }
12856
+ });
12857
+
12842
12858
  // ../node_modules/function-bind/implementation.js
12843
12859
  var require_implementation = __commonJS({
12844
12860
  "../node_modules/function-bind/implementation.js"(exports, module3) {
@@ -12945,16 +12961,17 @@ var PodOS = (() => {
12945
12961
  }
12946
12962
  }() : throwTypeError;
12947
12963
  var hasSymbols = require_has_symbols()();
12948
- var getProto = Object.getPrototypeOf || function(x) {
12964
+ var hasProto = require_has_proto()();
12965
+ var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
12949
12966
  return x.__proto__;
12950
- };
12967
+ } : null);
12951
12968
  var needsEval = {};
12952
- var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
12969
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
12953
12970
  var INTRINSICS = {
12954
12971
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
12955
12972
  "%Array%": Array,
12956
12973
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
12957
- "%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
12974
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
12958
12975
  "%AsyncFromSyncIteratorPrototype%": undefined2,
12959
12976
  "%AsyncFunction%": needsEval,
12960
12977
  "%AsyncGenerator%": needsEval,
@@ -12985,10 +13002,10 @@ var PodOS = (() => {
12985
13002
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
12986
13003
  "%isFinite%": isFinite,
12987
13004
  "%isNaN%": isNaN,
12988
- "%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
13005
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
12989
13006
  "%JSON%": typeof JSON === "object" ? JSON : undefined2,
12990
13007
  "%Map%": typeof Map === "undefined" ? undefined2 : Map,
12991
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
13008
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12992
13009
  "%Math%": Math,
12993
13010
  "%Number%": Number,
12994
13011
  "%Object%": Object,
@@ -13001,10 +13018,10 @@ var PodOS = (() => {
13001
13018
  "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
13002
13019
  "%RegExp%": RegExp,
13003
13020
  "%Set%": typeof Set === "undefined" ? undefined2 : Set,
13004
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
13021
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
13005
13022
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
13006
13023
  "%String%": String,
13007
- "%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
13024
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
13008
13025
  "%Symbol%": hasSymbols ? Symbol : undefined2,
13009
13026
  "%SyntaxError%": $SyntaxError,
13010
13027
  "%ThrowTypeError%": ThrowTypeError,
@@ -13019,11 +13036,13 @@ var PodOS = (() => {
13019
13036
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
13020
13037
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
13021
13038
  };
13022
- try {
13023
- null.error;
13024
- } catch (e) {
13025
- errorProto = getProto(getProto(e));
13026
- INTRINSICS["%Error.prototype%"] = errorProto;
13039
+ if (getProto) {
13040
+ try {
13041
+ null.error;
13042
+ } catch (e) {
13043
+ errorProto = getProto(getProto(e));
13044
+ INTRINSICS["%Error.prototype%"] = errorProto;
13045
+ }
13027
13046
  }
13028
13047
  var errorProto;
13029
13048
  var doEval = function doEval2(name7) {
@@ -13041,7 +13060,7 @@ var PodOS = (() => {
13041
13060
  }
13042
13061
  } else if (name7 === "%AsyncIteratorPrototype%") {
13043
13062
  var gen = doEval2("%AsyncGenerator%");
13044
- if (gen) {
13063
+ if (gen && getProto) {
13045
13064
  value6 = getProto(gen.prototype);
13046
13065
  }
13047
13066
  }
@@ -14881,7 +14900,10 @@ var PodOS = (() => {
14881
14900
  }
14882
14901
  }
14883
14902
  if (this.query && typeof this.query === "object" && Object.keys(this.query).length) {
14884
- query4 = querystring.stringify(this.query);
14903
+ query4 = querystring.stringify(this.query, {
14904
+ arrayFormat: "repeat",
14905
+ addQueryPrefix: false
14906
+ });
14885
14907
  }
14886
14908
  var search3 = this.search || query4 && "?" + query4 || "";
14887
14909
  if (protocol6 && protocol6.substr(-1) !== ":") {
@@ -21770,7 +21792,7 @@ var PodOS = (() => {
21770
21792
  "fragment"
21771
21793
  ],
21772
21794
  /* eslint-disable-next-line max-len */
21773
- regex: /^(([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/
21795
+ regex: /^(([a-zA-Z][a-zA-Z0-9+-.]*):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/
21774
21796
  }
21775
21797
  };
21776
21798
  api.parse = (str, parser) => {
@@ -23033,7 +23055,9 @@ var PodOS = (() => {
23033
23055
  "relative graph reference",
23034
23056
  "relative object reference",
23035
23057
  "relative predicate reference",
23036
- "relative subject reference"
23058
+ "relative subject reference",
23059
+ // toRDF / fromRDF
23060
+ "rdfDirection not set"
23037
23061
  ]);
23038
23062
  api.safeEventHandler = function safeEventHandler({ event: event4, next: next3 }) {
23039
23063
  if (event4.level === "warning" && _notSafeEventCodes.has(event4.code)) {
@@ -23659,7 +23683,7 @@ var PodOS = (() => {
23659
23683
  }
23660
23684
  }
23661
23685
  mapping3["@id"] = id7;
23662
- mapping3._prefix = simpleTerm && !mapping3._termHasColon && id7.match(/[:\/\?#\[\]@]$/);
23686
+ mapping3._prefix = simpleTerm && !mapping3._termHasColon && id7.match(/[:\/\?#\[\]@]$/) !== null;
23663
23687
  }
23664
23688
  }
23665
23689
  if (!("@id" in mapping3)) {
@@ -25070,12 +25094,13 @@ var PodOS = (() => {
25070
25094
  }
25071
25095
  if (container2.includes("@graph") && !container2.some((key4) => key4 === "@id" || key4 === "@index")) {
25072
25096
  expandedValue = _asArray(expandedValue);
25073
- const count2 = Object.keys(expandedValue[0]).length;
25074
- if (!options.isFrame && _dropUnsafeObject({
25075
- value: expandedValue[0],
25076
- count: count2,
25077
- options
25078
- }) === null) {
25097
+ if (!options.isFrame) {
25098
+ expandedValue = expandedValue.filter((v2) => {
25099
+ const count2 = Object.keys(v2).length;
25100
+ return _dropUnsafeObject({ value: v2, count: count2, options }) !== null;
25101
+ });
25102
+ }
25103
+ if (expandedValue.length === 0) {
25079
25104
  continue;
25080
25105
  }
25081
25106
  expandedValue = expandedValue.map((v2) => ({ "@graph": _asArray(v2) }));
@@ -25623,14 +25648,29 @@ var PodOS = (() => {
25623
25648
  var api = {};
25624
25649
  module3.exports = api;
25625
25650
  api.fromRDF = async (dataset3, options) => {
25626
- const defaultGraph5 = {};
25627
- const graphMap = { "@default": defaultGraph5 };
25628
- const referencedOnce = {};
25629
25651
  const {
25630
25652
  useRdfType = false,
25631
25653
  useNativeTypes = false,
25632
25654
  rdfDirection = null
25633
25655
  } = options;
25656
+ const defaultGraph5 = {};
25657
+ const graphMap = { "@default": defaultGraph5 };
25658
+ const referencedOnce = {};
25659
+ if (rdfDirection) {
25660
+ if (rdfDirection === "compound-literal") {
25661
+ throw new JsonLdError(
25662
+ "Unsupported rdfDirection value.",
25663
+ "jsonld.InvalidRdfDirection",
25664
+ { value: rdfDirection }
25665
+ );
25666
+ } else if (rdfDirection !== "i18n-datatype") {
25667
+ throw new JsonLdError(
25668
+ "Unknown rdfDirection value.",
25669
+ "jsonld.InvalidRdfDirection",
25670
+ { value: rdfDirection }
25671
+ );
25672
+ }
25673
+ }
25634
25674
  for (const quad4 of dataset3) {
25635
25675
  const name7 = quad4.graph.termType === "DefaultGraph" ? "@default" : quad4.graph.value;
25636
25676
  if (!(name7 in graphMap)) {
@@ -25827,9 +25867,9 @@ var PodOS = (() => {
25827
25867
  }
25828
25868
  });
25829
25869
 
25830
- // ../node_modules/canonicalize/lib/canonicalize.js
25870
+ // ../node_modules/jsonld/node_modules/canonicalize/lib/canonicalize.js
25831
25871
  var require_canonicalize = __commonJS({
25832
- "../node_modules/canonicalize/lib/canonicalize.js"(exports, module3) {
25872
+ "../node_modules/jsonld/node_modules/canonicalize/lib/canonicalize.js"(exports, module3) {
25833
25873
  "use strict";
25834
25874
  module3.exports = function serialize2(object6) {
25835
25875
  if (object6 === null || typeof object6 !== "object" || object6.toJSON != null) {
@@ -25861,6 +25901,7 @@ var PodOS = (() => {
25861
25901
  var { isKeyword } = require_context();
25862
25902
  var graphTypes = require_graphTypes();
25863
25903
  var jsonCanonicalize = require_canonicalize();
25904
+ var JsonLdError = require_JsonLdError();
25864
25905
  var types2 = require_types();
25865
25906
  var util = require_util2();
25866
25907
  var {
@@ -26100,15 +26141,61 @@ var PodOS = (() => {
26100
26141
  } else if (types2.isNumber(value6)) {
26101
26142
  object6.value = value6.toFixed(0);
26102
26143
  object6.datatype.value = datatype || XSD_INTEGER;
26103
- } else if (rdfDirection === "i18n-datatype" && "@direction" in item4) {
26104
- const datatype2 = "https://www.w3.org/ns/i18n#" + (item4["@language"] || "") + `_${item4["@direction"]}`;
26144
+ } else if ("@direction" in item4 && rdfDirection === "i18n-datatype") {
26145
+ const language8 = (item4["@language"] || "").toLowerCase();
26146
+ const direction3 = item4["@direction"];
26147
+ const datatype2 = `https://www.w3.org/ns/i18n#${language8}_${direction3}`;
26105
26148
  object6.datatype.value = datatype2;
26106
26149
  object6.value = value6;
26150
+ } else if ("@direction" in item4 && rdfDirection === "compound-literal") {
26151
+ throw new JsonLdError(
26152
+ "Unsupported rdfDirection value.",
26153
+ "jsonld.InvalidRdfDirection",
26154
+ { value: rdfDirection }
26155
+ );
26156
+ } else if ("@direction" in item4 && rdfDirection) {
26157
+ throw new JsonLdError(
26158
+ "Unknown rdfDirection value.",
26159
+ "jsonld.InvalidRdfDirection",
26160
+ { value: rdfDirection }
26161
+ );
26107
26162
  } else if ("@language" in item4) {
26163
+ if ("@direction" in item4 && !rdfDirection) {
26164
+ if (options.eventHandler) {
26165
+ _handleEvent({
26166
+ event: {
26167
+ type: ["JsonLdEvent"],
26168
+ code: "rdfDirection not set",
26169
+ level: "warning",
26170
+ message: "rdfDirection not set for @direction.",
26171
+ details: {
26172
+ object: object6.value
26173
+ }
26174
+ },
26175
+ options
26176
+ });
26177
+ }
26178
+ }
26108
26179
  object6.value = value6;
26109
26180
  object6.datatype.value = datatype || RDF_LANGSTRING;
26110
26181
  object6.language = item4["@language"];
26111
26182
  } else {
26183
+ if ("@direction" in item4 && !rdfDirection) {
26184
+ if (options.eventHandler) {
26185
+ _handleEvent({
26186
+ event: {
26187
+ type: ["JsonLdEvent"],
26188
+ code: "rdfDirection not set",
26189
+ level: "warning",
26190
+ message: "rdfDirection not set for @direction.",
26191
+ details: {
26192
+ object: object6.value
26193
+ }
26194
+ },
26195
+ options
26196
+ });
26197
+ }
26198
+ }
26112
26199
  object6.value = value6;
26113
26200
  object6.datatype.value = datatype || XSD_STRING;
26114
26201
  }
@@ -30646,11 +30733,6 @@ var PodOS = (() => {
30646
30733
  // ../node_modules/jose/dist/browser/runtime/random.js
30647
30734
  var random_default = webcrypto_default.getRandomValues.bind(webcrypto_default);
30648
30735
 
30649
- // ../node_modules/jose/dist/browser/runtime/env.js
30650
- function isCloudflareWorkers() {
30651
- return typeof WebSocketPair !== "undefined" || typeof navigator !== "undefined" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime !== "undefined" && EdgeRuntime === "vercel";
30652
- }
30653
-
30654
30736
  // ../node_modules/jose/dist/browser/lib/crypto_key.js
30655
30737
  function unusable(name7, prop = "algorithm.name") {
30656
30738
  return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name7}`);
@@ -30724,11 +30806,6 @@ var PodOS = (() => {
30724
30806
  }
30725
30807
  case "EdDSA": {
30726
30808
  if (key3.algorithm.name !== "Ed25519" && key3.algorithm.name !== "Ed448") {
30727
- if (isCloudflareWorkers()) {
30728
- if (isAlgorithm(key3.algorithm, "NODE-ED25519"))
30729
- break;
30730
- throw unusable("Ed25519, Ed448, or NODE-ED25519");
30731
- }
30732
30809
  throw unusable("Ed25519 or Ed448");
30733
30810
  }
30734
30811
  break;
@@ -30974,15 +31051,7 @@ var PodOS = (() => {
30974
31051
  const keyData = { ...jwk };
30975
31052
  delete keyData.alg;
30976
31053
  delete keyData.use;
30977
- try {
30978
- return await webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
30979
- } catch (err) {
30980
- if (algorithm3.name === "Ed25519" && (err === null || err === void 0 ? void 0 : err.name) === "NotSupportedError" && isCloudflareWorkers()) {
30981
- rest3[0] = { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
30982
- return await webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
30983
- }
30984
- throw err;
30985
- }
31054
+ return webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
30986
31055
  };
30987
31056
  var jwk_to_key_default = parse;
30988
31057
 
@@ -31147,9 +31216,6 @@ var PodOS = (() => {
31147
31216
  case "ES512":
31148
31217
  return { hash: hash2, name: "ECDSA", namedCurve: algorithm3.namedCurve };
31149
31218
  case "EdDSA":
31150
- if (isCloudflareWorkers() && algorithm3.name === "NODE-ED25519") {
31151
- return { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
31152
- }
31153
31219
  return { name: algorithm3.name };
31154
31220
  default:
31155
31221
  throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`);
@@ -31185,41 +31251,41 @@ var PodOS = (() => {
31185
31251
  var verify_default = verify;
31186
31252
 
31187
31253
  // ../node_modules/jose/dist/browser/jws/flattened/verify.js
31188
- async function flattenedVerify(jws, key3, options) {
31254
+ async function flattenedVerify(jws2, key3, options) {
31189
31255
  var _a;
31190
- if (!isObject(jws)) {
31256
+ if (!isObject(jws2)) {
31191
31257
  throw new JWSInvalid("Flattened JWS must be an object");
31192
31258
  }
31193
- if (jws.protected === void 0 && jws.header === void 0) {
31259
+ if (jws2.protected === void 0 && jws2.header === void 0) {
31194
31260
  throw new JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');
31195
31261
  }
31196
- if (jws.protected !== void 0 && typeof jws.protected !== "string") {
31262
+ if (jws2.protected !== void 0 && typeof jws2.protected !== "string") {
31197
31263
  throw new JWSInvalid("JWS Protected Header incorrect type");
31198
31264
  }
31199
- if (jws.payload === void 0) {
31265
+ if (jws2.payload === void 0) {
31200
31266
  throw new JWSInvalid("JWS Payload missing");
31201
31267
  }
31202
- if (typeof jws.signature !== "string") {
31268
+ if (typeof jws2.signature !== "string") {
31203
31269
  throw new JWSInvalid("JWS Signature missing or incorrect type");
31204
31270
  }
31205
- if (jws.header !== void 0 && !isObject(jws.header)) {
31271
+ if (jws2.header !== void 0 && !isObject(jws2.header)) {
31206
31272
  throw new JWSInvalid("JWS Unprotected Header incorrect type");
31207
31273
  }
31208
31274
  let parsedProt = {};
31209
- if (jws.protected) {
31275
+ if (jws2.protected) {
31210
31276
  try {
31211
- const protectedHeader = decode(jws.protected);
31277
+ const protectedHeader = decode(jws2.protected);
31212
31278
  parsedProt = JSON.parse(decoder.decode(protectedHeader));
31213
31279
  } catch (_b) {
31214
31280
  throw new JWSInvalid("JWS Protected Header is invalid");
31215
31281
  }
31216
31282
  }
31217
- if (!is_disjoint_default(parsedProt, jws.header)) {
31283
+ if (!is_disjoint_default(parsedProt, jws2.header)) {
31218
31284
  throw new JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
31219
31285
  }
31220
31286
  const joseHeader = {
31221
31287
  ...parsedProt,
31222
- ...jws.header
31288
+ ...jws2.header
31223
31289
  };
31224
31290
  const extensions = validate_crit_default(JWSInvalid, /* @__PURE__ */ new Map([["b64", true]]), options === null || options === void 0 ? void 0 : options.crit, parsedProt, joseHeader);
31225
31291
  let b64 = true;
@@ -31238,38 +31304,47 @@ var PodOS = (() => {
31238
31304
  throw new JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');
31239
31305
  }
31240
31306
  if (b64) {
31241
- if (typeof jws.payload !== "string") {
31307
+ if (typeof jws2.payload !== "string") {
31242
31308
  throw new JWSInvalid("JWS Payload must be a string");
31243
31309
  }
31244
- } else if (typeof jws.payload !== "string" && !(jws.payload instanceof Uint8Array)) {
31310
+ } else if (typeof jws2.payload !== "string" && !(jws2.payload instanceof Uint8Array)) {
31245
31311
  throw new JWSInvalid("JWS Payload must be a string or an Uint8Array instance");
31246
31312
  }
31247
31313
  let resolvedKey = false;
31248
31314
  if (typeof key3 === "function") {
31249
- key3 = await key3(parsedProt, jws);
31315
+ key3 = await key3(parsedProt, jws2);
31250
31316
  resolvedKey = true;
31251
31317
  }
31252
31318
  check_key_type_default(alg, key3, "verify");
31253
- const data2 = concat(encoder.encode((_a = jws.protected) !== null && _a !== void 0 ? _a : ""), encoder.encode("."), typeof jws.payload === "string" ? encoder.encode(jws.payload) : jws.payload);
31254
- const signature2 = decode(jws.signature);
31319
+ const data2 = concat(encoder.encode((_a = jws2.protected) !== null && _a !== void 0 ? _a : ""), encoder.encode("."), typeof jws2.payload === "string" ? encoder.encode(jws2.payload) : jws2.payload);
31320
+ let signature2;
31321
+ try {
31322
+ signature2 = decode(jws2.signature);
31323
+ } catch (_c) {
31324
+ throw new JWSInvalid("Failed to base64url decode the signature");
31325
+ }
31255
31326
  const verified2 = await verify_default(alg, key3, signature2, data2);
31256
31327
  if (!verified2) {
31257
31328
  throw new JWSSignatureVerificationFailed();
31258
31329
  }
31259
31330
  let payload4;
31260
31331
  if (b64) {
31261
- payload4 = decode(jws.payload);
31262
- } else if (typeof jws.payload === "string") {
31263
- payload4 = encoder.encode(jws.payload);
31332
+ try {
31333
+ payload4 = decode(jws2.payload);
31334
+ } catch (_d) {
31335
+ throw new JWSInvalid("Failed to base64url decode the payload");
31336
+ }
31337
+ } else if (typeof jws2.payload === "string") {
31338
+ payload4 = encoder.encode(jws2.payload);
31264
31339
  } else {
31265
- payload4 = jws.payload;
31340
+ payload4 = jws2.payload;
31266
31341
  }
31267
31342
  const result5 = { payload: payload4 };
31268
- if (jws.protected !== void 0) {
31343
+ if (jws2.protected !== void 0) {
31269
31344
  result5.protectedHeader = parsedProt;
31270
31345
  }
31271
- if (jws.header !== void 0) {
31272
- result5.unprotectedHeader = jws.header;
31346
+ if (jws2.header !== void 0) {
31347
+ result5.unprotectedHeader = jws2.header;
31273
31348
  }
31274
31349
  if (resolvedKey) {
31275
31350
  return { ...result5, key: key3 };
@@ -31278,14 +31353,14 @@ var PodOS = (() => {
31278
31353
  }
31279
31354
 
31280
31355
  // ../node_modules/jose/dist/browser/jws/compact/verify.js
31281
- async function compactVerify(jws, key3, options) {
31282
- if (jws instanceof Uint8Array) {
31283
- jws = decoder.decode(jws);
31356
+ async function compactVerify(jws2, key3, options) {
31357
+ if (jws2 instanceof Uint8Array) {
31358
+ jws2 = decoder.decode(jws2);
31284
31359
  }
31285
- if (typeof jws !== "string") {
31360
+ if (typeof jws2 !== "string") {
31286
31361
  throw new JWSInvalid("Compact JWS must be a string or Uint8Array");
31287
31362
  }
31288
- const { 0: protectedHeader, 1: payload4, 2: signature2, length: length2 } = jws.split(".");
31363
+ const { 0: protectedHeader, 1: payload4, 2: signature2, length: length2 } = jws2.split(".");
31289
31364
  if (length2 !== 3) {
31290
31365
  throw new JWSInvalid("Invalid Compact JWS");
31291
31366
  }
@@ -31370,15 +31445,26 @@ var PodOS = (() => {
31370
31445
  if (!isObject(payload4)) {
31371
31446
  throw new JWTInvalid("JWT Claims Set must be a top-level JSON object");
31372
31447
  }
31373
- const { issuer: issuer2 } = options;
31448
+ const { requiredClaims = [], issuer: issuer2, subject: subject5, audience: audience5, maxTokenAge } = options;
31449
+ if (maxTokenAge !== void 0)
31450
+ requiredClaims.push("iat");
31451
+ if (audience5 !== void 0)
31452
+ requiredClaims.push("aud");
31453
+ if (subject5 !== void 0)
31454
+ requiredClaims.push("sub");
31455
+ if (issuer2 !== void 0)
31456
+ requiredClaims.push("iss");
31457
+ for (const claim2 of new Set(requiredClaims.reverse())) {
31458
+ if (!(claim2 in payload4)) {
31459
+ throw new JWTClaimValidationFailed(`missing required "${claim2}" claim`, claim2, "missing");
31460
+ }
31461
+ }
31374
31462
  if (issuer2 && !(Array.isArray(issuer2) ? issuer2 : [issuer2]).includes(payload4.iss)) {
31375
31463
  throw new JWTClaimValidationFailed('unexpected "iss" claim value', "iss", "check_failed");
31376
31464
  }
31377
- const { subject: subject5 } = options;
31378
31465
  if (subject5 && payload4.sub !== subject5) {
31379
31466
  throw new JWTClaimValidationFailed('unexpected "sub" claim value', "sub", "check_failed");
31380
31467
  }
31381
- const { audience: audience5 } = options;
31382
31468
  if (audience5 && !checkAudiencePresence(payload4.aud, typeof audience5 === "string" ? [audience5] : audience5)) {
31383
31469
  throw new JWTClaimValidationFailed('unexpected "aud" claim value', "aud", "check_failed");
31384
31470
  }
@@ -31398,7 +31484,7 @@ var PodOS = (() => {
31398
31484
  }
31399
31485
  const { currentDate } = options;
31400
31486
  const now = epoch_default(currentDate || /* @__PURE__ */ new Date());
31401
- if ((payload4.iat !== void 0 || options.maxTokenAge) && typeof payload4.iat !== "number") {
31487
+ if ((payload4.iat !== void 0 || maxTokenAge) && typeof payload4.iat !== "number") {
31402
31488
  throw new JWTClaimValidationFailed('"iat" claim must be a number', "iat", "invalid");
31403
31489
  }
31404
31490
  if (payload4.nbf !== void 0) {
@@ -31417,9 +31503,9 @@ var PodOS = (() => {
31417
31503
  throw new JWTExpired('"exp" claim timestamp check failed', "exp", "check_failed");
31418
31504
  }
31419
31505
  }
31420
- if (options.maxTokenAge) {
31506
+ if (maxTokenAge) {
31421
31507
  const age2 = now - payload4.iat;
31422
- const max2 = typeof options.maxTokenAge === "number" ? options.maxTokenAge : secs_default(options.maxTokenAge);
31508
+ const max2 = typeof maxTokenAge === "number" ? maxTokenAge : secs_default(maxTokenAge);
31423
31509
  if (age2 - tolerance > max2) {
31424
31510
  throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', "iat", "check_failed");
31425
31511
  }
@@ -31512,20 +31598,20 @@ var PodOS = (() => {
31512
31598
  }
31513
31599
  const data2 = concat(protectedHeader, encoder.encode("."), payload4);
31514
31600
  const signature2 = await sign_default(alg, key3, data2);
31515
- const jws = {
31601
+ const jws2 = {
31516
31602
  signature: encode(signature2),
31517
31603
  payload: ""
31518
31604
  };
31519
31605
  if (b64) {
31520
- jws.payload = decoder.decode(payload4);
31606
+ jws2.payload = decoder.decode(payload4);
31521
31607
  }
31522
31608
  if (this._unprotectedHeader) {
31523
- jws.header = this._unprotectedHeader;
31609
+ jws2.header = this._unprotectedHeader;
31524
31610
  }
31525
31611
  if (this._protectedHeader) {
31526
- jws.protected = decoder.decode(protectedHeader);
31612
+ jws2.protected = decoder.decode(protectedHeader);
31527
31613
  }
31528
- return jws;
31614
+ return jws2;
31529
31615
  }
31530
31616
  };
31531
31617
 
@@ -31539,11 +31625,11 @@ var PodOS = (() => {
31539
31625
  return this;
31540
31626
  }
31541
31627
  async sign(key3, options) {
31542
- const jws = await this._flattened.sign(key3, options);
31543
- if (jws.payload === void 0) {
31628
+ const jws2 = await this._flattened.sign(key3, options);
31629
+ if (jws2.payload === void 0) {
31544
31630
  throw new TypeError("use the flattened module for creating JWS with b64: false");
31545
31631
  }
31546
- return `${jws.protected}.${jws.payload}.${jws.signature}`;
31632
+ return `${jws2.protected}.${jws2.payload}.${jws2.signature}`;
31547
31633
  }
31548
31634
  };
31549
31635
 
@@ -31624,7 +31710,7 @@ var PodOS = (() => {
31624
31710
  return modulusLength;
31625
31711
  }
31626
31712
  async function generateKeyPair(alg, options) {
31627
- var _a, _b, _c, _d;
31713
+ var _a, _b, _c;
31628
31714
  let algorithm3;
31629
31715
  let keyUsages;
31630
31716
  switch (alg) {
@@ -31711,15 +31797,7 @@ var PodOS = (() => {
31711
31797
  default:
31712
31798
  throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
31713
31799
  }
31714
- try {
31715
- return await webcrypto_default.subtle.generateKey(algorithm3, (_c = options === null || options === void 0 ? void 0 : options.extractable) !== null && _c !== void 0 ? _c : false, keyUsages);
31716
- } catch (err) {
31717
- if (algorithm3.name === "Ed25519" && (err === null || err === void 0 ? void 0 : err.name) === "NotSupportedError" && isCloudflareWorkers()) {
31718
- algorithm3 = { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
31719
- return await webcrypto_default.subtle.generateKey(algorithm3, (_d = options === null || options === void 0 ? void 0 : options.extractable) !== null && _d !== void 0 ? _d : false, keyUsages);
31720
- }
31721
- throw err;
31722
- }
31800
+ return webcrypto_default.subtle.generateKey(algorithm3, (_c = options === null || options === void 0 ? void 0 : options.extractable) !== null && _c !== void 0 ? _c : false, keyUsages);
31723
31801
  }
31724
31802
 
31725
31803
  // ../node_modules/jose/dist/browser/key/generate_key_pair.js
@@ -31746,7 +31824,7 @@ var PodOS = (() => {
31746
31824
  byteToHex.push((i + 256).toString(16).slice(1));
31747
31825
  }
31748
31826
  function unsafeStringify(arr, offset3 = 0) {
31749
- return (byteToHex[arr[offset3 + 0]] + byteToHex[arr[offset3 + 1]] + byteToHex[arr[offset3 + 2]] + byteToHex[arr[offset3 + 3]] + "-" + byteToHex[arr[offset3 + 4]] + byteToHex[arr[offset3 + 5]] + "-" + byteToHex[arr[offset3 + 6]] + byteToHex[arr[offset3 + 7]] + "-" + byteToHex[arr[offset3 + 8]] + byteToHex[arr[offset3 + 9]] + "-" + byteToHex[arr[offset3 + 10]] + byteToHex[arr[offset3 + 11]] + byteToHex[arr[offset3 + 12]] + byteToHex[arr[offset3 + 13]] + byteToHex[arr[offset3 + 14]] + byteToHex[arr[offset3 + 15]]).toLowerCase();
31827
+ return byteToHex[arr[offset3 + 0]] + byteToHex[arr[offset3 + 1]] + byteToHex[arr[offset3 + 2]] + byteToHex[arr[offset3 + 3]] + "-" + byteToHex[arr[offset3 + 4]] + byteToHex[arr[offset3 + 5]] + "-" + byteToHex[arr[offset3 + 6]] + byteToHex[arr[offset3 + 7]] + "-" + byteToHex[arr[offset3 + 8]] + byteToHex[arr[offset3 + 9]] + "-" + byteToHex[arr[offset3 + 10]] + byteToHex[arr[offset3 + 11]] + byteToHex[arr[offset3 + 12]] + byteToHex[arr[offset3 + 13]] + byteToHex[arr[offset3 + 14]] + byteToHex[arr[offset3 + 15]];
31750
31828
  }
31751
31829
 
31752
31830
  // ../node_modules/uuid/dist/esm-browser/native.js
@@ -31804,6 +31882,7 @@ var PodOS = (() => {
31804
31882
  var AggregateHandler = class {
31805
31883
  constructor(handleables) {
31806
31884
  this.handleables = handleables;
31885
+ this.handleables = handleables;
31807
31886
  }
31808
31887
  async getProperHandler(params2) {
31809
31888
  const canHandleList = await Promise.all(this.handleables.map((handleable) => handleable.canHandle(...params2)));
@@ -31872,7 +31951,9 @@ var PodOS = (() => {
31872
31951
  function isValidRedirectUrl(redirectUrl) {
31873
31952
  try {
31874
31953
  const urlObject = new URL(redirectUrl);
31875
- return urlObject.hash === "";
31954
+ const noReservedQuery = !urlObject.searchParams.has("code") && !urlObject.searchParams.has("state");
31955
+ const noHash = urlObject.hash === "";
31956
+ return noReservedQuery && noHash;
31876
31957
  } catch (e) {
31877
31958
  return false;
31878
31959
  }
@@ -31881,6 +31962,8 @@ var PodOS = (() => {
31881
31962
  constructor(storageUtility, redirector) {
31882
31963
  this.storageUtility = storageUtility;
31883
31964
  this.redirector = redirector;
31965
+ this.storageUtility = storageUtility;
31966
+ this.redirector = redirector;
31884
31967
  }
31885
31968
  async canHandle(oidcLoginOptions) {
31886
31969
  return !!(oidcLoginOptions.issuerConfiguration.grantTypesSupported && oidcLoginOptions.issuerConfiguration.grantTypesSupported.indexOf("authorization_code") > -1);
@@ -31906,6 +31989,7 @@ var PodOS = (() => {
31906
31989
  var GeneralLogoutHandler = class {
31907
31990
  constructor(sessionInfoManager) {
31908
31991
  this.sessionInfoManager = sessionInfoManager;
31992
+ this.sessionInfoManager = sessionInfoManager;
31909
31993
  }
31910
31994
  async canHandle() {
31911
31995
  return true;
@@ -31917,6 +32001,7 @@ var PodOS = (() => {
31917
32001
  var IRpLogoutHandler = class {
31918
32002
  constructor(redirector) {
31919
32003
  this.redirector = redirector;
32004
+ this.redirector = redirector;
31920
32005
  }
31921
32006
  async canHandle(userId, options) {
31922
32007
  return (options === null || options === void 0 ? void 0 : options.logoutType) === "idp";
@@ -31966,6 +32051,7 @@ var PodOS = (() => {
31966
32051
  var SessionInfoManagerBase = class {
31967
32052
  constructor(storageUtility) {
31968
32053
  this.storageUtility = storageUtility;
32054
+ this.storageUtility = storageUtility;
31969
32055
  }
31970
32056
  update(_sessionId, _options) {
31971
32057
  throw new Error("Not Implemented");
@@ -32090,6 +32176,11 @@ var PodOS = (() => {
32090
32176
  this.getAllSessionInfo = async () => {
32091
32177
  return this.sessionInfoManager.getAll();
32092
32178
  };
32179
+ this.loginHandler = loginHandler;
32180
+ this.redirectHandler = redirectHandler;
32181
+ this.logoutHandler = logoutHandler;
32182
+ this.sessionInfoManager = sessionInfoManager;
32183
+ this.issuerConfigFetcher = issuerConfigFetcher;
32093
32184
  }
32094
32185
  };
32095
32186
  async function loadOidcContextFromStorage(sessionId, storageUtility, configFetcher) {
@@ -32118,6 +32209,8 @@ var PodOS = (() => {
32118
32209
  constructor(secureStorage, insecureStorage) {
32119
32210
  this.secureStorage = secureStorage;
32120
32211
  this.insecureStorage = insecureStorage;
32212
+ this.secureStorage = secureStorage;
32213
+ this.insecureStorage = insecureStorage;
32121
32214
  }
32122
32215
  getKey(userId) {
32123
32216
  return `solidClientAuthenticationUser:${userId}`;
@@ -32620,7 +32713,7 @@ var PodOS = (() => {
32620
32713
  await this.sessionInfoManager.clear(options.sessionId);
32621
32714
  const redirectUrl = (_a = options.redirectUrl) !== null && _a !== void 0 ? _a : removeOidcQueryParam(window.location.href);
32622
32715
  if (!isValidRedirectUrl(redirectUrl)) {
32623
- throw new Error(`${redirectUrl} is not a valid redirect URL, it is either a malformed IRI or it includes a hash fragment.`);
32716
+ throw new Error(`${redirectUrl} is not a valid redirect URL, it is either a malformed IRI, includes a hash fragment, or reserved query parameters ('code' or 'state').`);
32624
32717
  }
32625
32718
  await this.loginHandler.handle({
32626
32719
  ...options,
@@ -32679,6 +32772,10 @@ var PodOS = (() => {
32679
32772
  this.oidcHandler = oidcHandler;
32680
32773
  this.issuerConfigFetcher = issuerConfigFetcher;
32681
32774
  this.clientRegistrar = clientRegistrar;
32775
+ this.storageUtility = storageUtility;
32776
+ this.oidcHandler = oidcHandler;
32777
+ this.issuerConfigFetcher = issuerConfigFetcher;
32778
+ this.clientRegistrar = clientRegistrar;
32682
32779
  }
32683
32780
  async canHandle(options) {
32684
32781
  return hasIssuer(options) && hasRedirectUrl(options);
@@ -32836,6 +32933,7 @@ var PodOS = (() => {
32836
32933
  var IssuerConfigFetcher = class _IssuerConfigFetcher {
32837
32934
  constructor(storageUtility) {
32838
32935
  this.storageUtility = storageUtility;
32936
+ this.storageUtility = storageUtility;
32839
32937
  }
32840
32938
  static getLocalStorageKey(issuer2) {
32841
32939
  return `issuerConfig:${issuer2}`;
@@ -32859,32 +32957,40 @@ var PodOS = (() => {
32859
32957
  }
32860
32958
  var SessionInfoManager = class extends SessionInfoManagerBase {
32861
32959
  async get(sessionId) {
32862
- var _a;
32863
- const isLoggedIn2 = await this.storageUtility.getForUser(sessionId, "isLoggedIn", {
32864
- secure: true
32865
- });
32866
- const webId = await this.storageUtility.getForUser(sessionId, "webId", {
32867
- secure: true
32868
- });
32869
- const clientId = await this.storageUtility.getForUser(sessionId, "clientId", {
32870
- secure: false
32871
- });
32872
- const clientSecret = await this.storageUtility.getForUser(sessionId, "clientSecret", {
32873
- secure: false
32874
- });
32875
- const redirectUrl = await this.storageUtility.getForUser(sessionId, "redirectUrl", {
32876
- secure: false
32877
- });
32878
- const refreshToken = await this.storageUtility.getForUser(sessionId, "refreshToken", {
32879
- secure: true
32880
- });
32881
- const issuer2 = await this.storageUtility.getForUser(sessionId, "issuer", {
32882
- secure: false
32883
- });
32884
- const tokenType = (_a = await this.storageUtility.getForUser(sessionId, "tokenType", {
32885
- secure: false
32886
- })) !== null && _a !== void 0 ? _a : "DPoP";
32887
- if (!isSupportedTokenType(tokenType)) {
32960
+ const [isLoggedIn2, webId, clientId, clientSecret, redirectUrl, refreshToken, issuer2, tokenType] = await Promise.all([
32961
+ this.storageUtility.getForUser(sessionId, "isLoggedIn", {
32962
+ secure: true
32963
+ }),
32964
+ this.storageUtility.getForUser(sessionId, "webId", {
32965
+ secure: true
32966
+ }),
32967
+ this.storageUtility.getForUser(sessionId, "clientId", {
32968
+ secure: false
32969
+ }),
32970
+ this.storageUtility.getForUser(sessionId, "clientSecret", {
32971
+ secure: false
32972
+ }),
32973
+ this.storageUtility.getForUser(sessionId, "redirectUrl", {
32974
+ secure: false
32975
+ }),
32976
+ this.storageUtility.getForUser(sessionId, "refreshToken", {
32977
+ secure: true
32978
+ }),
32979
+ this.storageUtility.getForUser(sessionId, "issuer", {
32980
+ secure: false
32981
+ }),
32982
+ this.storageUtility.getForUser(sessionId, "tokenType", {
32983
+ secure: false
32984
+ })
32985
+ ]);
32986
+ if (typeof redirectUrl === "string" && !isValidRedirectUrl(redirectUrl)) {
32987
+ await Promise.all([
32988
+ this.storageUtility.deleteAllUserData(sessionId, { secure: false }),
32989
+ this.storageUtility.deleteAllUserData(sessionId, { secure: true })
32990
+ ]);
32991
+ return void 0;
32992
+ }
32993
+ if (tokenType !== void 0 && !isSupportedTokenType(tokenType)) {
32888
32994
  throw new Error(`Tokens of type [${tokenType}] are not supported.`);
32889
32995
  }
32890
32996
  if (clientId === void 0 && isLoggedIn2 === void 0 && webId === void 0 && refreshToken === void 0) {
@@ -32899,7 +33005,7 @@ var PodOS = (() => {
32899
33005
  issuer: issuer2,
32900
33006
  clientAppId: clientId,
32901
33007
  clientAppSecret: clientSecret,
32902
- tokenType
33008
+ tokenType: tokenType !== null && tokenType !== void 0 ? tokenType : "DPoP"
32903
33009
  };
32904
33010
  }
32905
33011
  async clear(sessionId) {
@@ -32927,6 +33033,11 @@ var PodOS = (() => {
32927
33033
  this.issuerConfigFetcher = issuerConfigFetcher;
32928
33034
  this.clientRegistrar = clientRegistrar;
32929
33035
  this.tokerRefresher = tokerRefresher;
33036
+ this.storageUtility = storageUtility;
33037
+ this.sessionInfoManager = sessionInfoManager;
33038
+ this.issuerConfigFetcher = issuerConfigFetcher;
33039
+ this.clientRegistrar = clientRegistrar;
33040
+ this.tokerRefresher = tokerRefresher;
32930
33041
  }
32931
33042
  async canHandle(redirectUrl) {
32932
33043
  try {
@@ -33035,6 +33146,7 @@ var PodOS = (() => {
33035
33146
  var ClientRegistrar = class {
33036
33147
  constructor(storageUtility) {
33037
33148
  this.storageUtility = storageUtility;
33149
+ this.storageUtility = storageUtility;
33038
33150
  }
33039
33151
  async getClient(options, issuerConfig) {
33040
33152
  const [storedClientId, storedClientSecret] = await Promise.all([
@@ -33095,6 +33207,9 @@ var PodOS = (() => {
33095
33207
  this.storageUtility = storageUtility;
33096
33208
  this.issuerConfigFetcher = issuerConfigFetcher;
33097
33209
  this.clientRegistrar = clientRegistrar;
33210
+ this.storageUtility = storageUtility;
33211
+ this.issuerConfigFetcher = issuerConfigFetcher;
33212
+ this.clientRegistrar = clientRegistrar;
33098
33213
  }
33099
33214
  async refresh(sessionId, refreshToken, dpopKey, eventEmitter) {
33100
33215
  const oidcContext = await loadOidcContextFromStorage(sessionId, this.storageUtility, this.issuerConfigFetcher);
@@ -33357,13 +33472,13 @@ var PodOS = (() => {
33357
33472
  };
33358
33473
 
33359
33474
  // ../node_modules/@babel/runtime/helpers/esm/typeof.js
33360
- function _typeof(obj) {
33475
+ function _typeof(o) {
33361
33476
  "@babel/helpers - typeof";
33362
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
33363
- return typeof obj2;
33364
- } : function(obj2) {
33365
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
33366
- }, _typeof(obj);
33477
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
33478
+ return typeof o2;
33479
+ } : function(o2) {
33480
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
33481
+ }, _typeof(o);
33367
33482
  }
33368
33483
 
33369
33484
  // ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
@@ -46328,6 +46443,9 @@ var PodOS = (() => {
46328
46443
  this.store = store;
46329
46444
  this.editable = editable;
46330
46445
  }
46446
+ /**
46447
+ * Returns te URI of the preferences document
46448
+ */
46331
46449
  getPreferencesFile() {
46332
46450
  return this.store.anyValue(
46333
46451
  namedNode2(this.webId),
@@ -46336,6 +46454,9 @@ var PodOS = (() => {
46336
46454
  namedNode2(this.webId).doc()
46337
46455
  );
46338
46456
  }
46457
+ /**
46458
+ * Returns the URI of a private label index
46459
+ */
46339
46460
  getPrivateLabelIndex() {
46340
46461
  const index2 = this.store.anyValue(
46341
46462
  namedNode2(this.webId),
@@ -46391,6 +46512,9 @@ var PodOS = (() => {
46391
46512
  this.store = store;
46392
46513
  this.editable = editable;
46393
46514
  }
46515
+ /**
46516
+ * Returns the URIs and labels for all the things listed in the document.
46517
+ */
46394
46518
  getIndexedItems() {
46395
46519
  const matches = this.store.statementsMatching(
46396
46520
  null,
@@ -46425,12 +46549,28 @@ var PodOS = (() => {
46425
46549
  });
46426
46550
  });
46427
46551
  }
46552
+ /**
46553
+ * Search the index for a given term. It finds partial matches, but will rank exact matches higher.
46554
+ *
46555
+ * The rank order is:
46556
+ *
46557
+ * 1. exact matches
46558
+ * 2. prefix matches
46559
+ * 3. suffix matches
46560
+ * 4. any matches inside a literal
46561
+ *
46562
+ * @param term The (partial) term to search for
46563
+ * @param maxResults The maximum number of results to return (defaults to 10)
46564
+ */
46428
46565
  search(term3, maxResults = 10) {
46429
46566
  const escapedTerm = term3.replace(/[~^+:]/g, (x) => `\\${x}`);
46430
46567
  return this.index.search(
46431
46568
  `${escapedTerm}^100 ${escapedTerm}*^20 *${escapedTerm}^10 *${escapedTerm}*^5`
46432
46569
  ).slice(0, maxResults);
46433
46570
  }
46571
+ /**
46572
+ * Remove all data from the search index.
46573
+ */
46434
46574
  clear() {
46435
46575
  this.index = (0, import_lunr.default)(() => {
46436
46576
  });
@@ -46540,6 +46680,7 @@ var PodOS = (() => {
46540
46680
  sched: () => sched,
46541
46681
  schema: () => schema,
46542
46682
  schema_https: () => schema_https,
46683
+ sec: () => sec,
46543
46684
  sioc: () => sioc,
46544
46685
  skos: () => skos,
46545
46686
  solid: () => solid,
@@ -56475,7 +56616,7 @@ var PodOS = (() => {
56475
56616
  response: response3
56476
56617
  });
56477
56618
 
56478
- // ../node_modules/rdf-namespaces/dist/schema-73abb769.js
56619
+ // ../node_modules/rdf-namespaces/dist/schema-67aaaa22.js
56479
56620
  var AMRadioChannel = "http://schema.org/AMRadioChannel";
56480
56621
  var APIReference = "http://schema.org/APIReference";
56481
56622
  var AboutPage = "http://schema.org/AboutPage";
@@ -56641,6 +56782,7 @@ var PodOS = (() => {
56641
56782
  var ComputerStore = "http://schema.org/ComputerStore";
56642
56783
  var ConfirmAction = "http://schema.org/ConfirmAction";
56643
56784
  var Consortium = "http://schema.org/Consortium";
56785
+ var ConstraintNode = "http://schema.org/ConstraintNode";
56644
56786
  var ConsumeAction = "http://schema.org/ConsumeAction";
56645
56787
  var ContactPage = "http://schema.org/ContactPage";
56646
56788
  var ContactPoint2 = "http://schema.org/ContactPoint";
@@ -56916,6 +57058,7 @@ var PodOS = (() => {
56916
57058
  var Mass = "http://schema.org/Mass";
56917
57059
  var MathSolver = "http://schema.org/MathSolver";
56918
57060
  var MaximumDoseSchedule = "http://schema.org/MaximumDoseSchedule";
57061
+ var MeasurementMethodEnum = "http://schema.org/MeasurementMethodEnum";
56919
57062
  var MeasurementTypeEnumeration = "http://schema.org/MeasurementTypeEnumeration";
56920
57063
  var MediaGallery = "http://schema.org/MediaGallery";
56921
57064
  var MediaManipulationRatingEnumeration = "http://schema.org/MediaManipulationRatingEnumeration";
@@ -57098,6 +57241,7 @@ var PodOS = (() => {
57098
57241
  var PodcastSeason = "http://schema.org/PodcastSeason";
57099
57242
  var PodcastSeries = "http://schema.org/PodcastSeries";
57100
57243
  var PoliceStation = "http://schema.org/PoliceStation";
57244
+ var PoliticalParty = "http://schema.org/PoliticalParty";
57101
57245
  var Pond = "http://schema.org/Pond";
57102
57246
  var PostOffice = "http://schema.org/PostOffice";
57103
57247
  var PostalAddress = "http://schema.org/PostalAddress";
@@ -57252,6 +57396,7 @@ var PodOS = (() => {
57252
57396
  var State = "http://schema.org/State";
57253
57397
  var Statement3 = "http://schema.org/Statement";
57254
57398
  var StatisticalPopulation = "http://schema.org/StatisticalPopulation";
57399
+ var StatisticalVariable = "http://schema.org/StatisticalVariable";
57255
57400
  var StatusEnumeration = "http://schema.org/StatusEnumeration";
57256
57401
  var SteeringPositionValue = "http://schema.org/SteeringPositionValue";
57257
57402
  var Store2 = "http://schema.org/Store";
@@ -57264,6 +57409,7 @@ var PodOS = (() => {
57264
57409
  var SuperficialAnatomy = "http://schema.org/SuperficialAnatomy";
57265
57410
  var SurgicalProcedure = "http://schema.org/SurgicalProcedure";
57266
57411
  var SuspendAction = "http://schema.org/SuspendAction";
57412
+ var Syllabus = "http://schema.org/Syllabus";
57267
57413
  var Synagogue = "http://schema.org/Synagogue";
57268
57414
  var TVClip = "http://schema.org/TVClip";
57269
57415
  var TVEpisode = "http://schema.org/TVEpisode";
@@ -57283,6 +57429,7 @@ var PodOS = (() => {
57283
57429
  var TennisComplex = "http://schema.org/TennisComplex";
57284
57430
  var Text = "http://schema.org/Text";
57285
57431
  var TextDigitalDocument = "http://schema.org/TextDigitalDocument";
57432
+ var TextObject = "http://schema.org/TextObject";
57286
57433
  var TheaterEvent = "http://schema.org/TheaterEvent";
57287
57434
  var TheaterGroup = "http://schema.org/TheaterGroup";
57288
57435
  var TherapeuticProcedure = "http://schema.org/TherapeuticProcedure";
@@ -57327,6 +57474,7 @@ var PodOS = (() => {
57327
57474
  var UserPlusOnes = "http://schema.org/UserPlusOnes";
57328
57475
  var UserReview = "http://schema.org/UserReview";
57329
57476
  var UserTweets = "http://schema.org/UserTweets";
57477
+ var VacationRental = "http://schema.org/VacationRental";
57330
57478
  var Vehicle = "http://schema.org/Vehicle";
57331
57479
  var Vein = "http://schema.org/Vein";
57332
57480
  var Vessel = "http://schema.org/Vessel";
@@ -57614,7 +57762,7 @@ var PodOS = (() => {
57614
57762
  var conditionsOfAccess = "http://schema.org/conditionsOfAccess";
57615
57763
  var confirmationNumber = "http://schema.org/confirmationNumber";
57616
57764
  var connectedTo = "http://schema.org/connectedTo";
57617
- var constrainingProperty = "http://schema.org/constrainingProperty";
57765
+ var constraintProperty = "http://schema.org/constraintProperty";
57618
57766
  var contactOption = "http://schema.org/contactOption";
57619
57767
  var contactPoints = "http://schema.org/contactPoints";
57620
57768
  var contactType = "http://schema.org/contactType";
@@ -57647,6 +57795,7 @@ var PodOS = (() => {
57647
57795
  var courseCode = "http://schema.org/courseCode";
57648
57796
  var courseMode = "http://schema.org/courseMode";
57649
57797
  var coursePrerequisites = "http://schema.org/coursePrerequisites";
57798
+ var courseSchedule = "http://schema.org/courseSchedule";
57650
57799
  var courseWorkload = "http://schema.org/courseWorkload";
57651
57800
  var coverageEndTime = "http://schema.org/coverageEndTime";
57652
57801
  var coverageStartTime = "http://schema.org/coverageStartTime";
@@ -58100,8 +58249,9 @@ var PodOS = (() => {
58100
58249
  var maximumVirtualAttendeeCapacity = "http://schema.org/maximumVirtualAttendeeCapacity";
58101
58250
  var mealService = "http://schema.org/mealService";
58102
58251
  var measuredProperty = "http://schema.org/measuredProperty";
58103
- var measuredValue = "http://schema.org/measuredValue";
58104
- var measurementTechnique = "http://schema.org/measurementTechnique";
58252
+ var measurementDenominator = "http://schema.org/measurementDenominator";
58253
+ var measurementMethod = "http://schema.org/measurementMethod";
58254
+ var measurementQualifier = "http://schema.org/measurementQualifier";
58105
58255
  var mechanismOfAction = "http://schema.org/mechanismOfAction";
58106
58256
  var mediaAuthenticityCategory = "http://schema.org/mediaAuthenticityCategory";
58107
58257
  var mediaItemAppearance = "http://schema.org/mediaItemAppearance";
@@ -58186,8 +58336,9 @@ var PodOS = (() => {
58186
58336
  var numberOfSeasons = "http://schema.org/numberOfSeasons";
58187
58337
  var numberedPosition = "http://schema.org/numberedPosition";
58188
58338
  var nutrition = "http://schema.org/nutrition";
58339
+ var observationAbout = "http://schema.org/observationAbout";
58189
58340
  var observationDate = "http://schema.org/observationDate";
58190
- var observedNode = "http://schema.org/observedNode";
58341
+ var observationPeriod = "http://schema.org/observationPeriod";
58191
58342
  var occupancy = "http://schema.org/occupancy";
58192
58343
  var occupationLocation = "http://schema.org/occupationLocation";
58193
58344
  var occupationalCategory = "http://schema.org/occupationalCategory";
@@ -58509,6 +58660,7 @@ var PodOS = (() => {
58509
58660
  var startDate2 = "http://schema.org/startDate";
58510
58661
  var startOffset = "http://schema.org/startOffset";
58511
58662
  var startTime2 = "http://schema.org/startTime";
58663
+ var statType = "http://schema.org/statType";
58512
58664
  var status5 = "http://schema.org/status";
58513
58665
  var steeringPosition = "http://schema.org/steeringPosition";
58514
58666
  var stepValue = "http://schema.org/stepValue";
@@ -58541,6 +58693,7 @@ var PodOS = (() => {
58541
58693
  var supplyTo = "http://schema.org/supplyTo";
58542
58694
  var supportingData = "http://schema.org/supportingData";
58543
58695
  var surface = "http://schema.org/surface";
58696
+ var syllabusSections = "http://schema.org/syllabusSections";
58544
58697
  var target3 = "http://schema.org/target";
58545
58698
  var targetDescription = "http://schema.org/targetDescription";
58546
58699
  var targetName = "http://schema.org/targetName";
@@ -58578,6 +58731,7 @@ var PodOS = (() => {
58578
58731
  var tongueWeight = "http://schema.org/tongueWeight";
58579
58732
  var tool = "http://schema.org/tool";
58580
58733
  var torque = "http://schema.org/torque";
58734
+ var totalHistoricalEnrollment = "http://schema.org/totalHistoricalEnrollment";
58581
58735
  var totalJobOpenings = "http://schema.org/totalJobOpenings";
58582
58736
  var totalPaymentDue = "http://schema.org/totalPaymentDue";
58583
58737
  var totalPrice = "http://schema.org/totalPrice";
@@ -58601,6 +58755,7 @@ var PodOS = (() => {
58601
58755
  var travelBans = "http://schema.org/travelBans";
58602
58756
  var trialDesign = "http://schema.org/trialDesign";
58603
58757
  var tributary = "http://schema.org/tributary";
58758
+ var tripOrigin = "http://schema.org/tripOrigin";
58604
58759
  var typeOfBed = "http://schema.org/typeOfBed";
58605
58760
  var typeOfGood = "http://schema.org/typeOfGood";
58606
58761
  var typicalAgeRange = "http://schema.org/typicalAgeRange";
@@ -58748,6 +58903,7 @@ var PodOS = (() => {
58748
58903
  var mainEntity = "http://schema.org/mainEntity";
58749
58904
  var mainEntityOfPage = "http://schema.org/mainEntityOfPage";
58750
58905
  var makesOffer = "http://schema.org/makesOffer";
58906
+ var measurementTechnique = "http://schema.org/measurementTechnique";
58751
58907
  var merchantReturnDays = "http://schema.org/merchantReturnDays";
58752
58908
  var merchantReturnLink = "http://schema.org/merchantReturnLink";
58753
58909
  var offeredBy = "http://schema.org/offeredBy";
@@ -58994,6 +59150,7 @@ var PodOS = (() => {
58994
59150
  ComputerStore,
58995
59151
  ConfirmAction,
58996
59152
  Consortium,
59153
+ ConstraintNode,
58997
59154
  ConsumeAction,
58998
59155
  ContactPage,
58999
59156
  ContactPoint: ContactPoint2,
@@ -59269,6 +59426,7 @@ var PodOS = (() => {
59269
59426
  Mass,
59270
59427
  MathSolver,
59271
59428
  MaximumDoseSchedule,
59429
+ MeasurementMethodEnum,
59272
59430
  MeasurementTypeEnumeration,
59273
59431
  MediaGallery,
59274
59432
  MediaManipulationRatingEnumeration,
@@ -59451,6 +59609,7 @@ var PodOS = (() => {
59451
59609
  PodcastSeason,
59452
59610
  PodcastSeries,
59453
59611
  PoliceStation,
59612
+ PoliticalParty,
59454
59613
  Pond,
59455
59614
  PostOffice,
59456
59615
  PostalAddress,
@@ -59605,6 +59764,7 @@ var PodOS = (() => {
59605
59764
  State,
59606
59765
  Statement: Statement3,
59607
59766
  StatisticalPopulation,
59767
+ StatisticalVariable,
59608
59768
  StatusEnumeration,
59609
59769
  SteeringPositionValue,
59610
59770
  Store: Store2,
@@ -59617,6 +59777,7 @@ var PodOS = (() => {
59617
59777
  SuperficialAnatomy,
59618
59778
  SurgicalProcedure,
59619
59779
  SuspendAction,
59780
+ Syllabus,
59620
59781
  Synagogue,
59621
59782
  TVClip,
59622
59783
  TVEpisode,
@@ -59636,6 +59797,7 @@ var PodOS = (() => {
59636
59797
  TennisComplex,
59637
59798
  Text,
59638
59799
  TextDigitalDocument,
59800
+ TextObject,
59639
59801
  TheaterEvent,
59640
59802
  TheaterGroup,
59641
59803
  TherapeuticProcedure,
@@ -59680,6 +59842,7 @@ var PodOS = (() => {
59680
59842
  UserPlusOnes,
59681
59843
  UserReview,
59682
59844
  UserTweets,
59845
+ VacationRental,
59683
59846
  Vehicle,
59684
59847
  Vein,
59685
59848
  Vessel,
@@ -59967,7 +60130,7 @@ var PodOS = (() => {
59967
60130
  conditionsOfAccess,
59968
60131
  confirmationNumber,
59969
60132
  connectedTo,
59970
- constrainingProperty,
60133
+ constraintProperty,
59971
60134
  contactOption,
59972
60135
  contactPoints,
59973
60136
  contactType,
@@ -60000,6 +60163,7 @@ var PodOS = (() => {
60000
60163
  courseCode,
60001
60164
  courseMode,
60002
60165
  coursePrerequisites,
60166
+ courseSchedule,
60003
60167
  courseWorkload,
60004
60168
  coverageEndTime,
60005
60169
  coverageStartTime,
@@ -60453,8 +60617,9 @@ var PodOS = (() => {
60453
60617
  maximumVirtualAttendeeCapacity,
60454
60618
  mealService,
60455
60619
  measuredProperty,
60456
- measuredValue,
60457
- measurementTechnique,
60620
+ measurementDenominator,
60621
+ measurementMethod,
60622
+ measurementQualifier,
60458
60623
  mechanismOfAction,
60459
60624
  mediaAuthenticityCategory,
60460
60625
  mediaItemAppearance,
@@ -60539,8 +60704,9 @@ var PodOS = (() => {
60539
60704
  numberOfSeasons,
60540
60705
  numberedPosition,
60541
60706
  nutrition,
60707
+ observationAbout,
60542
60708
  observationDate,
60543
- observedNode,
60709
+ observationPeriod,
60544
60710
  occupancy,
60545
60711
  occupationLocation,
60546
60712
  occupationalCategory,
@@ -60862,6 +61028,7 @@ var PodOS = (() => {
60862
61028
  startDate: startDate2,
60863
61029
  startOffset,
60864
61030
  startTime: startTime2,
61031
+ statType,
60865
61032
  status: status5,
60866
61033
  steeringPosition,
60867
61034
  stepValue,
@@ -60894,6 +61061,7 @@ var PodOS = (() => {
60894
61061
  supplyTo,
60895
61062
  supportingData,
60896
61063
  surface,
61064
+ syllabusSections,
60897
61065
  target: target3,
60898
61066
  targetDescription,
60899
61067
  targetName,
@@ -60931,6 +61099,7 @@ var PodOS = (() => {
60931
61099
  tongueWeight,
60932
61100
  tool,
60933
61101
  torque,
61102
+ totalHistoricalEnrollment,
60934
61103
  totalJobOpenings,
60935
61104
  totalPaymentDue,
60936
61105
  totalPrice,
@@ -60954,6 +61123,7 @@ var PodOS = (() => {
60954
61123
  travelBans,
60955
61124
  trialDesign,
60956
61125
  tributary,
61126
+ tripOrigin,
60957
61127
  typeOfBed,
60958
61128
  typeOfGood,
60959
61129
  typicalAgeRange,
@@ -61101,6 +61271,7 @@ var PodOS = (() => {
61101
61271
  mainEntity,
61102
61272
  mainEntityOfPage,
61103
61273
  makesOffer,
61274
+ measurementTechnique,
61104
61275
  merchantReturnDays,
61105
61276
  merchantReturnLink,
61106
61277
  offeredBy,
@@ -61183,7 +61354,7 @@ var PodOS = (() => {
61183
61354
  identifier: identifier4
61184
61355
  });
61185
61356
 
61186
- // ../node_modules/rdf-namespaces/dist/schema_https-29c7f9bc.js
61357
+ // ../node_modules/rdf-namespaces/dist/schema_https-33c5f793.js
61187
61358
  var AMRadioChannel2 = "https://schema.org/AMRadioChannel";
61188
61359
  var APIReference2 = "https://schema.org/APIReference";
61189
61360
  var AboutPage2 = "https://schema.org/AboutPage";
@@ -61349,6 +61520,7 @@ var PodOS = (() => {
61349
61520
  var ComputerStore2 = "https://schema.org/ComputerStore";
61350
61521
  var ConfirmAction2 = "https://schema.org/ConfirmAction";
61351
61522
  var Consortium2 = "https://schema.org/Consortium";
61523
+ var ConstraintNode2 = "https://schema.org/ConstraintNode";
61352
61524
  var ConsumeAction2 = "https://schema.org/ConsumeAction";
61353
61525
  var ContactPage2 = "https://schema.org/ContactPage";
61354
61526
  var ContactPoint3 = "https://schema.org/ContactPoint";
@@ -61624,6 +61796,7 @@ var PodOS = (() => {
61624
61796
  var Mass2 = "https://schema.org/Mass";
61625
61797
  var MathSolver2 = "https://schema.org/MathSolver";
61626
61798
  var MaximumDoseSchedule2 = "https://schema.org/MaximumDoseSchedule";
61799
+ var MeasurementMethodEnum2 = "https://schema.org/MeasurementMethodEnum";
61627
61800
  var MeasurementTypeEnumeration2 = "https://schema.org/MeasurementTypeEnumeration";
61628
61801
  var MediaGallery2 = "https://schema.org/MediaGallery";
61629
61802
  var MediaManipulationRatingEnumeration2 = "https://schema.org/MediaManipulationRatingEnumeration";
@@ -61806,6 +61979,7 @@ var PodOS = (() => {
61806
61979
  var PodcastSeason2 = "https://schema.org/PodcastSeason";
61807
61980
  var PodcastSeries2 = "https://schema.org/PodcastSeries";
61808
61981
  var PoliceStation2 = "https://schema.org/PoliceStation";
61982
+ var PoliticalParty2 = "https://schema.org/PoliticalParty";
61809
61983
  var Pond2 = "https://schema.org/Pond";
61810
61984
  var PostOffice2 = "https://schema.org/PostOffice";
61811
61985
  var PostalAddress2 = "https://schema.org/PostalAddress";
@@ -61960,6 +62134,7 @@ var PodOS = (() => {
61960
62134
  var State2 = "https://schema.org/State";
61961
62135
  var Statement4 = "https://schema.org/Statement";
61962
62136
  var StatisticalPopulation2 = "https://schema.org/StatisticalPopulation";
62137
+ var StatisticalVariable2 = "https://schema.org/StatisticalVariable";
61963
62138
  var StatusEnumeration2 = "https://schema.org/StatusEnumeration";
61964
62139
  var SteeringPositionValue2 = "https://schema.org/SteeringPositionValue";
61965
62140
  var Store3 = "https://schema.org/Store";
@@ -61972,6 +62147,7 @@ var PodOS = (() => {
61972
62147
  var SuperficialAnatomy2 = "https://schema.org/SuperficialAnatomy";
61973
62148
  var SurgicalProcedure2 = "https://schema.org/SurgicalProcedure";
61974
62149
  var SuspendAction2 = "https://schema.org/SuspendAction";
62150
+ var Syllabus2 = "https://schema.org/Syllabus";
61975
62151
  var Synagogue2 = "https://schema.org/Synagogue";
61976
62152
  var TVClip2 = "https://schema.org/TVClip";
61977
62153
  var TVEpisode2 = "https://schema.org/TVEpisode";
@@ -61991,6 +62167,7 @@ var PodOS = (() => {
61991
62167
  var TennisComplex2 = "https://schema.org/TennisComplex";
61992
62168
  var Text2 = "https://schema.org/Text";
61993
62169
  var TextDigitalDocument2 = "https://schema.org/TextDigitalDocument";
62170
+ var TextObject2 = "https://schema.org/TextObject";
61994
62171
  var TheaterEvent2 = "https://schema.org/TheaterEvent";
61995
62172
  var TheaterGroup2 = "https://schema.org/TheaterGroup";
61996
62173
  var TherapeuticProcedure2 = "https://schema.org/TherapeuticProcedure";
@@ -62035,6 +62212,7 @@ var PodOS = (() => {
62035
62212
  var UserPlusOnes2 = "https://schema.org/UserPlusOnes";
62036
62213
  var UserReview2 = "https://schema.org/UserReview";
62037
62214
  var UserTweets2 = "https://schema.org/UserTweets";
62215
+ var VacationRental2 = "https://schema.org/VacationRental";
62038
62216
  var Vehicle2 = "https://schema.org/Vehicle";
62039
62217
  var Vein2 = "https://schema.org/Vein";
62040
62218
  var Vessel2 = "https://schema.org/Vessel";
@@ -62322,7 +62500,7 @@ var PodOS = (() => {
62322
62500
  var conditionsOfAccess2 = "https://schema.org/conditionsOfAccess";
62323
62501
  var confirmationNumber2 = "https://schema.org/confirmationNumber";
62324
62502
  var connectedTo2 = "https://schema.org/connectedTo";
62325
- var constrainingProperty2 = "https://schema.org/constrainingProperty";
62503
+ var constraintProperty2 = "https://schema.org/constraintProperty";
62326
62504
  var contactOption2 = "https://schema.org/contactOption";
62327
62505
  var contactPoints2 = "https://schema.org/contactPoints";
62328
62506
  var contactType2 = "https://schema.org/contactType";
@@ -62355,6 +62533,7 @@ var PodOS = (() => {
62355
62533
  var courseCode2 = "https://schema.org/courseCode";
62356
62534
  var courseMode2 = "https://schema.org/courseMode";
62357
62535
  var coursePrerequisites2 = "https://schema.org/coursePrerequisites";
62536
+ var courseSchedule2 = "https://schema.org/courseSchedule";
62358
62537
  var courseWorkload2 = "https://schema.org/courseWorkload";
62359
62538
  var coverageEndTime2 = "https://schema.org/coverageEndTime";
62360
62539
  var coverageStartTime2 = "https://schema.org/coverageStartTime";
@@ -62808,8 +62987,9 @@ var PodOS = (() => {
62808
62987
  var maximumVirtualAttendeeCapacity2 = "https://schema.org/maximumVirtualAttendeeCapacity";
62809
62988
  var mealService2 = "https://schema.org/mealService";
62810
62989
  var measuredProperty2 = "https://schema.org/measuredProperty";
62811
- var measuredValue2 = "https://schema.org/measuredValue";
62812
- var measurementTechnique2 = "https://schema.org/measurementTechnique";
62990
+ var measurementDenominator2 = "https://schema.org/measurementDenominator";
62991
+ var measurementMethod2 = "https://schema.org/measurementMethod";
62992
+ var measurementQualifier2 = "https://schema.org/measurementQualifier";
62813
62993
  var mechanismOfAction2 = "https://schema.org/mechanismOfAction";
62814
62994
  var mediaAuthenticityCategory2 = "https://schema.org/mediaAuthenticityCategory";
62815
62995
  var mediaItemAppearance2 = "https://schema.org/mediaItemAppearance";
@@ -62894,8 +63074,9 @@ var PodOS = (() => {
62894
63074
  var numberOfSeasons2 = "https://schema.org/numberOfSeasons";
62895
63075
  var numberedPosition2 = "https://schema.org/numberedPosition";
62896
63076
  var nutrition2 = "https://schema.org/nutrition";
63077
+ var observationAbout2 = "https://schema.org/observationAbout";
62897
63078
  var observationDate2 = "https://schema.org/observationDate";
62898
- var observedNode2 = "https://schema.org/observedNode";
63079
+ var observationPeriod2 = "https://schema.org/observationPeriod";
62899
63080
  var occupancy2 = "https://schema.org/occupancy";
62900
63081
  var occupationLocation2 = "https://schema.org/occupationLocation";
62901
63082
  var occupationalCategory2 = "https://schema.org/occupationalCategory";
@@ -63217,6 +63398,7 @@ var PodOS = (() => {
63217
63398
  var startDate3 = "https://schema.org/startDate";
63218
63399
  var startOffset2 = "https://schema.org/startOffset";
63219
63400
  var startTime3 = "https://schema.org/startTime";
63401
+ var statType2 = "https://schema.org/statType";
63220
63402
  var status6 = "https://schema.org/status";
63221
63403
  var steeringPosition2 = "https://schema.org/steeringPosition";
63222
63404
  var stepValue2 = "https://schema.org/stepValue";
@@ -63249,6 +63431,7 @@ var PodOS = (() => {
63249
63431
  var supplyTo2 = "https://schema.org/supplyTo";
63250
63432
  var supportingData2 = "https://schema.org/supportingData";
63251
63433
  var surface2 = "https://schema.org/surface";
63434
+ var syllabusSections2 = "https://schema.org/syllabusSections";
63252
63435
  var target4 = "https://schema.org/target";
63253
63436
  var targetDescription2 = "https://schema.org/targetDescription";
63254
63437
  var targetName2 = "https://schema.org/targetName";
@@ -63286,6 +63469,7 @@ var PodOS = (() => {
63286
63469
  var tongueWeight2 = "https://schema.org/tongueWeight";
63287
63470
  var tool2 = "https://schema.org/tool";
63288
63471
  var torque2 = "https://schema.org/torque";
63472
+ var totalHistoricalEnrollment2 = "https://schema.org/totalHistoricalEnrollment";
63289
63473
  var totalJobOpenings2 = "https://schema.org/totalJobOpenings";
63290
63474
  var totalPaymentDue2 = "https://schema.org/totalPaymentDue";
63291
63475
  var totalPrice2 = "https://schema.org/totalPrice";
@@ -63309,6 +63493,7 @@ var PodOS = (() => {
63309
63493
  var travelBans2 = "https://schema.org/travelBans";
63310
63494
  var trialDesign2 = "https://schema.org/trialDesign";
63311
63495
  var tributary2 = "https://schema.org/tributary";
63496
+ var tripOrigin2 = "https://schema.org/tripOrigin";
63312
63497
  var typeOfBed2 = "https://schema.org/typeOfBed";
63313
63498
  var typeOfGood2 = "https://schema.org/typeOfGood";
63314
63499
  var typicalAgeRange2 = "https://schema.org/typicalAgeRange";
@@ -63456,6 +63641,7 @@ var PodOS = (() => {
63456
63641
  var mainEntity2 = "https://schema.org/mainEntity";
63457
63642
  var mainEntityOfPage2 = "https://schema.org/mainEntityOfPage";
63458
63643
  var makesOffer2 = "https://schema.org/makesOffer";
63644
+ var measurementTechnique2 = "https://schema.org/measurementTechnique";
63459
63645
  var merchantReturnDays2 = "https://schema.org/merchantReturnDays";
63460
63646
  var merchantReturnLink2 = "https://schema.org/merchantReturnLink";
63461
63647
  var offeredBy2 = "https://schema.org/offeredBy";
@@ -63702,6 +63888,7 @@ var PodOS = (() => {
63702
63888
  ComputerStore: ComputerStore2,
63703
63889
  ConfirmAction: ConfirmAction2,
63704
63890
  Consortium: Consortium2,
63891
+ ConstraintNode: ConstraintNode2,
63705
63892
  ConsumeAction: ConsumeAction2,
63706
63893
  ContactPage: ContactPage2,
63707
63894
  ContactPoint: ContactPoint3,
@@ -63977,6 +64164,7 @@ var PodOS = (() => {
63977
64164
  Mass: Mass2,
63978
64165
  MathSolver: MathSolver2,
63979
64166
  MaximumDoseSchedule: MaximumDoseSchedule2,
64167
+ MeasurementMethodEnum: MeasurementMethodEnum2,
63980
64168
  MeasurementTypeEnumeration: MeasurementTypeEnumeration2,
63981
64169
  MediaGallery: MediaGallery2,
63982
64170
  MediaManipulationRatingEnumeration: MediaManipulationRatingEnumeration2,
@@ -64159,6 +64347,7 @@ var PodOS = (() => {
64159
64347
  PodcastSeason: PodcastSeason2,
64160
64348
  PodcastSeries: PodcastSeries2,
64161
64349
  PoliceStation: PoliceStation2,
64350
+ PoliticalParty: PoliticalParty2,
64162
64351
  Pond: Pond2,
64163
64352
  PostOffice: PostOffice2,
64164
64353
  PostalAddress: PostalAddress2,
@@ -64313,6 +64502,7 @@ var PodOS = (() => {
64313
64502
  State: State2,
64314
64503
  Statement: Statement4,
64315
64504
  StatisticalPopulation: StatisticalPopulation2,
64505
+ StatisticalVariable: StatisticalVariable2,
64316
64506
  StatusEnumeration: StatusEnumeration2,
64317
64507
  SteeringPositionValue: SteeringPositionValue2,
64318
64508
  Store: Store3,
@@ -64325,6 +64515,7 @@ var PodOS = (() => {
64325
64515
  SuperficialAnatomy: SuperficialAnatomy2,
64326
64516
  SurgicalProcedure: SurgicalProcedure2,
64327
64517
  SuspendAction: SuspendAction2,
64518
+ Syllabus: Syllabus2,
64328
64519
  Synagogue: Synagogue2,
64329
64520
  TVClip: TVClip2,
64330
64521
  TVEpisode: TVEpisode2,
@@ -64344,6 +64535,7 @@ var PodOS = (() => {
64344
64535
  TennisComplex: TennisComplex2,
64345
64536
  Text: Text2,
64346
64537
  TextDigitalDocument: TextDigitalDocument2,
64538
+ TextObject: TextObject2,
64347
64539
  TheaterEvent: TheaterEvent2,
64348
64540
  TheaterGroup: TheaterGroup2,
64349
64541
  TherapeuticProcedure: TherapeuticProcedure2,
@@ -64388,6 +64580,7 @@ var PodOS = (() => {
64388
64580
  UserPlusOnes: UserPlusOnes2,
64389
64581
  UserReview: UserReview2,
64390
64582
  UserTweets: UserTweets2,
64583
+ VacationRental: VacationRental2,
64391
64584
  Vehicle: Vehicle2,
64392
64585
  Vein: Vein2,
64393
64586
  Vessel: Vessel2,
@@ -64675,7 +64868,7 @@ var PodOS = (() => {
64675
64868
  conditionsOfAccess: conditionsOfAccess2,
64676
64869
  confirmationNumber: confirmationNumber2,
64677
64870
  connectedTo: connectedTo2,
64678
- constrainingProperty: constrainingProperty2,
64871
+ constraintProperty: constraintProperty2,
64679
64872
  contactOption: contactOption2,
64680
64873
  contactPoints: contactPoints2,
64681
64874
  contactType: contactType2,
@@ -64708,6 +64901,7 @@ var PodOS = (() => {
64708
64901
  courseCode: courseCode2,
64709
64902
  courseMode: courseMode2,
64710
64903
  coursePrerequisites: coursePrerequisites2,
64904
+ courseSchedule: courseSchedule2,
64711
64905
  courseWorkload: courseWorkload2,
64712
64906
  coverageEndTime: coverageEndTime2,
64713
64907
  coverageStartTime: coverageStartTime2,
@@ -65161,8 +65355,9 @@ var PodOS = (() => {
65161
65355
  maximumVirtualAttendeeCapacity: maximumVirtualAttendeeCapacity2,
65162
65356
  mealService: mealService2,
65163
65357
  measuredProperty: measuredProperty2,
65164
- measuredValue: measuredValue2,
65165
- measurementTechnique: measurementTechnique2,
65358
+ measurementDenominator: measurementDenominator2,
65359
+ measurementMethod: measurementMethod2,
65360
+ measurementQualifier: measurementQualifier2,
65166
65361
  mechanismOfAction: mechanismOfAction2,
65167
65362
  mediaAuthenticityCategory: mediaAuthenticityCategory2,
65168
65363
  mediaItemAppearance: mediaItemAppearance2,
@@ -65247,8 +65442,9 @@ var PodOS = (() => {
65247
65442
  numberOfSeasons: numberOfSeasons2,
65248
65443
  numberedPosition: numberedPosition2,
65249
65444
  nutrition: nutrition2,
65445
+ observationAbout: observationAbout2,
65250
65446
  observationDate: observationDate2,
65251
- observedNode: observedNode2,
65447
+ observationPeriod: observationPeriod2,
65252
65448
  occupancy: occupancy2,
65253
65449
  occupationLocation: occupationLocation2,
65254
65450
  occupationalCategory: occupationalCategory2,
@@ -65570,6 +65766,7 @@ var PodOS = (() => {
65570
65766
  startDate: startDate3,
65571
65767
  startOffset: startOffset2,
65572
65768
  startTime: startTime3,
65769
+ statType: statType2,
65573
65770
  status: status6,
65574
65771
  steeringPosition: steeringPosition2,
65575
65772
  stepValue: stepValue2,
@@ -65602,6 +65799,7 @@ var PodOS = (() => {
65602
65799
  supplyTo: supplyTo2,
65603
65800
  supportingData: supportingData2,
65604
65801
  surface: surface2,
65802
+ syllabusSections: syllabusSections2,
65605
65803
  target: target4,
65606
65804
  targetDescription: targetDescription2,
65607
65805
  targetName: targetName2,
@@ -65639,6 +65837,7 @@ var PodOS = (() => {
65639
65837
  tongueWeight: tongueWeight2,
65640
65838
  tool: tool2,
65641
65839
  torque: torque2,
65840
+ totalHistoricalEnrollment: totalHistoricalEnrollment2,
65642
65841
  totalJobOpenings: totalJobOpenings2,
65643
65842
  totalPaymentDue: totalPaymentDue2,
65644
65843
  totalPrice: totalPrice2,
@@ -65662,6 +65861,7 @@ var PodOS = (() => {
65662
65861
  travelBans: travelBans2,
65663
65862
  trialDesign: trialDesign2,
65664
65863
  tributary: tributary2,
65864
+ tripOrigin: tripOrigin2,
65665
65865
  typeOfBed: typeOfBed2,
65666
65866
  typeOfGood: typeOfGood2,
65667
65867
  typicalAgeRange: typicalAgeRange2,
@@ -65809,6 +66009,7 @@ var PodOS = (() => {
65809
66009
  mainEntity: mainEntity2,
65810
66010
  mainEntityOfPage: mainEntityOfPage2,
65811
66011
  makesOffer: makesOffer2,
66012
+ measurementTechnique: measurementTechnique2,
65812
66013
  merchantReturnDays: merchantReturnDays2,
65813
66014
  merchantReturnLink: merchantReturnLink2,
65814
66015
  offeredBy: offeredBy2,
@@ -65891,6 +66092,70 @@ var PodOS = (() => {
65891
66092
  identifier: identifier5
65892
66093
  });
65893
66094
 
66095
+ // ../node_modules/rdf-namespaces/dist/sec-5a58a07a.js
66096
+ var Proof = "https://w3id.org/security#Proof";
66097
+ var ProofGraph = "https://w3id.org/security#ProofGraph";
66098
+ var VerificationMethod = "https://w3id.org/security#VerificationMethod";
66099
+ var DataIntegrityProof = "https://w3id.org/security#DataIntegrityProof";
66100
+ var Multikey = "https://w3id.org/security#Multikey";
66101
+ var JsonWebKey = "https://w3id.org/security#JsonWebKey";
66102
+ var Ed25519VerificationKey2020 = "https://w3id.org/security#Ed25519VerificationKey2020";
66103
+ var Ed25519Signature2020 = "https://w3id.org/security#Ed25519Signature2020";
66104
+ var ProcessingError = "https://w3id.org/security#ProcessingError";
66105
+ var Key = "https://w3id.org/security#Key";
66106
+ var EcdsaSecp256k1Signature2019 = "https://w3id.org/security#EcdsaSecp256k1Signature2019";
66107
+ var EcdsaSecp256k1Signature2020 = "https://w3id.org/security#EcdsaSecp256k1Signature2020";
66108
+ var EcdsaSecp256k1VerificationKey2019 = "https://w3id.org/security#EcdsaSecp256k1VerificationKey2019";
66109
+ var EcdsaSecp256k1RecoverySignature2020 = "https://w3id.org/security#EcdsaSecp256k1RecoverySignature2020";
66110
+ var EcdsaSecp256k1RecoveryMethod2020 = "https://w3id.org/security#EcdsaSecp256k1RecoveryMethod2020";
66111
+ var MerkleProof2019 = "https://w3id.org/security#MerkleProof2019";
66112
+ var X25519KeyAgreementKey2019 = "https://w3id.org/security#X25519KeyAgreementKey2019";
66113
+ var Ed25519VerificationKey2018 = "https://w3id.org/security#Ed25519VerificationKey2018";
66114
+ var JsonWebKey2020 = "https://w3id.org/security#JsonWebKey2020";
66115
+ var JsonWebSignature2020 = "https://w3id.org/security#JsonWebSignature2020";
66116
+ var BbsBlsSignature2020 = "https://w3id.org/security#BbsBlsSignature2020";
66117
+ var BbsBlsSignatureProof2020 = "https://w3id.org/security#BbsBlsSignatureProof2020";
66118
+ var Bls12381G1Key2020 = "https://w3id.org/security#Bls12381G1Key2020";
66119
+ var Bls12381G2Key2020 = "https://w3id.org/security#Bls12381G2Key2020";
66120
+ var blockchainAccountId = "https://w3id.org/security#blockchainAccountId";
66121
+ var ethereumAddress = "https://w3id.org/security#ethereumAddress";
66122
+ var publicKeyBase58 = "https://w3id.org/security#publicKeyBase58";
66123
+ var publicKeyPem = "https://w3id.org/security#publicKeyPem";
66124
+ var publicKeyHex = "https://w3id.org/security#publicKeyHex";
66125
+ var jws = "https://w3id.org/security#jws";
66126
+ var secImport = /* @__PURE__ */ Object.freeze({
66127
+ Proof,
66128
+ ProofGraph,
66129
+ VerificationMethod,
66130
+ DataIntegrityProof,
66131
+ Multikey,
66132
+ JsonWebKey,
66133
+ Ed25519VerificationKey2020,
66134
+ Ed25519Signature2020,
66135
+ ProcessingError,
66136
+ Key,
66137
+ EcdsaSecp256k1Signature2019,
66138
+ EcdsaSecp256k1Signature2020,
66139
+ EcdsaSecp256k1VerificationKey2019,
66140
+ EcdsaSecp256k1RecoverySignature2020,
66141
+ EcdsaSecp256k1RecoveryMethod2020,
66142
+ MerkleProof2019,
66143
+ X25519KeyAgreementKey2019,
66144
+ Ed25519VerificationKey2018,
66145
+ JsonWebKey2020,
66146
+ JsonWebSignature2020,
66147
+ BbsBlsSignature2020,
66148
+ BbsBlsSignatureProof2020,
66149
+ Bls12381G1Key2020,
66150
+ Bls12381G2Key2020,
66151
+ blockchainAccountId,
66152
+ ethereumAddress,
66153
+ publicKeyBase58,
66154
+ publicKeyPem,
66155
+ publicKeyHex,
66156
+ jws
66157
+ });
66158
+
65894
66159
  // ../node_modules/rdf-namespaces/dist/sioc-49ca0ecf.js
65895
66160
  var Community = "http://rdfs.org/sioc/ns#Community";
65896
66161
  var Container3 = "http://rdfs.org/sioc/ns#Container";
@@ -66665,6 +66930,7 @@ var PodOS = (() => {
66665
66930
  var sched = schedImport;
66666
66931
  var schema = schemaImport;
66667
66932
  var schema_https = schema_httpsImport;
66933
+ var sec = secImport;
66668
66934
  var sioc = siocImport;
66669
66935
  var skos = skosImport;
66670
66936
  var solid = solidImport;