@annotorious/react 3.4.3 → 3.4.5

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 (42) hide show
  1. package/dist/annotorious-react.es.js +19 -17
  2. package/dist/annotorious-react.es.js.map +1 -1
  3. package/dist/annotorious-react.es10.js +32 -15
  4. package/dist/annotorious-react.es10.js.map +1 -1
  5. package/dist/annotorious-react.es11.js +16 -8
  6. package/dist/annotorious-react.es11.js.map +1 -1
  7. package/dist/annotorious-react.es12.js +7 -252
  8. package/dist/annotorious-react.es12.js.map +1 -1
  9. package/dist/annotorious-react.es13.js +251 -7
  10. package/dist/annotorious-react.es13.js.map +1 -1
  11. package/dist/annotorious-react.es14.js +9 -395
  12. package/dist/annotorious-react.es14.js.map +1 -1
  13. package/dist/annotorious-react.es15.js +383 -185
  14. package/dist/annotorious-react.es15.js.map +1 -1
  15. package/dist/annotorious-react.es16.js +197 -13
  16. package/dist/annotorious-react.es16.js.map +1 -1
  17. package/dist/annotorious-react.es17.js +13 -20
  18. package/dist/annotorious-react.es17.js.map +1 -1
  19. package/dist/annotorious-react.es18.js +20 -127
  20. package/dist/annotorious-react.es18.js.map +1 -1
  21. package/dist/annotorious-react.es19.js +128 -6
  22. package/dist/annotorious-react.es19.js.map +1 -1
  23. package/dist/annotorious-react.es2.js +1 -1
  24. package/dist/annotorious-react.es20.js +7 -2
  25. package/dist/annotorious-react.es20.js.map +1 -1
  26. package/dist/annotorious-react.es21.js +2 -11
  27. package/dist/annotorious-react.es21.js.map +1 -1
  28. package/dist/annotorious-react.es22.js +9 -124
  29. package/dist/annotorious-react.es22.js.map +1 -1
  30. package/dist/annotorious-react.es23.js +112 -456
  31. package/dist/annotorious-react.es23.js.map +1 -1
  32. package/dist/annotorious-react.es24.js +471 -0
  33. package/dist/annotorious-react.es24.js.map +1 -0
  34. package/dist/annotorious-react.es4.js +5 -5
  35. package/dist/annotorious-react.es8.js.map +1 -1
  36. package/dist/annotorious-react.es9.js +5 -5
  37. package/dist/openseadragon/OpenSeadragonAnnotator.d.ts.map +1 -1
  38. package/dist/openseadragon/OpenSeadragonHoverTooltip.d.ts +14 -0
  39. package/dist/openseadragon/OpenSeadragonHoverTooltip.d.ts.map +1 -0
  40. package/dist/openseadragon/index.d.ts +1 -0
  41. package/dist/openseadragon/index.d.ts.map +1 -1
  42. package/package.json +8 -8
