dbf-mirador 4.2.5 → 4.3.0-testing2
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/README.md +17 -80
- package/dist/AudioViewer-tRH73pbt.js +40 -0
- package/dist/AudioViewer-tRH73pbt.js.map +1 -0
- package/dist/{CommentSharp-NUjBddtU.js → CommentSharp-DaW0oBJy.js} +40 -43
- package/dist/CommentSharp-DaW0oBJy.js.map +1 -0
- package/dist/{FailedImageContext-CMg_Behz.js → FailedImageContext-DYZ9cZx9.js} +6 -6
- package/dist/FailedImageContext-DYZ9cZx9.js.map +1 -0
- package/dist/GalleryView-DyLH1kk0.js +176 -0
- package/dist/GalleryView-DyLH1kk0.js.map +1 -0
- package/dist/OpenSeadragonViewer-CBmX5sYE.js +7852 -0
- package/dist/OpenSeadragonViewer-CBmX5sYE.js.map +1 -0
- package/dist/{PluginHook-D8r77ZZu.js → PluginHook-DWFCXIIp.js} +3 -3
- package/dist/PluginHook-DWFCXIIp.js.map +1 -0
- package/dist/SelectCollection-BK9ZDkK3.js +67 -0
- package/dist/SelectCollection-BK9ZDkK3.js.map +1 -0
- package/dist/TextViewer-D_1qzQE4.js +38 -0
- package/dist/TextViewer-D_1qzQE4.js.map +1 -0
- package/dist/VideoViewer-DzNjgLWE.js +42 -0
- package/dist/VideoViewer-DzNjgLWE.js.map +1 -0
- package/dist/{WindowCanvasNavigationControls-BTkfeaAf.js → WindowCanvasNavigationControls-D2uLtL_A.js} +7 -7
- package/dist/WindowCanvasNavigationControls-D2uLtL_A.js.map +1 -0
- package/dist/WindowViewer-BW0_w7wv.js +27 -0
- package/dist/WindowViewer-BW0_w7wv.js.map +1 -0
- package/dist/WorkspaceArea-C0RjqnIL.js +22222 -0
- package/dist/WorkspaceArea-C0RjqnIL.js.map +1 -0
- package/dist/{canvas-BqYerOKD.js → canvas-2ACcnS9Y.js} +2 -2
- package/dist/{canvas-BqYerOKD.js.map → canvas-2ACcnS9Y.js.map} +1 -1
- package/dist/{canvases-DU_CwLPL.js → canvases-DTR37lo-.js} +190 -90
- package/dist/canvases-DTR37lo-.js.map +1 -0
- package/dist/{getters-_7oCN-rP.js → getters-B4oepJRC.js} +257 -280
- package/dist/getters-B4oepJRC.js.map +1 -0
- package/dist/{index.module-D9wVojda.js → index.module-CgUBfaXx.js} +6 -6
- package/dist/index.module-CgUBfaXx.js.map +1 -0
- package/dist/mirador.es.js +8778 -39138
- package/dist/mirador.es.js.map +1 -1
- package/dist/mirador.min.js +75 -74
- package/dist/mirador.min.js.map +1 -1
- package/dist/{react-error-boundary.esm-B_pT-oCS.js → react-error-boundary.esm-ByHqCaxk.js} +2 -2
- package/dist/react-error-boundary.esm-ByHqCaxk.js.map +1 -0
- package/dist/{visuallyHidden-qk1C0S9l.js → visuallyHidden-C4mhQkB0.js} +4 -4
- package/dist/visuallyHidden-C4mhQkB0.js.map +1 -0
- package/dist/{window-BYD7F_2a.js → window-COQOIAli.js} +2 -2
- package/dist/{window-BYD7F_2a.js.map → window-COQOIAli.js.map} +1 -1
- package/package.json +3 -2
- package/dist/CommentSharp-NUjBddtU.js.map +0 -1
- package/dist/FailedImageContext-CMg_Behz.js.map +0 -1
- package/dist/PluginHook-D8r77ZZu.js.map +0 -1
- package/dist/WindowCanvasNavigationControls-BTkfeaAf.js.map +0 -1
- package/dist/canvases-DU_CwLPL.js.map +0 -1
- package/dist/getters-_7oCN-rP.js.map +0 -1
- package/dist/index.module-D9wVojda.js.map +0 -1
- package/dist/react-error-boundary.esm-B_pT-oCS.js.map +0 -1
- package/dist/visuallyHidden-qk1C0S9l.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as e, C as t, D as n, G as r, J as i, K as a, Q as o, S as s, T as c, Y as l, Z as u, a as d, c as f, d as p, f as m, ft as h, l as g, m as _, n as v, nt as y, o as b, q as x, rt as S, tt as C, u as w, ut as T, v as E, w as D, x as O } from "./getters-
|
|
2
|
-
//#region
|
|
1
|
+
import { $ as e, C as t, D as n, G as r, J as i, K as a, Q as o, S as s, T as c, Y as l, Z as u, a as d, c as f, d as p, f as m, ft as h, l as g, m as _, n as v, nt as y, o as b, q as x, rt as S, tt as C, u as w, ut as T, v as E, w as D, x as O } from "./getters-B4oepJRC.js";
|
|
2
|
+
//#region node_modules/lodash/_isKey.js
|
|
3
3
|
var k = /* @__PURE__ */ T(((e, t) => {
|
|
4
4
|
var n = S(), r = o(), i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
|
|
5
5
|
function s(e, t) {
|
|
@@ -704,10 +704,10 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
704
704
|
typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define("manifesto", [], r) : typeof e == "object" ? e.manifesto = r() : n.manifesto = r();
|
|
705
705
|
})(Object(typeof self < "u" ? self : e), () => (() => {
|
|
706
706
|
var e = {
|
|
707
|
-
|
|
707
|
+
7019(e, t) {
|
|
708
708
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CONTINUE = 100, t.SWITCHING_PROTOCOLS = 101, t.PROCESSING = 102, t.OK = 200, t.CREATED = 201, t.ACCEPTED = 202, t.NON_AUTHORITATIVE_INFORMATION = 203, t.NO_CONTENT = 204, t.RESET_CONTENT = 205, t.PARTIAL_CONTENT = 206, t.MULTI_STATUS = 207, t.MULTIPLE_CHOICES = 300, t.MOVED_PERMANENTLY = 301, t.MOVED_TEMPORARILY = 302, t.SEE_OTHER = 303, t.NOT_MODIFIED = 304, t.USE_PROXY = 305, t.TEMPORARY_REDIRECT = 307, t.BAD_REQUEST = 400, t.UNAUTHORIZED = 401, t.PAYMENT_REQUIRED = 402, t.FORBIDDEN = 403, t.NOT_FOUND = 404, t.METHOD_NOT_ALLOWED = 405, t.NOT_ACCEPTABLE = 406, t.PROXY_AUTHENTICATION_REQUIRED = 407, t.REQUEST_TIME_OUT = 408, t.CONFLICT = 409, t.GONE = 410, t.LENGTH_REQUIRED = 411, t.PRECONDITION_FAILED = 412, t.REQUEST_ENTITY_TOO_LARGE = 413, t.REQUEST_URI_TOO_LARGE = 414, t.UNSUPPORTED_MEDIA_TYPE = 415, t.REQUESTED_RANGE_NOT_SATISFIABLE = 416, t.EXPECTATION_FAILED = 417, t.IM_A_TEAPOT = 418, t.UNPROCESSABLE_ENTITY = 422, t.LOCKED = 423, t.FAILED_DEPENDENCY = 424, t.UNORDERED_COLLECTION = 425, t.UPGRADE_REQUIRED = 426, t.PRECONDITION_REQUIRED = 428, t.TOO_MANY_REQUESTS = 429, t.REQUEST_HEADER_FIELDS_TOO_LARGE = 431, t.INTERNAL_SERVER_ERROR = 500, t.NOT_IMPLEMENTED = 501, t.BAD_GATEWAY = 502, t.SERVICE_UNAVAILABLE = 503, t.GATEWAY_TIME_OUT = 504, t.HTTP_VERSION_NOT_SUPPORTED = 505, t.VARIANT_ALSO_NEGOTIATES = 506, t.INSUFFICIENT_STORAGE = 507, t.BANDWIDTH_LIMIT_EXCEEDED = 509, t.NOT_EXTENDED = 510, t.NETWORK_AUTHENTICATION_REQUIRED = 511;
|
|
709
709
|
},
|
|
710
|
-
|
|
710
|
+
3957(e, t) {
|
|
711
711
|
var n, r, i, a, o, s, c, l, u, d;
|
|
712
712
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ViewingHint = t.ViewingDirection = t.ServiceType = t.ServiceProfile = t.RenderingFormat = t.MediaType = t.IIIFResourceType = t.ExternalResourceType = t.Behavior = t.AnnotationMotivation = void 0, function(e) {
|
|
713
713
|
e.BOOKMARKING = "oa:bookmarking", e.CLASSIFYING = "oa:classifying", e.COMMENTING = "oa:commenting", e.DESCRIBING = "oa:describing", e.EDITING = "oa:editing", e.HIGHLIGHTING = "oa:highlighting", e.IDENTIFYING = "oa:identifying", e.LINKING = "oa:linking", e.MODERATING = "oa:moderating", e.PAINTING = "sc:painting", e.QUESTIONING = "oa:questioning", e.REPLYING = "oa:replying", e.TAGGING = "oa:tagging", e.TRANSCRIBING = "oad:transcribing";
|
|
@@ -732,9 +732,100 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
732
732
|
}(d || (t.ViewingHint = d = {}));
|
|
733
733
|
},
|
|
734
734
|
916(e, t, n) {
|
|
735
|
-
e.exports = self.fetch || (self.fetch = n(
|
|
735
|
+
e.exports = self.fetch || (self.fetch = n(6782).default || n(6782));
|
|
736
736
|
},
|
|
737
|
-
|
|
737
|
+
1873(e, t, n) {
|
|
738
|
+
e.exports = n(9325).Symbol;
|
|
739
|
+
},
|
|
740
|
+
4528(e) {
|
|
741
|
+
e.exports = function(e, t) {
|
|
742
|
+
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
743
|
+
return e;
|
|
744
|
+
};
|
|
745
|
+
},
|
|
746
|
+
3120(e, t, n) {
|
|
747
|
+
var r = n(4528), i = n(5891);
|
|
748
|
+
e.exports = function e(t, n, a, o, s) {
|
|
749
|
+
var c = -1, l = t.length;
|
|
750
|
+
for (a ||= i, s ||= []; ++c < l;) {
|
|
751
|
+
var u = t[c];
|
|
752
|
+
n > 0 && a(u) ? n > 1 ? e(u, n - 1, a, o, s) : r(s, u) : o || (s[s.length] = u);
|
|
753
|
+
}
|
|
754
|
+
return s;
|
|
755
|
+
};
|
|
756
|
+
},
|
|
757
|
+
2552(e, t, n) {
|
|
758
|
+
var r = n(1873), i = n(659), a = n(9350), o = r ? r.toStringTag : void 0;
|
|
759
|
+
e.exports = function(e) {
|
|
760
|
+
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : o && o in Object(e) ? i(e) : a(e);
|
|
761
|
+
};
|
|
762
|
+
},
|
|
763
|
+
7534(e, t, n) {
|
|
764
|
+
var r = n(2552), i = n(346);
|
|
765
|
+
e.exports = function(e) {
|
|
766
|
+
return i(e) && r(e) == "[object Arguments]";
|
|
767
|
+
};
|
|
768
|
+
},
|
|
769
|
+
4840(e, t, n) {
|
|
770
|
+
e.exports = typeof n.g == "object" && n.g && n.g.Object === Object && n.g;
|
|
771
|
+
},
|
|
772
|
+
659(e, t, n) {
|
|
773
|
+
var r = n(1873), i = Object.prototype, a = i.hasOwnProperty, o = i.toString, s = r ? r.toStringTag : void 0;
|
|
774
|
+
e.exports = function(e) {
|
|
775
|
+
var t = a.call(e, s), n = e[s];
|
|
776
|
+
try {
|
|
777
|
+
e[s] = void 0;
|
|
778
|
+
var r = !0;
|
|
779
|
+
} catch {}
|
|
780
|
+
var i = o.call(e);
|
|
781
|
+
return r && (t ? e[s] = n : delete e[s]), i;
|
|
782
|
+
};
|
|
783
|
+
},
|
|
784
|
+
5891(e, t, n) {
|
|
785
|
+
var r = n(1873), i = n(2428), a = n(6449), o = r ? r.isConcatSpreadable : void 0;
|
|
786
|
+
e.exports = function(e) {
|
|
787
|
+
return a(e) || i(e) || !!(o && e && e[o]);
|
|
788
|
+
};
|
|
789
|
+
},
|
|
790
|
+
9350(e) {
|
|
791
|
+
var t = Object.prototype.toString;
|
|
792
|
+
e.exports = function(e) {
|
|
793
|
+
return t.call(e);
|
|
794
|
+
};
|
|
795
|
+
},
|
|
796
|
+
9325(e, t, n) {
|
|
797
|
+
var r = n(4840), i = typeof self == "object" && self && self.Object === Object && self;
|
|
798
|
+
e.exports = r || i || Function("return this")();
|
|
799
|
+
},
|
|
800
|
+
5970(e, t, n) {
|
|
801
|
+
var r = n(3120);
|
|
802
|
+
e.exports = function(e) {
|
|
803
|
+
return e != null && e.length ? r(e, 1) : [];
|
|
804
|
+
};
|
|
805
|
+
},
|
|
806
|
+
3176(e, t, n) {
|
|
807
|
+
var r = n(3120), i = 1 / 0;
|
|
808
|
+
e.exports = function(e) {
|
|
809
|
+
return e != null && e.length ? r(e, i) : [];
|
|
810
|
+
};
|
|
811
|
+
},
|
|
812
|
+
2428(e, t, n) {
|
|
813
|
+
var r = n(7534), i = n(346), a = Object.prototype, o = a.hasOwnProperty, s = a.propertyIsEnumerable;
|
|
814
|
+
e.exports = r(function() {
|
|
815
|
+
return arguments;
|
|
816
|
+
}()) ? r : function(e) {
|
|
817
|
+
return i(e) && o.call(e, "callee") && !s.call(e, "callee");
|
|
818
|
+
};
|
|
819
|
+
},
|
|
820
|
+
6449(e) {
|
|
821
|
+
e.exports = Array.isArray;
|
|
822
|
+
},
|
|
823
|
+
346(e) {
|
|
824
|
+
e.exports = function(e) {
|
|
825
|
+
return typeof e == "object" && !!e;
|
|
826
|
+
};
|
|
827
|
+
},
|
|
828
|
+
3039(e, t, n) {
|
|
738
829
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
739
830
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
740
831
|
e.__proto__ = t;
|
|
@@ -749,7 +840,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
749
840
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
750
841
|
});
|
|
751
842
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Annotation = void 0;
|
|
752
|
-
var a = n(
|
|
843
|
+
var a = n(4799);
|
|
753
844
|
t.Annotation = function(e) {
|
|
754
845
|
function t(t, n) {
|
|
755
846
|
return e.call(this, t, n) || this;
|
|
@@ -780,7 +871,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
780
871
|
}, t;
|
|
781
872
|
}(a.ManifestResource);
|
|
782
873
|
},
|
|
783
|
-
|
|
874
|
+
2339(e, t, n) {
|
|
784
875
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
785
876
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
786
877
|
e.__proto__ = t;
|
|
@@ -795,7 +886,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
795
886
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
796
887
|
});
|
|
797
888
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AnnotationBody = void 0;
|
|
798
|
-
var a = n(
|
|
889
|
+
var a = n(4799);
|
|
799
890
|
t.AnnotationBody = function(e) {
|
|
800
891
|
function t(t, n) {
|
|
801
892
|
return e.call(this, t, n) || this;
|
|
@@ -816,7 +907,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
816
907
|
}, t;
|
|
817
908
|
}(a.ManifestResource);
|
|
818
909
|
},
|
|
819
|
-
|
|
910
|
+
3435(e, t, n) {
|
|
820
911
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
821
912
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
822
913
|
e.__proto__ = t;
|
|
@@ -831,7 +922,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
831
922
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
832
923
|
});
|
|
833
924
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AnnotationList = void 0;
|
|
834
|
-
var a = n(
|
|
925
|
+
var a = n(4799);
|
|
835
926
|
t.AnnotationList = function(e) {
|
|
836
927
|
function t(t, n, r) {
|
|
837
928
|
var i = e.call(this, n) || this;
|
|
@@ -860,7 +951,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
860
951
|
}, t;
|
|
861
952
|
}(a.JSONLDResource);
|
|
862
953
|
},
|
|
863
|
-
|
|
954
|
+
3556(e, t, n) {
|
|
864
955
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
865
956
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
866
957
|
e.__proto__ = t;
|
|
@@ -875,7 +966,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
875
966
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
876
967
|
});
|
|
877
968
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AnnotationPage = void 0;
|
|
878
|
-
var a = n(
|
|
969
|
+
var a = n(4799);
|
|
879
970
|
t.AnnotationPage = function(e) {
|
|
880
971
|
function t(t, n) {
|
|
881
972
|
return e.call(this, t, n) || this;
|
|
@@ -893,7 +984,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
893
984
|
}, t;
|
|
894
985
|
}(a.ManifestResource);
|
|
895
986
|
},
|
|
896
|
-
|
|
987
|
+
8098(e, t, n) {
|
|
897
988
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
898
989
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
899
990
|
e.__proto__ = t;
|
|
@@ -906,9 +997,11 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
906
997
|
this.constructor = e;
|
|
907
998
|
}
|
|
908
999
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
909
|
-
})
|
|
1000
|
+
}), a = this && this.__importDefault || function(e) {
|
|
1001
|
+
return e && e.__esModule ? e : { default: e };
|
|
1002
|
+
};
|
|
910
1003
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Canvas = void 0;
|
|
911
|
-
var
|
|
1004
|
+
var o = n(3957), s = n(4799), c = a(n(5970)), l = a(n(3176));
|
|
912
1005
|
t.Canvas = function(e) {
|
|
913
1006
|
function t(t, n) {
|
|
914
1007
|
return e.call(this, t, n) || this;
|
|
@@ -919,17 +1012,17 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
919
1012
|
else {
|
|
920
1013
|
var a = void 0;
|
|
921
1014
|
if ((a = this.getImages()) && a.length) {
|
|
922
|
-
var
|
|
923
|
-
if (r ||=
|
|
924
|
-
return
|
|
925
|
-
}) : null) t = l.id, n =
|
|
926
|
-
else if (r ===
|
|
1015
|
+
var o = a[0].getResource(), c = o.getServices();
|
|
1016
|
+
if (r ||= o.getWidth(), l = c ? c.find(function(e) {
|
|
1017
|
+
return s.Utils.isImageProfile(e.getProfile()) || s.Utils.isImageServiceType(e.getIIIFResourceType());
|
|
1018
|
+
}) : null) t = l.id, n = s.Utils.getImageQuality(l.getProfile());
|
|
1019
|
+
else if (r === o.getWidth()) return o.id;
|
|
927
1020
|
}
|
|
928
1021
|
if ((a = this.getContent()) && a.length) {
|
|
929
1022
|
var l, u = a[0].getBody()[0];
|
|
930
1023
|
if (c = u.getServices(), r ||= u.getWidth(), l = c ? c.find(function(e) {
|
|
931
|
-
return
|
|
932
|
-
}) : null) t = l.id, n =
|
|
1024
|
+
return s.Utils.isImageServiceType(e.getIIIFResourceType());
|
|
1025
|
+
}) : null) t = l.id, n = s.Utils.getImageQuality(l.getProfile());
|
|
933
1026
|
else if (r === u.getWidth()) return u.id;
|
|
934
1027
|
}
|
|
935
1028
|
if (!t) {
|
|
@@ -952,12 +1045,12 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
952
1045
|
var e, t = null;
|
|
953
1046
|
return this.externalResource && this.externalResource.data && this.externalResource.data.profile && (e = this.externalResource.data.profile, Array.isArray(e) && (e = e.filter(function(e) {
|
|
954
1047
|
return e.maxWidth ?? e.maxwidth;
|
|
955
|
-
})[0]) && (t = new
|
|
1048
|
+
})[0]) && (t = new s.Size(e.maxWidth, e.maxHeight ? e.maxHeight : e.maxWidth))), this.externalResource && this.externalResource.data && this.externalResource.data.maxWidth && (t = new s.Size(this.externalResource.data.maxWidth, this.externalResource.data.maxHeight ? this.externalResource.data.maxHeight : this.externalResource.data.maxWidth)), t;
|
|
956
1049
|
}, t.prototype.getContent = function() {
|
|
957
1050
|
var e = [], t = this.__jsonld.items || this.__jsonld.content;
|
|
958
1051
|
if (!t) return e;
|
|
959
1052
|
var n = null;
|
|
960
|
-
if (t.length && (n = new
|
|
1053
|
+
if (t.length && (n = new s.AnnotationPage(t[0], this.options)), !n) return e;
|
|
961
1054
|
for (var r = n.getAnnotations(), i = 0; i < r.length; i++) {
|
|
962
1055
|
var a = r[i];
|
|
963
1056
|
e.push(a);
|
|
@@ -967,7 +1060,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
967
1060
|
var e = [], t = this.__jsonld.annotations;
|
|
968
1061
|
if (!t || !Array.isArray(t)) return e;
|
|
969
1062
|
for (var n = 0; n < t.length; n++) {
|
|
970
|
-
var r = new
|
|
1063
|
+
var r = new s.AnnotationPage(t[n], this.options);
|
|
971
1064
|
e.push(r);
|
|
972
1065
|
}
|
|
973
1066
|
return e;
|
|
@@ -977,7 +1070,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
977
1070
|
var e = [];
|
|
978
1071
|
if (!this.__jsonld.images) return e;
|
|
979
1072
|
for (var t = 0; t < this.__jsonld.images.length; t++) {
|
|
980
|
-
var n = this.__jsonld.images[t], r = new
|
|
1073
|
+
var n = this.__jsonld.images[t], r = new s.Annotation(n, this.options);
|
|
981
1074
|
e.push(r);
|
|
982
1075
|
}
|
|
983
1076
|
return e;
|
|
@@ -988,7 +1081,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
988
1081
|
return e && typeof (t = e["@type"]) == "string" && t.toLowerCase() == t.toLowerCase();
|
|
989
1082
|
var t;
|
|
990
1083
|
}).map(function(t, n) {
|
|
991
|
-
return new
|
|
1084
|
+
return new s.AnnotationList(t.label || `Annotation list ${n}`, t, e.options);
|
|
992
1085
|
}).map(function(e) {
|
|
993
1086
|
return e.load();
|
|
994
1087
|
});
|
|
@@ -1002,34 +1095,34 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1002
1095
|
return Array.isArray(e) && (e = e[0]), e || null;
|
|
1003
1096
|
}, Object.defineProperty(t.prototype, "imageResources", {
|
|
1004
1097
|
get: function() {
|
|
1005
|
-
var e = this
|
|
1006
|
-
return [this.getImages().map(function(e) {
|
|
1098
|
+
var e = this, n = (0, l.default)([this.getImages().map(function(e) {
|
|
1007
1099
|
return e.getResource();
|
|
1008
1100
|
}), this.getContent().map(function(e) {
|
|
1009
1101
|
return e.getBody();
|
|
1010
|
-
})]
|
|
1102
|
+
})]);
|
|
1103
|
+
return (0, c.default)(n.map(function(n) {
|
|
1011
1104
|
switch (n.getProperty("type").toLowerCase()) {
|
|
1012
|
-
case
|
|
1013
|
-
case
|
|
1105
|
+
case o.ExternalResourceType.CHOICE:
|
|
1106
|
+
case o.ExternalResourceType.OA_CHOICE: return new t({ images: (0, c.default)([n.getProperty("default"), n.getProperty("item")]).map(function(e) {
|
|
1014
1107
|
return { resource: e };
|
|
1015
1108
|
}) }, e.options).getImages().map(function(e) {
|
|
1016
1109
|
return e.getResource();
|
|
1017
1110
|
});
|
|
1018
1111
|
default: return n;
|
|
1019
1112
|
}
|
|
1020
|
-
})
|
|
1113
|
+
}));
|
|
1021
1114
|
},
|
|
1022
1115
|
enumerable: !1,
|
|
1023
1116
|
configurable: !0
|
|
1024
1117
|
}), Object.defineProperty(t.prototype, "resourceAnnotations", {
|
|
1025
1118
|
get: function() {
|
|
1026
|
-
return [this.getImages(), this.getContent()]
|
|
1119
|
+
return (0, l.default)([this.getImages(), this.getContent()]);
|
|
1027
1120
|
},
|
|
1028
1121
|
enumerable: !1,
|
|
1029
1122
|
configurable: !0
|
|
1030
1123
|
}), t.prototype.resourceAnnotation = function(e) {
|
|
1031
1124
|
return this.resourceAnnotations.find(function(t) {
|
|
1032
|
-
return t.getResource().id === e ||
|
|
1125
|
+
return t.getResource().id === e || (0, c.default)(Array(t.getBody())).some(function(t) {
|
|
1033
1126
|
return t.id === e;
|
|
1034
1127
|
});
|
|
1035
1128
|
});
|
|
@@ -1069,15 +1162,15 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1069
1162
|
}), t.prototype.getChoices = function() {
|
|
1070
1163
|
for (var e = this, t = 0, n = this.getContent(); t < n.length; t++) {
|
|
1071
1164
|
var r = n[t].getProperty("body");
|
|
1072
|
-
if (r && r.type?.toLowerCase() ===
|
|
1073
|
-
return new
|
|
1165
|
+
if (r && r.type?.toLowerCase() === o.ExternalResourceType.CHOICE && r.items && r.items.length) return r.items.map(function(t) {
|
|
1166
|
+
return new s.AnnotationBody(t, e.options);
|
|
1074
1167
|
});
|
|
1075
1168
|
}
|
|
1076
1169
|
return [];
|
|
1077
1170
|
}, t;
|
|
1078
|
-
}(
|
|
1171
|
+
}(s.Resource);
|
|
1079
1172
|
},
|
|
1080
|
-
|
|
1173
|
+
8214(e, t, n) {
|
|
1081
1174
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1082
1175
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1083
1176
|
e.__proto__ = t;
|
|
@@ -1092,7 +1185,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1092
1185
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1093
1186
|
});
|
|
1094
1187
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Collection = void 0;
|
|
1095
|
-
var a = n(
|
|
1188
|
+
var a = n(3957), o = n(4799);
|
|
1096
1189
|
t.Collection = function(e) {
|
|
1097
1190
|
function t(t, n) {
|
|
1098
1191
|
var r = e.call(this, t, n) || this;
|
|
@@ -1149,7 +1242,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1149
1242
|
}, t;
|
|
1150
1243
|
}(o.IIIFResource);
|
|
1151
1244
|
},
|
|
1152
|
-
|
|
1245
|
+
1858(e, t) {
|
|
1153
1246
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Duration = void 0, t.Duration = function() {
|
|
1154
1247
|
function e(e, t) {
|
|
1155
1248
|
this.start = e, this.end = t;
|
|
@@ -1159,19 +1252,19 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1159
1252
|
}, e;
|
|
1160
1253
|
}();
|
|
1161
1254
|
},
|
|
1162
|
-
|
|
1255
|
+
2712(e, t) {
|
|
1163
1256
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1164
1257
|
},
|
|
1165
|
-
|
|
1258
|
+
3167(e, t) {
|
|
1166
1259
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1167
1260
|
},
|
|
1168
1261
|
672(e, t) {
|
|
1169
1262
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1170
1263
|
},
|
|
1171
|
-
|
|
1264
|
+
7376(e, t) {
|
|
1172
1265
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1173
1266
|
},
|
|
1174
|
-
|
|
1267
|
+
2184(e, t) {
|
|
1175
1268
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1176
1269
|
},
|
|
1177
1270
|
107(e, t, n) {
|
|
@@ -1189,7 +1282,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1189
1282
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1190
1283
|
});
|
|
1191
1284
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.IIIFResource = void 0;
|
|
1192
|
-
var a = n(
|
|
1285
|
+
var a = n(4799), o = n(3957);
|
|
1193
1286
|
t.IIIFResource = function(e) {
|
|
1194
1287
|
function t(t, n) {
|
|
1195
1288
|
var r = e.call(this, t, n) || this;
|
|
@@ -1271,10 +1364,10 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1271
1364
|
}, t;
|
|
1272
1365
|
}(a.ManifestResource);
|
|
1273
1366
|
},
|
|
1274
|
-
|
|
1367
|
+
6739(e, t) {
|
|
1275
1368
|
Object.defineProperty(t, "__esModule", { value: !0 });
|
|
1276
1369
|
},
|
|
1277
|
-
|
|
1370
|
+
7436(e, t) {
|
|
1278
1371
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.JSONLDResource = void 0, t.JSONLDResource = function() {
|
|
1279
1372
|
function e(e) {
|
|
1280
1373
|
this.__jsonld = e, this.context = this.getProperty("context"), this.id = this.getProperty("id");
|
|
@@ -1285,9 +1378,9 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1285
1378
|
}, e;
|
|
1286
1379
|
}();
|
|
1287
1380
|
},
|
|
1288
|
-
|
|
1381
|
+
2817(e, t, n) {
|
|
1289
1382
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.LabelValuePair = void 0;
|
|
1290
|
-
var r = n(
|
|
1383
|
+
var r = n(4799);
|
|
1291
1384
|
t.LabelValuePair = function() {
|
|
1292
1385
|
function e(e) {
|
|
1293
1386
|
this.label = null, this.value = null, this.defaultLocale = e;
|
|
@@ -1337,7 +1430,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1337
1430
|
}, t;
|
|
1338
1431
|
}(Array);
|
|
1339
1432
|
},
|
|
1340
|
-
|
|
1433
|
+
4531(e, t, n) {
|
|
1341
1434
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1342
1435
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1343
1436
|
e.__proto__ = t;
|
|
@@ -1352,7 +1445,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1352
1445
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1353
1446
|
});
|
|
1354
1447
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Manifest = void 0;
|
|
1355
|
-
var a = n(
|
|
1448
|
+
var a = n(3957), o = n(4799);
|
|
1356
1449
|
t.Manifest = function(e) {
|
|
1357
1450
|
function t(t, n) {
|
|
1358
1451
|
var r = e.call(this, t, n) || this;
|
|
@@ -1470,7 +1563,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1470
1563
|
}, t;
|
|
1471
1564
|
}(o.IIIFResource);
|
|
1472
1565
|
},
|
|
1473
|
-
|
|
1566
|
+
2315(e, t, n) {
|
|
1474
1567
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1475
1568
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1476
1569
|
e.__proto__ = t;
|
|
@@ -1485,7 +1578,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1485
1578
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1486
1579
|
});
|
|
1487
1580
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ManifestResource = void 0;
|
|
1488
|
-
var a = n(
|
|
1581
|
+
var a = n(4799), o = n(3957);
|
|
1489
1582
|
t.ManifestResource = function(e) {
|
|
1490
1583
|
function t(t, n) {
|
|
1491
1584
|
var r = e.call(this, t) || this;
|
|
@@ -1546,13 +1639,13 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1546
1639
|
}, t;
|
|
1547
1640
|
}(a.JSONLDResource);
|
|
1548
1641
|
},
|
|
1549
|
-
|
|
1642
|
+
3043(e, t) {
|
|
1550
1643
|
var n;
|
|
1551
1644
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ManifestType = void 0, function(e) {
|
|
1552
1645
|
e.EMPTY = "", e.MANUSCRIPT = "manuscript", e.MONOGRAPH = "monograph";
|
|
1553
1646
|
}(n || (t.ManifestType = n = {}));
|
|
1554
1647
|
},
|
|
1555
|
-
|
|
1648
|
+
2006(e, t, n) {
|
|
1556
1649
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1557
1650
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1558
1651
|
e.__proto__ = t;
|
|
@@ -1653,8 +1746,8 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1653
1746
|
return n.length === 0 ? null : t ? n.join(t) : n[0];
|
|
1654
1747
|
}, t.prototype.getValues = function(e) {
|
|
1655
1748
|
if (!this.length) return [];
|
|
1656
|
-
var t
|
|
1657
|
-
if (this.length === 1 && this[0]._locale === void 0) {
|
|
1749
|
+
var t;
|
|
1750
|
+
if (t = e ? Array.isArray(e) ? e : [e] : [], this.length === 1 && this[0]._locale === void 0) {
|
|
1658
1751
|
var n = this[0]._value;
|
|
1659
1752
|
return Array.isArray(n) ? n : [n];
|
|
1660
1753
|
}
|
|
@@ -1672,7 +1765,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1672
1765
|
}, t;
|
|
1673
1766
|
}(Array);
|
|
1674
1767
|
},
|
|
1675
|
-
|
|
1768
|
+
3845(e, t, n) {
|
|
1676
1769
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1677
1770
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1678
1771
|
e.__proto__ = t;
|
|
@@ -1687,7 +1780,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1687
1780
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1688
1781
|
});
|
|
1689
1782
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Range = void 0;
|
|
1690
|
-
var a = n(
|
|
1783
|
+
var a = n(4799), o = n(3957);
|
|
1691
1784
|
t.Range = function(e) {
|
|
1692
1785
|
function t(t, n) {
|
|
1693
1786
|
var r = e.call(this, t, n) || this;
|
|
@@ -1756,7 +1849,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1756
1849
|
}, t;
|
|
1757
1850
|
}(a.ManifestResource);
|
|
1758
1851
|
},
|
|
1759
|
-
|
|
1852
|
+
6940(e, t, n) {
|
|
1760
1853
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1761
1854
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1762
1855
|
e.__proto__ = t;
|
|
@@ -1777,7 +1870,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1777
1870
|
return i(t, e), t.prototype.getFormat = function() {
|
|
1778
1871
|
return this.getProperty("format");
|
|
1779
1872
|
}, t;
|
|
1780
|
-
}(n(
|
|
1873
|
+
}(n(4799).ManifestResource);
|
|
1781
1874
|
},
|
|
1782
1875
|
258(e, t, n) {
|
|
1783
1876
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
@@ -1794,7 +1887,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1794
1887
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1795
1888
|
});
|
|
1796
1889
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Resource = void 0;
|
|
1797
|
-
var a = n(
|
|
1890
|
+
var a = n(4799);
|
|
1798
1891
|
t.Resource = function(e) {
|
|
1799
1892
|
function t(t, n) {
|
|
1800
1893
|
return e.call(this, t, n) || this;
|
|
@@ -1824,7 +1917,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1824
1917
|
}, t;
|
|
1825
1918
|
}(a.ManifestResource);
|
|
1826
1919
|
},
|
|
1827
|
-
|
|
1920
|
+
4591(e, t, n) {
|
|
1828
1921
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
1829
1922
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1830
1923
|
e.__proto__ = t;
|
|
@@ -1839,7 +1932,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1839
1932
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1840
1933
|
});
|
|
1841
1934
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Sequence = void 0;
|
|
1842
|
-
var a = n(
|
|
1935
|
+
var a = n(3957), o = n(4799);
|
|
1843
1936
|
t.Sequence = function(e) {
|
|
1844
1937
|
function t(t, n) {
|
|
1845
1938
|
var r = e.call(this, t, n) || this;
|
|
@@ -1952,9 +2045,9 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
1952
2045
|
}, t;
|
|
1953
2046
|
}(o.ManifestResource);
|
|
1954
2047
|
},
|
|
1955
|
-
|
|
2048
|
+
4029(e, t, n) {
|
|
1956
2049
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Deserialiser = void 0;
|
|
1957
|
-
var r = n(
|
|
2050
|
+
var r = n(4799);
|
|
1958
2051
|
t.Deserialiser = function() {
|
|
1959
2052
|
function e() {}
|
|
1960
2053
|
return e.parse = function(e, t) {
|
|
@@ -2026,7 +2119,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2026
2119
|
}, e;
|
|
2027
2120
|
}();
|
|
2028
2121
|
},
|
|
2029
|
-
|
|
2122
|
+
9579(e, t, n) {
|
|
2030
2123
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
2031
2124
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
2032
2125
|
e.__proto__ = t;
|
|
@@ -2041,7 +2134,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2041
2134
|
r(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
2042
2135
|
});
|
|
2043
2136
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Service = void 0;
|
|
2044
|
-
var a = n(
|
|
2137
|
+
var a = n(4799);
|
|
2045
2138
|
t.Service = function(e) {
|
|
2046
2139
|
function t(t, n) {
|
|
2047
2140
|
return e.call(this, t, n) || this;
|
|
@@ -2067,25 +2160,25 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2067
2160
|
}, t;
|
|
2068
2161
|
}(a.ManifestResource);
|
|
2069
2162
|
},
|
|
2070
|
-
|
|
2163
|
+
2639(e, t) {
|
|
2071
2164
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Size = void 0, t.Size = function(e, t) {
|
|
2072
2165
|
this.width = e, this.height = t;
|
|
2073
2166
|
};
|
|
2074
2167
|
},
|
|
2075
|
-
|
|
2168
|
+
5633(e, t) {
|
|
2076
2169
|
var n;
|
|
2077
2170
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.StatusCode = void 0, function(e) {
|
|
2078
2171
|
e[e.AUTHORIZATION_FAILED = 1] = "AUTHORIZATION_FAILED", e[e.FORBIDDEN = 2] = "FORBIDDEN", e[e.INTERNAL_SERVER_ERROR = 3] = "INTERNAL_SERVER_ERROR", e[e.RESTRICTED = 4] = "RESTRICTED";
|
|
2079
2172
|
}(n || (t.StatusCode = n = {}));
|
|
2080
2173
|
},
|
|
2081
|
-
|
|
2174
|
+
9692(e, t) {
|
|
2082
2175
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Thumb = void 0, t.Thumb = function(e, t) {
|
|
2083
2176
|
this.data = t, this.index = t.index, this.width = e;
|
|
2084
2177
|
var n = t.getHeight() / t.getWidth();
|
|
2085
2178
|
this.height = n ? Math.floor(this.width * n) : e, this.uri = t.getCanonicalImageUri(e), this.label = t.getLabel().getValue(), this.viewingHint = t.getViewingHint();
|
|
2086
2179
|
};
|
|
2087
2180
|
},
|
|
2088
|
-
|
|
2181
|
+
4204(e, t, n) {
|
|
2089
2182
|
var r, i = this && this.__extends || (r = function(e, t) {
|
|
2090
2183
|
return r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
2091
2184
|
e.__proto__ = t;
|
|
@@ -2104,11 +2197,11 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2104
2197
|
return e.call(this, t, n) || this;
|
|
2105
2198
|
}
|
|
2106
2199
|
return i(t, e), t;
|
|
2107
|
-
}(n(
|
|
2200
|
+
}(n(4799).Resource);
|
|
2108
2201
|
},
|
|
2109
|
-
|
|
2202
|
+
8570(e, t, n) {
|
|
2110
2203
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TreeNode = void 0;
|
|
2111
|
-
var r = n(
|
|
2204
|
+
var r = n(4799);
|
|
2112
2205
|
t.TreeNode = function() {
|
|
2113
2206
|
function e(e, t) {
|
|
2114
2207
|
this.label = e, this.data = t || {}, this.nodes = [];
|
|
@@ -2124,7 +2217,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2124
2217
|
}, e;
|
|
2125
2218
|
}();
|
|
2126
2219
|
},
|
|
2127
|
-
|
|
2220
|
+
6386(e, t) {
|
|
2128
2221
|
var n;
|
|
2129
2222
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.TreeNodeType = void 0, function(e) {
|
|
2130
2223
|
e.COLLECTION = "collection", e.MANIFEST = "manifest", e.RANGE = "range";
|
|
@@ -2225,7 +2318,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2225
2318
|
}
|
|
2226
2319
|
};
|
|
2227
2320
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.Utils = void 0;
|
|
2228
|
-
var a = n(
|
|
2321
|
+
var a = n(4799), o = n(3957), s = n(7019);
|
|
2229
2322
|
n(916), t.Utils = function() {
|
|
2230
2323
|
function e() {}
|
|
2231
2324
|
return e.getMediaType = function(e) {
|
|
@@ -2497,7 +2590,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2497
2590
|
}, e;
|
|
2498
2591
|
}();
|
|
2499
2592
|
},
|
|
2500
|
-
|
|
2593
|
+
8156(e, t, n) {
|
|
2501
2594
|
var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) {
|
|
2502
2595
|
r === void 0 && (r = n);
|
|
2503
2596
|
var i = Object.getOwnPropertyDescriptor(t, n);
|
|
@@ -2512,7 +2605,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2512
2605
|
}), i = this && this.__exportStar || function(e, t) {
|
|
2513
2606
|
for (var n in e) n === "default" || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n);
|
|
2514
2607
|
};
|
|
2515
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.parseManifest = t.loadManifest = void 0, i(n(
|
|
2608
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.parseManifest = t.loadManifest = void 0, i(n(4799), t);
|
|
2516
2609
|
var a = n(41);
|
|
2517
2610
|
t.loadManifest = function(e) {
|
|
2518
2611
|
return a.Utils.loadManifest(e);
|
|
@@ -2520,7 +2613,7 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2520
2613
|
return a.Utils.parseManifest(e, t);
|
|
2521
2614
|
};
|
|
2522
2615
|
},
|
|
2523
|
-
|
|
2616
|
+
4799(e, t, n) {
|
|
2524
2617
|
var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) {
|
|
2525
2618
|
r === void 0 && (r = n);
|
|
2526
2619
|
var i = Object.getOwnPropertyDescriptor(t, n);
|
|
@@ -2535,9 +2628,9 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2535
2628
|
}), i = this && this.__exportStar || function(e, t) {
|
|
2536
2629
|
for (var n in e) n === "default" || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n);
|
|
2537
2630
|
};
|
|
2538
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), i(n(
|
|
2631
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), i(n(7436), t), i(n(2315), t), i(n(258), t), i(n(107), t), i(n(3039), t), i(n(2339), t), i(n(3435), t), i(n(3556), t), i(n(8098), t), i(n(8214), t), i(n(1858), t), i(n(2712), t), i(n(3167), t), i(n(672), t), i(n(7376), t), i(n(2184), t), i(n(6739), t), i(n(2817), t), i(n(72), t), i(n(212), t), i(n(2006), t), i(n(4531), t), i(n(3043), t), i(n(3845), t), i(n(6940), t), i(n(4591), t), i(n(4029), t), i(n(9579), t), i(n(2639), t), i(n(5633), t), i(n(9692), t), i(n(4204), t), i(n(8570), t), i(n(6386), t), i(n(41), t);
|
|
2539
2632
|
},
|
|
2540
|
-
|
|
2633
|
+
6782(e, t, n) {
|
|
2541
2634
|
function r(e, t) {
|
|
2542
2635
|
return t ||= {}, new Promise(function(n, r) {
|
|
2543
2636
|
var i = new XMLHttpRequest(), a = [], o = [], s = {}, c = function() {
|
|
@@ -2594,9 +2687,16 @@ var k = /* @__PURE__ */ T(((e, t) => {
|
|
|
2594
2687
|
enumerable: !0,
|
|
2595
2688
|
get: t[r]
|
|
2596
2689
|
});
|
|
2597
|
-
}, n.
|
|
2690
|
+
}, n.g = function() {
|
|
2691
|
+
if (typeof globalThis == "object") return globalThis;
|
|
2692
|
+
try {
|
|
2693
|
+
return this || Function("return this")();
|
|
2694
|
+
} catch {
|
|
2695
|
+
if (typeof window == "object") return window;
|
|
2696
|
+
}
|
|
2697
|
+
}(), n.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t), n.r = (e) => {
|
|
2598
2698
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 });
|
|
2599
|
-
}, n(
|
|
2699
|
+
}, n(8156);
|
|
2600
2700
|
})());
|
|
2601
2701
|
})), z = vt();
|
|
2602
2702
|
function B(e) {
|
|
@@ -2711,7 +2811,7 @@ function U(e) {
|
|
|
2711
2811
|
return e === void 0 ? [] : Array.isArray(e) ? e : [e];
|
|
2712
2812
|
}
|
|
2713
2813
|
//#endregion
|
|
2714
|
-
//#region
|
|
2814
|
+
//#region node_modules/lodash/_arrayAggregator.js
|
|
2715
2815
|
var xt = /* @__PURE__ */ T(((e, t) => {
|
|
2716
2816
|
function n(e, t, n, r) {
|
|
2717
2817
|
for (var i = -1, a = e == null ? 0 : e.length; ++i < a;) {
|
|
@@ -3136,9 +3236,9 @@ var qn = _([f], (e) => Object.values(e).filter((e) => e.maximized === !0).map((e
|
|
|
3136
3236
|
d,
|
|
3137
3237
|
(e) => b(e).length > 1
|
|
3138
3238
|
], (e, t, n) => e === "elastic" || n && t && t.maximized === !1), Zn = (e) => m(e).infoResponses, Qn = _([X], (e) => e && e.getCanvases() || w), Z = _([X, (e, { canvasId: t }) => t], (e, t) => {
|
|
3139
|
-
if (e
|
|
3239
|
+
if (!(!e || !t)) return e.getCanvasById(t);
|
|
3140
3240
|
}), $n = _([X, d], (e, t) => {
|
|
3141
|
-
if (e
|
|
3241
|
+
if (!(!e || !t)) return t.canvasId ? e.getCanvasById(t.canvasId) : e.getCanvasByIndex(0);
|
|
3142
3242
|
}), er = _([d], (e) => e && (e.visibleCanvases || e.canvasId && [e.canvasId]) || w), Q = _([er, Qn], (e, t) => (t || []).filter((t) => e.includes(t.id))), $ = _([Qn, Jn], (e, t) => e && new _t(e, t).groupings()), tr = _([$, (e, { canvasId: t }) => t], (e, t) => e && e.find((e) => e.some((e) => e.id === t)) || w), nr = _([$, $n], (e, t, n) => {
|
|
3143
3243
|
if (!e || !t) return;
|
|
3144
3244
|
let r = e.findIndex((e) => e.some((e) => e.id === t.id));
|
|
@@ -3167,4 +3267,4 @@ var qn = _([f], (e) => Object.values(e).filter((e) => e.maximized === !0).map((e
|
|
|
3167
3267
|
//#endregion
|
|
3168
3268
|
export { gn as $, Ve as $t, Hn as A, Nt as At, K as B, B as Bt, Xn as C, Yt as Ct, Un as D, Pt as Dt, zn as E, Tt as Et, Rn as F, U as Ft, J as G, $e as Gt, Cn as H, _t as Ht, In as I, H as It, un as J, Xe as Jt, pn as K, Qe as Kt, Fn as L, bt as Lt, Pn as M, Dt as Mt, X as N, It as Nt, Bn as O, Et as Ot, Ln as P, Ct as Pt, jn as Q, Ue as Qt, Nn as R, V as Rt, Gn as S, Gt as St, Jn as T, Ft as Tt, cn as U, gt as Ut, Mn as V, vt as Vt, mn as W, nt as Wt, _n as X, qe as Xt, vn as Y, Ye as Yt, hn as Z, Ge as Zt, Q as _, Ht as _t, ir as a, we as an, q as at, Yn as b, Wt as bt, $n as c, I as cn, yn as ct, dr as d, ye as dn, rn as dt, Re as en, sn as et, ur as f, j as fn, en as ft, lr as g, Vt as gt, cr as h, Kt as ht, $ as i, Te as in, Tn as it, Wn as j, Mt as jt, Vn as k, W as kt, nr as l, Se as ln, bn as lt, sr as m, G as mt, or as n, R as nn, xn as nt, ar as o, Ce as on, An as ot, er as p, tn as pt, Dn as q, Ze as qt, tr as r, ke as rn, Sn as rt, Qn as s, L as sn, fn as st, Z as t, Me as tn, wn as tt, rr as u, be as un, nn as ut, fr as v, Jt as vt, Kn as w, Lt as wt, qn as x, qt as xt, Zn as y, Ut as yt, En as z, yt as zt };
|
|
3169
3269
|
|
|
3170
|
-
//# sourceMappingURL=canvases-
|
|
3270
|
+
//# sourceMappingURL=canvases-DTR37lo-.js.map
|