UNPKG

mirador

Version:

An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.

27 lines (26 loc) 1.03 kB
import { U as e, at as t, dt as n, ft as r, g as i } from "./getters-B4oepJRC.js"; import { t as a } from "./react-error-boundary.esm-ByHqCaxk.js"; import { t as o } from "./WindowCanvasNavigationControls-DHHogzDd.js"; import { Suspense as s, lazy as c } from "react"; import { jsx as l } from "react/jsx-runtime"; //#region src/components/WindowViewer.jsx var u = /* @__PURE__ */ r(t(), 1), d = c(() => import("./OpenSeadragonViewer-A1db1AxH.js").then((e) => e.n)); function f({ windowId: e }) { return /* @__PURE__ */ l(a, { fallback: null, children: /* @__PURE__ */ l(s, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(d, { windowId: e, children: /* @__PURE__ */ l(o, { windowId: e }) }) }) }); } f.propTypes = { windowId: u.default.string.isRequired }; //#endregion //#region src/containers/WindowViewer.js var p = /* @__PURE__ */ n({ default: () => m }), m = e(i("WindowViewer"))(f); //#endregion export { p as n, f as r, m as t }; //# sourceMappingURL=WindowViewer-DaJEyDMY.js.map