@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/dist/index.js CHANGED
@@ -7576,13 +7576,13 @@ var require_oidc_client_min = __commonJS({
7576
7576
  // ../node_modules/@babel/runtime/helpers/typeof.js
7577
7577
  var require_typeof = __commonJS({
7578
7578
  "../node_modules/@babel/runtime/helpers/typeof.js"(exports, module3) {
7579
- function _typeof2(obj) {
7579
+ function _typeof2(o) {
7580
7580
  "@babel/helpers - typeof";
7581
- return module3.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
7582
- return typeof obj2;
7583
- } : function(obj2) {
7584
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
7585
- }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports, _typeof2(obj);
7581
+ return module3.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
7582
+ return typeof o2;
7583
+ } : function(o2) {
7584
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
7585
+ }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports, _typeof2(o);
7586
7586
  }
7587
7587
  module3.exports = _typeof2, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7588
7588
  }
@@ -7595,319 +7595,314 @@ var require_regeneratorRuntime = __commonJS({
7595
7595
  function _regeneratorRuntime3() {
7596
7596
  "use strict";
7597
7597
  module3.exports = _regeneratorRuntime3 = function _regeneratorRuntime4() {
7598
- return exports2;
7598
+ return e;
7599
7599
  }, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7600
- var exports2 = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function(obj, key3, desc) {
7601
- obj[key3] = desc.value;
7602
- }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
7603
- function define2(obj, key3, value6) {
7604
- return Object.defineProperty(obj, key3, {
7605
- value: value6,
7600
+ var t, e = {}, r = Object.prototype, n2 = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
7601
+ t2[e2] = r2.value;
7602
+ }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
7603
+ function define2(t2, e2, r2) {
7604
+ return Object.defineProperty(t2, e2, {
7605
+ value: r2,
7606
7606
  enumerable: true,
7607
7607
  configurable: true,
7608
7608
  writable: true
7609
- }), obj[key3];
7609
+ }), t2[e2];
7610
7610
  }
7611
7611
  try {
7612
7612
  define2({}, "");
7613
- } catch (err) {
7614
- define2 = function define3(obj, key3, value6) {
7615
- return obj[key3] = value6;
7613
+ } catch (t2) {
7614
+ define2 = function define3(t3, e2, r2) {
7615
+ return t3[e2] = r2;
7616
7616
  };
7617
7617
  }
7618
- function wrap3(innerFn, outerFn, self2, tryLocsList) {
7619
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator3 = Object.create(protoGenerator.prototype), context3 = new Context(tryLocsList || []);
7620
- return defineProperty(generator3, "_invoke", {
7621
- value: makeInvokeMethod(innerFn, self2, context3)
7622
- }), generator3;
7618
+ function wrap3(t2, e2, r2, n3) {
7619
+ var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n3 || []);
7620
+ return o(a2, "_invoke", {
7621
+ value: makeInvokeMethod(t2, r2, c2)
7622
+ }), a2;
7623
7623
  }
7624
- function tryCatch(fn2, obj, arg2) {
7624
+ function tryCatch(t2, e2, r2) {
7625
7625
  try {
7626
7626
  return {
7627
7627
  type: "normal",
7628
- arg: fn2.call(obj, arg2)
7628
+ arg: t2.call(e2, r2)
7629
7629
  };
7630
- } catch (err) {
7630
+ } catch (t3) {
7631
7631
  return {
7632
7632
  type: "throw",
7633
- arg: err
7633
+ arg: t3
7634
7634
  };
7635
7635
  }
7636
7636
  }
7637
- exports2.wrap = wrap3;
7638
- var ContinueSentinel = {};
7637
+ e.wrap = wrap3;
7638
+ var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
7639
7639
  function Generator() {
7640
7640
  }
7641
7641
  function GeneratorFunction() {
7642
7642
  }
7643
7643
  function GeneratorFunctionPrototype() {
7644
7644
  }
7645
- var IteratorPrototype = {};
7646
- define2(IteratorPrototype, iteratorSymbol, function() {
7645
+ var p = {};
7646
+ define2(p, a, function() {
7647
7647
  return this;
7648
7648
  });
7649
- var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([])));
7650
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
7651
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
7652
- function defineIteratorMethods(prototype) {
7653
- ["next", "throw", "return"].forEach(function(method5) {
7654
- define2(prototype, method5, function(arg2) {
7655
- return this._invoke(method5, arg2);
7649
+ var d = Object.getPrototypeOf, v2 = d && d(d(values([])));
7650
+ v2 && v2 !== r && n2.call(v2, a) && (p = v2);
7651
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
7652
+ function defineIteratorMethods(t2) {
7653
+ ["next", "throw", "return"].forEach(function(e2) {
7654
+ define2(t2, e2, function(t3) {
7655
+ return this._invoke(e2, t3);
7656
7656
  });
7657
7657
  });
7658
7658
  }
7659
- function AsyncIterator(generator3, PromiseImpl) {
7660
- function invoke(method5, arg2, resolve, reject2) {
7661
- var record = tryCatch(generator3[method5], generator3, arg2);
7662
- if ("throw" !== record.type) {
7663
- var result5 = record.arg, value6 = result5.value;
7664
- return value6 && "object" == _typeof2(value6) && hasOwn.call(value6, "__await") ? PromiseImpl.resolve(value6.__await).then(function(value7) {
7665
- invoke("next", value7, resolve, reject2);
7666
- }, function(err) {
7667
- invoke("throw", err, resolve, reject2);
7668
- }) : PromiseImpl.resolve(value6).then(function(unwrapped) {
7669
- result5.value = unwrapped, resolve(result5);
7670
- }, function(error5) {
7671
- return invoke("throw", error5, resolve, reject2);
7659
+ function AsyncIterator(t2, e2) {
7660
+ function invoke(r3, o2, i2, a2) {
7661
+ var c2 = tryCatch(t2[r3], t2, o2);
7662
+ if ("throw" !== c2.type) {
7663
+ var u2 = c2.arg, h2 = u2.value;
7664
+ return h2 && "object" == _typeof2(h2) && n2.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
7665
+ invoke("next", t3, i2, a2);
7666
+ }, function(t3) {
7667
+ invoke("throw", t3, i2, a2);
7668
+ }) : e2.resolve(h2).then(function(t3) {
7669
+ u2.value = t3, i2(u2);
7670
+ }, function(t3) {
7671
+ return invoke("throw", t3, i2, a2);
7672
7672
  });
7673
7673
  }
7674
- reject2(record.arg);
7674
+ a2(c2.arg);
7675
7675
  }
7676
- var previousPromise;
7677
- defineProperty(this, "_invoke", {
7678
- value: function value6(method5, arg2) {
7676
+ var r2;
7677
+ o(this, "_invoke", {
7678
+ value: function value6(t3, n3) {
7679
7679
  function callInvokeWithMethodAndArg() {
7680
- return new PromiseImpl(function(resolve, reject2) {
7681
- invoke(method5, arg2, resolve, reject2);
7680
+ return new e2(function(e3, r3) {
7681
+ invoke(t3, n3, e3, r3);
7682
7682
  });
7683
7683
  }
7684
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
7684
+ return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
7685
7685
  }
7686
7686
  });
7687
7687
  }
7688
- function makeInvokeMethod(innerFn, self2, context3) {
7689
- var state2 = "suspendedStart";
7690
- return function(method5, arg2) {
7691
- if ("executing" === state2)
7688
+ function makeInvokeMethod(e2, r2, n3) {
7689
+ var o2 = h;
7690
+ return function(i2, a2) {
7691
+ if (o2 === f)
7692
7692
  throw new Error("Generator is already running");
7693
- if ("completed" === state2) {
7694
- if ("throw" === method5)
7695
- throw arg2;
7696
- return doneResult();
7697
- }
7698
- for (context3.method = method5, context3.arg = arg2; ; ) {
7699
- var delegate = context3.delegate;
7700
- if (delegate) {
7701
- var delegateResult = maybeInvokeDelegate(delegate, context3);
7702
- if (delegateResult) {
7703
- if (delegateResult === ContinueSentinel)
7693
+ if (o2 === s) {
7694
+ if ("throw" === i2)
7695
+ throw a2;
7696
+ return {
7697
+ value: t,
7698
+ done: true
7699
+ };
7700
+ }
7701
+ for (n3.method = i2, n3.arg = a2; ; ) {
7702
+ var c2 = n3.delegate;
7703
+ if (c2) {
7704
+ var u2 = maybeInvokeDelegate(c2, n3);
7705
+ if (u2) {
7706
+ if (u2 === y)
7704
7707
  continue;
7705
- return delegateResult;
7708
+ return u2;
7706
7709
  }
7707
7710
  }
7708
- if ("next" === context3.method)
7709
- context3.sent = context3._sent = context3.arg;
7710
- else if ("throw" === context3.method) {
7711
- if ("suspendedStart" === state2)
7712
- throw state2 = "completed", context3.arg;
7713
- context3.dispatchException(context3.arg);
7711
+ if ("next" === n3.method)
7712
+ n3.sent = n3._sent = n3.arg;
7713
+ else if ("throw" === n3.method) {
7714
+ if (o2 === h)
7715
+ throw o2 = s, n3.arg;
7716
+ n3.dispatchException(n3.arg);
7714
7717
  } else
7715
- "return" === context3.method && context3.abrupt("return", context3.arg);
7716
- state2 = "executing";
7717
- var record = tryCatch(innerFn, self2, context3);
7718
- if ("normal" === record.type) {
7719
- if (state2 = context3.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel)
7718
+ "return" === n3.method && n3.abrupt("return", n3.arg);
7719
+ o2 = f;
7720
+ var p2 = tryCatch(e2, r2, n3);
7721
+ if ("normal" === p2.type) {
7722
+ if (o2 = n3.done ? s : l, p2.arg === y)
7720
7723
  continue;
7721
7724
  return {
7722
- value: record.arg,
7723
- done: context3.done
7725
+ value: p2.arg,
7726
+ done: n3.done
7724
7727
  };
7725
7728
  }
7726
- "throw" === record.type && (state2 = "completed", context3.method = "throw", context3.arg = record.arg);
7729
+ "throw" === p2.type && (o2 = s, n3.method = "throw", n3.arg = p2.arg);
7727
7730
  }
7728
7731
  };
7729
7732
  }
7730
- function maybeInvokeDelegate(delegate, context3) {
7731
- var methodName = context3.method, method5 = delegate.iterator[methodName];
7732
- if (void 0 === method5)
7733
- 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;
7734
- var record = tryCatch(method5, delegate.iterator, context3.arg);
7735
- if ("throw" === record.type)
7736
- return context3.method = "throw", context3.arg = record.arg, context3.delegate = null, ContinueSentinel;
7737
- var info2 = record.arg;
7738
- 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);
7739
- }
7740
- function pushTryEntry(locs) {
7741
- var entry2 = {
7742
- tryLoc: locs[0]
7733
+ function maybeInvokeDelegate(e2, r2) {
7734
+ var n3 = r2.method, o2 = e2.iterator[n3];
7735
+ if (o2 === t)
7736
+ 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;
7737
+ var i2 = tryCatch(o2, e2.iterator, r2.arg);
7738
+ if ("throw" === i2.type)
7739
+ return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
7740
+ var a2 = i2.arg;
7741
+ 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);
7742
+ }
7743
+ function pushTryEntry(t2) {
7744
+ var e2 = {
7745
+ tryLoc: t2[0]
7743
7746
  };
7744
- 1 in locs && (entry2.catchLoc = locs[1]), 2 in locs && (entry2.finallyLoc = locs[2], entry2.afterLoc = locs[3]), this.tryEntries.push(entry2);
7747
+ 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
7745
7748
  }
7746
- function resetTryEntry(entry2) {
7747
- var record = entry2.completion || {};
7748
- record.type = "normal", delete record.arg, entry2.completion = record;
7749
+ function resetTryEntry(t2) {
7750
+ var e2 = t2.completion || {};
7751
+ e2.type = "normal", delete e2.arg, t2.completion = e2;
7749
7752
  }
7750
- function Context(tryLocsList) {
7753
+ function Context(t2) {
7751
7754
  this.tryEntries = [{
7752
7755
  tryLoc: "root"
7753
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(true);
7754
- }
7755
- function values(iterable) {
7756
- if (iterable) {
7757
- var iteratorMethod = iterable[iteratorSymbol];
7758
- if (iteratorMethod)
7759
- return iteratorMethod.call(iterable);
7760
- if ("function" == typeof iterable.next)
7761
- return iterable;
7762
- if (!isNaN(iterable.length)) {
7763
- var i = -1, next3 = function next4() {
7764
- for (; ++i < iterable.length; )
7765
- if (hasOwn.call(iterable, i))
7766
- return next4.value = iterable[i], next4.done = false, next4;
7767
- return next4.value = void 0, next4.done = true, next4;
7756
+ }], t2.forEach(pushTryEntry, this), this.reset(true);
7757
+ }
7758
+ function values(e2) {
7759
+ if (e2 || "" === e2) {
7760
+ var r2 = e2[a];
7761
+ if (r2)
7762
+ return r2.call(e2);
7763
+ if ("function" == typeof e2.next)
7764
+ return e2;
7765
+ if (!isNaN(e2.length)) {
7766
+ var o2 = -1, i2 = function next3() {
7767
+ for (; ++o2 < e2.length; )
7768
+ if (n2.call(e2, o2))
7769
+ return next3.value = e2[o2], next3.done = false, next3;
7770
+ return next3.value = t, next3.done = true, next3;
7768
7771
  };
7769
- return next3.next = next3;
7772
+ return i2.next = i2;
7770
7773
  }
7771
7774
  }
7772
- return {
7773
- next: doneResult
7774
- };
7775
- }
7776
- function doneResult() {
7777
- return {
7778
- value: void 0,
7779
- done: true
7780
- };
7775
+ throw new TypeError(_typeof2(e2) + " is not iterable");
7781
7776
  }
7782
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
7777
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
7783
7778
  value: GeneratorFunctionPrototype,
7784
7779
  configurable: true
7785
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
7780
+ }), o(GeneratorFunctionPrototype, "constructor", {
7786
7781
  value: GeneratorFunction,
7787
7782
  configurable: true
7788
- }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports2.isGeneratorFunction = function(genFun) {
7789
- var ctor = "function" == typeof genFun && genFun.constructor;
7790
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
7791
- }, exports2.mark = function(genFun) {
7792
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
7793
- }, exports2.awrap = function(arg2) {
7783
+ }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
7784
+ var e2 = "function" == typeof t2 && t2.constructor;
7785
+ return !!e2 && (e2 === GeneratorFunction || "GeneratorFunction" === (e2.displayName || e2.name));
7786
+ }, e.mark = function(t2) {
7787
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define2(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
7788
+ }, e.awrap = function(t2) {
7794
7789
  return {
7795
- __await: arg2
7790
+ __await: t2
7796
7791
  };
7797
- }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
7792
+ }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, c, function() {
7798
7793
  return this;
7799
- }), exports2.AsyncIterator = AsyncIterator, exports2.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
7800
- void 0 === PromiseImpl && (PromiseImpl = Promise);
7801
- var iter = new AsyncIterator(wrap3(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
7802
- return exports2.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result5) {
7803
- return result5.done ? result5.value : iter.next();
7794
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n3, o2, i2) {
7795
+ void 0 === i2 && (i2 = Promise);
7796
+ var a2 = new AsyncIterator(wrap3(t2, r2, n3, o2), i2);
7797
+ return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
7798
+ return t3.done ? t3.value : a2.next();
7804
7799
  });
7805
- }, defineIteratorMethods(Gp), define2(Gp, toStringTagSymbol, "Generator"), define2(Gp, iteratorSymbol, function() {
7800
+ }, defineIteratorMethods(g), define2(g, u, "Generator"), define2(g, a, function() {
7806
7801
  return this;
7807
- }), define2(Gp, "toString", function() {
7802
+ }), define2(g, "toString", function() {
7808
7803
  return "[object Generator]";
7809
- }), exports2.keys = function(val) {
7810
- var object6 = Object(val), keys = [];
7811
- for (var key3 in object6)
7812
- keys.push(key3);
7813
- return keys.reverse(), function next3() {
7814
- for (; keys.length; ) {
7815
- var key4 = keys.pop();
7816
- if (key4 in object6)
7817
- return next3.value = key4, next3.done = false, next3;
7804
+ }), e.keys = function(t2) {
7805
+ var e2 = Object(t2), r2 = [];
7806
+ for (var n3 in e2)
7807
+ r2.push(n3);
7808
+ return r2.reverse(), function next3() {
7809
+ for (; r2.length; ) {
7810
+ var t3 = r2.pop();
7811
+ if (t3 in e2)
7812
+ return next3.value = t3, next3.done = false, next3;
7818
7813
  }
7819
7814
  return next3.done = true, next3;
7820
7815
  };
7821
- }, exports2.values = values, Context.prototype = {
7816
+ }, e.values = values, Context.prototype = {
7822
7817
  constructor: Context,
7823
- reset: function reset(skipTempReset) {
7824
- 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)
7825
- for (var name7 in this)
7826
- "t" === name7.charAt(0) && hasOwn.call(this, name7) && !isNaN(+name7.slice(1)) && (this[name7] = void 0);
7818
+ reset: function reset(e2) {
7819
+ 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)
7820
+ for (var r2 in this)
7821
+ "t" === r2.charAt(0) && n2.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
7827
7822
  },
7828
7823
  stop: function stop() {
7829
7824
  this.done = true;
7830
- var rootRecord = this.tryEntries[0].completion;
7831
- if ("throw" === rootRecord.type)
7832
- throw rootRecord.arg;
7825
+ var t2 = this.tryEntries[0].completion;
7826
+ if ("throw" === t2.type)
7827
+ throw t2.arg;
7833
7828
  return this.rval;
7834
7829
  },
7835
- dispatchException: function dispatchException(exception2) {
7830
+ dispatchException: function dispatchException(e2) {
7836
7831
  if (this.done)
7837
- throw exception2;
7838
- var context3 = this;
7839
- function handle(loc, caught) {
7840
- return record.type = "throw", record.arg = exception2, context3.next = loc, caught && (context3.method = "next", context3.arg = void 0), !!caught;
7841
- }
7842
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7843
- var entry2 = this.tryEntries[i], record = entry2.completion;
7844
- if ("root" === entry2.tryLoc)
7832
+ throw e2;
7833
+ var r2 = this;
7834
+ function handle(n3, o3) {
7835
+ return a2.type = "throw", a2.arg = e2, r2.next = n3, o3 && (r2.method = "next", r2.arg = t), !!o3;
7836
+ }
7837
+ for (var o2 = this.tryEntries.length - 1; o2 >= 0; --o2) {
7838
+ var i2 = this.tryEntries[o2], a2 = i2.completion;
7839
+ if ("root" === i2.tryLoc)
7845
7840
  return handle("end");
7846
- if (entry2.tryLoc <= this.prev) {
7847
- var hasCatch = hasOwn.call(entry2, "catchLoc"), hasFinally = hasOwn.call(entry2, "finallyLoc");
7848
- if (hasCatch && hasFinally) {
7849
- if (this.prev < entry2.catchLoc)
7850
- return handle(entry2.catchLoc, true);
7851
- if (this.prev < entry2.finallyLoc)
7852
- return handle(entry2.finallyLoc);
7853
- } else if (hasCatch) {
7854
- if (this.prev < entry2.catchLoc)
7855
- return handle(entry2.catchLoc, true);
7841
+ if (i2.tryLoc <= this.prev) {
7842
+ var c2 = n2.call(i2, "catchLoc"), u2 = n2.call(i2, "finallyLoc");
7843
+ if (c2 && u2) {
7844
+ if (this.prev < i2.catchLoc)
7845
+ return handle(i2.catchLoc, true);
7846
+ if (this.prev < i2.finallyLoc)
7847
+ return handle(i2.finallyLoc);
7848
+ } else if (c2) {
7849
+ if (this.prev < i2.catchLoc)
7850
+ return handle(i2.catchLoc, true);
7856
7851
  } else {
7857
- if (!hasFinally)
7852
+ if (!u2)
7858
7853
  throw new Error("try statement without catch or finally");
7859
- if (this.prev < entry2.finallyLoc)
7860
- return handle(entry2.finallyLoc);
7854
+ if (this.prev < i2.finallyLoc)
7855
+ return handle(i2.finallyLoc);
7861
7856
  }
7862
7857
  }
7863
7858
  }
7864
7859
  },
7865
- abrupt: function abrupt(type5, arg2) {
7866
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7867
- var entry2 = this.tryEntries[i];
7868
- if (entry2.tryLoc <= this.prev && hasOwn.call(entry2, "finallyLoc") && this.prev < entry2.finallyLoc) {
7869
- var finallyEntry = entry2;
7860
+ abrupt: function abrupt(t2, e2) {
7861
+ for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
7862
+ var o2 = this.tryEntries[r2];
7863
+ if (o2.tryLoc <= this.prev && n2.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
7864
+ var i2 = o2;
7870
7865
  break;
7871
7866
  }
7872
7867
  }
7873
- finallyEntry && ("break" === type5 || "continue" === type5) && finallyEntry.tryLoc <= arg2 && arg2 <= finallyEntry.finallyLoc && (finallyEntry = null);
7874
- var record = finallyEntry ? finallyEntry.completion : {};
7875
- return record.type = type5, record.arg = arg2, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
7868
+ i2 && ("break" === t2 || "continue" === t2) && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
7869
+ var a2 = i2 ? i2.completion : {};
7870
+ return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
7876
7871
  },
7877
- complete: function complete2(record, afterLoc) {
7878
- if ("throw" === record.type)
7879
- throw record.arg;
7880
- 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;
7872
+ complete: function complete2(t2, e2) {
7873
+ if ("throw" === t2.type)
7874
+ throw t2.arg;
7875
+ 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;
7881
7876
  },
7882
- finish: function finish(finallyLoc) {
7883
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7884
- var entry2 = this.tryEntries[i];
7885
- if (entry2.finallyLoc === finallyLoc)
7886
- return this.complete(entry2.completion, entry2.afterLoc), resetTryEntry(entry2), ContinueSentinel;
7877
+ finish: function finish(t2) {
7878
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
7879
+ var r2 = this.tryEntries[e2];
7880
+ if (r2.finallyLoc === t2)
7881
+ return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
7887
7882
  }
7888
7883
  },
7889
- "catch": function _catch(tryLoc) {
7890
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7891
- var entry2 = this.tryEntries[i];
7892
- if (entry2.tryLoc === tryLoc) {
7893
- var record = entry2.completion;
7894
- if ("throw" === record.type) {
7895
- var thrown = record.arg;
7896
- resetTryEntry(entry2);
7884
+ "catch": function _catch(t2) {
7885
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
7886
+ var r2 = this.tryEntries[e2];
7887
+ if (r2.tryLoc === t2) {
7888
+ var n3 = r2.completion;
7889
+ if ("throw" === n3.type) {
7890
+ var o2 = n3.arg;
7891
+ resetTryEntry(r2);
7897
7892
  }
7898
- return thrown;
7893
+ return o2;
7899
7894
  }
7900
7895
  }
7901
7896
  throw new Error("illegal catch attempt");
7902
7897
  },
7903
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
7898
+ delegateYield: function delegateYield(e2, r2, n3) {
7904
7899
  return this.delegate = {
7905
- iterator: values(iterable),
7906
- resultName,
7907
- nextLoc
7908
- }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
7900
+ iterator: values(e2),
7901
+ resultName: r2,
7902
+ nextLoc: n3
7903
+ }, "next" === this.method && (this.arg = t), y;
7909
7904
  }
7910
- }, exports2;
7905
+ }, e;
7911
7906
  }
7912
7907
  module3.exports = _regeneratorRuntime3, module3.exports.__esModule = true, module3.exports["default"] = module3.exports;
7913
7908
  }
@@ -8188,7 +8183,7 @@ var require_dom = __commonJS({
8188
8183
  * The node at the indexth position in the NodeList, or null if that is not a valid index.
8189
8184
  */
8190
8185
  item: function(index2) {
8191
- return this[index2] || null;
8186
+ return index2 >= 0 && index2 < this.length ? this[index2] : null;
8192
8187
  },
8193
8188
  toString: function(isHTML, nodeFilter) {
8194
8189
  for (var buf = [], i = 0; i < this.length; i++) {
@@ -8220,16 +8215,23 @@ var require_dom = __commonJS({
8220
8215
  }
8221
8216
  function _updateLiveList(list) {
8222
8217
  var inc = list._node._inc || list._node.ownerDocument._inc;
8223
- if (list._inc != inc) {
8218
+ if (list._inc !== inc) {
8224
8219
  var ls = list._refresh(list._node);
8225
8220
  __set__(list, "length", ls.length);
8221
+ if (!list.$$length || ls.length < list.$$length) {
8222
+ for (var i = ls.length; i in list; i++) {
8223
+ if (Object.prototype.hasOwnProperty.call(list, i)) {
8224
+ delete list[i];
8225
+ }
8226
+ }
8227
+ }
8226
8228
  copy(ls, list);
8227
8229
  list._inc = inc;
8228
8230
  }
8229
8231
  }
8230
8232
  LiveNodeList.prototype.item = function(i) {
8231
8233
  _updateLiveList(this);
8232
- return this[i];
8234
+ return this[i] || null;
8233
8235
  };
8234
8236
  _extends2(LiveNodeList, NodeList);
8235
8237
  function NamedNodeMap() {
@@ -8912,7 +8914,7 @@ var require_dom = __commonJS({
8912
8914
  createProcessingInstruction: function(target5, data2) {
8913
8915
  var node2 = new ProcessingInstruction();
8914
8916
  node2.ownerDocument = this;
8915
- node2.tagName = node2.target = target5;
8917
+ node2.tagName = node2.nodeName = node2.target = target5;
8916
8918
  node2.nodeValue = node2.data = data2;
8917
8919
  return node2;
8918
8920
  },
@@ -12812,6 +12814,20 @@ var require_has_symbols = __commonJS({
12812
12814
  }
12813
12815
  });
12814
12816
 
12817
+ // ../node_modules/has-proto/index.js
12818
+ var require_has_proto = __commonJS({
12819
+ "../node_modules/has-proto/index.js"(exports, module3) {
12820
+ "use strict";
12821
+ var test2 = {
12822
+ foo: {}
12823
+ };
12824
+ var $Object = Object;
12825
+ module3.exports = function hasProto() {
12826
+ return { __proto__: test2 }.foo === test2.foo && !({ __proto__: null } instanceof $Object);
12827
+ };
12828
+ }
12829
+ });
12830
+
12815
12831
  // ../node_modules/function-bind/implementation.js
12816
12832
  var require_implementation = __commonJS({
12817
12833
  "../node_modules/function-bind/implementation.js"(exports, module3) {
@@ -12918,16 +12934,17 @@ var require_get_intrinsic = __commonJS({
12918
12934
  }
12919
12935
  }() : throwTypeError;
12920
12936
  var hasSymbols = require_has_symbols()();
12921
- var getProto = Object.getPrototypeOf || function(x) {
12937
+ var hasProto = require_has_proto()();
12938
+ var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
12922
12939
  return x.__proto__;
12923
- };
12940
+ } : null);
12924
12941
  var needsEval = {};
12925
- var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
12942
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
12926
12943
  var INTRINSICS = {
12927
12944
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
12928
12945
  "%Array%": Array,
12929
12946
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
12930
- "%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
12947
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
12931
12948
  "%AsyncFromSyncIteratorPrototype%": undefined2,
12932
12949
  "%AsyncFunction%": needsEval,
12933
12950
  "%AsyncGenerator%": needsEval,
@@ -12958,10 +12975,10 @@ var require_get_intrinsic = __commonJS({
12958
12975
  "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
12959
12976
  "%isFinite%": isFinite,
12960
12977
  "%isNaN%": isNaN,
12961
- "%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
12978
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
12962
12979
  "%JSON%": typeof JSON === "object" ? JSON : undefined2,
12963
12980
  "%Map%": typeof Map === "undefined" ? undefined2 : Map,
12964
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12981
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
12965
12982
  "%Math%": Math,
12966
12983
  "%Number%": Number,
12967
12984
  "%Object%": Object,
@@ -12974,10 +12991,10 @@ var require_get_intrinsic = __commonJS({
12974
12991
  "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
12975
12992
  "%RegExp%": RegExp,
12976
12993
  "%Set%": typeof Set === "undefined" ? undefined2 : Set,
12977
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
12994
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
12978
12995
  "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
12979
12996
  "%String%": String,
12980
- "%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
12997
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
12981
12998
  "%Symbol%": hasSymbols ? Symbol : undefined2,
12982
12999
  "%SyntaxError%": $SyntaxError,
12983
13000
  "%ThrowTypeError%": ThrowTypeError,
@@ -12992,11 +13009,13 @@ var require_get_intrinsic = __commonJS({
12992
13009
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
12993
13010
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
12994
13011
  };
12995
- try {
12996
- null.error;
12997
- } catch (e) {
12998
- errorProto = getProto(getProto(e));
12999
- INTRINSICS["%Error.prototype%"] = errorProto;
13012
+ if (getProto) {
13013
+ try {
13014
+ null.error;
13015
+ } catch (e) {
13016
+ errorProto = getProto(getProto(e));
13017
+ INTRINSICS["%Error.prototype%"] = errorProto;
13018
+ }
13000
13019
  }
13001
13020
  var errorProto;
13002
13021
  var doEval = function doEval2(name7) {
@@ -13014,7 +13033,7 @@ var require_get_intrinsic = __commonJS({
13014
13033
  }
13015
13034
  } else if (name7 === "%AsyncIteratorPrototype%") {
13016
13035
  var gen = doEval2("%AsyncGenerator%");
13017
- if (gen) {
13036
+ if (gen && getProto) {
13018
13037
  value6 = getProto(gen.prototype);
13019
13038
  }
13020
13039
  }
@@ -14854,7 +14873,10 @@ var require_url = __commonJS({
14854
14873
  }
14855
14874
  }
14856
14875
  if (this.query && typeof this.query === "object" && Object.keys(this.query).length) {
14857
- query4 = querystring.stringify(this.query);
14876
+ query4 = querystring.stringify(this.query, {
14877
+ arrayFormat: "repeat",
14878
+ addQueryPrefix: false
14879
+ });
14858
14880
  }
14859
14881
  var search3 = this.search || query4 && "?" + query4 || "";
14860
14882
  if (protocol6 && protocol6.substr(-1) !== ":") {
@@ -22212,11 +22234,6 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
22212
22234
  // ../node_modules/jose/dist/browser/runtime/random.js
22213
22235
  var random_default = webcrypto_default.getRandomValues.bind(webcrypto_default);
22214
22236
 
22215
- // ../node_modules/jose/dist/browser/runtime/env.js
22216
- function isCloudflareWorkers() {
22217
- return typeof WebSocketPair !== "undefined" || typeof navigator !== "undefined" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime !== "undefined" && EdgeRuntime === "vercel";
22218
- }
22219
-
22220
22237
  // ../node_modules/jose/dist/browser/lib/crypto_key.js
22221
22238
  function unusable(name7, prop = "algorithm.name") {
22222
22239
  return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name7}`);
@@ -22290,11 +22307,6 @@ function checkSigCryptoKey(key3, alg, ...usages) {
22290
22307
  }
22291
22308
  case "EdDSA": {
22292
22309
  if (key3.algorithm.name !== "Ed25519" && key3.algorithm.name !== "Ed448") {
22293
- if (isCloudflareWorkers()) {
22294
- if (isAlgorithm(key3.algorithm, "NODE-ED25519"))
22295
- break;
22296
- throw unusable("Ed25519, Ed448, or NODE-ED25519");
22297
- }
22298
22310
  throw unusable("Ed25519 or Ed448");
22299
22311
  }
22300
22312
  break;
@@ -22540,15 +22552,7 @@ var parse = async (jwk) => {
22540
22552
  const keyData = { ...jwk };
22541
22553
  delete keyData.alg;
22542
22554
  delete keyData.use;
22543
- try {
22544
- return await webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
22545
- } catch (err) {
22546
- if (algorithm3.name === "Ed25519" && (err === null || err === void 0 ? void 0 : err.name) === "NotSupportedError" && isCloudflareWorkers()) {
22547
- rest3[0] = { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
22548
- return await webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
22549
- }
22550
- throw err;
22551
- }
22555
+ return webcrypto_default.subtle.importKey("jwk", keyData, ...rest3);
22552
22556
  };
22553
22557
  var jwk_to_key_default = parse;
22554
22558
 
@@ -22713,9 +22717,6 @@ function subtleDsa(alg, algorithm3) {
22713
22717
  case "ES512":
22714
22718
  return { hash: hash2, name: "ECDSA", namedCurve: algorithm3.namedCurve };
22715
22719
  case "EdDSA":
22716
- if (isCloudflareWorkers() && algorithm3.name === "NODE-ED25519") {
22717
- return { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
22718
- }
22719
22720
  return { name: algorithm3.name };
22720
22721
  default:
22721
22722
  throw new JOSENotSupported(`alg ${alg} is not supported either by JOSE or your javascript runtime`);
@@ -22751,41 +22752,41 @@ var verify = async (alg, key3, signature2, data2) => {
22751
22752
  var verify_default = verify;
22752
22753
 
22753
22754
  // ../node_modules/jose/dist/browser/jws/flattened/verify.js
22754
- async function flattenedVerify(jws, key3, options) {
22755
+ async function flattenedVerify(jws2, key3, options) {
22755
22756
  var _a;
22756
- if (!isObject(jws)) {
22757
+ if (!isObject(jws2)) {
22757
22758
  throw new JWSInvalid("Flattened JWS must be an object");
22758
22759
  }
22759
- if (jws.protected === void 0 && jws.header === void 0) {
22760
+ if (jws2.protected === void 0 && jws2.header === void 0) {
22760
22761
  throw new JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');
22761
22762
  }
22762
- if (jws.protected !== void 0 && typeof jws.protected !== "string") {
22763
+ if (jws2.protected !== void 0 && typeof jws2.protected !== "string") {
22763
22764
  throw new JWSInvalid("JWS Protected Header incorrect type");
22764
22765
  }
22765
- if (jws.payload === void 0) {
22766
+ if (jws2.payload === void 0) {
22766
22767
  throw new JWSInvalid("JWS Payload missing");
22767
22768
  }
22768
- if (typeof jws.signature !== "string") {
22769
+ if (typeof jws2.signature !== "string") {
22769
22770
  throw new JWSInvalid("JWS Signature missing or incorrect type");
22770
22771
  }
22771
- if (jws.header !== void 0 && !isObject(jws.header)) {
22772
+ if (jws2.header !== void 0 && !isObject(jws2.header)) {
22772
22773
  throw new JWSInvalid("JWS Unprotected Header incorrect type");
22773
22774
  }
22774
22775
  let parsedProt = {};
22775
- if (jws.protected) {
22776
+ if (jws2.protected) {
22776
22777
  try {
22777
- const protectedHeader = decode(jws.protected);
22778
+ const protectedHeader = decode(jws2.protected);
22778
22779
  parsedProt = JSON.parse(decoder.decode(protectedHeader));
22779
22780
  } catch (_b) {
22780
22781
  throw new JWSInvalid("JWS Protected Header is invalid");
22781
22782
  }
22782
22783
  }
22783
- if (!is_disjoint_default(parsedProt, jws.header)) {
22784
+ if (!is_disjoint_default(parsedProt, jws2.header)) {
22784
22785
  throw new JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
22785
22786
  }
22786
22787
  const joseHeader = {
22787
22788
  ...parsedProt,
22788
- ...jws.header
22789
+ ...jws2.header
22789
22790
  };
22790
22791
  const extensions = validate_crit_default(JWSInvalid, /* @__PURE__ */ new Map([["b64", true]]), options === null || options === void 0 ? void 0 : options.crit, parsedProt, joseHeader);
22791
22792
  let b64 = true;
@@ -22804,38 +22805,47 @@ async function flattenedVerify(jws, key3, options) {
22804
22805
  throw new JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');
22805
22806
  }
22806
22807
  if (b64) {
22807
- if (typeof jws.payload !== "string") {
22808
+ if (typeof jws2.payload !== "string") {
22808
22809
  throw new JWSInvalid("JWS Payload must be a string");
22809
22810
  }
22810
- } else if (typeof jws.payload !== "string" && !(jws.payload instanceof Uint8Array)) {
22811
+ } else if (typeof jws2.payload !== "string" && !(jws2.payload instanceof Uint8Array)) {
22811
22812
  throw new JWSInvalid("JWS Payload must be a string or an Uint8Array instance");
22812
22813
  }
22813
22814
  let resolvedKey = false;
22814
22815
  if (typeof key3 === "function") {
22815
- key3 = await key3(parsedProt, jws);
22816
+ key3 = await key3(parsedProt, jws2);
22816
22817
  resolvedKey = true;
22817
22818
  }
22818
22819
  check_key_type_default(alg, key3, "verify");
22819
- 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);
22820
- const signature2 = decode(jws.signature);
22820
+ 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);
22821
+ let signature2;
22822
+ try {
22823
+ signature2 = decode(jws2.signature);
22824
+ } catch (_c) {
22825
+ throw new JWSInvalid("Failed to base64url decode the signature");
22826
+ }
22821
22827
  const verified2 = await verify_default(alg, key3, signature2, data2);
22822
22828
  if (!verified2) {
22823
22829
  throw new JWSSignatureVerificationFailed();
22824
22830
  }
22825
22831
  let payload4;
22826
22832
  if (b64) {
22827
- payload4 = decode(jws.payload);
22828
- } else if (typeof jws.payload === "string") {
22829
- payload4 = encoder.encode(jws.payload);
22833
+ try {
22834
+ payload4 = decode(jws2.payload);
22835
+ } catch (_d) {
22836
+ throw new JWSInvalid("Failed to base64url decode the payload");
22837
+ }
22838
+ } else if (typeof jws2.payload === "string") {
22839
+ payload4 = encoder.encode(jws2.payload);
22830
22840
  } else {
22831
- payload4 = jws.payload;
22841
+ payload4 = jws2.payload;
22832
22842
  }
22833
22843
  const result5 = { payload: payload4 };
22834
- if (jws.protected !== void 0) {
22844
+ if (jws2.protected !== void 0) {
22835
22845
  result5.protectedHeader = parsedProt;
22836
22846
  }
22837
- if (jws.header !== void 0) {
22838
- result5.unprotectedHeader = jws.header;
22847
+ if (jws2.header !== void 0) {
22848
+ result5.unprotectedHeader = jws2.header;
22839
22849
  }
22840
22850
  if (resolvedKey) {
22841
22851
  return { ...result5, key: key3 };
@@ -22844,14 +22854,14 @@ async function flattenedVerify(jws, key3, options) {
22844
22854
  }
22845
22855
 
22846
22856
  // ../node_modules/jose/dist/browser/jws/compact/verify.js
22847
- async function compactVerify(jws, key3, options) {
22848
- if (jws instanceof Uint8Array) {
22849
- jws = decoder.decode(jws);
22857
+ async function compactVerify(jws2, key3, options) {
22858
+ if (jws2 instanceof Uint8Array) {
22859
+ jws2 = decoder.decode(jws2);
22850
22860
  }
22851
- if (typeof jws !== "string") {
22861
+ if (typeof jws2 !== "string") {
22852
22862
  throw new JWSInvalid("Compact JWS must be a string or Uint8Array");
22853
22863
  }
22854
- const { 0: protectedHeader, 1: payload4, 2: signature2, length: length2 } = jws.split(".");
22864
+ const { 0: protectedHeader, 1: payload4, 2: signature2, length: length2 } = jws2.split(".");
22855
22865
  if (length2 !== 3) {
22856
22866
  throw new JWSInvalid("Invalid Compact JWS");
22857
22867
  }
@@ -22936,15 +22946,26 @@ var jwt_claims_set_default = (protectedHeader, encodedPayload, options = {}) =>
22936
22946
  if (!isObject(payload4)) {
22937
22947
  throw new JWTInvalid("JWT Claims Set must be a top-level JSON object");
22938
22948
  }
22939
- const { issuer: issuer2 } = options;
22949
+ const { requiredClaims = [], issuer: issuer2, subject: subject5, audience: audience5, maxTokenAge } = options;
22950
+ if (maxTokenAge !== void 0)
22951
+ requiredClaims.push("iat");
22952
+ if (audience5 !== void 0)
22953
+ requiredClaims.push("aud");
22954
+ if (subject5 !== void 0)
22955
+ requiredClaims.push("sub");
22956
+ if (issuer2 !== void 0)
22957
+ requiredClaims.push("iss");
22958
+ for (const claim2 of new Set(requiredClaims.reverse())) {
22959
+ if (!(claim2 in payload4)) {
22960
+ throw new JWTClaimValidationFailed(`missing required "${claim2}" claim`, claim2, "missing");
22961
+ }
22962
+ }
22940
22963
  if (issuer2 && !(Array.isArray(issuer2) ? issuer2 : [issuer2]).includes(payload4.iss)) {
22941
22964
  throw new JWTClaimValidationFailed('unexpected "iss" claim value', "iss", "check_failed");
22942
22965
  }
22943
- const { subject: subject5 } = options;
22944
22966
  if (subject5 && payload4.sub !== subject5) {
22945
22967
  throw new JWTClaimValidationFailed('unexpected "sub" claim value', "sub", "check_failed");
22946
22968
  }
22947
- const { audience: audience5 } = options;
22948
22969
  if (audience5 && !checkAudiencePresence(payload4.aud, typeof audience5 === "string" ? [audience5] : audience5)) {
22949
22970
  throw new JWTClaimValidationFailed('unexpected "aud" claim value', "aud", "check_failed");
22950
22971
  }
@@ -22964,7 +22985,7 @@ var jwt_claims_set_default = (protectedHeader, encodedPayload, options = {}) =>
22964
22985
  }
22965
22986
  const { currentDate } = options;
22966
22987
  const now = epoch_default(currentDate || /* @__PURE__ */ new Date());
22967
- if ((payload4.iat !== void 0 || options.maxTokenAge) && typeof payload4.iat !== "number") {
22988
+ if ((payload4.iat !== void 0 || maxTokenAge) && typeof payload4.iat !== "number") {
22968
22989
  throw new JWTClaimValidationFailed('"iat" claim must be a number', "iat", "invalid");
22969
22990
  }
22970
22991
  if (payload4.nbf !== void 0) {
@@ -22983,9 +23004,9 @@ var jwt_claims_set_default = (protectedHeader, encodedPayload, options = {}) =>
22983
23004
  throw new JWTExpired('"exp" claim timestamp check failed', "exp", "check_failed");
22984
23005
  }
22985
23006
  }
22986
- if (options.maxTokenAge) {
23007
+ if (maxTokenAge) {
22987
23008
  const age2 = now - payload4.iat;
22988
- const max2 = typeof options.maxTokenAge === "number" ? options.maxTokenAge : secs_default(options.maxTokenAge);
23009
+ const max2 = typeof maxTokenAge === "number" ? maxTokenAge : secs_default(maxTokenAge);
22989
23010
  if (age2 - tolerance > max2) {
22990
23011
  throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', "iat", "check_failed");
22991
23012
  }
@@ -23078,20 +23099,20 @@ var FlattenedSign = class {
23078
23099
  }
23079
23100
  const data2 = concat(protectedHeader, encoder.encode("."), payload4);
23080
23101
  const signature2 = await sign_default(alg, key3, data2);
23081
- const jws = {
23102
+ const jws2 = {
23082
23103
  signature: encode(signature2),
23083
23104
  payload: ""
23084
23105
  };
23085
23106
  if (b64) {
23086
- jws.payload = decoder.decode(payload4);
23107
+ jws2.payload = decoder.decode(payload4);
23087
23108
  }
23088
23109
  if (this._unprotectedHeader) {
23089
- jws.header = this._unprotectedHeader;
23110
+ jws2.header = this._unprotectedHeader;
23090
23111
  }
23091
23112
  if (this._protectedHeader) {
23092
- jws.protected = decoder.decode(protectedHeader);
23113
+ jws2.protected = decoder.decode(protectedHeader);
23093
23114
  }
23094
- return jws;
23115
+ return jws2;
23095
23116
  }
23096
23117
  };
23097
23118
 
@@ -23105,11 +23126,11 @@ var CompactSign = class {
23105
23126
  return this;
23106
23127
  }
23107
23128
  async sign(key3, options) {
23108
- const jws = await this._flattened.sign(key3, options);
23109
- if (jws.payload === void 0) {
23129
+ const jws2 = await this._flattened.sign(key3, options);
23130
+ if (jws2.payload === void 0) {
23110
23131
  throw new TypeError("use the flattened module for creating JWS with b64: false");
23111
23132
  }
23112
- return `${jws.protected}.${jws.payload}.${jws.signature}`;
23133
+ return `${jws2.protected}.${jws2.payload}.${jws2.signature}`;
23113
23134
  }
23114
23135
  };
23115
23136
 
@@ -23190,7 +23211,7 @@ function getModulusLengthOption(options) {
23190
23211
  return modulusLength;
23191
23212
  }
23192
23213
  async function generateKeyPair(alg, options) {
23193
- var _a, _b, _c, _d;
23214
+ var _a, _b, _c;
23194
23215
  let algorithm3;
23195
23216
  let keyUsages;
23196
23217
  switch (alg) {
@@ -23277,15 +23298,7 @@ async function generateKeyPair(alg, options) {
23277
23298
  default:
23278
23299
  throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
23279
23300
  }
23280
- try {
23281
- return await webcrypto_default.subtle.generateKey(algorithm3, (_c = options === null || options === void 0 ? void 0 : options.extractable) !== null && _c !== void 0 ? _c : false, keyUsages);
23282
- } catch (err) {
23283
- if (algorithm3.name === "Ed25519" && (err === null || err === void 0 ? void 0 : err.name) === "NotSupportedError" && isCloudflareWorkers()) {
23284
- algorithm3 = { name: "NODE-ED25519", namedCurve: "NODE-ED25519" };
23285
- return await webcrypto_default.subtle.generateKey(algorithm3, (_d = options === null || options === void 0 ? void 0 : options.extractable) !== null && _d !== void 0 ? _d : false, keyUsages);
23286
- }
23287
- throw err;
23288
- }
23301
+ return webcrypto_default.subtle.generateKey(algorithm3, (_c = options === null || options === void 0 ? void 0 : options.extractable) !== null && _c !== void 0 ? _c : false, keyUsages);
23289
23302
  }
23290
23303
 
23291
23304
  // ../node_modules/jose/dist/browser/key/generate_key_pair.js
@@ -23312,7 +23325,7 @@ for (let i = 0; i < 256; ++i) {
23312
23325
  byteToHex.push((i + 256).toString(16).slice(1));
23313
23326
  }
23314
23327
  function unsafeStringify(arr, offset3 = 0) {
23315
- 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();
23328
+ 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]];
23316
23329
  }
23317
23330
 
23318
23331
  // ../node_modules/uuid/dist/esm-browser/native.js
@@ -23370,6 +23383,7 @@ var buildProxyHandler = (toExclude, errorMessage) => ({
23370
23383
  var AggregateHandler = class {
23371
23384
  constructor(handleables) {
23372
23385
  this.handleables = handleables;
23386
+ this.handleables = handleables;
23373
23387
  }
23374
23388
  async getProperHandler(params2) {
23375
23389
  const canHandleList = await Promise.all(this.handleables.map((handleable) => handleable.canHandle(...params2)));
@@ -23438,7 +23452,9 @@ async function getWebidFromTokenPayload(idToken, jwksIri, issuerIri, clientId) {
23438
23452
  function isValidRedirectUrl(redirectUrl) {
23439
23453
  try {
23440
23454
  const urlObject = new URL(redirectUrl);
23441
- return urlObject.hash === "";
23455
+ const noReservedQuery = !urlObject.searchParams.has("code") && !urlObject.searchParams.has("state");
23456
+ const noHash = urlObject.hash === "";
23457
+ return noReservedQuery && noHash;
23442
23458
  } catch (e) {
23443
23459
  return false;
23444
23460
  }
@@ -23447,6 +23463,8 @@ var AuthorizationCodeWithPkceOidcHandlerBase = class {
23447
23463
  constructor(storageUtility, redirector) {
23448
23464
  this.storageUtility = storageUtility;
23449
23465
  this.redirector = redirector;
23466
+ this.storageUtility = storageUtility;
23467
+ this.redirector = redirector;
23450
23468
  }
23451
23469
  async canHandle(oidcLoginOptions) {
23452
23470
  return !!(oidcLoginOptions.issuerConfiguration.grantTypesSupported && oidcLoginOptions.issuerConfiguration.grantTypesSupported.indexOf("authorization_code") > -1);
@@ -23472,6 +23490,7 @@ var AuthorizationCodeWithPkceOidcHandlerBase = class {
23472
23490
  var GeneralLogoutHandler = class {
23473
23491
  constructor(sessionInfoManager) {
23474
23492
  this.sessionInfoManager = sessionInfoManager;
23493
+ this.sessionInfoManager = sessionInfoManager;
23475
23494
  }
23476
23495
  async canHandle() {
23477
23496
  return true;
@@ -23483,6 +23502,7 @@ var GeneralLogoutHandler = class {
23483
23502
  var IRpLogoutHandler = class {
23484
23503
  constructor(redirector) {
23485
23504
  this.redirector = redirector;
23505
+ this.redirector = redirector;
23486
23506
  }
23487
23507
  async canHandle(userId, options) {
23488
23508
  return (options === null || options === void 0 ? void 0 : options.logoutType) === "idp";
@@ -23532,6 +23552,7 @@ async function clear(sessionId, storage2) {
23532
23552
  var SessionInfoManagerBase = class {
23533
23553
  constructor(storageUtility) {
23534
23554
  this.storageUtility = storageUtility;
23555
+ this.storageUtility = storageUtility;
23535
23556
  }
23536
23557
  update(_sessionId, _options) {
23537
23558
  throw new Error("Not Implemented");
@@ -23656,6 +23677,11 @@ var ClientAuthentication = class {
23656
23677
  this.getAllSessionInfo = async () => {
23657
23678
  return this.sessionInfoManager.getAll();
23658
23679
  };
23680
+ this.loginHandler = loginHandler;
23681
+ this.redirectHandler = redirectHandler;
23682
+ this.logoutHandler = logoutHandler;
23683
+ this.sessionInfoManager = sessionInfoManager;
23684
+ this.issuerConfigFetcher = issuerConfigFetcher;
23659
23685
  }
23660
23686
  };
23661
23687
  async function loadOidcContextFromStorage(sessionId, storageUtility, configFetcher) {
@@ -23684,6 +23710,8 @@ var StorageUtility = class {
23684
23710
  constructor(secureStorage, insecureStorage) {
23685
23711
  this.secureStorage = secureStorage;
23686
23712
  this.insecureStorage = insecureStorage;
23713
+ this.secureStorage = secureStorage;
23714
+ this.insecureStorage = insecureStorage;
23687
23715
  }
23688
23716
  getKey(userId) {
23689
23717
  return `solidClientAuthenticationUser:${userId}`;
@@ -24186,7 +24214,7 @@ var ClientAuthentication2 = class extends ClientAuthentication {
24186
24214
  await this.sessionInfoManager.clear(options.sessionId);
24187
24215
  const redirectUrl = (_a = options.redirectUrl) !== null && _a !== void 0 ? _a : removeOidcQueryParam(window.location.href);
24188
24216
  if (!isValidRedirectUrl(redirectUrl)) {
24189
- throw new Error(`${redirectUrl} is not a valid redirect URL, it is either a malformed IRI or it includes a hash fragment.`);
24217
+ 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').`);
24190
24218
  }
24191
24219
  await this.loginHandler.handle({
24192
24220
  ...options,
@@ -24245,6 +24273,10 @@ var OidcLoginHandler = class {
24245
24273
  this.oidcHandler = oidcHandler;
24246
24274
  this.issuerConfigFetcher = issuerConfigFetcher;
24247
24275
  this.clientRegistrar = clientRegistrar;
24276
+ this.storageUtility = storageUtility;
24277
+ this.oidcHandler = oidcHandler;
24278
+ this.issuerConfigFetcher = issuerConfigFetcher;
24279
+ this.clientRegistrar = clientRegistrar;
24248
24280
  }
24249
24281
  async canHandle(options) {
24250
24282
  return hasIssuer(options) && hasRedirectUrl(options);
@@ -24402,6 +24434,7 @@ function processConfig(config) {
24402
24434
  var IssuerConfigFetcher = class _IssuerConfigFetcher {
24403
24435
  constructor(storageUtility) {
24404
24436
  this.storageUtility = storageUtility;
24437
+ this.storageUtility = storageUtility;
24405
24438
  }
24406
24439
  static getLocalStorageKey(issuer2) {
24407
24440
  return `issuerConfig:${issuer2}`;
@@ -24425,32 +24458,40 @@ async function clear2(sessionId, storage2) {
24425
24458
  }
24426
24459
  var SessionInfoManager = class extends SessionInfoManagerBase {
24427
24460
  async get(sessionId) {
24428
- var _a;
24429
- const isLoggedIn2 = await this.storageUtility.getForUser(sessionId, "isLoggedIn", {
24430
- secure: true
24431
- });
24432
- const webId = await this.storageUtility.getForUser(sessionId, "webId", {
24433
- secure: true
24434
- });
24435
- const clientId = await this.storageUtility.getForUser(sessionId, "clientId", {
24436
- secure: false
24437
- });
24438
- const clientSecret = await this.storageUtility.getForUser(sessionId, "clientSecret", {
24439
- secure: false
24440
- });
24441
- const redirectUrl = await this.storageUtility.getForUser(sessionId, "redirectUrl", {
24442
- secure: false
24443
- });
24444
- const refreshToken = await this.storageUtility.getForUser(sessionId, "refreshToken", {
24445
- secure: true
24446
- });
24447
- const issuer2 = await this.storageUtility.getForUser(sessionId, "issuer", {
24448
- secure: false
24449
- });
24450
- const tokenType = (_a = await this.storageUtility.getForUser(sessionId, "tokenType", {
24451
- secure: false
24452
- })) !== null && _a !== void 0 ? _a : "DPoP";
24453
- if (!isSupportedTokenType(tokenType)) {
24461
+ const [isLoggedIn2, webId, clientId, clientSecret, redirectUrl, refreshToken, issuer2, tokenType] = await Promise.all([
24462
+ this.storageUtility.getForUser(sessionId, "isLoggedIn", {
24463
+ secure: true
24464
+ }),
24465
+ this.storageUtility.getForUser(sessionId, "webId", {
24466
+ secure: true
24467
+ }),
24468
+ this.storageUtility.getForUser(sessionId, "clientId", {
24469
+ secure: false
24470
+ }),
24471
+ this.storageUtility.getForUser(sessionId, "clientSecret", {
24472
+ secure: false
24473
+ }),
24474
+ this.storageUtility.getForUser(sessionId, "redirectUrl", {
24475
+ secure: false
24476
+ }),
24477
+ this.storageUtility.getForUser(sessionId, "refreshToken", {
24478
+ secure: true
24479
+ }),
24480
+ this.storageUtility.getForUser(sessionId, "issuer", {
24481
+ secure: false
24482
+ }),
24483
+ this.storageUtility.getForUser(sessionId, "tokenType", {
24484
+ secure: false
24485
+ })
24486
+ ]);
24487
+ if (typeof redirectUrl === "string" && !isValidRedirectUrl(redirectUrl)) {
24488
+ await Promise.all([
24489
+ this.storageUtility.deleteAllUserData(sessionId, { secure: false }),
24490
+ this.storageUtility.deleteAllUserData(sessionId, { secure: true })
24491
+ ]);
24492
+ return void 0;
24493
+ }
24494
+ if (tokenType !== void 0 && !isSupportedTokenType(tokenType)) {
24454
24495
  throw new Error(`Tokens of type [${tokenType}] are not supported.`);
24455
24496
  }
24456
24497
  if (clientId === void 0 && isLoggedIn2 === void 0 && webId === void 0 && refreshToken === void 0) {
@@ -24465,7 +24506,7 @@ var SessionInfoManager = class extends SessionInfoManagerBase {
24465
24506
  issuer: issuer2,
24466
24507
  clientAppId: clientId,
24467
24508
  clientAppSecret: clientSecret,
24468
- tokenType
24509
+ tokenType: tokenType !== null && tokenType !== void 0 ? tokenType : "DPoP"
24469
24510
  };
24470
24511
  }
24471
24512
  async clear(sessionId) {
@@ -24493,6 +24534,11 @@ var AuthCodeRedirectHandler = class {
24493
24534
  this.issuerConfigFetcher = issuerConfigFetcher;
24494
24535
  this.clientRegistrar = clientRegistrar;
24495
24536
  this.tokerRefresher = tokerRefresher;
24537
+ this.storageUtility = storageUtility;
24538
+ this.sessionInfoManager = sessionInfoManager;
24539
+ this.issuerConfigFetcher = issuerConfigFetcher;
24540
+ this.clientRegistrar = clientRegistrar;
24541
+ this.tokerRefresher = tokerRefresher;
24496
24542
  }
24497
24543
  async canHandle(redirectUrl) {
24498
24544
  try {
@@ -24601,6 +24647,7 @@ var Redirector = class {
24601
24647
  var ClientRegistrar = class {
24602
24648
  constructor(storageUtility) {
24603
24649
  this.storageUtility = storageUtility;
24650
+ this.storageUtility = storageUtility;
24604
24651
  }
24605
24652
  async getClient(options, issuerConfig) {
24606
24653
  const [storedClientId, storedClientSecret] = await Promise.all([
@@ -24661,6 +24708,9 @@ var TokenRefresher = class {
24661
24708
  this.storageUtility = storageUtility;
24662
24709
  this.issuerConfigFetcher = issuerConfigFetcher;
24663
24710
  this.clientRegistrar = clientRegistrar;
24711
+ this.storageUtility = storageUtility;
24712
+ this.issuerConfigFetcher = issuerConfigFetcher;
24713
+ this.clientRegistrar = clientRegistrar;
24664
24714
  }
24665
24715
  async refresh(sessionId, refreshToken, dpopKey, eventEmitter) {
24666
24716
  const oidcContext = await loadOidcContextFromStorage(sessionId, this.storageUtility, this.issuerConfigFetcher);
@@ -24923,13 +24973,13 @@ var FileFetcher = class {
24923
24973
  };
24924
24974
 
24925
24975
  // ../node_modules/@babel/runtime/helpers/esm/typeof.js
24926
- function _typeof(obj) {
24976
+ function _typeof(o) {
24927
24977
  "@babel/helpers - typeof";
24928
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
24929
- return typeof obj2;
24930
- } : function(obj2) {
24931
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
24932
- }, _typeof(obj);
24978
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
24979
+ return typeof o2;
24980
+ } : function(o2) {
24981
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
24982
+ }, _typeof(o);
24933
24983
  }
24934
24984
 
24935
24985
  // ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
@@ -31649,7 +31699,7 @@ function listToCollection(kb, obj) {
31649
31699
  }
31650
31700
  function jsonldParser(str, kb, base2, callback) {
31651
31701
  var baseString = base2 && Object.prototype.hasOwnProperty.call(base2, "termType") ? base2.value : base2;
31652
- return import("./jsonld-62EQUZ7Z.js").then(function(jsonld) {
31702
+ return import("./jsonld-5UGKFKA6.js").then(function(jsonld) {
31653
31703
  return jsonld.flatten(JSON.parse(str), null, {
31654
31704
  base: baseString
31655
31705
  });
@@ -37894,6 +37944,9 @@ var WebIdProfile = class extends Thing {
37894
37944
  this.store = store;
37895
37945
  this.editable = editable;
37896
37946
  }
37947
+ /**
37948
+ * Returns te URI of the preferences document
37949
+ */
37897
37950
  getPreferencesFile() {
37898
37951
  return this.store.anyValue(
37899
37952
  namedNode2(this.webId),
@@ -37902,6 +37955,9 @@ var WebIdProfile = class extends Thing {
37902
37955
  namedNode2(this.webId).doc()
37903
37956
  );
37904
37957
  }
37958
+ /**
37959
+ * Returns the URI of a private label index
37960
+ */
37905
37961
  getPrivateLabelIndex() {
37906
37962
  const index2 = this.store.anyValue(
37907
37963
  namedNode2(this.webId),
@@ -37957,6 +38013,9 @@ var LabelIndex = class extends RdfDocument {
37957
38013
  this.store = store;
37958
38014
  this.editable = editable;
37959
38015
  }
38016
+ /**
38017
+ * Returns the URIs and labels for all the things listed in the document.
38018
+ */
37960
38019
  getIndexedItems() {
37961
38020
  const matches = this.store.statementsMatching(
37962
38021
  null,
@@ -37991,12 +38050,28 @@ var SearchIndex = class {
37991
38050
  });
37992
38051
  });
37993
38052
  }
38053
+ /**
38054
+ * Search the index for a given term. It finds partial matches, but will rank exact matches higher.
38055
+ *
38056
+ * The rank order is:
38057
+ *
38058
+ * 1. exact matches
38059
+ * 2. prefix matches
38060
+ * 3. suffix matches
38061
+ * 4. any matches inside a literal
38062
+ *
38063
+ * @param term The (partial) term to search for
38064
+ * @param maxResults The maximum number of results to return (defaults to 10)
38065
+ */
37994
38066
  search(term3, maxResults = 10) {
37995
38067
  const escapedTerm = term3.replace(/[~^+:]/g, (x) => `\\${x}`);
37996
38068
  return this.index.search(
37997
38069
  `${escapedTerm}^100 ${escapedTerm}*^20 *${escapedTerm}^10 *${escapedTerm}*^5`
37998
38070
  ).slice(0, maxResults);
37999
38071
  }
38072
+ /**
38073
+ * Remove all data from the search index.
38074
+ */
38000
38075
  clear() {
38001
38076
  this.index = (0, import_lunr.default)(() => {
38002
38077
  });
@@ -38106,6 +38181,7 @@ __export(index_es_exports, {
38106
38181
  sched: () => sched,
38107
38182
  schema: () => schema,
38108
38183
  schema_https: () => schema_https,
38184
+ sec: () => sec,
38109
38185
  sioc: () => sioc,
38110
38186
  skos: () => skos,
38111
38187
  solid: () => solid,
@@ -48041,7 +48117,7 @@ var schedImport = /* @__PURE__ */ Object.freeze({
48041
48117
  response: response3
48042
48118
  });
48043
48119
 
48044
- // ../node_modules/rdf-namespaces/dist/schema-73abb769.js
48120
+ // ../node_modules/rdf-namespaces/dist/schema-67aaaa22.js
48045
48121
  var AMRadioChannel = "http://schema.org/AMRadioChannel";
48046
48122
  var APIReference = "http://schema.org/APIReference";
48047
48123
  var AboutPage = "http://schema.org/AboutPage";
@@ -48207,6 +48283,7 @@ var ComputerLanguage = "http://schema.org/ComputerLanguage";
48207
48283
  var ComputerStore = "http://schema.org/ComputerStore";
48208
48284
  var ConfirmAction = "http://schema.org/ConfirmAction";
48209
48285
  var Consortium = "http://schema.org/Consortium";
48286
+ var ConstraintNode = "http://schema.org/ConstraintNode";
48210
48287
  var ConsumeAction = "http://schema.org/ConsumeAction";
48211
48288
  var ContactPage = "http://schema.org/ContactPage";
48212
48289
  var ContactPoint2 = "http://schema.org/ContactPoint";
@@ -48482,6 +48559,7 @@ var MarryAction = "http://schema.org/MarryAction";
48482
48559
  var Mass = "http://schema.org/Mass";
48483
48560
  var MathSolver = "http://schema.org/MathSolver";
48484
48561
  var MaximumDoseSchedule = "http://schema.org/MaximumDoseSchedule";
48562
+ var MeasurementMethodEnum = "http://schema.org/MeasurementMethodEnum";
48485
48563
  var MeasurementTypeEnumeration = "http://schema.org/MeasurementTypeEnumeration";
48486
48564
  var MediaGallery = "http://schema.org/MediaGallery";
48487
48565
  var MediaManipulationRatingEnumeration = "http://schema.org/MediaManipulationRatingEnumeration";
@@ -48664,6 +48742,7 @@ var PodcastEpisode = "http://schema.org/PodcastEpisode";
48664
48742
  var PodcastSeason = "http://schema.org/PodcastSeason";
48665
48743
  var PodcastSeries = "http://schema.org/PodcastSeries";
48666
48744
  var PoliceStation = "http://schema.org/PoliceStation";
48745
+ var PoliticalParty = "http://schema.org/PoliticalParty";
48667
48746
  var Pond = "http://schema.org/Pond";
48668
48747
  var PostOffice = "http://schema.org/PostOffice";
48669
48748
  var PostalAddress = "http://schema.org/PostalAddress";
@@ -48818,6 +48897,7 @@ var StadiumOrArena = "http://schema.org/StadiumOrArena";
48818
48897
  var State = "http://schema.org/State";
48819
48898
  var Statement3 = "http://schema.org/Statement";
48820
48899
  var StatisticalPopulation = "http://schema.org/StatisticalPopulation";
48900
+ var StatisticalVariable = "http://schema.org/StatisticalVariable";
48821
48901
  var StatusEnumeration = "http://schema.org/StatusEnumeration";
48822
48902
  var SteeringPositionValue = "http://schema.org/SteeringPositionValue";
48823
48903
  var Store2 = "http://schema.org/Store";
@@ -48830,6 +48910,7 @@ var Suite = "http://schema.org/Suite";
48830
48910
  var SuperficialAnatomy = "http://schema.org/SuperficialAnatomy";
48831
48911
  var SurgicalProcedure = "http://schema.org/SurgicalProcedure";
48832
48912
  var SuspendAction = "http://schema.org/SuspendAction";
48913
+ var Syllabus = "http://schema.org/Syllabus";
48833
48914
  var Synagogue = "http://schema.org/Synagogue";
48834
48915
  var TVClip = "http://schema.org/TVClip";
48835
48916
  var TVEpisode = "http://schema.org/TVEpisode";
@@ -48849,6 +48930,7 @@ var TelevisionStation = "http://schema.org/TelevisionStation";
48849
48930
  var TennisComplex = "http://schema.org/TennisComplex";
48850
48931
  var Text = "http://schema.org/Text";
48851
48932
  var TextDigitalDocument = "http://schema.org/TextDigitalDocument";
48933
+ var TextObject = "http://schema.org/TextObject";
48852
48934
  var TheaterEvent = "http://schema.org/TheaterEvent";
48853
48935
  var TheaterGroup = "http://schema.org/TheaterGroup";
48854
48936
  var TherapeuticProcedure = "http://schema.org/TherapeuticProcedure";
@@ -48893,6 +48975,7 @@ var UserPlays = "http://schema.org/UserPlays";
48893
48975
  var UserPlusOnes = "http://schema.org/UserPlusOnes";
48894
48976
  var UserReview = "http://schema.org/UserReview";
48895
48977
  var UserTweets = "http://schema.org/UserTweets";
48978
+ var VacationRental = "http://schema.org/VacationRental";
48896
48979
  var Vehicle = "http://schema.org/Vehicle";
48897
48980
  var Vein = "http://schema.org/Vein";
48898
48981
  var Vessel = "http://schema.org/Vessel";
@@ -49180,7 +49263,7 @@ var comprisedOf2 = "http://schema.org/comprisedOf";
49180
49263
  var conditionsOfAccess = "http://schema.org/conditionsOfAccess";
49181
49264
  var confirmationNumber = "http://schema.org/confirmationNumber";
49182
49265
  var connectedTo = "http://schema.org/connectedTo";
49183
- var constrainingProperty = "http://schema.org/constrainingProperty";
49266
+ var constraintProperty = "http://schema.org/constraintProperty";
49184
49267
  var contactOption = "http://schema.org/contactOption";
49185
49268
  var contactPoints = "http://schema.org/contactPoints";
49186
49269
  var contactType = "http://schema.org/contactType";
@@ -49213,6 +49296,7 @@ var course = "http://schema.org/course";
49213
49296
  var courseCode = "http://schema.org/courseCode";
49214
49297
  var courseMode = "http://schema.org/courseMode";
49215
49298
  var coursePrerequisites = "http://schema.org/coursePrerequisites";
49299
+ var courseSchedule = "http://schema.org/courseSchedule";
49216
49300
  var courseWorkload = "http://schema.org/courseWorkload";
49217
49301
  var coverageEndTime = "http://schema.org/coverageEndTime";
49218
49302
  var coverageStartTime = "http://schema.org/coverageStartTime";
@@ -49666,8 +49750,9 @@ var maximumPhysicalAttendeeCapacity = "http://schema.org/maximumPhysicalAttendee
49666
49750
  var maximumVirtualAttendeeCapacity = "http://schema.org/maximumVirtualAttendeeCapacity";
49667
49751
  var mealService = "http://schema.org/mealService";
49668
49752
  var measuredProperty = "http://schema.org/measuredProperty";
49669
- var measuredValue = "http://schema.org/measuredValue";
49670
- var measurementTechnique = "http://schema.org/measurementTechnique";
49753
+ var measurementDenominator = "http://schema.org/measurementDenominator";
49754
+ var measurementMethod = "http://schema.org/measurementMethod";
49755
+ var measurementQualifier = "http://schema.org/measurementQualifier";
49671
49756
  var mechanismOfAction = "http://schema.org/mechanismOfAction";
49672
49757
  var mediaAuthenticityCategory = "http://schema.org/mediaAuthenticityCategory";
49673
49758
  var mediaItemAppearance = "http://schema.org/mediaItemAppearance";
@@ -49752,8 +49837,9 @@ var numberOfRooms = "http://schema.org/numberOfRooms";
49752
49837
  var numberOfSeasons = "http://schema.org/numberOfSeasons";
49753
49838
  var numberedPosition = "http://schema.org/numberedPosition";
49754
49839
  var nutrition = "http://schema.org/nutrition";
49840
+ var observationAbout = "http://schema.org/observationAbout";
49755
49841
  var observationDate = "http://schema.org/observationDate";
49756
- var observedNode = "http://schema.org/observedNode";
49842
+ var observationPeriod = "http://schema.org/observationPeriod";
49757
49843
  var occupancy = "http://schema.org/occupancy";
49758
49844
  var occupationLocation = "http://schema.org/occupationLocation";
49759
49845
  var occupationalCategory = "http://schema.org/occupationalCategory";
@@ -50075,6 +50161,7 @@ var starRating = "http://schema.org/starRating";
50075
50161
  var startDate2 = "http://schema.org/startDate";
50076
50162
  var startOffset = "http://schema.org/startOffset";
50077
50163
  var startTime2 = "http://schema.org/startTime";
50164
+ var statType = "http://schema.org/statType";
50078
50165
  var status5 = "http://schema.org/status";
50079
50166
  var steeringPosition = "http://schema.org/steeringPosition";
50080
50167
  var stepValue = "http://schema.org/stepValue";
@@ -50107,6 +50194,7 @@ var supersededBy = "http://schema.org/supersededBy";
50107
50194
  var supplyTo = "http://schema.org/supplyTo";
50108
50195
  var supportingData = "http://schema.org/supportingData";
50109
50196
  var surface = "http://schema.org/surface";
50197
+ var syllabusSections = "http://schema.org/syllabusSections";
50110
50198
  var target3 = "http://schema.org/target";
50111
50199
  var targetDescription = "http://schema.org/targetDescription";
50112
50200
  var targetName = "http://schema.org/targetName";
@@ -50144,6 +50232,7 @@ var tocEntry = "http://schema.org/tocEntry";
50144
50232
  var tongueWeight = "http://schema.org/tongueWeight";
50145
50233
  var tool = "http://schema.org/tool";
50146
50234
  var torque = "http://schema.org/torque";
50235
+ var totalHistoricalEnrollment = "http://schema.org/totalHistoricalEnrollment";
50147
50236
  var totalJobOpenings = "http://schema.org/totalJobOpenings";
50148
50237
  var totalPaymentDue = "http://schema.org/totalPaymentDue";
50149
50238
  var totalPrice = "http://schema.org/totalPrice";
@@ -50167,6 +50256,7 @@ var transmissionMethod = "http://schema.org/transmissionMethod";
50167
50256
  var travelBans = "http://schema.org/travelBans";
50168
50257
  var trialDesign = "http://schema.org/trialDesign";
50169
50258
  var tributary = "http://schema.org/tributary";
50259
+ var tripOrigin = "http://schema.org/tripOrigin";
50170
50260
  var typeOfBed = "http://schema.org/typeOfBed";
50171
50261
  var typeOfGood = "http://schema.org/typeOfGood";
50172
50262
  var typicalAgeRange = "http://schema.org/typicalAgeRange";
@@ -50314,6 +50404,7 @@ var mainContentOfPage = "http://schema.org/mainContentOfPage";
50314
50404
  var mainEntity = "http://schema.org/mainEntity";
50315
50405
  var mainEntityOfPage = "http://schema.org/mainEntityOfPage";
50316
50406
  var makesOffer = "http://schema.org/makesOffer";
50407
+ var measurementTechnique = "http://schema.org/measurementTechnique";
50317
50408
  var merchantReturnDays = "http://schema.org/merchantReturnDays";
50318
50409
  var merchantReturnLink = "http://schema.org/merchantReturnLink";
50319
50410
  var offeredBy = "http://schema.org/offeredBy";
@@ -50560,6 +50651,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
50560
50651
  ComputerStore,
50561
50652
  ConfirmAction,
50562
50653
  Consortium,
50654
+ ConstraintNode,
50563
50655
  ConsumeAction,
50564
50656
  ContactPage,
50565
50657
  ContactPoint: ContactPoint2,
@@ -50835,6 +50927,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
50835
50927
  Mass,
50836
50928
  MathSolver,
50837
50929
  MaximumDoseSchedule,
50930
+ MeasurementMethodEnum,
50838
50931
  MeasurementTypeEnumeration,
50839
50932
  MediaGallery,
50840
50933
  MediaManipulationRatingEnumeration,
@@ -51017,6 +51110,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51017
51110
  PodcastSeason,
51018
51111
  PodcastSeries,
51019
51112
  PoliceStation,
51113
+ PoliticalParty,
51020
51114
  Pond,
51021
51115
  PostOffice,
51022
51116
  PostalAddress,
@@ -51171,6 +51265,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51171
51265
  State,
51172
51266
  Statement: Statement3,
51173
51267
  StatisticalPopulation,
51268
+ StatisticalVariable,
51174
51269
  StatusEnumeration,
51175
51270
  SteeringPositionValue,
51176
51271
  Store: Store2,
@@ -51183,6 +51278,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51183
51278
  SuperficialAnatomy,
51184
51279
  SurgicalProcedure,
51185
51280
  SuspendAction,
51281
+ Syllabus,
51186
51282
  Synagogue,
51187
51283
  TVClip,
51188
51284
  TVEpisode,
@@ -51202,6 +51298,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51202
51298
  TennisComplex,
51203
51299
  Text,
51204
51300
  TextDigitalDocument,
51301
+ TextObject,
51205
51302
  TheaterEvent,
51206
51303
  TheaterGroup,
51207
51304
  TherapeuticProcedure,
@@ -51246,6 +51343,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51246
51343
  UserPlusOnes,
51247
51344
  UserReview,
51248
51345
  UserTweets,
51346
+ VacationRental,
51249
51347
  Vehicle,
51250
51348
  Vein,
51251
51349
  Vessel,
@@ -51533,7 +51631,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51533
51631
  conditionsOfAccess,
51534
51632
  confirmationNumber,
51535
51633
  connectedTo,
51536
- constrainingProperty,
51634
+ constraintProperty,
51537
51635
  contactOption,
51538
51636
  contactPoints,
51539
51637
  contactType,
@@ -51566,6 +51664,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
51566
51664
  courseCode,
51567
51665
  courseMode,
51568
51666
  coursePrerequisites,
51667
+ courseSchedule,
51569
51668
  courseWorkload,
51570
51669
  coverageEndTime,
51571
51670
  coverageStartTime,
@@ -52019,8 +52118,9 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52019
52118
  maximumVirtualAttendeeCapacity,
52020
52119
  mealService,
52021
52120
  measuredProperty,
52022
- measuredValue,
52023
- measurementTechnique,
52121
+ measurementDenominator,
52122
+ measurementMethod,
52123
+ measurementQualifier,
52024
52124
  mechanismOfAction,
52025
52125
  mediaAuthenticityCategory,
52026
52126
  mediaItemAppearance,
@@ -52105,8 +52205,9 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52105
52205
  numberOfSeasons,
52106
52206
  numberedPosition,
52107
52207
  nutrition,
52208
+ observationAbout,
52108
52209
  observationDate,
52109
- observedNode,
52210
+ observationPeriod,
52110
52211
  occupancy,
52111
52212
  occupationLocation,
52112
52213
  occupationalCategory,
@@ -52428,6 +52529,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52428
52529
  startDate: startDate2,
52429
52530
  startOffset,
52430
52531
  startTime: startTime2,
52532
+ statType,
52431
52533
  status: status5,
52432
52534
  steeringPosition,
52433
52535
  stepValue,
@@ -52460,6 +52562,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52460
52562
  supplyTo,
52461
52563
  supportingData,
52462
52564
  surface,
52565
+ syllabusSections,
52463
52566
  target: target3,
52464
52567
  targetDescription,
52465
52568
  targetName,
@@ -52497,6 +52600,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52497
52600
  tongueWeight,
52498
52601
  tool,
52499
52602
  torque,
52603
+ totalHistoricalEnrollment,
52500
52604
  totalJobOpenings,
52501
52605
  totalPaymentDue,
52502
52606
  totalPrice,
@@ -52520,6 +52624,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52520
52624
  travelBans,
52521
52625
  trialDesign,
52522
52626
  tributary,
52627
+ tripOrigin,
52523
52628
  typeOfBed,
52524
52629
  typeOfGood,
52525
52630
  typicalAgeRange,
@@ -52667,6 +52772,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52667
52772
  mainEntity,
52668
52773
  mainEntityOfPage,
52669
52774
  makesOffer,
52775
+ measurementTechnique,
52670
52776
  merchantReturnDays,
52671
52777
  merchantReturnLink,
52672
52778
  offeredBy,
@@ -52749,7 +52855,7 @@ var schemaImport = /* @__PURE__ */ Object.freeze({
52749
52855
  identifier: identifier4
52750
52856
  });
52751
52857
 
52752
- // ../node_modules/rdf-namespaces/dist/schema_https-29c7f9bc.js
52858
+ // ../node_modules/rdf-namespaces/dist/schema_https-33c5f793.js
52753
52859
  var AMRadioChannel2 = "https://schema.org/AMRadioChannel";
52754
52860
  var APIReference2 = "https://schema.org/APIReference";
52755
52861
  var AboutPage2 = "https://schema.org/AboutPage";
@@ -52915,6 +53021,7 @@ var ComputerLanguage2 = "https://schema.org/ComputerLanguage";
52915
53021
  var ComputerStore2 = "https://schema.org/ComputerStore";
52916
53022
  var ConfirmAction2 = "https://schema.org/ConfirmAction";
52917
53023
  var Consortium2 = "https://schema.org/Consortium";
53024
+ var ConstraintNode2 = "https://schema.org/ConstraintNode";
52918
53025
  var ConsumeAction2 = "https://schema.org/ConsumeAction";
52919
53026
  var ContactPage2 = "https://schema.org/ContactPage";
52920
53027
  var ContactPoint3 = "https://schema.org/ContactPoint";
@@ -53190,6 +53297,7 @@ var MarryAction2 = "https://schema.org/MarryAction";
53190
53297
  var Mass2 = "https://schema.org/Mass";
53191
53298
  var MathSolver2 = "https://schema.org/MathSolver";
53192
53299
  var MaximumDoseSchedule2 = "https://schema.org/MaximumDoseSchedule";
53300
+ var MeasurementMethodEnum2 = "https://schema.org/MeasurementMethodEnum";
53193
53301
  var MeasurementTypeEnumeration2 = "https://schema.org/MeasurementTypeEnumeration";
53194
53302
  var MediaGallery2 = "https://schema.org/MediaGallery";
53195
53303
  var MediaManipulationRatingEnumeration2 = "https://schema.org/MediaManipulationRatingEnumeration";
@@ -53372,6 +53480,7 @@ var PodcastEpisode2 = "https://schema.org/PodcastEpisode";
53372
53480
  var PodcastSeason2 = "https://schema.org/PodcastSeason";
53373
53481
  var PodcastSeries2 = "https://schema.org/PodcastSeries";
53374
53482
  var PoliceStation2 = "https://schema.org/PoliceStation";
53483
+ var PoliticalParty2 = "https://schema.org/PoliticalParty";
53375
53484
  var Pond2 = "https://schema.org/Pond";
53376
53485
  var PostOffice2 = "https://schema.org/PostOffice";
53377
53486
  var PostalAddress2 = "https://schema.org/PostalAddress";
@@ -53526,6 +53635,7 @@ var StadiumOrArena2 = "https://schema.org/StadiumOrArena";
53526
53635
  var State2 = "https://schema.org/State";
53527
53636
  var Statement4 = "https://schema.org/Statement";
53528
53637
  var StatisticalPopulation2 = "https://schema.org/StatisticalPopulation";
53638
+ var StatisticalVariable2 = "https://schema.org/StatisticalVariable";
53529
53639
  var StatusEnumeration2 = "https://schema.org/StatusEnumeration";
53530
53640
  var SteeringPositionValue2 = "https://schema.org/SteeringPositionValue";
53531
53641
  var Store3 = "https://schema.org/Store";
@@ -53538,6 +53648,7 @@ var Suite2 = "https://schema.org/Suite";
53538
53648
  var SuperficialAnatomy2 = "https://schema.org/SuperficialAnatomy";
53539
53649
  var SurgicalProcedure2 = "https://schema.org/SurgicalProcedure";
53540
53650
  var SuspendAction2 = "https://schema.org/SuspendAction";
53651
+ var Syllabus2 = "https://schema.org/Syllabus";
53541
53652
  var Synagogue2 = "https://schema.org/Synagogue";
53542
53653
  var TVClip2 = "https://schema.org/TVClip";
53543
53654
  var TVEpisode2 = "https://schema.org/TVEpisode";
@@ -53557,6 +53668,7 @@ var TelevisionStation2 = "https://schema.org/TelevisionStation";
53557
53668
  var TennisComplex2 = "https://schema.org/TennisComplex";
53558
53669
  var Text2 = "https://schema.org/Text";
53559
53670
  var TextDigitalDocument2 = "https://schema.org/TextDigitalDocument";
53671
+ var TextObject2 = "https://schema.org/TextObject";
53560
53672
  var TheaterEvent2 = "https://schema.org/TheaterEvent";
53561
53673
  var TheaterGroup2 = "https://schema.org/TheaterGroup";
53562
53674
  var TherapeuticProcedure2 = "https://schema.org/TherapeuticProcedure";
@@ -53601,6 +53713,7 @@ var UserPlays2 = "https://schema.org/UserPlays";
53601
53713
  var UserPlusOnes2 = "https://schema.org/UserPlusOnes";
53602
53714
  var UserReview2 = "https://schema.org/UserReview";
53603
53715
  var UserTweets2 = "https://schema.org/UserTweets";
53716
+ var VacationRental2 = "https://schema.org/VacationRental";
53604
53717
  var Vehicle2 = "https://schema.org/Vehicle";
53605
53718
  var Vein2 = "https://schema.org/Vein";
53606
53719
  var Vessel2 = "https://schema.org/Vessel";
@@ -53888,7 +54001,7 @@ var comprisedOf3 = "https://schema.org/comprisedOf";
53888
54001
  var conditionsOfAccess2 = "https://schema.org/conditionsOfAccess";
53889
54002
  var confirmationNumber2 = "https://schema.org/confirmationNumber";
53890
54003
  var connectedTo2 = "https://schema.org/connectedTo";
53891
- var constrainingProperty2 = "https://schema.org/constrainingProperty";
54004
+ var constraintProperty2 = "https://schema.org/constraintProperty";
53892
54005
  var contactOption2 = "https://schema.org/contactOption";
53893
54006
  var contactPoints2 = "https://schema.org/contactPoints";
53894
54007
  var contactType2 = "https://schema.org/contactType";
@@ -53921,6 +54034,7 @@ var course2 = "https://schema.org/course";
53921
54034
  var courseCode2 = "https://schema.org/courseCode";
53922
54035
  var courseMode2 = "https://schema.org/courseMode";
53923
54036
  var coursePrerequisites2 = "https://schema.org/coursePrerequisites";
54037
+ var courseSchedule2 = "https://schema.org/courseSchedule";
53924
54038
  var courseWorkload2 = "https://schema.org/courseWorkload";
53925
54039
  var coverageEndTime2 = "https://schema.org/coverageEndTime";
53926
54040
  var coverageStartTime2 = "https://schema.org/coverageStartTime";
@@ -54374,8 +54488,9 @@ var maximumPhysicalAttendeeCapacity2 = "https://schema.org/maximumPhysicalAttend
54374
54488
  var maximumVirtualAttendeeCapacity2 = "https://schema.org/maximumVirtualAttendeeCapacity";
54375
54489
  var mealService2 = "https://schema.org/mealService";
54376
54490
  var measuredProperty2 = "https://schema.org/measuredProperty";
54377
- var measuredValue2 = "https://schema.org/measuredValue";
54378
- var measurementTechnique2 = "https://schema.org/measurementTechnique";
54491
+ var measurementDenominator2 = "https://schema.org/measurementDenominator";
54492
+ var measurementMethod2 = "https://schema.org/measurementMethod";
54493
+ var measurementQualifier2 = "https://schema.org/measurementQualifier";
54379
54494
  var mechanismOfAction2 = "https://schema.org/mechanismOfAction";
54380
54495
  var mediaAuthenticityCategory2 = "https://schema.org/mediaAuthenticityCategory";
54381
54496
  var mediaItemAppearance2 = "https://schema.org/mediaItemAppearance";
@@ -54460,8 +54575,9 @@ var numberOfRooms2 = "https://schema.org/numberOfRooms";
54460
54575
  var numberOfSeasons2 = "https://schema.org/numberOfSeasons";
54461
54576
  var numberedPosition2 = "https://schema.org/numberedPosition";
54462
54577
  var nutrition2 = "https://schema.org/nutrition";
54578
+ var observationAbout2 = "https://schema.org/observationAbout";
54463
54579
  var observationDate2 = "https://schema.org/observationDate";
54464
- var observedNode2 = "https://schema.org/observedNode";
54580
+ var observationPeriod2 = "https://schema.org/observationPeriod";
54465
54581
  var occupancy2 = "https://schema.org/occupancy";
54466
54582
  var occupationLocation2 = "https://schema.org/occupationLocation";
54467
54583
  var occupationalCategory2 = "https://schema.org/occupationalCategory";
@@ -54783,6 +54899,7 @@ var starRating2 = "https://schema.org/starRating";
54783
54899
  var startDate3 = "https://schema.org/startDate";
54784
54900
  var startOffset2 = "https://schema.org/startOffset";
54785
54901
  var startTime3 = "https://schema.org/startTime";
54902
+ var statType2 = "https://schema.org/statType";
54786
54903
  var status6 = "https://schema.org/status";
54787
54904
  var steeringPosition2 = "https://schema.org/steeringPosition";
54788
54905
  var stepValue2 = "https://schema.org/stepValue";
@@ -54815,6 +54932,7 @@ var supersededBy2 = "https://schema.org/supersededBy";
54815
54932
  var supplyTo2 = "https://schema.org/supplyTo";
54816
54933
  var supportingData2 = "https://schema.org/supportingData";
54817
54934
  var surface2 = "https://schema.org/surface";
54935
+ var syllabusSections2 = "https://schema.org/syllabusSections";
54818
54936
  var target4 = "https://schema.org/target";
54819
54937
  var targetDescription2 = "https://schema.org/targetDescription";
54820
54938
  var targetName2 = "https://schema.org/targetName";
@@ -54852,6 +54970,7 @@ var tocEntry2 = "https://schema.org/tocEntry";
54852
54970
  var tongueWeight2 = "https://schema.org/tongueWeight";
54853
54971
  var tool2 = "https://schema.org/tool";
54854
54972
  var torque2 = "https://schema.org/torque";
54973
+ var totalHistoricalEnrollment2 = "https://schema.org/totalHistoricalEnrollment";
54855
54974
  var totalJobOpenings2 = "https://schema.org/totalJobOpenings";
54856
54975
  var totalPaymentDue2 = "https://schema.org/totalPaymentDue";
54857
54976
  var totalPrice2 = "https://schema.org/totalPrice";
@@ -54875,6 +54994,7 @@ var transmissionMethod2 = "https://schema.org/transmissionMethod";
54875
54994
  var travelBans2 = "https://schema.org/travelBans";
54876
54995
  var trialDesign2 = "https://schema.org/trialDesign";
54877
54996
  var tributary2 = "https://schema.org/tributary";
54997
+ var tripOrigin2 = "https://schema.org/tripOrigin";
54878
54998
  var typeOfBed2 = "https://schema.org/typeOfBed";
54879
54999
  var typeOfGood2 = "https://schema.org/typeOfGood";
54880
55000
  var typicalAgeRange2 = "https://schema.org/typicalAgeRange";
@@ -55022,6 +55142,7 @@ var mainContentOfPage2 = "https://schema.org/mainContentOfPage";
55022
55142
  var mainEntity2 = "https://schema.org/mainEntity";
55023
55143
  var mainEntityOfPage2 = "https://schema.org/mainEntityOfPage";
55024
55144
  var makesOffer2 = "https://schema.org/makesOffer";
55145
+ var measurementTechnique2 = "https://schema.org/measurementTechnique";
55025
55146
  var merchantReturnDays2 = "https://schema.org/merchantReturnDays";
55026
55147
  var merchantReturnLink2 = "https://schema.org/merchantReturnLink";
55027
55148
  var offeredBy2 = "https://schema.org/offeredBy";
@@ -55268,6 +55389,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55268
55389
  ComputerStore: ComputerStore2,
55269
55390
  ConfirmAction: ConfirmAction2,
55270
55391
  Consortium: Consortium2,
55392
+ ConstraintNode: ConstraintNode2,
55271
55393
  ConsumeAction: ConsumeAction2,
55272
55394
  ContactPage: ContactPage2,
55273
55395
  ContactPoint: ContactPoint3,
@@ -55543,6 +55665,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55543
55665
  Mass: Mass2,
55544
55666
  MathSolver: MathSolver2,
55545
55667
  MaximumDoseSchedule: MaximumDoseSchedule2,
55668
+ MeasurementMethodEnum: MeasurementMethodEnum2,
55546
55669
  MeasurementTypeEnumeration: MeasurementTypeEnumeration2,
55547
55670
  MediaGallery: MediaGallery2,
55548
55671
  MediaManipulationRatingEnumeration: MediaManipulationRatingEnumeration2,
@@ -55725,6 +55848,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55725
55848
  PodcastSeason: PodcastSeason2,
55726
55849
  PodcastSeries: PodcastSeries2,
55727
55850
  PoliceStation: PoliceStation2,
55851
+ PoliticalParty: PoliticalParty2,
55728
55852
  Pond: Pond2,
55729
55853
  PostOffice: PostOffice2,
55730
55854
  PostalAddress: PostalAddress2,
@@ -55879,6 +56003,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55879
56003
  State: State2,
55880
56004
  Statement: Statement4,
55881
56005
  StatisticalPopulation: StatisticalPopulation2,
56006
+ StatisticalVariable: StatisticalVariable2,
55882
56007
  StatusEnumeration: StatusEnumeration2,
55883
56008
  SteeringPositionValue: SteeringPositionValue2,
55884
56009
  Store: Store3,
@@ -55891,6 +56016,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55891
56016
  SuperficialAnatomy: SuperficialAnatomy2,
55892
56017
  SurgicalProcedure: SurgicalProcedure2,
55893
56018
  SuspendAction: SuspendAction2,
56019
+ Syllabus: Syllabus2,
55894
56020
  Synagogue: Synagogue2,
55895
56021
  TVClip: TVClip2,
55896
56022
  TVEpisode: TVEpisode2,
@@ -55910,6 +56036,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55910
56036
  TennisComplex: TennisComplex2,
55911
56037
  Text: Text2,
55912
56038
  TextDigitalDocument: TextDigitalDocument2,
56039
+ TextObject: TextObject2,
55913
56040
  TheaterEvent: TheaterEvent2,
55914
56041
  TheaterGroup: TheaterGroup2,
55915
56042
  TherapeuticProcedure: TherapeuticProcedure2,
@@ -55954,6 +56081,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
55954
56081
  UserPlusOnes: UserPlusOnes2,
55955
56082
  UserReview: UserReview2,
55956
56083
  UserTweets: UserTweets2,
56084
+ VacationRental: VacationRental2,
55957
56085
  Vehicle: Vehicle2,
55958
56086
  Vein: Vein2,
55959
56087
  Vessel: Vessel2,
@@ -56241,7 +56369,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
56241
56369
  conditionsOfAccess: conditionsOfAccess2,
56242
56370
  confirmationNumber: confirmationNumber2,
56243
56371
  connectedTo: connectedTo2,
56244
- constrainingProperty: constrainingProperty2,
56372
+ constraintProperty: constraintProperty2,
56245
56373
  contactOption: contactOption2,
56246
56374
  contactPoints: contactPoints2,
56247
56375
  contactType: contactType2,
@@ -56274,6 +56402,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
56274
56402
  courseCode: courseCode2,
56275
56403
  courseMode: courseMode2,
56276
56404
  coursePrerequisites: coursePrerequisites2,
56405
+ courseSchedule: courseSchedule2,
56277
56406
  courseWorkload: courseWorkload2,
56278
56407
  coverageEndTime: coverageEndTime2,
56279
56408
  coverageStartTime: coverageStartTime2,
@@ -56727,8 +56856,9 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
56727
56856
  maximumVirtualAttendeeCapacity: maximumVirtualAttendeeCapacity2,
56728
56857
  mealService: mealService2,
56729
56858
  measuredProperty: measuredProperty2,
56730
- measuredValue: measuredValue2,
56731
- measurementTechnique: measurementTechnique2,
56859
+ measurementDenominator: measurementDenominator2,
56860
+ measurementMethod: measurementMethod2,
56861
+ measurementQualifier: measurementQualifier2,
56732
56862
  mechanismOfAction: mechanismOfAction2,
56733
56863
  mediaAuthenticityCategory: mediaAuthenticityCategory2,
56734
56864
  mediaItemAppearance: mediaItemAppearance2,
@@ -56813,8 +56943,9 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
56813
56943
  numberOfSeasons: numberOfSeasons2,
56814
56944
  numberedPosition: numberedPosition2,
56815
56945
  nutrition: nutrition2,
56946
+ observationAbout: observationAbout2,
56816
56947
  observationDate: observationDate2,
56817
- observedNode: observedNode2,
56948
+ observationPeriod: observationPeriod2,
56818
56949
  occupancy: occupancy2,
56819
56950
  occupationLocation: occupationLocation2,
56820
56951
  occupationalCategory: occupationalCategory2,
@@ -57136,6 +57267,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57136
57267
  startDate: startDate3,
57137
57268
  startOffset: startOffset2,
57138
57269
  startTime: startTime3,
57270
+ statType: statType2,
57139
57271
  status: status6,
57140
57272
  steeringPosition: steeringPosition2,
57141
57273
  stepValue: stepValue2,
@@ -57168,6 +57300,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57168
57300
  supplyTo: supplyTo2,
57169
57301
  supportingData: supportingData2,
57170
57302
  surface: surface2,
57303
+ syllabusSections: syllabusSections2,
57171
57304
  target: target4,
57172
57305
  targetDescription: targetDescription2,
57173
57306
  targetName: targetName2,
@@ -57205,6 +57338,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57205
57338
  tongueWeight: tongueWeight2,
57206
57339
  tool: tool2,
57207
57340
  torque: torque2,
57341
+ totalHistoricalEnrollment: totalHistoricalEnrollment2,
57208
57342
  totalJobOpenings: totalJobOpenings2,
57209
57343
  totalPaymentDue: totalPaymentDue2,
57210
57344
  totalPrice: totalPrice2,
@@ -57228,6 +57362,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57228
57362
  travelBans: travelBans2,
57229
57363
  trialDesign: trialDesign2,
57230
57364
  tributary: tributary2,
57365
+ tripOrigin: tripOrigin2,
57231
57366
  typeOfBed: typeOfBed2,
57232
57367
  typeOfGood: typeOfGood2,
57233
57368
  typicalAgeRange: typicalAgeRange2,
@@ -57375,6 +57510,7 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57375
57510
  mainEntity: mainEntity2,
57376
57511
  mainEntityOfPage: mainEntityOfPage2,
57377
57512
  makesOffer: makesOffer2,
57513
+ measurementTechnique: measurementTechnique2,
57378
57514
  merchantReturnDays: merchantReturnDays2,
57379
57515
  merchantReturnLink: merchantReturnLink2,
57380
57516
  offeredBy: offeredBy2,
@@ -57457,6 +57593,70 @@ var schema_httpsImport = /* @__PURE__ */ Object.freeze({
57457
57593
  identifier: identifier5
57458
57594
  });
57459
57595
 
57596
+ // ../node_modules/rdf-namespaces/dist/sec-5a58a07a.js
57597
+ var Proof = "https://w3id.org/security#Proof";
57598
+ var ProofGraph = "https://w3id.org/security#ProofGraph";
57599
+ var VerificationMethod = "https://w3id.org/security#VerificationMethod";
57600
+ var DataIntegrityProof = "https://w3id.org/security#DataIntegrityProof";
57601
+ var Multikey = "https://w3id.org/security#Multikey";
57602
+ var JsonWebKey = "https://w3id.org/security#JsonWebKey";
57603
+ var Ed25519VerificationKey2020 = "https://w3id.org/security#Ed25519VerificationKey2020";
57604
+ var Ed25519Signature2020 = "https://w3id.org/security#Ed25519Signature2020";
57605
+ var ProcessingError = "https://w3id.org/security#ProcessingError";
57606
+ var Key = "https://w3id.org/security#Key";
57607
+ var EcdsaSecp256k1Signature2019 = "https://w3id.org/security#EcdsaSecp256k1Signature2019";
57608
+ var EcdsaSecp256k1Signature2020 = "https://w3id.org/security#EcdsaSecp256k1Signature2020";
57609
+ var EcdsaSecp256k1VerificationKey2019 = "https://w3id.org/security#EcdsaSecp256k1VerificationKey2019";
57610
+ var EcdsaSecp256k1RecoverySignature2020 = "https://w3id.org/security#EcdsaSecp256k1RecoverySignature2020";
57611
+ var EcdsaSecp256k1RecoveryMethod2020 = "https://w3id.org/security#EcdsaSecp256k1RecoveryMethod2020";
57612
+ var MerkleProof2019 = "https://w3id.org/security#MerkleProof2019";
57613
+ var X25519KeyAgreementKey2019 = "https://w3id.org/security#X25519KeyAgreementKey2019";
57614
+ var Ed25519VerificationKey2018 = "https://w3id.org/security#Ed25519VerificationKey2018";
57615
+ var JsonWebKey2020 = "https://w3id.org/security#JsonWebKey2020";
57616
+ var JsonWebSignature2020 = "https://w3id.org/security#JsonWebSignature2020";
57617
+ var BbsBlsSignature2020 = "https://w3id.org/security#BbsBlsSignature2020";
57618
+ var BbsBlsSignatureProof2020 = "https://w3id.org/security#BbsBlsSignatureProof2020";
57619
+ var Bls12381G1Key2020 = "https://w3id.org/security#Bls12381G1Key2020";
57620
+ var Bls12381G2Key2020 = "https://w3id.org/security#Bls12381G2Key2020";
57621
+ var blockchainAccountId = "https://w3id.org/security#blockchainAccountId";
57622
+ var ethereumAddress = "https://w3id.org/security#ethereumAddress";
57623
+ var publicKeyBase58 = "https://w3id.org/security#publicKeyBase58";
57624
+ var publicKeyPem = "https://w3id.org/security#publicKeyPem";
57625
+ var publicKeyHex = "https://w3id.org/security#publicKeyHex";
57626
+ var jws = "https://w3id.org/security#jws";
57627
+ var secImport = /* @__PURE__ */ Object.freeze({
57628
+ Proof,
57629
+ ProofGraph,
57630
+ VerificationMethod,
57631
+ DataIntegrityProof,
57632
+ Multikey,
57633
+ JsonWebKey,
57634
+ Ed25519VerificationKey2020,
57635
+ Ed25519Signature2020,
57636
+ ProcessingError,
57637
+ Key,
57638
+ EcdsaSecp256k1Signature2019,
57639
+ EcdsaSecp256k1Signature2020,
57640
+ EcdsaSecp256k1VerificationKey2019,
57641
+ EcdsaSecp256k1RecoverySignature2020,
57642
+ EcdsaSecp256k1RecoveryMethod2020,
57643
+ MerkleProof2019,
57644
+ X25519KeyAgreementKey2019,
57645
+ Ed25519VerificationKey2018,
57646
+ JsonWebKey2020,
57647
+ JsonWebSignature2020,
57648
+ BbsBlsSignature2020,
57649
+ BbsBlsSignatureProof2020,
57650
+ Bls12381G1Key2020,
57651
+ Bls12381G2Key2020,
57652
+ blockchainAccountId,
57653
+ ethereumAddress,
57654
+ publicKeyBase58,
57655
+ publicKeyPem,
57656
+ publicKeyHex,
57657
+ jws
57658
+ });
57659
+
57460
57660
  // ../node_modules/rdf-namespaces/dist/sioc-49ca0ecf.js
57461
57661
  var Community = "http://rdfs.org/sioc/ns#Community";
57462
57662
  var Container3 = "http://rdfs.org/sioc/ns#Container";
@@ -58231,6 +58431,7 @@ var rdfs = rdfsImport;
58231
58431
  var sched = schedImport;
58232
58432
  var schema = schemaImport;
58233
58433
  var schema_https = schema_httpsImport;
58434
+ var sec = secImport;
58234
58435
  var sioc = siocImport;
58235
58436
  var skos = skosImport;
58236
58437
  var solid = solidImport;