react-iiif-vault 2.0.19 → 4.0.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.
Files changed (67) hide show
  1. package/README.md +77 -1
  2. package/dist/Image-CXsx26cA.d.ts +45 -0
  3. package/dist/Image-g-DyBvi0.d.cts +45 -0
  4. package/dist/ImageStrategy-BHLIi5gd.d.ts +55 -0
  5. package/dist/ImageStrategy-Be9YES5a.d.cts +55 -0
  6. package/dist/SimpleViewerContext.hooks-CTgfe0Gg.d.cts +617 -0
  7. package/dist/SimpleViewerContext.hooks-DYJSrd-U.d.ts +617 -0
  8. package/dist/SimpleViewerContext.types-CWf5OFM7.d.ts +51 -0
  9. package/dist/SimpleViewerContext.types-Df-cpBss.d.cts +51 -0
  10. package/dist/ViewerPresetContext-D7N6KH9p.d.ts +144 -0
  11. package/dist/ViewerPresetContext-DwFTIkDx.d.cts +144 -0
  12. package/dist/bundle.d.ts +290 -196
  13. package/dist/bundle.global.js +45 -74
  14. package/dist/canvas-panel/scene.cjs +1 -0
  15. package/dist/canvas-panel/scene.d.cts +133 -0
  16. package/dist/canvas-panel/scene.d.ts +133 -0
  17. package/dist/canvas-panel/scene.js +1 -0
  18. package/dist/canvas-panel.cjs +1 -47
  19. package/dist/canvas-panel.d.cts +10 -5
  20. package/dist/canvas-panel.d.ts +10 -5
  21. package/dist/canvas-panel.js +1 -1
  22. package/dist/chunk-3XPYQXUE.js +48 -0
  23. package/dist/chunk-6WG6RPHU.js +1 -0
  24. package/dist/chunk-DXC5VCRN.js +1 -0
  25. package/dist/chunk-DZ7DMQ3V.cjs +1 -0
  26. package/dist/chunk-HFC72RK6.js +1 -0
  27. package/dist/chunk-L2GTJVPY.js +1 -0
  28. package/dist/chunk-L576POBV.cjs +2 -0
  29. package/dist/chunk-LKWFF45D.cjs +1 -0
  30. package/dist/chunk-MEQI335A.js +2 -0
  31. package/dist/chunk-MIANDAMK.cjs +1 -0
  32. package/dist/chunk-ND2R7OTX.js +1 -0
  33. package/dist/chunk-R7HZTE2T.cjs +48 -0
  34. package/dist/chunk-WBVFSMED.cjs +1 -0
  35. package/dist/chunk-XULFR6E3.cjs +1 -0
  36. package/dist/chunk-YEU5T67O.js +1 -0
  37. package/dist/chunk-ZBGD3VEW.cjs +1 -0
  38. package/dist/chunk-ZEGT4BAR.cjs +1 -0
  39. package/dist/core.cjs +1 -0
  40. package/dist/core.d.cts +133 -0
  41. package/dist/core.d.ts +133 -0
  42. package/dist/core.js +1 -0
  43. package/dist/{index-DijgVxjb.d.ts → index-ClFUurPI.d.ts} +15 -69
  44. package/dist/{index-DHghDluJ.d.cts → index-QFlDahI_.d.cts} +15 -69
  45. package/dist/index.cjs +1 -49
  46. package/dist/index.d.cts +33 -1496
  47. package/dist/index.d.ts +33 -1496
  48. package/dist/index.js +1 -1
  49. package/dist/presentation-4.cjs +1 -0
  50. package/dist/presentation-4.d.cts +304 -0
  51. package/dist/presentation-4.d.ts +304 -0
  52. package/dist/presentation-4.js +1 -0
  53. package/dist/ranges-Cc2ppjFD.d.ts +689 -0
  54. package/dist/ranges-D-UBNcsJ.d.cts +689 -0
  55. package/dist/{useRenderingStrategy-CoKE915F.d.cts → useRenderingStrategy-Vubk-vUU.d.cts} +47 -24
  56. package/dist/{useRenderingStrategy-CoKE915F.d.ts → useRenderingStrategy-Vubk-vUU.d.ts} +47 -24
  57. package/dist/utils-DHWZGbVU.d.ts +54 -0
  58. package/dist/utils-De5WTLDh.d.cts +54 -0
  59. package/dist/utils.cjs +1 -1
  60. package/dist/utils.d.cts +7 -5
  61. package/dist/utils.d.ts +7 -5
  62. package/dist/utils.js +1 -1
  63. package/package.json +54 -15
  64. package/dist/chunk-OGCPXOIP.js +0 -49
  65. package/dist/chunk-P7XHGETS.js +0 -1
  66. package/dist/utils-BKdiug6F.d.cts +0 -41
  67. package/dist/utils-CmwQWQLa.d.ts +0 -41