@@ -1,200 +1,398 @@
1
- import { inline as I, offset as J, flip as K, shift as N, arrow as v, computePosition as Q } from "./annotorious-react.es14.js";
2
- import { autoUpdate as le, platform as ce } from "./annotorious-react.es14.js";
3
- import * as f from "react";
4
- import { useLayoutEffect as T, useEffect as X } from "react";
5
- import * as Y from "react-dom";
6
- var R = typeof document < "u" ? T : X;
7
- function h(e, t) {
8
- if (e === t)
9
- return !0;
10
- if (typeof e != typeof t)
11
- return !1;
12
- if (typeof e == "function" && e.toString() === t.toString())
13
- return !0;
14
- let n, r, s;
15
- if (e && t && typeof e == "object") {
16
- if (Array.isArray(e)) {
17
- if (n = e.length, n !== t.length) return !1;
18
- for (r = n; r-- !== 0; )
19
- if (!h(e[r], t[r]))
20
- return !1;
21
- return !0;
22
- }
23
- if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
24
- return !1;
25
- for (r = n; r-- !== 0; )
26
- if (!{}.hasOwnProperty.call(t, s[r]))
27
- return !1;
28
- for (r = n; r-- !== 0; ) {
29
- const p = s[r];
30
- if (!(p === "_owner" && e.$$typeof) && !h(e[p], t[p]))
31
- return !1;
1
+ import { inline as ot, offset as st, flip as rt, shift as ct, arrow as lt, computePosition as ft } from "./annotorious-react.es24.js";
2
+ import { createCoords as m, rectToClientRect as J, round as H, max as E, min as z, floor as A } from "./annotorious-react.es23.js";
3
+ import { getOverflowAncestors as $, isElement as v, getDocumentElement as O, getWindow as L, getFrameElement as K, getComputedStyle as R, isHTMLElement as b, isTopLayer as M, getParentNode as W, isLastTraversableNode as N, isTableElement as ut, isContainingBlock as Q, getContainingBlock as ht, getNodeName as S, isOverflowElement as _, getNodeScroll as I, isWebKit as Y } from "./annotorious-react.es19.js";
4
+ function Z(t) {
5
+ const e = R(t);
6
+ let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
+ const o = b(t), r = o ? t.offsetWidth : n, s = o ? t.offsetHeight : i, c = H(n) !== r || H(i) !== s;
8
+ return c && (n = r, i = s), {
9
+ width: n,
10
+ height: i,
11
+ $: c
12
+ };
13
+ }
14
+ function q(t) {
15
+ return v(t) ? t : t.contextElement;
16
+ }
17
+ function F(t) {
18
+ const e = q(t);
19
+ if (!b(e))
20
+ return m(1);
21
+ const n = e.getBoundingClientRect(), {
22
+ width: i,
23
+ height: o,
24
+ $: r
25
+ } = Z(e);
26
+ let s = (r ? H(n.width) : n.width) / i, c = (r ? H(n.height) : n.height) / o;
27
+ return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
+ x: s,
29
+ y: c
30
+ };
31
+ }
32
+ const at = /* @__PURE__ */ m(0);
33
+ function X(t) {
34
+ const e = L(t);
35
+ return !Y() || !e.visualViewport ? at : {
36
+ x: e.visualViewport.offsetLeft,
37
+ y: e.visualViewport.offsetTop
38
+ };
39
+ }
40
+ function dt(t, e, n) {
41
+ return e === void 0 && (e = !1), !n || e && n !== L(t) ? !1 : e;
42
+ }
43
+ function T(t, e, n, i) {
44
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
45
+ const o = t.getBoundingClientRect(), r = q(t);
46
+ let s = m(1);
47
+ e && (i ? v(i) && (s = F(i)) : s = F(t));
48
+ const c = dt(r, n, i) ? X(r) : m(0);
49
+ let l = (o.left + c.x) / s.x, f = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
50
+ if (r) {
51
+ const p = L(r), a = i && v(i) ? L(i) : i;
52
+ let y = p, g = K(y);
53
+ for (; g && i && a !== y; ) {
54
+ const w = F(g), d = g.getBoundingClientRect(), x = R(g), C = d.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, B = d.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
55
+ l *= w.x, f *= w.y, u *= w.x, h *= w.y, l += C, f += B, y = L(g), g = K(y);
32
56
  }
33
- return !0;
34
57
  }
35
- return e !== e && t !== t;
58
+ return J({
59
+ width: u,
60
+ height: h,
61
+ x: l,
62
+ y: f
63
+ });
36
64
  }
37
- function q(e) {
38
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
65
+ function k(t, e) {
66
+ const n = I(t).scrollLeft;
67
+ return e ? e.left + n : T(O(t)).left + n;
39
68
  }
40
- function A(e, t) {
41
- const n = q(e);
42
- return Math.round(t * n) / n;
69
+ function tt(t, e, n) {
70
+ n === void 0 && (n = !1);
71
+ const i = t.getBoundingClientRect(), o = i.left + e.scrollLeft - (n ? 0 : (
72
+ // RTL <body> scrollbar.
73
+ k(t, i)
74
+ )), r = i.top + e.scrollTop;
75
+ return {
76
+ x: o,
77
+ y: r
78
+ };
79
+ }
80
+ function gt(t) {
81
+ let {
82
+ elements: e,
83
+ rect: n,
84
+ offsetParent: i,
85
+ strategy: o
86
+ } = t;
87
+ const r = o === "fixed", s = O(i), c = e ? M(e.floating) : !1;
88
+ if (i === s || c && r)
89
+ return n;
90
+ let l = {
91
+ scrollLeft: 0,
92
+ scrollTop: 0
93
+ }, f = m(1);
94
+ const u = m(0), h = b(i);
95
+ if ((h || !h && !r) && ((S(i) !== "body" || _(s)) && (l = I(i)), b(i))) {
96
+ const a = T(i);
97
+ f = F(i), u.x = a.x + i.clientLeft, u.y = a.y + i.clientTop;
98
+ }
99
+ const p = s && !h && !r ? tt(s, l, !0) : m(0);
100
+ return {
101
+ width: n.width * f.x,
102
+ height: n.height * f.y,
103
+ x: n.x * f.x - l.scrollLeft * f.x + u.x + p.x,
104
+ y: n.y * f.y - l.scrollTop * f.y + u.y + p.y
105
+ };
43
106
  }
44
- function $(e) {
45
- const t = f.useRef(e);
46
- return R(() => {
47
- t.current = e;
48
- }), t;
107
+ function pt(t) {
108
+ return Array.from(t.getClientRects());
49
109
  }
50
- function te(e) {
51
- e === void 0 && (e = {});
52
- const {
53
- placement: t = "bottom",
54
- strategy: n = "absolute",
55
- middleware: r = [],
56
- platform: s,
57
- elements: {
58
- reference: p,
59
- floating: B
60
- } = {},
61
- transform: k = !0,
62
- whileElementsMounted: D,
63
- open: x
64
- } = e, [i, O] = f.useState({
65
- x: 0,
66
- y: 0,
67
- strategy: n,
68
- placement: t,
69
- middlewareData: {},
70
- isPositioned: !1
71
- }), [M, U] = f.useState(r);
72
- h(M, r) || U(r);
73
- const [V, W] = f.useState(null), [z, G] = f.useState(null), _ = f.useCallback((o) => {
74
- o !== a.current && (a.current = o, W(o));
75
- }, []), C = f.useCallback((o) => {
76
- o !== d.current && (d.current = o, G(o));
77
- }, []), u = p || V, l = B || z, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, P = $(D), S = $(s), F = $(x), g = f.useCallback(() => {
78
- if (!a.current || !d.current)
79
- return;
80
- const o = {
81
- placement: t,
82
- strategy: n,
83
- middleware: M
110
+ function wt(t) {
111
+ const e = O(t), n = I(t), i = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
112
+ let s = -n.scrollLeft + k(t);
113
+ const c = -n.scrollTop;
114
+ return R(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - o), {
115
+ width: o,
116
+ height: r,
117
+ x: s,
118
+ y: c
119
+ };
120
+ }
121
+ function mt(t, e) {
122
+ const n = L(t), i = O(t), o = n.visualViewport;
123
+ let r = i.clientWidth, s = i.clientHeight, c = 0, l = 0;
124
+ if (o) {
125
+ r = o.width, s = o.height;
126
+ const f = Y();
127
+ (!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
128
+ }
129
+ return {
130
+ width: r,
131
+ height: s,
132
+ x: c,
133
+ y: l
134
+ };
135
+ }
136
+ function yt(t, e) {
137
+ const n = T(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.left + t.clientLeft, r = b(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = o * r.x, f = i * r.y;
138
+ return {
139
+ width: s,
140
+ height: c,
141
+ x: l,
142
+ y: f
143
+ };
144
+ }
145
+ function j(t, e, n) {
146
+ let i;
147
+ if (e === "viewport")
148
+ i = mt(t, n);
149
+ else if (e === "document")
150
+ i = wt(O(t));
151
+ else if (v(e))
152
+ i = yt(e, n);
153
+ else {
154
+ const o = X(t);
155
+ i = {
156
+ x: e.x - o.x,
157
+ y: e.y - o.y,
158
+ width: e.width,
159
+ height: e.height
84
160
  };
85
- S.current && (o.platform = S.current), Q(a.current, d.current, o).then((w) => {
86
- const m = {
87
- ...w,
88
- // The floating element's position may be recomputed while it's closed
89
- // but still mounted (such as when transitioning out). To ensure
90
- // `isPositioned` will be `false` initially on the next open, avoid
91
- // setting it to `true` when `open === false` (must be specified).
92
- isPositioned: F.current !== !1
93
- };
94
- E.current && !h(y.current, m) && (y.current = m, Y.flushSync(() => {
95
- O(m);
96
- }));
97
- });
98
- }, [M, t, n, S, F]);
99
- R(() => {
100
- x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
101
- ...o,
102
- isPositioned: !1
103
- })));
104
- }, [x]);
105
- const E = f.useRef(!1);
106
- R(() => (E.current = !0, () => {
107
- E.current = !1;
108
- }), []), R(() => {
109
- if (u && (a.current = u), l && (d.current = l), u && l) {
110
- if (P.current)
111
- return P.current(u, l, g);
112
- g();
161
+ }
162
+ return J(i);
163
+ }
164
+ function et(t, e) {
165
+ const n = W(t);
166
+ return n === e || !v(n) || N(n) ? !1 : R(n).position === "fixed" || et(n, e);
167
+ }
168
+ function xt(t, e) {
169
+ const n = e.get(t);
170
+ if (n)
171
+ return n;
172
+ let i = $(t, [], !1).filter((c) => v(c) && S(c) !== "body"), o = null;
173
+ const r = R(t).position === "fixed";
174
+ let s = r ? W(t) : t;
175
+ for (; v(s) && !N(s); ) {
176
+ const c = R(s), l = Q(s);
177
+ !l && c.position === "fixed" && (o = null), (r ? !l && !o : !l && c.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || _(s) && !l && et(t, s)) ? i = i.filter((u) => u !== s) : o = c, s = W(s);
178
+ }
179
+ return e.set(t, i), i;
180
+ }
181
+ function vt(t) {
182
+ let {
183
+ element: e,
184
+ boundary: n,
185
+ rootBoundary: i,
186
+ strategy: o
187
+ } = t;
188
+ const s = [...n === "clippingAncestors" ? M(e) ? [] : xt(e, this._c) : [].concat(n), i], c = s[0], l = s.reduce((f, u) => {
189
+ const h = j(e, u, o);
190
+ return f.top = E(h.top, f.top), f.right = z(h.right, f.right), f.bottom = z(h.bottom, f.bottom), f.left = E(h.left, f.left), f;
191
+ }, j(e, c, o));
192
+ return {
193
+ width: l.right - l.left,
194
+ height: l.bottom - l.top,
195
+ x: l.left,
196
+ y: l.top
197
+ };
198
+ }
199
+ function Rt(t) {
200
+ const {
201
+ width: e,
202
+ height: n
203
+ } = Z(t);
204
+ return {
205
+ width: e,
206
+ height: n
207
+ };
208
+ }
209
+ function Ot(t, e, n) {
210
+ const i = b(e), o = O(e), r = n === "fixed", s = T(t, !0, r, e);
211
+ let c = {
212
+ scrollLeft: 0,
213
+ scrollTop: 0
214
+ };
215
+ const l = m(0);
216
+ function f() {
217
+ l.x = k(o);
218
+ }
219
+ if (i || !i && !r)
220
+ if ((S(e) !== "body" || _(o)) && (c = I(e)), i) {
221
+ const a = T(e, !0, r, e);
222
+ l.x = a.x + e.clientLeft, l.y = a.y + e.clientTop;
223
+ } else o && f();
224
+ r && !i && o && f();
225
+ const u = o && !i && !r ? tt(o, c) : m(0), h = s.left + c.scrollLeft - l.x - u.x, p = s.top + c.scrollTop - l.y - u.y;
226
+ return {
227
+ x: h,
228
+ y: p,
229
+ width: s.width,
230
+ height: s.height
231
+ };
232
+ }
233
+ function V(t) {
234
+ return R(t).position === "static";
235
+ }
236
+ function G(t, e) {
237
+ if (!b(t) || R(t).position === "fixed")
238
+ return null;
239
+ if (e)
240
+ return e(t);
241
+ let n = t.offsetParent;
242
+ return O(t) === n && (n = n.ownerDocument.body), n;
243
+ }
244
+ function nt(t, e) {
245
+ const n = L(t);
246
+ if (M(t))
247
+ return n;
248
+ if (!b(t)) {
249
+ let o = W(t);
250
+ for (; o && !N(o); ) {
251
+ if (v(o) && !V(o))
252
+ return o;
253
+ o = W(o);
113
254
  }
114
- }, [u, l, g, P, H]);
115
- const j = f.useMemo(() => ({
116
- reference: a,
117
- floating: d,
118
- setReference: _,
119
- setFloating: C
120
- }), [_, C]), c = f.useMemo(() => ({
121
- reference: u,
122
- floating: l
123
- }), [u, l]), L = f.useMemo(() => {
124
- const o = {
125
- position: n,
126
- left: 0,
127
- top: 0
128
- };
129
- if (!c.floating)
130
- return o;
131
- const w = A(c.floating, i.x), m = A(c.floating, i.y);
132
- return k ? {
133
- ...o,
134
- transform: "translate(" + w + "px, " + m + "px)",
135
- ...q(c.floating) >= 1.5 && {
136
- willChange: "transform"
137
- }
138
- } : {
139
- position: n,
140
- left: w,
141
- top: m
142
- };
143
- }, [n, k, c.floating, i.x, i.y]);
144
- return f.useMemo(() => ({
145
- ...i,
146
- update: g,
147
- refs: j,
148
- elements: c,
149
- floatingStyles: L
150
- }), [i, g, j, c, L]);
151
- }
152
- const Z = (e) => {
153
- function t(n) {
154
- return {}.hasOwnProperty.call(n, "current");
255
+ return n;
155
256
  }
257
+ let i = G(t, e);
258
+ for (; i && ut(i) && V(i); )
259
+ i = G(i, e);
260
+ return i && N(i) && V(i) && !Q(i) ? n : i || ht(t) || n;
261
+ }
262
+ const bt = async function(t) {
263
+ const e = this.getOffsetParent || nt, n = this.getDimensions, i = await n(t.floating);
156
264
  return {
157
- name: "arrow",
158
- options: e,
159
- fn(n) {
160
- const {
161
- element: r,
162
- padding: s
163
- } = typeof e == "function" ? e(n) : e;
164
- return r && t(r) ? r.current != null ? v({
165
- element: r.current,
166
- padding: s
167
- }).fn(n) : {} : r ? v({
168
- element: r,
169
- padding: s
170
- }).fn(n) : {};
265
+ reference: Ot(t.reference, await e(t.floating), t.strategy),
266
+ floating: {
267
+ x: 0,
268
+ y: 0,
269
+ width: i.width,
270
+ height: i.height
171
271
  }
172
272
  };
173
- }, ne = (e, t) => ({
174
- ...J(e),
175
- options: [e, t]
176
- }), re = (e, t) => ({
177
- ...N(e),
178
- options: [e, t]
179
- }), fe = (e, t) => ({
180
- ...K(e),
181
- options: [e, t]
182
- }), oe = (e, t) => ({
183
- ...I(e),
184
- options: [e, t]
185
- }), se = (e, t) => ({
186
- ...Z(e),
187
- options: [e, t]
188
- });
273
+ };
274
+ function Ct(t) {
275
+ return R(t).direction === "rtl";
276
+ }
277
+ const Lt = {
278
+ convertOffsetParentRelativeRectToViewportRelativeRect: gt,
279
+ getDocumentElement: O,
280
+ getClippingRect: vt,
281
+ getOffsetParent: nt,
282
+ getElementRects: bt,
283
+ getClientRects: pt,
284
+ getDimensions: Rt,
285
+ getScale: F,
286
+ isElement: v,
287
+ isRTL: Ct
288
+ };
289
+ function it(t, e) {
290
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
291
+ }
292
+ function Tt(t, e) {
293
+ let n = null, i;
294
+ const o = O(t);
295
+ function r() {
296
+ var c;
297
+ clearTimeout(i), (c = n) == null || c.disconnect(), n = null;
298
+ }
299
+ function s(c, l) {
300
+ c === void 0 && (c = !1), l === void 0 && (l = 1), r();
301
+ const f = t.getBoundingClientRect(), {
302
+ left: u,
303
+ top: h,
304
+ width: p,
305
+ height: a
306
+ } = f;
307
+ if (c || e(), !p || !a)
308
+ return;
309
+ const y = A(h), g = A(o.clientWidth - (u + p)), w = A(o.clientHeight - (h + a)), d = A(u), C = {
310
+ rootMargin: -y + "px " + -g + "px " + -w + "px " + -d + "px",
311
+ threshold: E(0, z(1, l)) || 1
312
+ };
313
+ let B = !0;
314
+ function P(U) {
315
+ const D = U[0].intersectionRatio;
316
+ if (D !== l) {
317
+ if (!B)
318
+ return s();
319
+ D ? s(!1, D) : i = setTimeout(() => {
320
+ s(!1, 1e-7);
321
+ }, 1e3);
322
+ }
323
+ D === 1 && !it(f, t.getBoundingClientRect()) && s(), B = !1;
324
+ }
325
+ try {
326
+ n = new IntersectionObserver(P, {
327
+ ...C,
328
+ // Handle <iframe>s
329
+ root: o.ownerDocument
330
+ });
331
+ } catch {
332
+ n = new IntersectionObserver(P, C);
333
+ }
334
+ n.observe(t);
335
+ }
336
+ return s(!0), r;
337
+ }
338
+ function Bt(t, e, n, i) {
339
+ i === void 0 && (i = {});
340
+ const {
341
+ ancestorScroll: o = !0,
342
+ ancestorResize: r = !0,
343
+ elementResize: s = typeof ResizeObserver == "function",
344
+ layoutShift: c = typeof IntersectionObserver == "function",
345
+ animationFrame: l = !1
346
+ } = i, f = q(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
347
+ u.forEach((d) => {
348
+ o && d.addEventListener("scroll", n, {
349
+ passive: !0
350
+ }), r && d.addEventListener("resize", n);
351
+ });
352
+ const h = f && c ? Tt(f, n) : null;
353
+ let p = -1, a = null;
354
+ s && (a = new ResizeObserver((d) => {
355
+ let [x] = d;
356
+ x && x.target === f && a && (a.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
357
+ var C;
358
+ (C = a) == null || C.observe(e);
359
+ })), n();
360
+ }), f && !l && a.observe(f), a.observe(e));
361
+ let y, g = l ? T(t) : null;
362
+ l && w();
363
+ function w() {
364
+ const d = T(t);
365
+ g && !it(g, d) && n(), g = d, y = requestAnimationFrame(w);
366
+ }
367
+ return n(), () => {
368
+ var d;
369
+ u.forEach((x) => {
370
+ o && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
371
+ }), h == null || h(), (d = a) == null || d.disconnect(), a = null, l && cancelAnimationFrame(y);
372
+ };
373
+ }
374
+ const Dt = st, At = ct, Ht = rt, Nt = lt, It = ot, Vt = (t, e, n) => {
375
+ const i = /* @__PURE__ */ new Map(), o = {
376
+ platform: Lt,
377
+ ...n
378
+ }, r = {
379
+ ...o.platform,
380
+ _c: i
381
+ };
382
+ return ft(t, e, {
383
+ ...o,
384
+ platform: r
385
+ });
386
+ };
189
387
  export {
190
- se as arrow,
191
- le as autoUpdate,
192
- Q as computePosition,
193
- fe as flip,
194
- oe as inline,
195
- ne as offset,
196
- ce as platform,
197
- re as shift,
198
- te as useFloating
388
+ Nt as arrow,
389
+ Bt as autoUpdate,
390
+ Vt as computePosition,
391
+ Ht as flip,
392
+ $ as getOverflowAncestors,
393
+ It as inline,
394
+ Dt as offset,
395
+ Lt as platform,
396
+ At as shift
199
397
  };
200
398
  //# sourceMappingURL=annotorious-react.es15.js.map