import "./chunk-HFNDKYVF.js";

// plots/dziviewer/plot.dzi.js
async function plot_dzi_default(dslabel, holder, genomeObj, sample_id, dzimages) {
  const loadingDiv = holder.append("div").style("margin", "20px").text("Loading...");
  try {
    const opts = {
      holder,
      state: {
        genome: genomeObj.name,
        dslabel,
        sample_id,
        dzimages,
        plots: [
          {
            chartType: "DziViewer",
            subfolder: "dziviewer",
            extension: "ts"
          }
        ]
      }
    };
    const plot = await import("./plot.app-NRUARQCN.js");
    const plotAppApi = await plot.appInit(opts);
    loadingDiv.remove();
  } catch (e) {
    loadingDiv.text("Error: " + (e.message || e));
  }
}
export {
  plot_dzi_default as default
};
//# sourceMappingURL=plot.dzi-T3GPUH36.js.map
