@pdf-viewer/react 1.1.0-beta.6 → 1.1.0-beta.7

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 (40) hide show
  1. package/dist/{RPDefaultLayout-691a325c.js → RPDefaultLayout-c821ae5c.js} +53 -53
  2. package/dist/assets/RPDefaultLayout.css +1 -1
  3. package/dist/components/RPController.js +1 -1
  4. package/dist/components/RPPages.js +1 -1
  5. package/dist/components/RPProvider.js +1 -1
  6. package/dist/components/layout/RPDefaultLayout.js +1 -1
  7. package/dist/components/layout/sidebar/RPSidebar.js +1 -1
  8. package/dist/components/layout/sidebar/Thumbnail.js +1 -1
  9. package/dist/components/layout/sidebar/Thumbnails.js +1 -1
  10. package/dist/components/layout/toolbar/DocumentDialog.js +1 -1
  11. package/dist/components/layout/toolbar/FileDownloadTool.js +1 -1
  12. package/dist/components/layout/toolbar/MostPageTool.js +1 -1
  13. package/dist/components/layout/toolbar/OtherTool.js +1 -1
  14. package/dist/components/layout/toolbar/Paginate.js +1 -1
  15. package/dist/components/layout/toolbar/PrintTool.js +1 -1
  16. package/dist/components/layout/toolbar/RPToolbar.js +1 -1
  17. package/dist/components/layout/toolbar/RPToolbarEnd.js +1 -1
  18. package/dist/components/layout/toolbar/SearchTool.js +1 -1
  19. package/dist/components/layout/toolbar/ZoomTool.js +1 -1
  20. package/dist/components/page/AnnotationLayer.js +1 -1
  21. package/dist/components/page/CanvasLayer.js +1 -1
  22. package/dist/components/page/DualPage.js +1 -1
  23. package/dist/components/page/RPPage.js +1 -1
  24. package/dist/components/page/SinglePage.js +1 -1
  25. package/dist/components/page/TextLayer.js +1 -1
  26. package/dist/components/ui/LoadingIndicator.js +1 -1
  27. package/dist/contexts/PaginationContext.js +1 -1
  28. package/dist/contexts/PrintContext.js +1 -1
  29. package/dist/contexts/SearchContext.js +1 -1
  30. package/dist/contexts/ThumbnailsContext.js +1 -1
  31. package/dist/main.js +1 -1
  32. package/dist/utils/hooks/useFileDownload.js +1 -1
  33. package/dist/utils/hooks/useLicense.js +1 -1
  34. package/dist/utils/hooks/usePaginate.js +1 -1
  35. package/dist/utils/hooks/usePrint.js +1 -1
  36. package/dist/utils/hooks/useScrollToPage.js +1 -1
  37. package/dist/utils/hooks/useSearch.js +1 -1
  38. package/dist/utils/hooks/useThumbnail.js +1 -1
  39. package/dist/utils/hooks/useVirtualReactWindow.js +1 -1
  40. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, jsxs as O, Fragment as We } from "react/jsx-runtime";
2
2
  import * as U from "react";
3
- import { useRef as W, useEffect as A, useCallback as L, useState as H, createContext as Ve, useContext as Ue, useMemo as z, forwardRef as qe, useImperativeHandle as Bt, createElement as Ae, PureComponent as Zn, Component as jn, memo as Bn } from "react";
3
+ import { useRef as W, useEffect as A, useCallback as L, useState as H, createContext as Ve, useContext as Ue, useMemo as z, forwardRef as qe, useImperativeHandle as Bt, createElement as Ae, PureComponent as jn, Component as Zn, memo as Bn } from "react";
4
4
  import { ChevronUpIcon as Ne } from "./components/icons/ChevronUpIcon.js";
5
5
  import { UIButton as Q } from "./components/ui/Button.js";
6
6
  import { UIInput as Kt } from "./components/ui/Input.js";
@@ -8,9 +8,9 @@ import { useScrollModeContext as Ie } from "./contexts/ScrollModeContext.js";
8
8
  import { useDocumentContext as Y } from "./contexts/RPDocumentContext.js";
9
9
  import "./contexts/DarkModeContext.js";
10
10
  import { ViewMode as He, ScrollMode as X, AnnotationSubType as ct, SelectionMode as Kn, ZoomLevel as Je } from "./utils/types.js";
11
- import { useRotationContext as Ze } from "./contexts/RotationContext.js";
11
+ import { useRotationContext as je } from "./contexts/RotationContext.js";
12
12
  import { useLayerContext as Xn } from "./contexts/LayerContext.js";
13
- import { useZoomContext as je } from "./contexts/ZoomContext.js";
13
+ import { useZoomContext as Ze } from "./contexts/ZoomContext.js";
14
14
  import { useViewModeContext as Be } from "./contexts/ViewModeContext.js";
15
15
  import { useVirtualScrollContext as Ke } from "./contexts/VirtualScrollContext.js";
16
16
  import { useVirtualGridContext as Xt } from "./contexts/VirtualGridContext.js";
@@ -74,8 +74,8 @@ import { SelectionModeTool as Vo } from "./components/layout/toolbar/SelectionMo
74
74
  import { ZoomInIcon as Uo } from "./components/icons/ZoomInIcon.js";
75
75
  import { ZoomOutIcon as qo } from "./components/icons/ZoomOutIcon.js";
76
76
  import { PAGE_PADDING as Rt } from "./utils/constants.js";
77
- import { getZoomLevel as Zo } from "./utils/getZoomLevel.js";
78
- import { SearchIcon as jo } from "./components/icons/SearchIcon.js";
77
+ import { getZoomLevel as jo } from "./utils/getZoomLevel.js";
78
+ import { SearchIcon as Zo } from "./components/icons/SearchIcon.js";
79
79
  import { UICheckbox as Lt } from "./components/ui/Checkbox.js";
80
80
  import { ClearIcon as Bo } from "./components/icons/ClearIcon.js";
