@prose-reader/react-reader 1.300.0 → 1.303.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.
package/dist/index.js CHANGED
@@ -1451,7 +1451,7 @@ const Xi = N((t) => {
1451
1451
  ] }), e[17] = g, e[18] = _) : _ = e[18];
1452
1452
  let S;
1453
1453
  return e[19] !== o || e[20] !== _ || e[21] !== c ? (S = /* @__PURE__ */ a($e, { lazyMount: !0, placement: "center", open: o, onOpenChange: c, size: d, scrollBehavior: "inside", children: _ }), e[19] = o, e[20] = _, e[21] = c, e[22] = S) : S = e[22], S;
1454
- }), el = "@prose-reader/react-reader", tl = "1.299.0", nl = N((t) => {
1454
+ }), el = "@prose-reader/react-reader", tl = "1.302.0", nl = N((t) => {
1455
1455
  const e = C(16), {
1456
1456
  open: o,
1457
1457
  setOpen: n
@@ -1621,7 +1621,7 @@ const ll = {
1621
1621
  if (!(n !== "free" || o || !bl({
1622
1622
  manifest: t,
1623
1623
  viewport: i
1624
- }) || !(e.beginHasAdjacentSpreadPage || e.endHasAdjacentSpreadPage)))
1624
+ }) || !(e.beginHasAdjacentSpreadPage && e.endHasAdjacentSpreadPage)))
1625
1625
  return [e.beginSpineItemIndex, e.beginPageIndexInSpineItem, e.endSpineItemIndex, e.endPageIndexInSpineItem].map((s) => s ?? "none").join(":");
1626
1626
  }, _l = (t) => t.pagination.state$.pipe(rn(["beginHasAdjacentSpreadPage", "beginPageIndexInSpineItem", "beginSpineItemIndex", "endHasAdjacentSpreadPage", "endPageIndexInSpineItem", "endSpineItemIndex"]), Jn({
1627
1627
  bufferSize: 1,