react-iiif-vault 0.9.12 → 0.9.13

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.
@@ -805,6 +805,25 @@ function useStyles(resource, scope) {
805
805
  return styles ? scope ? styles[scope] : styles : void 0;
806
806
  }, [resource, scope]);
807
807
  }
808
+ var __defProp2 = Object.defineProperty;
809
+ var __defProps2 = Object.defineProperties;
810
+ var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
811
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
812
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
813
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
814
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
815
+ var __spreadValues2 = (a, b) => {
816
+ for (var prop in b || (b = {}))
817
+ if (__hasOwnProp2.call(b, prop))
818
+ __defNormalProp2(a, prop, b[prop]);
819
+ if (__getOwnPropSymbols2)
820
+ for (var prop of __getOwnPropSymbols2(b)) {
821
+ if (__propIsEnum2.call(b, prop))
822
+ __defNormalProp2(a, prop, b[prop]);
823
+ }
824
+ return a;
825
+ };
826
+ var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
808
827
  const BOX_SELECTOR = /&?(xywh=)?(pixel:|percent:|pct:)?([0-9]+(?:\.[0-9]+)?),([0-9]+(?:\.[0-9]+)?),([0-9]+(?:\.[0-9]+)?),([0-9]+(?:\.[0-9]+)?)/;
809
828
  const TEMPORAL_SELECTOR = /&?(t=)(npt:)?([0-9]+(.[0-9]+)?)?(,([0-9]+(.[0-9]+)?))?/;
810
829
  function parseSelector(source) {
@@ -949,7 +968,7 @@ function expandTarget(target, options = {}) {
949
968
  if (!fragment) {
950
969
  return {
951
970
  type: "SpecificResource",
952
- source: __spreadProps(__spreadValues({}, target), {
971
+ source: __spreadProps2(__spreadValues2({}, target), {
953
972
  id
954
973
  }),
955
974
  selector: null,
@@ -958,7 +977,7 @@ function expandTarget(target, options = {}) {
958
977
  }
959
978
  return expandTarget({
960
979
  type: "SpecificResource",
961
- source: __spreadProps(__spreadValues({}, target), {
980
+ source: __spreadProps2(__spreadValues2({}, target), {
962
981
  id
963
982
  }),
964
983
  selector: {