81
81
  import './assets/RPDefaultLayout.css';const Ko = (e) => e < 0.5 ? 2 * e * e : -1 + (4 - 2 * e) * e, an = () => {
@@ -431,7 +431,7 @@ const Jo = () => {
431
431
  throw new Error("usePrintContext must be used within a PrintProvider");
432
432
  return e;
433
433
  }, Yo = () => {
434
- const [e, t] = H({}), { pages: n } = Y(), { rotate: o } = Ze(), r = z(() => Object.keys(e).length, [e]), s = L(
434
+ const [e, t] = H({}), { pages: n } = Y(), { rotate: o } = je(), r = z(() => Object.keys(e).length, [e]), s = L(
435
435
  (c) => {
436
436
  if (!n.size)
437
437
  return;
@@ -531,7 +531,7 @@ const Jo = () => {
531
531
  }
532
532
  );
533
533
  }, Qo = (e = {}, t = "") => {
534
- const [n, o] = H(t), [r, s] = H(!1), { pdf: i, pages: c } = Y(), l = Qt(), p = W(!n), { currentZoom: h } = je(), [m, d] = H([]), { setFocusedPage: g } = re(), [v, _] = H(0), { pageScrollElementRef: f, virtualScrollableElementRef: b } = Ke(), { scrollMode: P } = Ie(), [T, x] = H(null), u = W({}), C = z(() => v === 0 ? null : m[v - 1], [v, m]), w = z(() => m.length, [m]);
534
+ const [n, o] = H(t), [r, s] = H(!1), { pdf: i, pages: c } = Y(), l = Qt(), p = W(!n), { currentZoom: h } = Ze(), [m, d] = H([]), { setFocusedPage: g } = re(), [v, _] = H(0), { pageScrollElementRef: f, virtualScrollableElementRef: b } = Ke(), { scrollMode: P } = Ie(), [T, x] = H(null), u = W({}), C = z(() => v === 0 ? null : m[v - 1], [v, m]), w = z(() => m.length, [m]);
535
535
  A(() => {
536
536
  if (!C || !c)
537
537
  return;
@@ -544,19 +544,19 @@ const Jo = () => {
544
544
  let $;
545
545
  if (!N)
546
546
  return;
547
- const q = u.current[C.page], Z = N.page.getViewport({ scale: 1 });
547
+ const q = u.current[C.page], j = N.page.getViewport({ scale: 1 });
548
548
  $ = new Yt.TextLayer({
549
- viewport: Z,
549
+ viewport: j,
550
550
  textContentSource: q,
551
551
  container: document.createElement("div")
552
552
  }), $.render().then(() => {
553
- const V = $.textDivs[C.start.idx], [K] = Jt([C], q, $.textDivs), ee = l.widths[C.page - 1], ce = l.heights[C.page - 1], J = document.createElement("div"), j = document.createElement("div");
554
- V.style.position = "absolute", V.style.color = "transparent", j.style.position = "absolute", j.style.top = "0", j.style.setProperty("--scale-factor", `${h}`), J.style.position = "relative", J.style.width = `${ee}px`, J.style.height = `${ce}px`, J.style.zIndex = "-1", J.appendChild(V), j.appendChild(J), document.body.prepend(j);
553
+ const V = $.textDivs[C.start.idx], [K] = Jt([C], q, $.textDivs), ee = l.widths[C.page - 1], ce = l.heights[C.page - 1], J = document.createElement("div"), Z = document.createElement("div");
554
+ V.style.position = "absolute", V.style.color = "transparent", Z.style.position = "absolute", Z.style.top = "0", Z.style.setProperty("--scale-factor", `${h}`), J.style.position = "relative", J.style.width = `${ee}px`, J.style.height = `${ce}px`, J.style.zIndex = "-1", J.appendChild(V), Z.appendChild(J), document.body.prepend(Z);
555
555
  const le = K.element.getBoundingClientRect(), _e = D + +le.top - R + le.height / 2, ye = {
556
556
  left: k + +le.left - M + le.width / 2,
557
557
  top: _e
558
558
  };
559
- document.body.removeChild(j), S.scrollTo({
559
+ document.body.removeChild(Z), S.scrollTo({
560
560
  ...ye
561
561
  });
562
562
  });
@@ -687,7 +687,7 @@ const Jo = () => {
687
687
  "rp-page": "_rp-page_h7a2q_1",
688
688
  "rp-loader-wrapper": "_rp-loader-wrapper_h7a2q_14"
689
689
  }, er = (e) => {
690
- const { pageNumber: t, onLoaded: n, onLoading: o } = e, r = W(null), { pages: s } = Y(), { rotate: i } = Ze(), c = W(), { currentZoom: l } = je();
690
+ const { pageNumber: t, onLoaded: n, onLoading: o } = e, r = W(null), { pages: s } = Y(), { rotate: i } = je(), c = W(), { currentZoom: l } = Ze();
691
691
  return A(() => {
692
692
  if (!s || l === 0)
693
693
  return;
@@ -959,7 +959,7 @@ const lr = (e) => {
959
959
  }
960
960
  );
961
961
  }, ur = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1], Ct = qe((e, t) => {
962
- const { pageNumber: n, style: o, onIntersectRatioChange: r, ...s } = e, { pages: i } = Y(), { rotate: c } = Ze(), { textLayer: l } = Xn(), { currentZoom: p } = je(), { container: h } = en(), m = W(i.get(n)), [d, g] = H(!1), v = W(null), [_, f] = H({
962
+ const { pageNumber: n, style: o, onIntersectRatioChange: r, ...s } = e, { pages: i } = Y(), { rotate: c } = je(), { textLayer: l } = Xn(), { currentZoom: p } = Ze(), { container: h } = en(), m = W(i.get(n)), [d, g] = H(!1), v = W(null), [_, f] = H({
963
963
  width: 0,
964
964
  height: 0
965
965
  });
@@ -1237,7 +1237,7 @@ function wr(e) {
1237
1237
  }, T.scrollToItem = function(u) {
1238
1238
  var C = u.align, w = C === void 0 ? "auto" : C, I = u.columnIndex, E = u.rowIndex, y = this.props, S = y.columnCount, N = y.height, R = y.rowCount, M = y.width, D = this.state, k = D.scrollLeft, $ = D.scrollTop, q = gr();
1239
1239
  I !== void 0 && (I = Math.max(0, Math.min(I, S - 1))), E !== void 0 && (E = Math.max(0, Math.min(E, R - 1)));
1240
- var Z = i(this.props, this._instanceProps), V = c(this.props, this._instanceProps), K = V > M ? q : 0, ee = Z > N ? q : 0;
1240
+ var j = i(this.props, this._instanceProps), V = c(this.props, this._instanceProps), K = V > M ? q : 0, ee = j > N ? q : 0;
1241
1241
  this.scrollTo({
1242
1242
  scrollLeft: I !== void 0 ? l(this.props, I, w, k, this._instanceProps, ee) : k,
1243
1243
  scrollTop: E !== void 0 ? p(this.props, E, w, $, this._instanceProps, K) : $
@@ -1274,10 +1274,10 @@ function wr(e) {
1274
1274
  }, T.componentWillUnmount = function() {
1275
1275
  this._resetIsScrollingTimeoutId !== null && Ft(this._resetIsScrollingTimeoutId);
1276
1276
  }, T.render = function() {
1277
- var u = this.props, C = u.children, w = u.className, I = u.columnCount, E = u.direction, y = u.height, S = u.innerRef, N = u.innerElementType, R = u.innerTagName, M = u.itemData, D = u.itemKey, k = D === void 0 ? _r : D, $ = u.outerElementType, q = u.outerTagName, Z = u.rowCount, V = u.style, K = u.useIsScrolling, ee = u.width, ce = this.state.isScrolling, J = this._getHorizontalRangeToRender(), j = J[0], le = J[1], _e = this._getVerticalRangeToRender(), we = _e[0], ye = _e[1], De = [];
1278
- if (I > 0 && Z)
1277
+ var u = this.props, C = u.children, w = u.className, I = u.columnCount, E = u.direction, y = u.height, S = u.innerRef, N = u.innerElementType, R = u.innerTagName, M = u.itemData, D = u.itemKey, k = D === void 0 ? _r : D, $ = u.outerElementType, q = u.outerTagName, j = u.rowCount, V = u.style, K = u.useIsScrolling, ee = u.width, ce = this.state.isScrolling, J = this._getHorizontalRangeToRender(), Z = J[0], le = J[1], _e = this._getVerticalRangeToRender(), we = _e[0], ye = _e[1], De = [];
1278
+ if (I > 0 && j)
1279
1279
  for (var me = we; me <= ye; me++)
1280
- for (var F = j; F <= le; F++)
1280
+ for (var F = Z; F <= le; F++)
1281
1281
  De.push(Ae(C, {
1282
1282
  columnIndex: F,
1283
1283
  data: M,
@@ -1316,27 +1316,27 @@ function wr(e) {
1316
1316
  }, T._callPropsCallbacks = function() {
1317
1317
  var u = this.props, C = u.columnCount, w = u.onItemsRendered, I = u.onScroll, E = u.rowCount;
1318
1318
  if (typeof w == "function" && C > 0 && E > 0) {
1319
- var y = this._getHorizontalRangeToRender(), S = y[0], N = y[1], R = y[2], M = y[3], D = this._getVerticalRangeToRender(), k = D[0], $ = D[1], q = D[2], Z = D[3];
1320
- this._callOnItemsRendered(S, N, k, $, R, M, q, Z);
1319
+ var y = this._getHorizontalRangeToRender(), S = y[0], N = y[1], R = y[2], M = y[3], D = this._getVerticalRangeToRender(), k = D[0], $ = D[1], q = D[2], j = D[3];
1320
+ this._callOnItemsRendered(S, N, k, $, R, M, q, j);
1321
1321
  }
1322
1322
  if (typeof I == "function") {
1323
- var V = this.state, K = V.horizontalScrollDirection, ee = V.scrollLeft, ce = V.scrollTop, J = V.scrollUpdateWasRequested, j = V.verticalScrollDirection;
1324
- this._callOnScroll(ee, ce, K, j, J);
1323
+ var V = this.state, K = V.horizontalScrollDirection, ee = V.scrollLeft, ce = V.scrollTop, J = V.scrollUpdateWasRequested, Z = V.verticalScrollDirection;
1324
+ this._callOnScroll(ee, ce, K, Z, J);
1325
1325
  }
1326
1326
  }, T._getHorizontalRangeToRender = function() {
1327
1327
  var u = this.props, C = u.columnCount, w = u.overscanColumnCount, I = u.overscanColumnsCount, E = u.overscanCount, y = u.rowCount, S = this.state, N = S.horizontalScrollDirection, R = S.isScrolling, M = S.scrollLeft, D = w || I || E || 1;
1328
1328
  if (C === 0 || y === 0)
1329
1329
  return [0, 0, 0, 0];
1330
- var k = o(this.props, M, this._instanceProps), $ = r(this.props, k, M, this._instanceProps), q = !R || N === "backward" ? Math.max(1, D) : 1, Z = !R || N === "forward" ? Math.max(1, D) : 1;
1331
- return [Math.max(0, k - q), Math.max(0, Math.min(C - 1, $ + Z)), k, $];
1330
+ var k = o(this.props, M, this._instanceProps), $ = r(this.props, k, M, this._instanceProps), q = !R || N === "backward" ? Math.max(1, D) : 1, j = !R || N === "forward" ? Math.max(1, D) : 1;
1331
+ return [Math.max(0, k - q), Math.max(0, Math.min(C - 1, $ + j)), k, $];
1332
1332
  }, T._getVerticalRangeToRender = function() {
1333
1333
  var u = this.props, C = u.columnCount, w = u.overscanCount, I = u.overscanRowCount, E = u.overscanRowsCount, y = u.rowCount, S = this.state, N = S.isScrolling, R = S.verticalScrollDirection, M = S.scrollTop, D = I || E || w || 1;
1334
1334
  if (C === 0 || y === 0)
1335
1335
  return [0, 0, 0, 0];
1336
- var k = d(this.props, M, this._instanceProps), $ = g(this.props, k, M, this._instanceProps), q = !N || R === "backward" ? Math.max(1, D) : 1, Z = !N || R === "forward" ? Math.max(1, D) : 1;
1337
- return [Math.max(0, k - q), Math.max(0, Math.min(y - 1, $ + Z)), k, $];
1336
+ var k = d(this.props, M, this._instanceProps), $ = g(this.props, k, M, this._instanceProps), q = !N || R === "backward" ? Math.max(1, D) : 1, j = !N || R === "forward" ? Math.max(1, D) : 1;
1337
+ return [Math.max(0, k - q), Math.max(0, Math.min(y - 1, $ + j)), k, $];
1338
1338
  }, P;
1339
- }(Zn), t.defaultProps = {
1339
+ }(jn), t.defaultProps = {
1340
1340
  direction: "ltr",
1341
1341
  itemData: void 0,
1342
1342
  useIsScrolling: !1
@@ -1620,7 +1620,7 @@ function xr(e) {
1620
1620
  }
1621
1621
  };
1622
1622
  }
1623
- class Rr extends jn {
1623
+ class Rr extends Zn {
1624
1624
  constructor(...t) {
1625
1625
  super(...t), this.state = {
1626
1626
  height: this.props.defaultHeight || 0,
@@ -1790,14 +1790,14 @@ const Lr = ({ widths: e, heights: t }) => {
1790
1790
  columnWidth: R,
1791
1791
  estimatedColumnWidth: M,
1792
1792
  estimatedRowHeight: D
1793
- } = yr(), [k, $] = H({}), q = tn(k, 100), { isScrolling: Z } = Xe(), V = W(), K = W({
1793
+ } = yr(), [k, $] = H({}), q = tn(k, 100), { isScrolling: j } = Xe(), V = W(), K = W({
1794
1794
  scrollTop: 0,
1795
1795
  scrollLeft: 0
1796
1796
  });
1797
1797
  bo(o);
1798
1798
  const { isPressed: ee } = _o(), { selectionMode: ce } = Jn(), { initializeGrabScroll: J } = wo({
1799
1799
  isPressed: ee
1800
- }), j = z(() => ce === Kn.HAND, [ce]), le = L((F, G) => {
1800
+ }), Z = z(() => ce === Kn.HAND, [ce]), le = L((F, G) => {
1801
1801
  $((B) => G > -1 ? { ...B, [F]: Math.round(G * 100) } : (delete B[F], B));
1802
1802
  }, []), _e = z(() => ({
1803
1803
  columnCount: N,
@@ -1840,7 +1840,7 @@ const Lr = ({ widths: e, heights: t }) => {
1840
1840
  });
1841
1841
  }
1842
1842
  }, [y, N, E, s, r]), A(() => {
1843
- if (Z.current)
1843
+ if (j.current)
1844
1844
  return;
1845
1845
  if (u.current.viewMode !== b || u.current.scrollMode !== f) {
1846
1846
  V.current && clearTimeout(V.current), $({}), C.current = !0, r(_), f === X.HORIZONTAL_SCROLLING && (s == null || s.scrollTo({
@@ -1864,7 +1864,7 @@ const Lr = ({ widths: e, heights: t }) => {
1864
1864
  }, 100);
1865
1865
  }
1866
1866
  }, [h, b, f]), A(() => {
1867
- if ((Z.current || C.current) && (Z.current = !1), Z.current)
1867
+ if ((j.current || C.current) && (j.current = !1), j.current)
1868
1868
  return;
1869
1869
  const F = Object.entries(q);
1870
1870
  let G = 0, B = -1;
@@ -1875,16 +1875,16 @@ const Lr = ({ widths: e, heights: t }) => {
1875
1875
  V.current && clearTimeout(V.current), w.current && clearTimeout(w.current);
1876
1876
  }, []);
1877
1877
  const De = z(() => te(ue["rp-pages-container"], {
1878
- [ue["rp-cursor-grab"]]: j && !ee,
1879
- [ue["rp-cursor-grabbing"]]: j && ee
1880
- }), [j, ee]), me = L(
1878
+ [ue["rp-cursor-grab"]]: Z && !ee,
1879
+ [ue["rp-cursor-grabbing"]]: Z && ee
1880
+ }), [Z, ee]), me = L(
1881
1881
  (F) => {
1882
- if (j && F) {
1882
+ if (Z && F) {
1883
1883
  const G = te(ue["rp-pages"]), B = document.querySelector(`.${G}`);
1884
1884
  J(B);
1885
1885
  }
1886
1886
  },
1887
- [j, J, ue]
1887
+ [Z, J, ue]
1888
1888
  );
1889
1889
  return A(() => {
1890
1890
  if (t === X.PAGE_SCROLLING) {
@@ -1954,11 +1954,11 @@ const Lr = ({ widths: e, heights: t }) => {
1954
1954
  }
1955
1955
  ) }) }) });
1956
1956
  }, xe = {
1957
- "rp-toolbar-content": "_rp-toolbar-content_2cv36_1",
1958
- "rp-toolbar-wrapper": "_rp-toolbar-wrapper_2cv36_10",
1959
- "rp-toolbar-start": "_rp-toolbar-start_2cv36_32",
1960
- "rp-toolbar-middle": "_rp-toolbar-middle_2cv36_38",
1961
- "rp-toolbar-end": "_rp-toolbar-end_2cv36_45"
1957
+ "rp-toolbar-content": "_rp-toolbar-content_1js09_1",
1958
+ "rp-toolbar-wrapper": "_rp-toolbar-wrapper_1js09_10",
1959
+ "rp-toolbar-start": "_rp-toolbar-start_1js09_32",
1960
+ "rp-toolbar-middle": "_rp-toolbar-middle_1js09_38",
1961
+ "rp-toolbar-end": "_rp-toolbar-end_1js09_45"
1962
1962
  }, st = {
1963
1963
  "rp-paginate": "_rp-paginate_1vu6o_1",
1964
1964
  "rp-page-input": "_rp-page-input_1vu6o_6",
@@ -2242,7 +2242,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
2242
2242
  const r = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
2243
2243
  t && r && (document.getElementById(t) || console.warn(o));
2244
2244
  }, [o, e, t]), null;
2245
- }, qr = Cn, Zr = Sn, jr = In, Br = yn, Kr = Rn, Xr = Mn;
2245
+ }, qr = Cn, jr = Sn, Zr = In, Br = yn, Kr = Rn, Xr = Mn;
2246
2246
  const fe = {
2247
2247
  "rp-dialog-wrapper": "_rp-dialog-wrapper_slqo7_1",
2248
2248
  "rp-dialog-overlay": "_rp-dialog-overlay_slqo7_7",
@@ -2292,8 +2292,8 @@ const fe = {
2292
2292
  { label: "Page count", value: f }
2293
2293
  ];
2294
2294
  }, [e]);
2295
- return /* @__PURE__ */ a(qr, { open: n, onOpenChange: o, children: /* @__PURE__ */ a(Zr, { container: t, children: /* @__PURE__ */ O("div", { className: fe["rp-dialog-wrapper"], children: [
2296
- /* @__PURE__ */ a(jr, { className: fe["rp-dialog-overlay"] }),
2295
+ return /* @__PURE__ */ a(qr, { open: n, onOpenChange: o, children: /* @__PURE__ */ a(jr, { container: t, children: /* @__PURE__ */ O("div", { className: fe["rp-dialog-wrapper"], children: [
2296
+ /* @__PURE__ */ a(Zr, { className: fe["rp-dialog-overlay"] }),
2297
2297
  /* @__PURE__ */ O(Br, { className: fe["rp-document-dialog"], children: [
2298
2298
  /* @__PURE__ */ a(Kr, { className: fe["rp-dialog-title"], children: "Document Properties" }),
2299
2299
  /* @__PURE__ */ a("div", { className: fe["rp-document-properties"], children: r.map((s, i) => /* @__PURE__ */ a("div", { children: s.separate ? /* @__PURE__ */ a("div", { className: fe["rp-properties-divider"] }) : /* @__PURE__ */ a(Ao, { label: s.label, value: s.value }) }, i)) }),
@@ -2440,7 +2440,7 @@ const fe = {
2440
2440
  const { zoomOutIcon: e } = ie();
2441
2441
  return e || /* @__PURE__ */ a(qo, {});
2442
2442
  }, gs = () => {
2443
- const { zoomLevel: e, setZoomLevel: t } = je(), { container: n, contentRef: o } = Me(), { zoomTool: r = !0 } = pe(), { focusedPage: s } = re(), { rotate: i } = Ze(), { pages: c } = Y(), { isSmallScreen: l } = ve(), p = L(() => {
2443
+ const { zoomLevel: e, setZoomLevel: t } = Ze(), { container: n, contentRef: o } = Me(), { zoomTool: r = !0 } = pe(), { focusedPage: s } = re(), { rotate: i } = je(), { pages: c } = Y(), { isSmallScreen: l } = ve(), p = L(() => {
2444
2444
  t((f) => {
2445
2445
  const b = Math.floor(f / 25) * 25;
2446
2446
  return Math.min(b + 25, at);
@@ -2455,7 +2455,7 @@ const fe = {
2455
2455
  return (f = c.get(s)) == null ? void 0 : f.page.getViewport({ scale: 1, rotation: i });
2456
2456
  }, [c, s, i]), v = L(
2457
2457
  (f) => {
2458
- const b = ((g == null ? void 0 : g.width) || 0) + 2 * Rt, P = ((g == null ? void 0 : g.height) || 0) + 2 * Rt, T = (o == null ? void 0 : o.clientWidth) || 0, x = (o == null ? void 0 : o.clientHeight) || 0, u = Zo(f, T, x, b, P);
2458
+ const b = ((g == null ? void 0 : g.width) || 0) + 2 * Rt, P = ((g == null ? void 0 : g.height) || 0) + 2 * Rt, T = (o == null ? void 0 : o.clientWidth) || 0, x = (o == null ? void 0 : o.clientHeight) || 0, u = jo(f, T, x, b, P);
2459
2459
  t(u);
2460
2460
  },
2461
2461
  [t, g]
@@ -2503,9 +2503,9 @@ const fe = {
2503
2503
  "rp-search-tool-input-checkboxes": "_rp-search-tool-input-checkboxes_1vxow_30",
2504
2504
  "rp-search-tool-input-clear": "_rp-search-tool-input-clear_1vxow_35",
2505
2505
  "rp-search-input": "_rp-search-input_1vxow_49"
2506
- }, Zt = () => {
2506
+ }, jt = () => {
2507
2507
  const { searchIcon: e } = ie();
2508
- return e || /* @__PURE__ */ a(jo, {});
2508
+ return e || /* @__PURE__ */ a(Zo, {});
2509
2509
  }, vs = () => {
2510
2510
  const { container: e } = Me(), [t, n] = H(!1), { pdf: o } = Y(), [r, s] = H(null), {
2511
2511
  searchOptions: i,
@@ -2560,7 +2560,7 @@ const fe = {
2560
2560
  open: t,
2561
2561
  container: e,
2562
2562
  align: "start",
2563
- triggerComponent: /* @__PURE__ */ a(ne, { content: "Search in document", children: /* @__PURE__ */ a(Q, { onClick: P, children: /* @__PURE__ */ a(Zt, {}) }) }),
2563
+ triggerComponent: /* @__PURE__ */ a(ne, { content: "Search in document", children: /* @__PURE__ */ a(Q, { onClick: P, children: /* @__PURE__ */ a(jt, {}) }) }),
2564
2564
  children: /* @__PURE__ */ O("div", { className: ae["rp-search-tool-content"], children: [
2565
2565
  /* @__PURE__ */ O("div", { className: ae["rp-search-tool-input-wrapper"], children: [
2566
2566
  /* @__PURE__ */ O("div", { className: ae["rp-search-tool-input"], children: [
@@ -2570,7 +2570,7 @@ const fe = {
2570
2570
  value: f,
2571
2571
  onKeyDown: u,
2572
2572
  onChange: C,
2573
- icon: /* @__PURE__ */ a(Zt, {}),
2573
+ icon: /* @__PURE__ */ a(jt, {}),
2574
2574
  placeholder: "Enter to Search",
2575
2575
  className: ae["rp-search-input"],
2576
2576
  ref: s,
@@ -2680,7 +2680,7 @@ const fe = {
2680
2680
  ]
2681
2681
  }
2682
2682
  );
2683
- }, jt = {
2683
+ }, Zt = {
2684
2684
  "rp-thumbnails-container": "_rp-thumbnails-container_16vqr_1",
2685
2685
  "rp-thumbnails": "_rp-thumbnails_16vqr_1"
2686
2686
  }, Ts = 16, Ps = (e, t) => {
@@ -2695,7 +2695,7 @@ const fe = {
2695
2695
  }, [i, r, c]);
2696
2696
  return A(() => {
2697
2697
  o > c ? l(o) : n && h.current !== o && (Ps(p.current, o), h.current = o);
2698
- }, [o, c, l, n, m]), io(p.current, d), /* @__PURE__ */ a("div", { ref: p, className: jt["rp-thumbnails-container"], children: /* @__PURE__ */ a("div", { className: jt["rp-thumbnails"], children: n ? m.map((g, v) => {
2698
+ }, [o, c, l, n, m]), io(p.current, d), /* @__PURE__ */ a("div", { ref: p, className: Zt["rp-thumbnails-container"], children: /* @__PURE__ */ a("div", { className: Zt["rp-thumbnails"], children: n ? m.map((g, v) => {
2699
2699
  var _, f;
2700
2700
  return /* @__PURE__ */ a(
2701
2701
  Cs,
@@ -1 +1 @@
1
- .rp-print-zone{display:none}@media print{@page{margin:0}.rp-print-html-printing{height:100%}.rp-print-body-printing{background:rgb(0 0 0 / 0) none;height:100%;margin:0;display:block}.rp-print-body-printing *{display:none}.rp-print-zone{display:block;height:100%}.rp-print-page{display:flex;align-items:center;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rp-print-page img,.rp-print-page canvas{display:block;max-height:100%;max-width:100%;direction:ltr}}._rp-pages_34orh_1{background:var(--rp-pages-background-color);display:flex;justify-content:center}._rp-pages-horizontal-scroll_34orh_7{display:block}._rp-pages-container_34orh_11{position:relative;height:100%;outline-width:0}._rp-page-scrolling-wrapper_34orh_17{position:relative;overflow:auto}._rp-viewer_34orh_22{height:100%;position:relative}._rp-cursor-grab_34orh_27{cursor:grab;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}._rp-cursor-grabbing_34orh_35{cursor:grabbing;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}._rp-page-wrapper_h7a2q_1{display:flex;justify-content:center;align-items:center}._rp-page_h7a2q_1{box-shadow:0 2px 12px #00000026;position:relative;overflow:hidden}._rp-loader-wrapper_h7a2q_14{width:100%;height:100%;display:flex;align-items:center;justify-content:center}._rp-text-layer_1mgyz_1{color:transparent;transform:rotate(var(--rp-rotate));transform-origin:var(--rp-page-rotate-translate);position:absolute;top:0;right:0;bottom:0;left:0}._rp-text-layer-text_1mgyz_9{position:absolute;transform-origin:0% 0%;white-space:pre}._rp-annotation-layer_o0ksd_1{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transform:unset;display:block;color:#000;transform-origin:var(--rp-page-rotate-translate);transform:rotate(var(--rp-rotate))}._rp-annotation-layer_o0ksd_1 :is(img){max-width:100%;width:100%}._rp-annotation-layer_o0ksd_1 section:not(.popupAnnotation){z-index:calc(var(--vpv-base-z-index, 1) * 3)!important}._rp-annotation-layer_o0ksd_1 section:has(div.annotationContent) canvas.annotationContent{display:none}._rp-annotation-layer_o0ksd_1 section a{height:100%;left:0;position:absolute;top:0;width:100%;cursor:pointer}._rp-annotation-layer_o0ksd_1 section a:hover{background-color:var(--rp-annotation-layer__link-hover-background)}._rp-annotation-layer_o0ksd_1 section :is(svg){position:absolute;width:100%;height:100%;top:0;left:0}._rp-annotation-layer_o0ksd_1 section .popupTriggerArea,._rp-annotation-layer_o0ksd_1 section.popupTriggerArea{cursor:pointer}._rp-annotation-layer_o0ksd_1 section.popupAnnotation{font-size:calc(9px * var(--scale-factor));pointer-events:none;width:-moz-max-content;width:max-content;max-width:45%;height:auto}._rp-annotation-layer_o0ksd_1 section.popupAnnotation.focused .popup{outline-width:3px}._rp-annotation-layer_o0ksd_1 section .popupContent{border-top:1px solid rgb(51 51 51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}._rp-annotation-layer_o0ksd_1 section .annotationTextContent span{width:100%;display:inline-block}._rp-annotation-layer_o0ksd_1 section.fileAttachmentAnnotation .popupTriggerArea{height:100%;width:100%}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea),._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea)[disabled],._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select[disabled],._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):hover,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:hover,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):hover,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:hover,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):focus,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation textarea{resize:none}._rp-annotation-layer_o0ksd_1 section .popup{background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));outline:1.5px solid rgb(255 255 74);padding:calc(6px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .popup *{font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .popup .header{display:inline-block}._rp-annotation-layer_o0ksd_1 section .popup .header h1{display:inline;font-weight:700}._rp-annotation-layer_o0ksd_1 section .popup .header .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor));width:-moz-fit-content;width:fit-content}._rp-annotation-layer_o0ksd_1 section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box}._rp-toolbar-content_2cv36_1{display:flex;align-items:center;background:var(--rp-toolbar-background);border-bottom:var(--rp-toolbar-border-color) 1px solid;padding:0 var(--rp-toolbar-padding);min-height:var(--rp-toolbar-size)}._rp-toolbar-wrapper_2cv36_10{display:flex;gap:0;justify-content:space-between;width:100%;overflow-x:scroll}._rp-toolbar-wrapper_2cv36_10::-webkit-scrollbar{width:2px!important;height:2px!important}._rp-toolbar-wrapper_2cv36_10::-webkit-scrollbar-thumb{background-color:#888;border-radius:3px}._rp-toolbar-wrapper_2cv36_10::-webkit-scrollbar-track{background:#f1f1f1}._rp-toolbar-start_2cv36_32{display:flex;align-items:center;gap:var(--rp-toolbar-gap)}._rp-toolbar-middle_2cv36_38{display:flex;justify-content:center;align-items:center;gap:var(--rp-toolbar-gap)}._rp-toolbar-end_2cv36_45{display:flex;align-items:center;justify-content:flex-end;gap:var(--rp-toolbar-gap)}._rp-paginate_1vu6o_1{display:flex;align-items:center}._rp-page-input_1vu6o_6{margin-left:4px;margin-right:4px;width:3em}._rp-total-page_1vu6o_12{font-size:14px;font-weight:400;margin-right:4px;color:var(--rp-text-color)}._rp-dialog-wrapper_slqo7_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999}._rp-dialog-overlay_slqo7_7{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--rp-overlay-background-color)}._rp-document-dialog_slqo7_13{transform:translate(-50%,-50%);left:50%;top:50%;background:var(--rp-dialog-background-color);position:fixed;border:none;border-radius:var(--rp-border-radius);max-width:420px;padding:16px;line-height:16px;position:relative}._rp-document-dialog_slqo7_13:focus-visible{outline:none}@media screen and (max-width: 640px){._rp-document-dialog_slqo7_13{width:85%}}._rp-document-properties_slqo7_35{padding-top:20px}._rp-dialog-title_slqo7_39{font-size:var(--rp-dialog-title-font-size);font-weight:var(--rp-dialog-title-font-weight);color:var(--rp-dialog-title-color);margin-top:0;margin-bottom:8px}._rp-dialog-close_slqo7_47{font-size:var(--rp-property-close-icon-size);position:absolute;top:16px;right:11px;cursor:pointer}._rp-properties-divider_slqo7_55{background:var(--rp-properties-divider-color);width:100%;height:1px;margin-top:var(--rp-properties-divider-margin);margin-bottom:var(--rp-properties-divider-margin)}._rp-other-tool-content_su718_1{padding:var(--rp-dropdown-padding)}._rp-go-to-Top_4e0yd_1{transform:rotate(180deg)}._rp-zoom-wrapper_cocqs_1{display:flex;gap:4px}._rp-current-zoom-wrapper_cocqs_6{display:flex;align-items:center}._rp-current-zoom-icon_cocqs_11{transform:rotate(180deg);margin-left:2px}._rp-current-zoom-text_cocqs_16{font-size:14px}._rp-zoom-dropdown-content_cocqs_20{padding:var(--rp-dropdown-padding)}._rp-search-tool-content_1vxow_1{padding:var(--rp-search-tool-dropdown-padding);display:flex}._rp-search-tool-input_1vxow_6{display:flex;align-items:center;gap:1rem}._rp-search-tool-input-icon_1vxow_12{font-size:1.25rem}._rp-search-tool-controls_1vxow_16{border-left:1px solid var(--rp-dropdown-separator-color);display:flex;align-items:baseline;margin-left:1rem;padding-left:1rem}._rp-search-tool-input-wrapper_1vxow_24{display:flex;flex-direction:column;gap:8px}._rp-search-tool-input-checkboxes_1vxow_30{display:flex;gap:20px}._rp-search-tool-input-clear_1vxow_35{cursor:pointer;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;padding-left:.5rem;padding-right:.5rem;color:var(--rp-input-placeholder-color)}._rp-search-input_1vxow_49{padding-right:2rem}._rp-loading-overlay_1snj5_1{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:100}._rp-loading-modal_1snj5_14{background:white;padding:24px;border-radius:8px;min-width:240px;min-height:120px;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;justify-content:center;align-items:center}._rp-loading-title_1snj5_27{text-align:center;margin-bottom:16px;font-size:14px;font-family:system-ui,-apple-system,sans-serif;color:#1c2024}._rp-loading-progress-bar_1snj5_35{background:#f0f0f0;width:100%;height:4px;border-radius:32px;overflow:hidden;position:relative;margin-bottom:16px}._rp-loading-progress_1snj5_35{position:absolute;height:100%;background:linear-gradient(90deg,#0995EE 0%,#34AFFC 50%,#7ACAFF 100%);border-radius:32px}._rp-loading-cancel-button_1snj5_52{width:70px;padding:8px;border:none;background:none;color:#666;border-radius:6px;cursor:pointer;font-family:system-ui,-apple-system,sans-serif;transition:background-color .2s;border:1px solid #E2E6E9}._rp-loading-cancel-button_1snj5_52:hover{background:#f5f5f5}@keyframes _loading_1snj5_1{0%{transform:translate(-100%)}50%{transform:translate(100%)}to{transform:translate(-100%)}}._rp-sidebar-content-wrapper_4wlw3_1{display:flex;height:100%;position:relative}._rp-sidebar-content_4wlw3_1{background:var(--rp-toolbar-background);border-right:var(--rp-toolbar-border-color) 1px solid;min-width:var(--rp-toolbar-size);width:100%;padding-top:.75rem;text-align:center}._rp-thumbnails-wrapper_4wlw3_16{border-right:var(--rp-thumbnail-border-color) 4px solid;width:100%}._rp-thumbnail-dragging_4wlw3_21{-webkit-user-select:none;user-select:none;pointer-events:none}._rp-thumbnail-wrapper_3fenb_1{display:flex;align-items:center;flex-direction:column;margin-bottom:var(--rp-thumbnail-padding-y);cursor:pointer}._rp-thumbnail-text_3fenb_10{margin-top:8px;font-size:12px;font-weight:400;color:var(--rp-text-color)}._rp-thumbnail_3fenb_1{display:flex;box-shadow:0 2px 6px #00000026}._rp-thumbnail_3fenb_1:not(._rp-thumbnail-active_3fenb_22):not(:hover){padding:4px}._rp-thumbnail-active_3fenb_22,._rp-thumbnail_3fenb_1:hover{border:var(--rp-thumbnail-active-color) solid 4px}._rp-thumbnail-loader_3fenb_31{display:flex;align-items:center;justify-content:center}._rp-thumbnails-container_16vqr_1{height:100%;max-height:100%;width:var(--rp-thumbnail-width, 200px);overflow-y:auto;display:flex;align-items:center;flex-direction:column;background:var(--rp-thumbnail-background-color)}._rp-thumbnails_16vqr_1{padding-top:var(--rp-thumbnail-padding-y)}
1
+ .rp-print-zone{display:none}@media print{@page{margin:0}.rp-print-html-printing{height:100%}.rp-print-body-printing{background:rgb(0 0 0 / 0) none;height:100%;margin:0;display:block}.rp-print-body-printing *{display:none}.rp-print-zone{display:block;height:100%}.rp-print-page{display:flex;align-items:center;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rp-print-page img,.rp-print-page canvas{display:block;max-height:100%;max-width:100%;direction:ltr}}._rp-pages_34orh_1{background:var(--rp-pages-background-color);display:flex;justify-content:center}._rp-pages-horizontal-scroll_34orh_7{display:block}._rp-pages-container_34orh_11{position:relative;height:100%;outline-width:0}._rp-page-scrolling-wrapper_34orh_17{position:relative;overflow:auto}._rp-viewer_34orh_22{height:100%;position:relative}._rp-cursor-grab_34orh_27{cursor:grab;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}._rp-cursor-grabbing_34orh_35{cursor:grabbing;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}._rp-page-wrapper_h7a2q_1{display:flex;justify-content:center;align-items:center}._rp-page_h7a2q_1{box-shadow:0 2px 12px #00000026;position:relative;overflow:hidden}._rp-loader-wrapper_h7a2q_14{width:100%;height:100%;display:flex;align-items:center;justify-content:center}._rp-text-layer_1mgyz_1{color:transparent;transform:rotate(var(--rp-rotate));transform-origin:var(--rp-page-rotate-translate);position:absolute;top:0;right:0;bottom:0;left:0}._rp-text-layer-text_1mgyz_9{position:absolute;transform-origin:0% 0%;white-space:pre}._rp-annotation-layer_o0ksd_1{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;transform:unset;display:block;color:#000;transform-origin:var(--rp-page-rotate-translate);transform:rotate(var(--rp-rotate))}._rp-annotation-layer_o0ksd_1 :is(img){max-width:100%;width:100%}._rp-annotation-layer_o0ksd_1 section:not(.popupAnnotation){z-index:calc(var(--vpv-base-z-index, 1) * 3)!important}._rp-annotation-layer_o0ksd_1 section:has(div.annotationContent) canvas.annotationContent{display:none}._rp-annotation-layer_o0ksd_1 section a{height:100%;left:0;position:absolute;top:0;width:100%;cursor:pointer}._rp-annotation-layer_o0ksd_1 section a:hover{background-color:var(--rp-annotation-layer__link-hover-background)}._rp-annotation-layer_o0ksd_1 section :is(svg){position:absolute;width:100%;height:100%;top:0;left:0}._rp-annotation-layer_o0ksd_1 section .popupTriggerArea,._rp-annotation-layer_o0ksd_1 section.popupTriggerArea{cursor:pointer}._rp-annotation-layer_o0ksd_1 section.popupAnnotation{font-size:calc(9px * var(--scale-factor));pointer-events:none;width:-moz-max-content;width:max-content;max-width:45%;height:auto}._rp-annotation-layer_o0ksd_1 section.popupAnnotation.focused .popup{outline-width:3px}._rp-annotation-layer_o0ksd_1 section .popupContent{border-top:1px solid rgb(51 51 51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}._rp-annotation-layer_o0ksd_1 section .annotationTextContent span{width:100%;display:inline-block}._rp-annotation-layer_o0ksd_1 section.fileAttachmentAnnotation .popupTriggerArea{height:100%;width:100%}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea),._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea)[disabled],._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select[disabled],._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):hover,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:hover,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):hover,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:hover,._rp-annotation-layer_o0ksd_1 section.buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation :is(input,textarea):focus,._rp-annotation-layer_o0ksd_1 section.choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}._rp-annotation-layer_o0ksd_1 section.textWidgetAnnotation textarea{resize:none}._rp-annotation-layer_o0ksd_1 section .popup{background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));outline:1.5px solid rgb(255 255 74);padding:calc(6px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto;font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .popup *{font-size:calc(9px * var(--scale-factor))}._rp-annotation-layer_o0ksd_1 section .popup .header{display:inline-block}._rp-annotation-layer_o0ksd_1 section .popup .header h1{display:inline;font-weight:700}._rp-annotation-layer_o0ksd_1 section .popup .header .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor));width:-moz-fit-content;width:fit-content}._rp-annotation-layer_o0ksd_1 section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box}._rp-toolbar-content_1js09_1{display:flex;align-items:center;background:var(--rp-toolbar-background);border-bottom:var(--rp-toolbar-border-color) 1px solid;padding:0 var(--rp-toolbar-padding);min-height:var(--rp-toolbar-size)}._rp-toolbar-wrapper_1js09_10{display:flex;gap:0;justify-content:space-between;width:100%;overflow-x:auto}._rp-toolbar-wrapper_1js09_10::-webkit-scrollbar{width:2px!important;height:2px!important}._rp-toolbar-wrapper_1js09_10::-webkit-scrollbar-thumb{background-color:#888;border-radius:3px}._rp-toolbar-wrapper_1js09_10::-webkit-scrollbar-track{background:#f1f1f1}._rp-toolbar-start_1js09_32{display:flex;align-items:center;gap:var(--rp-toolbar-gap)}._rp-toolbar-middle_1js09_38{display:flex;justify-content:center;align-items:center;gap:var(--rp-toolbar-gap)}._rp-toolbar-end_1js09_45{display:flex;align-items:center;justify-content:flex-end;gap:var(--rp-toolbar-gap)}._rp-paginate_1vu6o_1{display:flex;align-items:center}._rp-page-input_1vu6o_6{margin-left:4px;margin-right:4px;width:3em}._rp-total-page_1vu6o_12{font-size:14px;font-weight:400;margin-right:4px;color:var(--rp-text-color)}._rp-dialog-wrapper_slqo7_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999}._rp-dialog-overlay_slqo7_7{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--rp-overlay-background-color)}._rp-document-dialog_slqo7_13{transform:translate(-50%,-50%);left:50%;top:50%;background:var(--rp-dialog-background-color);position:fixed;border:none;border-radius:var(--rp-border-radius);max-width:420px;padding:16px;line-height:16px;position:relative}._rp-document-dialog_slqo7_13:focus-visible{outline:none}@media screen and (max-width: 640px){._rp-document-dialog_slqo7_13{width:85%}}._rp-document-properties_slqo7_35{padding-top:20px}._rp-dialog-title_slqo7_39{font-size:var(--rp-dialog-title-font-size);font-weight:var(--rp-dialog-title-font-weight);color:var(--rp-dialog-title-color);margin-top:0;margin-bottom:8px}._rp-dialog-close_slqo7_47{font-size:var(--rp-property-close-icon-size);position:absolute;top:16px;right:11px;cursor:pointer}._rp-properties-divider_slqo7_55{background:var(--rp-properties-divider-color);width:100%;height:1px;margin-top:var(--rp-properties-divider-margin);margin-bottom:var(--rp-properties-divider-margin)}._rp-other-tool-content_su718_1{padding:var(--rp-dropdown-padding)}._rp-go-to-Top_4e0yd_1{transform:rotate(180deg)}._rp-zoom-wrapper_cocqs_1{display:flex;gap:4px}._rp-current-zoom-wrapper_cocqs_6{display:flex;align-items:center}._rp-current-zoom-icon_cocqs_11{transform:rotate(180deg);margin-left:2px}._rp-current-zoom-text_cocqs_16{font-size:14px}._rp-zoom-dropdown-content_cocqs_20{padding:var(--rp-dropdown-padding)}._rp-search-tool-content_1vxow_1{padding:var(--rp-search-tool-dropdown-padding);display:flex}._rp-search-tool-input_1vxow_6{display:flex;align-items:center;gap:1rem}._rp-search-tool-input-icon_1vxow_12{font-size:1.25rem}._rp-search-tool-controls_1vxow_16{border-left:1px solid var(--rp-dropdown-separator-color);display:flex;align-items:baseline;margin-left:1rem;padding-left:1rem}._rp-search-tool-input-wrapper_1vxow_24{display:flex;flex-direction:column;gap:8px}._rp-search-tool-input-checkboxes_1vxow_30{display:flex;gap:20px}._rp-search-tool-input-clear_1vxow_35{cursor:pointer;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;padding-left:.5rem;padding-right:.5rem;color:var(--rp-input-placeholder-color)}._rp-search-input_1vxow_49{padding-right:2rem}._rp-loading-overlay_1snj5_1{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:100}._rp-loading-modal_1snj5_14{background:white;padding:24px;border-radius:8px;min-width:240px;min-height:120px;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;justify-content:center;align-items:center}._rp-loading-title_1snj5_27{text-align:center;margin-bottom:16px;font-size:14px;font-family:system-ui,-apple-system,sans-serif;color:#1c2024}._rp-loading-progress-bar_1snj5_35{background:#f0f0f0;width:100%;height:4px;border-radius:32px;overflow:hidden;position:relative;margin-bottom:16px}._rp-loading-progress_1snj5_35{position:absolute;height:100%;background:linear-gradient(90deg,#0995EE 0%,#34AFFC 50%,#7ACAFF 100%);border-radius:32px}._rp-loading-cancel-button_1snj5_52{width:70px;padding:8px;border:none;background:none;color:#666;border-radius:6px;cursor:pointer;font-family:system-ui,-apple-system,sans-serif;transition:background-color .2s;border:1px solid #E2E6E9}._rp-loading-cancel-button_1snj5_52:hover{background:#f5f5f5}@keyframes _loading_1snj5_1{0%{transform:translate(-100%)}50%{transform:translate(100%)}to{transform:translate(-100%)}}._rp-sidebar-content-wrapper_4wlw3_1{display:flex;height:100%;position:relative}._rp-sidebar-content_4wlw3_1{background:var(--rp-toolbar-background);border-right:var(--rp-toolbar-border-color) 1px solid;min-width:var(--rp-toolbar-size);width:100%;padding-top:.75rem;text-align:center}._rp-thumbnails-wrapper_4wlw3_16{border-right:var(--rp-thumbnail-border-color) 4px solid;width:100%}._rp-thumbnail-dragging_4wlw3_21{-webkit-user-select:none;user-select:none;pointer-events:none}._rp-thumbnail-wrapper_3fenb_1{display:flex;align-items:center;flex-direction:column;margin-bottom:var(--rp-thumbnail-padding-y);cursor:pointer}._rp-thumbnail-text_3fenb_10{margin-top:8px;font-size:12px;font-weight:400;color:var(--rp-text-color)}._rp-thumbnail_3fenb_1{display:flex;box-shadow:0 2px 6px #00000026}._rp-thumbnail_3fenb_1:not(._rp-thumbnail-active_3fenb_22):not(:hover){padding:4px}._rp-thumbnail-active_3fenb_22,._rp-thumbnail_3fenb_1:hover{border:var(--rp-thumbnail-active-color) solid 4px}._rp-thumbnail-loader_3fenb_31{display:flex;align-items:center;justify-content:center}._rp-thumbnails-container_16vqr_1{height:100%;max-height:100%;width:var(--rp-thumbnail-width, 200px);overflow-y:auto;display:flex;align-items:center;flex-direction:column;background:var(--rp-thumbnail-background-color)}._rp-thumbnails_16vqr_1{padding-top:var(--rp-thumbnail-padding-y)}
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as o } from "react";
3
- import { P as S, S as u, T as M, a as C } from "../RPDefaultLayout-691a325c.js";
3
+ import { P as S, S as u, T as M, a as C } from "../RPDefaultLayout-c821ae5c.js";
4
4
  import { DarkModeProvider as R } from "../contexts/DarkModeContext.js";
5
5
  import { ScrollMode as L, SelectionMode as T } from "../utils/types.js";
6
6
  import { RotateProvider as V } from "../contexts/RotationContext.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { R as F } from "../RPDefaultLayout-691a325c.js";
3
+ import { R as F } from "../RPDefaultLayout-c821ae5c.js";
4
4
  import "../utils/hooks/useWatermark.js";
5
5
  import "../contexts/VirtualScrollContext.js";
6
6
  import "../contexts/RPDocumentContext.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { DocumentProvider as c } from "../contexts/RPDocumentContext.js";
3
3
  import { RPController as d } from "./RPController.js";
4
- import "../RPDefaultLayout-691a325c.js";
4
+ import "../RPDefaultLayout-c821ae5c.js";
5
5
  import "./RPConfig.js";
6
6
  import "./RPTheme.js";
7
7
  import "./RPDropFileZone.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { b as y } from "../../RPDefaultLayout-691a325c.js";
3
+ import { b as y } from "../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../Container-fdb0a71f.js";
5
5
  import "../../contexts/ToolbarComponentContext.js";
6
6
  import "../../contexts/LayoutContainerContext.js";
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../icons/Thumbnail.js";
4
4
  import "../../ui/Button.js";
5
- import { G as f } from "../../../RPDefaultLayout-691a325c.js";
5
+ import { G as f } from "../../../RPDefaultLayout-c821ae5c.js";
6
6
  import "./RPSplitter.js";
7
7
  import "../../../contexts/ToolbarComponentContext.js";
8
8
  import "../../../contexts/IconContext.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { B as a } from "../../../RPDefaultLayout-691a325c.js";
3
+ import { B as a } from "../../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../../clsx-0c6e471a.js";
5
5
  import "../../icons/LoaderIcon.js";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { E as t } from "../../../RPDefaultLayout-691a325c.js";
3
+ import { E as t } from "../../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../../utils/hooks/useInfiniteScroll.js";
5
5
  export {
6
6
  t as Thumbnails
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { v as C } from "../../../RPDefaultLayout-691a325c.js";
3
+ import { v as C } from "../../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../../contexts/LayoutContainerContext.js";
5
5
  import "../../icons/CloseIcon.js";
6
6
  import "../../../utils/dateFormatter.js";
@@ -3,7 +3,7 @@ import "../../icons/FileDownloadDefaultIcon.js";
3
3
  import "../../../contexts/ToolbarComponentContext.js";
4
4
  import "../../../contexts/IconContext.js";
5
5
  import "../../ui/Button.js";
6
- import { F as d } from "../../../RPDefaultLayout-691a325c.js";
6
+ import { F as d } from "../../../RPDefaultLayout-c821ae5c.js";
7
7
  import "./MenuItem.js";
8
8
  import "../../../contexts/ViewportContext.js";
9
9
  import "../../ui/RPTooltip.js";
@@ -3,7 +3,7 @@ import "../../../index-1db49c1a.js";
3
3
  import "./MenuItem.js";
4
4
  import "../../../contexts/RPDocumentContext.js";
5
5
  import "react";
6
- import { M as C } from "../../../RPDefaultLayout-691a325c.js";
6
+ import { M as C } from "../../../RPDefaultLayout-c821ae5c.js";
7
7
  import "../../../contexts/DarkModeContext.js";
8
8
  import "../../../contexts/RotationContext.js";
9
9
  import "../../../contexts/LayerContext.js";
@@ -3,7 +3,7 @@ import "../../../contexts/LayoutContainerContext.js";
3
3
  import "../../icons/ThreeDotIcon.js";
4
4
  import "../../ui/Button.js";
5
5
  import "../../ui/DropDown.js";
6
- import { O as k } from "../../../RPDefaultLayout-691a325c.js";
6
+ import { O as k } from "../../../RPDefaultLayout-c821ae5c.js";
7
7
  import "../../../contexts/OtherToolContext.js";
8
8
  import "./DocumentProperties.js";
9
9
  import "./RotateTool.js";
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../icons/ChevronUpIcon.js";
4
4
  import "../../ui/Button.js";
5
5
  import "../../ui/Input.js";
6
- import { t as s } from "../../../RPDefaultLayout-691a325c.js";
6
+ import { t as s } from "../../../RPDefaultLayout-c821ae5c.js";
7
7
  import "../../../contexts/IconContext.js";
8
8
  import "../../../contexts/ToolbarComponentContext.js";
9
9
  import "../../../contexts/ViewportContext.js";
@@ -3,7 +3,7 @@ import "../../icons/PrintDefaultIcon.js";
3
3
  import "../../../contexts/ToolbarComponentContext.js";
4
4
  import "../../../contexts/IconContext.js";
5
5
  import "../../ui/Button.js";
6
- import { w as n } from "../../../RPDefaultLayout-691a325c.js";
6
+ import { w as n } from "../../../RPDefaultLayout-c821ae5c.js";
7
7
  import "../../../contexts/ViewportContext.js";
8
8
  import "./MenuItem.js";
9
9
  import "../../ui/RPTooltip.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { z as a } from "../../../RPDefaultLayout-691a325c.js";
3
+ import { z as a } from "../../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../../contexts/ToolbarComponentContext.js";
5
5
  import "../../../contexts/ViewportContext.js";
6
6
  export {
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "./FileUploadTool.js";
3
3
  import "./DarkModeTool.js";
4
- import { x } from "../../../RPDefaultLayout-691a325c.js";
4
+ import { x } from "../../../RPDefaultLayout-c821ae5c.js";
5
5
  import "./FullScreenTool.js";
6
6
  import "../../../contexts/ViewportContext.js";
7
7
  export {
@@ -4,7 +4,7 @@ import "../../icons/SearchIcon.js";
4
4
  import "react";
5
5
  import "../../ui/DropDown.js";
6
6
  import "../../../contexts/LayoutContainerContext.js";
7
- import { y as I } from "../../../RPDefaultLayout-691a325c.js";
7
+ import { y as I } from "../../../RPDefaultLayout-c821ae5c.js";
8
8
  import "../../ui/Input.js";
9
9
  import "../../icons/CloseIcon.js";
10
10
  import "../../icons/ChevronUpIcon.js";
@@ -5,7 +5,7 @@ import "../../icons/ChevronUpIcon.js";
5
5
  import "../../icons/ZoomInIcon.js";
6
6
  import "../../icons/ZoomOutIcon.js";
7
7
  import "../../ui/Button.js";
8
- import { Z as L } from "../../../RPDefaultLayout-691a325c.js";
8
+ import { Z as L } from "../../../RPDefaultLayout-c821ae5c.js";
9
9
  import "../../ui/DropDown.js";
10
10
  import "../../../contexts/LayoutContainerContext.js";
11
11
  import "../../../index-1db49c1a.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../contexts/RPDocumentContext.js";
4
- import { A as D } from "../../RPDefaultLayout-691a325c.js";
4
+ import { A as D } from "../../RPDefaultLayout-c821ae5c.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../utils/types.js";
7
7
  import "../../contexts/RotationContext.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../contexts/RPDocumentContext.js";
4
- import { C as w } from "../../RPDefaultLayout-691a325c.js";
4
+ import { C as w } from "../../RPDefaultLayout-c821ae5c.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../contexts/RotationContext.js";
7
7
  import "../../contexts/LayerContext.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { D as a } from "../../RPDefaultLayout-691a325c.js";
3
+ import { D as a } from "../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../contexts/ScrollStateContext.js";
5
5
  export {
6
6
  a as DualPage
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { q as z } from "../../RPDefaultLayout-691a325c.js";
3
+ import { q as z } from "../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../contexts/RPDocumentContext.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../contexts/RotationContext.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { s as t } from "../../RPDefaultLayout-691a325c.js";
3
+ import { s as t } from "../../RPDefaultLayout-c821ae5c.js";
4
4
  import "../../contexts/ScrollStateContext.js";
5
5
  export {
6
6
  t as SinglePage
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../contexts/RPDocumentContext.js";
4
- import { p as z } from "../../RPDefaultLayout-691a325c.js";
4
+ import { p as z } from "../../RPDefaultLayout-c821ae5c.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../contexts/RotationContext.js";
7
7
  import "../../contexts/LayerContext.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { L as p } from "../../RPDefaultLayout-691a325c.js";
2
+ import { L as p } from "../../RPDefaultLayout-c821ae5c.js";
3
3
  import "../../clsx-0c6e471a.js";
4
4
  export {
5
5
  p as default
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { h as n, P as m, u as p } from "../RPDefaultLayout-691a325c.js";
3
+ import { h as n, P as m, u as p } from "../RPDefaultLayout-c821ae5c.js";
4
4
  import "./RPDocumentContext.js";
5
5
  import "../utils/appConsole.js";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { j as e, a as n, d as a } from "../RPDefaultLayout-691a325c.js";
3
+ import { j as e, a as n, d as a } from "../RPDefaultLayout-c821ae5c.js";
4
4
  export {
5
5
  e as PrintContext,
6
6
  n as PrintProvider,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { o as a, S as s, e as S } from "../RPDefaultLayout-691a325c.js";
3
+ import { o as a, S as s, e as S } from "../RPDefaultLayout-c821ae5c.js";
4
4
  export {
5
5
  a as SearchContext,
6
6
  s as SearchProvider,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { l as i, T as r, m as e } from "../RPDefaultLayout-691a325c.js";
3
+ import { l as i, T as r, m as e } from "../RPDefaultLayout-c821ae5c.js";
4
4
  export {
5
5
  i as ThumbnailContext,
6
6
  r as ThumbnailProvider,
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { RPProvider as t } from "./components/RPProvider.js";
2
- import { b as x, R as n, c as s, u as m, d as p, e as f } from "./RPDefaultLayout-691a325c.js";
2
+ import { b as x, R as n, c as s, u as m, d as p, e as f } from "./RPDefaultLayout-c821ae5c.js";
3
3
  import { RPConfig as a } from "./components/RPConfig.js";
4
4
  import { RPController as l } from "./components/RPController.js";
5
5
  import { RPTheme as P } from "./components/RPTheme.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../contexts/RPDocumentContext.js";
3
3
  import "react";
4
- import { c as v } from "../../RPDefaultLayout-691a325c.js";
4
+ import { c as v } from "../../RPDefaultLayout-c821ae5c.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../contexts/RotationContext.js";
7
7
  import "../../contexts/LayerContext.js";
@@ -1,6 +1,6 @@
1
1
  import { useState as E, useCallback as g, useEffect as v } from "react";
2
2
  import { appConsole as l } from "../appConsole.js";
3
- const b = /* @__PURE__ */ new Date("2025-03-12T07:50:36.749Z"), d = "Please visit https://www.react-pdf.dev/license-management/ to generate a new license key.", o = {
3
+ const b = /* @__PURE__ */ new Date("2025-03-12T07:52:51.878Z"), d = "Please visit https://www.react-pdf.dev/license-management/ to generate a new license key.", o = {
4
4
  invalidLicense: `You are currently using without a valid license. ${d}`,
5
5
  mismatchedDomain: `Your license key is not valid for the current domain / IP. ${d}`,
6
6
  expired: `Your license key has expired. ${d}`,
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { g as z } from "../../RPDefaultLayout-691a325c.js";
2
+ import { g as z } from "../../RPDefaultLayout-c821ae5c.js";
3
3
  import "../../contexts/ScrollStateContext.js";
4
4
  import "react/jsx-runtime";
5
5
  import "../../contexts/RPDocumentContext.js";
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react/jsx-runtime";
3
3
  import "../../contexts/RPDocumentContext.js";
4
- import { i as z } from "../../RPDefaultLayout-691a325c.js";
4
+ import { i as z } from "../../RPDefaultLayout-c821ae5c.js";
5
5
  import "../../contexts/DarkModeContext.js";
6
6
  import "../../contexts/RotationContext.js";
7
7
  import "../../contexts/LayerContext.js";
@@ -2,7 +2,7 @@ import "react";
2
2
  import "../../contexts/ScrollModeContext.js";
3
3
  import "react/jsx-runtime";
4
4
  import "../../contexts/RPDocumentContext.js";
5
- import { f as y } from "../../RPDefaultLayout-691a325c.js";
5
+ import { f as y } from "../../RPDefaultLayout-c821ae5c.js";
6
6
  import "../../contexts/DarkModeContext.js";
7
7
  import "../types.js";
8
8
  import "../../contexts/RotationContext.js";
@@ -7,7 +7,7 @@ import "pdfjs-dist";
7
7
  import "../../contexts/RPDocumentContext.js";
8
8
  import "../../contexts/ZoomContext.js";
9
9
  import "react/jsx-runtime";
10
- import { n as B } from "../../RPDefaultLayout-691a325c.js";
10
+ import { n as B } from "../../RPDefaultLayout-c821ae5c.js";
11
11
  import "../../contexts/DarkModeContext.js";
12
12
  import "../../contexts/RotationContext.js";
13
13
  import "../../contexts/LayerContext.js";
@@ -2,7 +2,7 @@ import "react";
2
2
  import "../renderPage.js";
3
3
  import "react/jsx-runtime";
4
4
  import "../../contexts/RPDocumentContext.js";
5
- import { k as A } from "../../RPDefaultLayout-691a325c.js";
5
+ import { k as A } from "../../RPDefaultLayout-c821ae5c.js";
6
6
  import "../../contexts/DarkModeContext.js";
7
7
  import "../../contexts/RotationContext.js";
8
8
  import "../../contexts/LayerContext.js";
@@ -3,7 +3,7 @@ import "../types.js";
3
3
  import "../../contexts/ScrollModeContext.js";
4
4
  import "react/jsx-runtime";
5
5
  import "../../contexts/RPDocumentContext.js";
6
- import { r as v } from "../../RPDefaultLayout-691a325c.js";
6
+ import { r as v } from "../../RPDefaultLayout-c821ae5c.js";
7
7
  import "../../contexts/DarkModeContext.js";
8
8
  import "../../contexts/RotationContext.js";
9
9
  import "../../contexts/LayerContext.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pdf-viewer/react",
3
3
  "private": false,
4
4
  "description": "The PDF Viewer component for React and Next.js",
5
- "version": "1.1.0-beta.6",
5
+ "version": "1.1.0-beta.7",
6
6
  "keywords": [
7
7
  "component",
8
8
  "frontend",