import{r as c,v as u,C as d,aa as m,J as _,f as n,o as a,c as p,l as f,S as g,k as h,R as v}from"./index.bba5ce79.js";const x=["src"],w={__name:"index",props:{src:{type:String,required:!0}},setup(i){const e=i,t=c(document.documentElement.clientHeight-94.5+"px;"),r=c(!0),s=u(()=>e.src);return d(()=>{setTimeout(()=>{r.value=!1},300),window.onresize=function(){t.value=document.documentElement.clientHeight-94.5+"px;"}}),(o,B)=>{const l=m("loading");return _((a(),p("div",{style:g("height:"+n(t))},[f("iframe",{src:n(s),frameborder:"no",style:{width:"100%",height:"100%"},scrolling:"auto"},null,8,x)],4)),[[l,n(r)]])}}},k={__name:"index",setup(i){var t;const e=c(((t=window.APP_CONFIG)==null?void 0:t.VITE_BASE_URL)+"/swagger-ui/index.html");return(r,s)=>(a(),h(n(w),{src:n(e),"onUpdate:src":s[0]||(s[0]=o=>v(e)?e.value=o:null)},null,8,["src"]))}};export{k as default};
