import{jsxs as e,Fragment as i,jsx as o}from"react/jsx-runtime";import{P as r,a as t}from"./index-CQXsL1YZ.js";import"@bbodek/utils";import"react";import{u as s,P as a,a as l,b as p}from"./PreviewToolbar-DqsGLdKD.js";import"react-dom";import"@bbodek/hooks";import"overlay-kit";const m=({file:m,badge:n,closeOption:d,isLoading:c=!1})=>{const{models:{viewerRef:b,viewerSize:f,titleId:v,previewOptions:w},operations:{setPreviewOptions:O}}=s();return e(i,{children:[o(a,{badge:n,className:r.MOBILE.HEADER,closeOption:d,fileName:m.name,titleId:v}),o(l,{"aria-labelledby":v,className:r.MOBILE.VIEWER_WRAPPER,ref:b,children:o(t,{file:m,isLoading:c,previewOptions:w,viewerSize:f})}),o(p,{file:m,previewOptions:w,setPreviewOptions:O})]})};export{m as default};
//# sourceMappingURL=PreviewMultiMobileViewer-CoHBGsLM.js.map