@@ -0,0 +1,304 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _iiif_parser_presentation_4_normalized_types from '@iiif/parser/presentation-4-normalized/types';
3
+ import { ManifestNormalized, CollectionNormalized, CanvasNormalized, AnnotationPageNormalized, AnnotationNormalized, RangeNormalized } from '@iiif/parser/presentation-4-normalized/types';
4
+ export * from '@iiif/parser/presentation-4-normalized/types';
5
+ import * as _iiif_parser_presentation_4_types from '@iiif/parser/presentation-4/types';
6
+ export * from '@iiif/parser/presentation-4/types';
7
+ export { AnimationSelector, ImageService as IIIFImageService, ResourceProvider as IIIFResourceProvider, PointSelector, PolygonZSelector, WktSelector } from '@iiif/parser/presentation-4/types';
8
+ import * as _iiif_parser from '@iiif/parser';
9
+ import * as _iiif_helpers from '@iiif/helpers';
10
+ import { ac as ResourceRequestOptions, Q as ResourceContextType, aM as useContainerSequence } from './SimpleViewerContext.hooks-DYJSrd-U.js';
11
+ export { A as AnnotationContext, e as AnnotationPageContext, j as AnnotationStyleProvider, f as AnnotationStyles, g as AnnotationThemeDefinition, x as Auth, aT as AuthAccessState, aS as AuthContextActions, aR as AuthContextCurrentActions, aQ as AuthContextState, o as AuthProvider, l as AuthRContext, m as AuthReactContext, n as AuthReactContextActions, k as AuthState, C as CanvasContext, y as CollectionContext, z as ControlsContext, B as ControlsReactContext, aA as DEFAULT_BEZIER, aB as DEFAULT_POLL_INTERVAL, aD as EASING_PRESETS, at as EasingInput, aC as EasingPreset, a9 as EventEmitterProvider, H as EventsProvider, I as ImageServiceLoaderContext, af as ImageServiceRequestOptions, aJ as InnerViewerProvider, M as ManifestContext, O as MediaPlayerProvider, aP as ProbeStore, P as RangeContext, a8 as ReactEmitterContext, F as ReactEventContext, a as ReactVaultContext, ay as Rect, R as ResourceProvider, S as ResourceReactContext, W as SelectorControllerProvider, U as SelectorHelperEventTypes, aK as SimpleViewerProvider, aI as SimpleViewerReactContext, az as Transition, aw as UseViewportScrollOptions, au as UseViewportTourOptions, a1 as VaultHooks, d as VirtualAnnotationProvider, b as VisibleCanvasReactContext, aW as authDetailsForResource, aF as buildTransitions, aU as createAuthStateStore, aV as createProbe, a2 as createVaultHooks, aG as cubicBezierEasing, E as defaultEmitter, $ as getComplexTimelineStrategy, ar as getCroppedThumbnail, h as getDefaultAnnotationStyles, aH as getStepFromProgress, a0 as getVideoStrategy, aO as hasAuth, aE as interpolateRect, aY as makeAccessServiceRequest, aX as makeAccessTokenRequest, a3 as useAnnotationPageManager, i as useAnnotationStyles, r as useAuthActions, t as useAuthService, q as useAuthStore, w as useAuthToken, v as useAuthTokens, a4 as useCanvasClock, a5 as useCanvasStartTime, s as useCurrentAuth, a6 as useDispatch, aa as useEmitter, ab as useEvent, G as useEventEmitter, a7 as useEventListener, ad as useExternalResource, ae as useImage, ag as useImageService, J as useImageServiceLoader, ah as useImageTile, p as useIsAuthEnabled, L as useMediaActions, N as useMediaElements, K as useMediaState, ai as usePaintables, al as useRemoteStylesheet, D as useRenderControls, T as useResourceContext, am as useResourceEvents, an as useResources, ao as useSearchService, Z as useSelectorController, X as useSelectorEmitter, Y as useSelectorEvents, _ as useSelectorHelper, aL as useSimpleViewer, aj as useStaticRenderingStrategy, ap as useStyleHelper, aq as useStyles, ak as useStylesheetStore, as as useThumbnail, ax as useViewportScroll, av as useViewportTour } from './SimpleViewerContext.hooks-DYJSrd-U.js';
12
+ import { Vault4, Vault4Options } from '@iiif/helpers/vault-4';
13
+ export { Vault4 as Vault, Vault4 } from '@iiif/helpers/vault-4';
14
+ import { DependencyList, ReactNode } from 'react';
15
+ export * from '@iiif/helpers/annotation-targets';
16
+ export { cachedParseCssToBoxStyleMap, convertBoxStyleToSelectorStyle, convertSelectorStyleToBoxStyle, expandTarget, expandTargets, getSelectorTransformAttributes, isImageApiSelector, isValidCanvasFragment, parseCssToBoxStyleMap, parseCssTransform, parseCssTransformOrigin, parseCssTransformStyle, parseRotation, parseSelector, parseWkt, polygonToBoundingBox, resolveSelectorStyle, serializeSupportedSelector, splitCanvasFragment } from '@iiif/helpers/annotation-targets';
17
+ export { A as AnnotationRequest, b as AnnotationRequestOptions, d as AnnotationResponse, c as AtlasStore, e as AtlasStoreEvents, j as AtlasStoreProvider, h as AtlasStoreReactContext, a as CanvasPanel, C as CanvasPanelProps, f as CreateAtlasStoreProps, R as RenderAnnotation, k as RenderAnnotationPage, l as RenderContextProps, S as SVGTheme, g as createAtlasStore, o as defaultSvgTheme, i as getAtlasStoreByName, p as polygonToTarget, r as requestToAnnotationResponse, n as useAtlasContextMenu, u as useAtlasStore, m as useContextMenuStore, q as useSvgEditor } from './index-ClFUurPI.js';
18
+ export { A as AnnotationStrategyProps, t as CanvasAnnotations, C as CanvasWorldObject, u as CombinedMetadata, K as ContextBridge, q as CreateCustomShape, p as CreateCustomShapeProps, G as CustomContextBridge, H as CustomContextBridgeProvider, D as DefaultEditingTools, w as Image, v as ImageProps, I as ImageService, _ as LanguageProvider, a3 as LanguageString, a7 as LocaleString, M as ManifestMetadata, y as Metadata, x as MetadataProps, r as PolygonSelector, P as PolygonSelectorProps, R as RegionHighlight, e as Render3DModelStrategy, f as RenderAccompanyingCanvas, d as RenderAnnotationEditing, g as RenderAnnotationStrategy, h as RenderAudioStrategy, j as RenderComplexTimelineStrategy, k as RenderEmptyStrategy, l as RenderImageStrategy, E as RenderSvgEditorControls, m as RenderTextualContentStrategy, n as RenderVideoStrategy, o as RenderYouTubeStrategy, c as ResizeWorldItem, z as SequenceThumbnails, B as SingleCanvasThumbnail, S as SvgTheme, T as ThumbnailFallbackImage, Z as TranslationProvider, $ as TransliterationProvider, a9 as annotationResponseToSelector, ac as findManifestSelectedRange, ad as findSelectedRange, Y as flattenAnnotationPageIds, a as isBoxSelector, i as isRectangle, b as isSvgSelector, ab as seraliseSupportedSelector, aa as serialiseSupportedSelector, s as svgThemes, a8 as targetIntersects, L as useCanvasChoices, a4 as useClosestLanguage, J as useContextBridge, a6 as useCreateLocaleString, N as useCurrentAnnotationActions, O as useCurrentAnnotationMetadata, Q as useCurrentAnnotationRequest, U as useCurrentAnnotationTransition, F as useCustomContextBridge, a1 as useIIIFLanguage, a5 as useLocaleString, V as usePolygonHelper, W as useRequestAnnotation, X as useSvgEditorControls, a2 as useTranslations, a0 as useTransliteration } from './ranges-Cc2ppjFD.js';
19
+ export { a as CanvasStrategyProvider, C as CanvasStrategyProviderProps, I as ImageStrategyProps } from './ImageStrategy-BHLIi5gd.js';
20
+ export { C as ComplexTimelineProvider, e as MediaPlayerActions, M as MediaPlayerState, S as StrategyContext, b as StrategyReactContext, V as ViewerPresetContext, f as formatTime, a as useComplexTimeline, u as useComplexTimelineStore, g as useSimpleMediaPlayer, c as useStrategy, d as useViewerPreset } from './ViewerPresetContext-D7N6KH9p.js';
21
+ export { f as AnnotationPageDescription, A as AudioSequence, n as ChoiceEvents, C as ComplexTimelineStrategy, E as EmptyStrategy, k as ImageServiceLoaderType, I as ImageWithOptionalService, M as MediaStrategy, R as RenderingStrategy, S as Single3DModelStrategy, c as SingleAudio, a as SingleImageStrategy, e as SingleVideo, d as SingleYouTubeVideo, l as StrategyActions, i as TextContent, h as TextualContentStrategy, T as TimelineKeyframe, U as UnknownStrategy, m as UseRenderingStrategy, o as UseRenderingStrategyOptions, V as VideoSequence, g as get3dStrategy, b as getImageStrategy, j as getTextualContentStrategy, u as useLoadImageService, p as useRenderingStrategy } from './useRenderingStrategy-Vubk-vUU.js';
22
+ export { e as emptyActions, d as emptyStrategy, a as getMediaTemporalSelectors, b as getParsedTargetSelector, g as getRenderingStrategy, p as parseSpecificResource, u as unknownResponse, c as unsupportedStrategy } from './utils-DHWZGbVU.js';
23
+ export { c as SimpleViewerActions, d as SimpleViewerActionsType, S as SimpleViewerContext, a as SimpleViewerProps, b as SimpleViewerReducerState } from './SimpleViewerContext.types-CWf5OFM7.js';
24
+ export { getManifestSequence, getVisibleCanvasesFromCanvasId } from '@iiif/helpers/sequences';
25
+ export { findAllCanvasesInRange, findFirstCanvasFromRange } from '@iiif/helpers/ranges';
26
+ import '@atlas-viewer/atlas';
27
+ import 'zustand/vanilla';
28
+ import '@iiif/parser/presentation-3/types';
29
+ import 'mitt';
30
+ import '@iiif/helpers/image-service';
31
+ import '@iiif/helpers/vault';
32
+ import '@iiif/parser/presentation-3-normalized/types';
33
+ import '@iiif/helpers/vault/store';
34
+ import '@iiif/parser/image-3';
35
+ import '@iiif/helpers/painting-annotations';
36
+ import 'zustand';
37
+ import '@iiif/helpers/styles';
38
+ import 'polygon-editor';
39
+ import './Image-CXsx26cA.js';
40
+
41
+ declare const useVault: () => Vault4;
42
+ declare const useExistingVault: (vault?: Vault4 | undefined) => Vault4;
43
+ declare const useVaultEffect: (callback: (vault: Vault4) => void, deps?: DependencyList | undefined) => void;
44
+ declare const useVaultSelector: <T>(selector: (state: _iiif_helpers.IIIFStore, vault: Vault4) => T, deps?: DependencyList | undefined) => T;
45
+ declare function useManifest(options?: {
46
+ id?: string;
47
+ selector?: undefined;
48
+ }): ManifestNormalized | undefined;
49
+ declare function useManifest<Selected>(options: {
50
+ id?: string;
51
+ selector: (manifest: ManifestNormalized) => Selected;
52
+ }, deps?: DependencyList): Selected | undefined;
53
+ declare function useCollection(options?: {
54
+ id?: string;
55
+ selector?: undefined;
56
+ }): CollectionNormalized | undefined;
57
+ declare function useCollection<Selected>(options: {
58
+ id?: string;
59
+ selector: (collection: CollectionNormalized) => Selected;
60
+ }, deps?: DependencyList): Selected | undefined;
61
+ declare function useCanvas(options?: {
62
+ id?: string;
63
+ selector?: undefined;
64
+ }): CanvasNormalized | undefined;
65
+ declare function useCanvas<Selected>(options: {
66
+ id?: string;
67
+ selector: (canvas: CanvasNormalized) => Selected;
68
+ }, deps?: DependencyList): Selected | undefined;
69
+ declare function useAnnotationPage(options?: {
70
+ id?: string;
71
+ selector?: undefined;
72
+ }): AnnotationPageNormalized | undefined;
73
+ declare function useAnnotationPage<Selected>(options: {
74
+ id?: string;
75
+ selector: (page: AnnotationPageNormalized) => Selected;
76
+ }, deps?: DependencyList): Selected | undefined;
77
+ declare function useAnnotation(options?: {
78
+ id?: string;
79
+ selector?: undefined;
80
+ }): AnnotationNormalized | undefined;
81
+ declare function useAnnotation<Selected>(options: {
82
+ id?: string;
83
+ selector: (annotation: AnnotationNormalized) => Selected;
84
+ }, deps?: DependencyList): Selected | undefined;
85
+ declare function useRange(options?: {
86
+ id?: string;
87
+ selector?: undefined;
88
+ }): RangeNormalized | undefined;
89
+ declare function useRange<Selected>(options: {
90
+ id?: string;
91
+ selector: (range: RangeNormalized) => Selected;
92
+ }, deps?: DependencyList): Selected | undefined;
93
+ declare function useExternalManifest(idOrRef: string | {
94
+ id: string;
95
+ type: string;
96
+ }, options?: ResourceRequestOptions): {
97
+ manifest: {
98
+ label: _iiif_parser.InternationalString | null;
99
+ summary: _iiif_parser.InternationalString | null;
100
+ metadata: readonly _iiif_parser_presentation_4_types.MetadataItem[];
101
+ provider: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
102
+ thumbnail: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
103
+ behavior: readonly string[];
104
+ seeAlso: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
105
+ service: readonly _iiif_parser_presentation_4_types.Service[];
106
+ services: readonly _iiif_parser_presentation_4_types.Service[];
107
+ homepage: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
108
+ rendering: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
109
+ partOf: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
110
+ annotations: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
111
+ canonical?: string | undefined;
112
+ via?: readonly string[] | undefined;
113
+ rights: string | null;
114
+ navDate?: string | undefined;
115
+ navPlace?: ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | {
116
+ [key: string]: (string | number | boolean | null) | any | any;
117
+ })[] | {
118
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any;
119
+ })[] | {
120
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any;
121
+ })[] | {
122
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any;
123
+ })[] | {
124
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any;
125
+ })[] | {
126
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any;
127
+ })[] | {
128
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
129
+ })[] | {
130
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
131
+ })[] | {
132
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
133
+ })[] | {
134
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
135
+ })[] | {
136
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
137
+ })[] | {
138
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
139
+ }) | undefined;
140
+ requiredStatement: ((_iiif_parser_presentation_4_types.MetadataItem | undefined) & _iiif_parser_presentation_4_types.MetadataItem) | null;
141
+ profile?: ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | {
142
+ [key: string]: (string | number | boolean | null) | any | any;
143
+ })[] | {
144
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any;
145
+ })[] | {
146
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any;
147
+ })[] | {
148
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any;
149
+ })[] | {
150
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any;
151
+ })[] | {
152
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any;
153
+ })[] | {
154
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
155
+ })[] | {
156
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
157
+ })[] | {
158
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
159
+ })[] | {
160
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
161
+ })[] | {
162
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
163
+ })[] | {
164
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
165
+ }) | undefined;
166
+ format?: string | undefined;
167
+ height?: number | undefined;
168
+ width?: number | undefined;
169
+ duration?: number | undefined;
170
+ spatialScale?: {
171
+ [x: string]: unknown;
172
+ id?: string | undefined;
173
+ type: "Quantity";
174
+ quantityValue: number;
175
+ unit: string;
176
+ label?: _iiif_parser.InternationalString | undefined;
177
+ } | undefined;
178
+ temporalScale?: {
179
+ [x: string]: unknown;
180
+ id?: string | undefined;
181
+ type: "Quantity";
182
+ quantityValue: number;
183
+ unit: string;
184
+ label?: _iiif_parser.InternationalString | undefined;
185
+ } | undefined;
186
+ backgroundColor?: string | undefined;
187
+ interactionMode?: readonly string[] | undefined;
188
+ viewingDirection?: string | undefined;
189
+ timeMode?: string | undefined;
190
+ placeholderContainer?: _iiif_parser_presentation_4_normalized_types.NormalizedReference | undefined;
191
+ accompanyingContainer?: _iiif_parser_presentation_4_normalized_types.NormalizedReference | undefined;
192
+ "@context"?: ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | {
193
+ [key: string]: (string | number | boolean | null) | any | any;
194
+ })[] | {
195
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any;
196
+ })[] | {
197
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any;
198
+ })[] | {
199
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any;
200
+ })[] | {
201
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any;
202
+ })[] | {
203
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any;
204
+ })[] | {
205
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
206
+ })[] | {
207
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
208
+ })[] | {
209
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
210
+ })[] | {
211
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
212
+ })[] | {
213
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
214
+ })[] | {
215
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
216
+ }) | readonly ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | {
217
+ [key: string]: (string | number | boolean | null) | any | any;
218
+ })[] | {
219
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any;
220
+ })[] | {
221
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any;
222
+ })[] | {
223
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any;
224
+ })[] | {
225
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any;
226
+ })[] | {
227
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any;
228
+ })[] | {
229
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
230
+ })[] | {
231
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
232
+ })[] | {
233
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
234
+ })[] | {
235
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
236
+ })[] | {
237
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
238
+ })[] | {
239
+ [key: string]: (string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | ((string | number | boolean | null) | any | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any)[] | any;
240
+ })[] | undefined;
241
+ "iiif-parser:hasPart"?: readonly _iiif_parser_presentation_4_normalized_types.NormalizedFramingPart[] | undefined;
242
+ id: string;
243
+ type: "Manifest";
244
+ items: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
245
+ structures: readonly _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
246
+ start: _iiif_parser_presentation_4_normalized_types.NormalizedReference | null;
247
+ } | undefined;
248
+ id: string;
249
+ requestId: string;
250
+ isLoaded: boolean;
251
+ error: Error | undefined;
252
+ cached: boolean;
253
+ };
254
+ declare function useExternalCollection(idOrRef: string | {
255
+ id: string;
256
+ type: string;
257
+ }, options?: ResourceRequestOptions): {
258
+ collection: CollectionNormalized | undefined;
259
+ id: string;
260
+ requestId: string;
261
+ isLoaded: boolean;
262
+ error: Error | undefined;
263
+ cached: boolean;
264
+ };
265
+ declare function useVisibleCanvases(): CanvasNormalized[];
266
+ type VaultProviderProps = {
267
+ vault?: Vault4;
268
+ useGlobal?: false;
269
+ vaultOptions?: Vault4Options;
270
+ resources?: ResourceContextType;
271
+ children: ReactNode;
272
+ };
273
+ declare function VaultProvider(props: VaultProviderProps): react_jsx_runtime.JSX.Element;
274
+ /** Native normalized annotations, without the root hook's legacy target expansion. */
275
+ declare function usePaintingAnnotations(options?: {
276
+ canvasId?: string;
277
+ enableSingleAnnotation?: boolean;
278
+ }): AnnotationNormalized[];
279
+ declare function useAnnotationsAtTime(_time: number, options?: {
280
+ canvasId?: string;
281
+ }): AnnotationNormalized[];
282
+ declare function useCanvasSubset(idsOrRefs?: Array<string | {
283
+ id: string;
284
+ }>): _iiif_parser_presentation_4_normalized_types.NormalizedReference[];
285
+ declare function useVirtualAnnotationPage(): readonly [AnnotationPageNormalized | null, {
286
+ readonly addAnnotation: (annotation: string | {
287
+ id: string;
288
+ }, atIndex?: number) => void;
289
+ readonly removeAnnotation: (annotation: string | {
290
+ id: string;
291
+ }) => void;
292
+ }];
293
+ declare function useVirtualAnnotationPageContext(): readonly [AnnotationPageNormalized | null, {
294
+ readonly addAnnotation: (annotation: string | {
295
+ id: string;
296
+ }, atIndex?: number) => void;
297
+ readonly removeAnnotation: (annotation: string | {
298
+ id: string;
299
+ }) => void;
300
+ }];
301
+ /** @deprecated Use useContainerSequence for Canvas and Timeline navigation. */
302
+ declare const useCanvasSequence: typeof useContainerSequence;
303
+
304
+ export { ResourceContextType, ResourceRequestOptions, VaultProvider, type VaultProviderProps, useAnnotation, useAnnotationPage, useAnnotationsAtTime, useCanvas, useCanvasSequence, useCanvasSubset, useCollection, useContainerSequence, useExistingVault, useExternalCollection, useExternalManifest, useManifest, usePaintingAnnotations, useRange, useVault, useVaultEffect, useVaultSelector, useVirtualAnnotationPage, useVirtualAnnotationPageContext, useVisibleCanvases };
@@ -0,0 +1 @@
1
+ import{A as to,B as no,C as oo,D as io,E as ro,F as ao,G as so,H as co,I as lo,J as uo,K as po,L as fo,M as go,N as mo,O as So,P as xo,Q as yo,a as un,b as pn,c as fn,d as An,e as vn,f as Vn,g as Cn,h as zn,i as N,j as Pn,k as Rn,l as In,m as Mn,n as Dn,o as On,p as Tn,q as hn,r as kn,s as Zn,t as jn,u as Jn,v as Kn,w as Qn,x as Un,y as $n,z as eo}from"./chunk-HFC72RK6.js";import{a as gn,b as mn,c as Sn,d as xn,e as yn,f as Nn,g as Ln,h as bn,i as En,j as x,m as qn,o as wn,p as Bn,q as Fn,r as _n,s as Gn,t as Hn,u as Wn,v as Xn,w as Yn}from"./chunk-ND2R7OTX.js";import{A as ct,B as lt,C as ut,D as pt,E as ft,F as gt,G as mt,H as St,I as xt,J as Vt,K as Ct,L as Nt,M as zt,N as Pt,O as Rt,P as It,Q as Et,R as Ot,S as qt,T as Tt,U as ht,V as kt,W as wt,X as Bt,Y as Ft,Z as _t,_ as cn,a as re,c as ae,ca as ln,d as se,e as de,f as ce,g as le,h as ue,i as pe,j as fe,k as ge,l as me,m as Se,n as ze,o as Pe,p as Re,q as Ie,s as ke,t as Fe,u as He,v as Ke,w as Qe,x as at,y as st,z as dt}from"./chunk-3XPYQXUE.js";import{A as Ee,b as u,d as L,e as b,g,i as U,k as X,l as Y,m as $,n as ee,o as te,p as ne,q as oe,r as ie,s as xe,t as ye,u as Ae,w as Me,x as De,y as Le,z as be}from"./chunk-6WG6RPHU.js";import{j as yt,l as dn}from"./chunk-YEU5T67O.js";import{$ as je,A as W,B as Z,Ba as $t,C as j,Ca as sn,D as J,E as K,F as Q,G as ve,H as Ve,K as Ce,L as Ne,N as Oe,O as qe,P as Te,Q as he,R as we,S as Be,T as _e,U as m,V as S,X as Ge,Z as We,_ as Ze,a as I,aa as Je,b as c,ba as Ue,c as C,ca as Xe,d as M,da as Ye,e as D,f as p,ga as $e,ha as et,ia as tt,ja as nt,k as f,ka as ot,la as it,ma as rt,o as E,p as O,q,qa as At,r as T,ra as vt,s as h,sa as Mt,t as k,ta as Dt,u as w,ua as Lt,v as B,va as bt,w as F,wa as Qt,x as _,xa as Ut,y as G,ya as Xt,z as H,za as Yt}from"./chunk-MEQI335A.js";import"./chunk-UNH7HXGJ.js";import{e as Gt,f as Ht,g as Wt,h as Zt,i as jt,j as Jt,k as Kt,l as en,m as tn,n as nn,o as on,p as rn,q as an}from"./chunk-L2GTJVPY.js";import{useContext as y,useMemo as A}from"react";import{Vault4 as Xo,Vault4 as Yo}from"@iiif/helpers/vault-4";import{jsx as R}from"react/jsx-runtime";var r=x(4),Mo=r.useVault,Do=r.useExistingVault,Lo=r.useVaultEffect,bo=r.useVaultSelector;function l(e,n,t){return A(()=>e&&n?n(e):e,[e,n,...t])}function z({id:e,selector:n}={},t=[]){let i=c(),o=e||i.manifest,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="Manifest"?s.get({id:o,type:"Manifest"}):void 0,[o]);return l(a,n,t)}function Eo({id:e,selector:n}={},t=[]){let i=c(),o=e||i.collection,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="Collection"?s.get({id:o,type:"Collection"}):void 0,[o]);return l(a,n,t)}function Oo({id:e,selector:n}={},t=[]){let i=c(),o=e||i.canvas,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="Canvas"?s.get({id:o,type:"Canvas"}):void 0,[o]);return l(a,n,t)}function qo({id:e,selector:n}={},t=[]){let i=c(),o=e||i.annotationPage,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="AnnotationPage"?s.get({id:o,type:"AnnotationPage"}):void 0,[o]);return l(a,n,t)}function To({id:e,selector:n}={},t=[]){let i=c(),o=e||i.annotation,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="Annotation"?s.get({id:o,type:"Annotation"}):void 0,[o]);return l(a,n,t)}function ho({id:e,selector:n}={},t=[]){let i=c(),o=e||i.range,a=r.useVaultSelector((d,s)=>o&&d.iiif.mapping[o]==="Range"?s.get({id:o,type:"Range"}):void 0,[o]);return l(a,n,t)}function ko(e,n){r.useVault();let{resource:t,...i}=u(e,n);return{...i,manifest:t}}function wo(e,n){r.useVault();let{resource:t,...i}=u(e,n);return{...i,collection:t}}function Bo(){let e=y(f);return r.useVaultSelector((n,t)=>e.flatMap(i=>n.iiif.mapping[i]==="Canvas"?[t.get({id:i,type:"Canvas"})]:[]),[e])}function Fo(e){return R(p,{...e,version:4})}function P(e={}){let n=c(),t=e.canvasId||n.canvas;return r.useVaultSelector((i,o)=>{if(e.enableSingleAnnotation&&n.annotation)return[o.get({id:n.annotation,type:"Annotation"})];if(!t)return[];let a=i.iiif.mapping[t];return a!=="Canvas"&&a!=="Timeline"?[]:(a==="Canvas"?o.get({id:t,type:"Canvas"}):o.get({id:t,type:"Timeline"})).items.flatMap(s=>o.get({id:s.id,type:"AnnotationPage"}).items.map(V=>o.get({id:V.id,type:"Annotation"})))},[t,n.annotation,e.enableSingleAnnotation])}function _o(e,n={}){return P(n)}function Go(e){let n=z(),t=e?.map(i=>typeof i=="string"?i:i.id);return A(()=>n?.items.filter(i=>!t||t.includes(i.id))||[],[n,t?.join("/")])}function v(e){return r.useVaultSelector((n,t)=>e?t.get({id:e.id,type:"AnnotationPage"}):null,[e?.id])}function Ho(){r.useVault();let[e,n]=m();return[v(e),{addAnnotation:(i,o)=>n.addAnnotation(typeof i=="string"?i:i.id,o),removeAnnotation:i=>n.removeAnnotation(typeof i=="string"?i:i.id)}]}function Wo(){let e=y(S),n=v(e?.fullPage||null);if(!e)throw new Error("VirtualAnnotationProvider not found.");return[n,{addAnnotation:(t,i)=>e.addAnnotation(typeof t=="string"?t:t.id,i),removeAnnotation:t=>e.removeAnnotation(typeof t=="string"?t:t.id)}]}var Zo=g;export{Ln as AnnotationContext,bn as AnnotationPageContext,Ae as AnnotationStyleProvider,Se as AtlasStoreProvider,fe as AtlasStoreReactContext,Q as Auth,_ as AuthProvider,w as AuthRContext,B as AuthReactContext,F as AuthReactContextActions,vn as CanvasAnnotations,M as CanvasContext,ln as CanvasPanel,dn as CanvasStrategyProvider,cn as CanvasWorldObject,En as CollectionContext,Cn as CombinedMetadata,Ue as ComplexTimelineProvider,ht as ContextBridge,we as ControlsReactContext,fn as CreateCustomShape,Ot as CustomContextBridge,qt as CustomContextBridgeProvider,$e as DEFAULT_BEZIER,et as DEFAULT_POLL_INTERVAL,_t as DefaultEditingTools,tt as EASING_PRESETS,ne as EventEmitterProvider,bt as EventsProvider,zn as Image,N as ImageService,We as ImageServiceLoaderContext,Y as InnerViewerProvider,st as LanguageProvider,pt as LanguageString,St as LocaleString,L as ManifestContext,Pn as ManifestMetadata,be as MediaPlayerProvider,Vn as Metadata,An as PolygonSelector,b as RangeContext,te as ReactEmitterContext,Dt as ReactEventContext,D as ReactVaultContext,Pe as RegionHighlight,ke as Render3DModelStrategy,Fe as RenderAccompanyingCanvas,Re as RenderAnnotation,Ft as RenderAnnotationEditing,Ie as RenderAnnotationPage,He as RenderAnnotationStrategy,Qe as RenderAudioStrategy,xt as RenderComplexTimelineStrategy,yt as RenderEmptyStrategy,Vt as RenderImageStrategy,Dn as RenderSvgEditorControls,Ct as RenderTextualContentStrategy,Nt as RenderVideoStrategy,zt as RenderYouTubeStrategy,ze as ResizeWorldItem,C as ResourceProvider,I as ResourceReactContext,gn as SelectorControllerProvider,In as SequenceThumbnails,$ as SimpleViewerProvider,X as SimpleViewerReactContext,Rn as SingleCanvasThumbnail,Te as StrategyReactContext,Ke as ThumbnailFallbackImage,at as TranslationProvider,dt as TransliterationProvider,Yo as Vault,Xo as Vault4,Fo as VaultProvider,At as ViewerPresetContext,Ge as VirtualAnnotationProvider,f as VisibleCanvasReactContext,jn as annotationResponseToSelector,T as authDetailsForResource,ot as buildTransitions,$n as cachedParseCssToBoxStyleMap,eo as convertBoxStyleToSelectorStyle,to as convertSelectorStyleToBoxStyle,pe as createAtlasStore,O as createAuthStateStore,q as createProbe,x as createVaultHooks,it as cubicBezierEasing,Mt as defaultEmitter,Rt as defaultSvgTheme,Zt as emptyActions,Kt as emptyStrategy,no as expandTarget,oo as expandTargets,Qn as findAllCanvasesInRange,Un as findFirstCanvasFromRange,Jn as findManifestSelectedRange,Kn as findSelectedRange,Qt as flattenAnnotationPageIds,Oe as formatTime,en as get3dStrategy,me as getAtlasStoreByName,rn as getComplexTimelineStrategy,je as getCroppedThumbnail,xe as getDefaultAnnotationStyles,tn as getImageStrategy,Xn as getManifestSequence,Ht as getMediaTemporalSelectors,Wt as getParsedTargetSelector,an as getRenderingStrategy,io as getSelectorTransformAttributes,rt as getStepFromProgress,nn as getTextualContentStrategy,on as getVideoStrategy,Yn as getVisibleCanvasesFromCanvasId,E as hasAuth,nt as interpolateRect,se as isBoxSelector,ro as isImageApiSelector,re as isRectangle,ae as isSvgSelector,ao as isValidCanvasFragment,k as makeAccessServiceRequest,h as makeAccessTokenRequest,so as parseCssToBoxStyleMap,co as parseCssTransform,lo as parseCssTransformOrigin,uo as parseCssTransformStyle,po as parseRotation,fo as parseSelector,Gt as parseSpecificResource,go as parseWkt,mo as polygonToBoundingBox,le as polygonToTarget,ue as requestToAnnotationResponse,So as resolveSelectorStyle,ce as seraliseSupportedSelector,de as serialiseSupportedSelector,xo as serializeSupportedSelector,yo as splitCanvasFragment,pn as svgThemes,Zn as targetIntersects,jt as unknownResponse,Jt as unsupportedStrategy,To as useAnnotation,qo as useAnnotationPage,Ut as useAnnotationPageManager,ye as useAnnotationStyles,_o as useAnnotationsAtTime,wt as useAtlasContextMenu,ge as useAtlasStore,W as useAuthActions,j as useAuthService,H as useAuthStore,K as useAuthToken,J as useAuthTokens,Oo as useCanvas,On as useCanvasChoices,qn as useCanvasClock,Zo as useCanvasSequence,Ee as useCanvasStartTime,Go as useCanvasSubset,ft as useClosestLanguage,Eo as useCollection,Ye as useComplexTimeline,Xe as useComplexTimelineStore,g as useContainerSequence,Tt as useContextBridge,kt as useContextMenuStore,mt as useCreateLocaleString,Tn as useCurrentAnnotationActions,hn as useCurrentAnnotationMetadata,Bt as useCurrentAnnotationRequest,kn as useCurrentAnnotationTransition,Z as useCurrentAuth,Et as useCustomContextBridge,_e as useDispatch,oe as useEmitter,ie as useEvent,Lt as useEventEmitter,wn as useEventListener,Do as useExistingVault,wo as useExternalCollection,ko as useExternalManifest,u as useExternalResource,lt as useIIIFLanguage,Nn as useImage,Bn as useImageService,Ze as useImageServiceLoader,Fn as useImageTile,G as useIsAuthEnabled,Yt as useLoadImageService,gt as useLocaleString,z as useManifest,De as useMediaActions,Le as useMediaElements,Me as useMediaState,$t as usePaintables,P as usePaintingAnnotations,Pt as usePolygonHelper,ho as useRange,Ve as useRemoteStylesheet,Be as useRenderControls,sn as useRenderingStrategy,un as useRequestAnnotation,c as useResourceContext,Ce as useResourceEvents,Xt as useResources,U as useSearchService,xn as useSelectorController,mn as useSelectorEmitter,Sn as useSelectorEvents,yn as useSelectorHelper,qe as useSimpleMediaPlayer,ee as useSimpleViewer,_n as useStaticRenderingStrategy,he as useStrategy,Gn as useStyleHelper,Ne as useStyles,ve as useStylesheetStore,It as useSvgEditor,Mn as useSvgEditorControls,Je as useThumbnail,ut as useTranslations,ct as useTransliteration,Mo as useVault,Lo as useVaultEffect,bo as useVaultSelector,vt as useViewerPreset,Wn as useViewportScroll,Hn as useViewportTour,Ho as useVirtualAnnotationPage,Wo as useVirtualAnnotationPageContext,Bo as useVisibleCanvases};