var c=(i,l,r)=>new Promise((a,n)=>{var p=t=>{try{e(r.next(t))}catch(o){n(o)}},s=t=>{try{e(r.throw(t))}catch(o){n(o)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(p,s);e((r=r.apply(i,l)).next())});import{u as m}from"./useScript-67586b5e.js";import{d,k as h,o as f,q as w,u as _,_ as y,$ as g,af as B}from"./vue-1631514e.js";import{_ as v,__tla as M}from"./index-f0df2f76.js";import"./antd-057b41b1.js";let u,S=Promise.all([(()=>{try{return M}catch(i){}})()]).then(()=>c(void 0,null,function*(){const i="https://api.map.baidu.com/getscript?v=3.0&ak=OaBvYmKX3pjF7YFUFeeBCeGdy9Zp7xB2&services=&t=20210201100830&s=1",l=d({name:"BaiduMap",props:{width:{type:String,default:"100%"},height:{type:String,default:"calc(100vh - 78px)"}},setup(){const a=h(null),{toPromise:n}=m({src:i});function p(){return c(this,null,function*(){yield n(),yield w();const s=_(a);if(!s)return;const e=window.BMap,t=new e.Map(s),o=new e.Point(116.404,39.915);t.centerAndZoom(o,15),t.enableScrollWheelZoom(!0)})}return f(()=>{p()}),{wrapRef:a}}});function r(a,n,p,s,e,t){return y(),g("div",{ref:"wrapRef",style:B({height:a.height,width:a.width})},null,4)}u=v(l,[["render",r]])}));export{S as __tla,u as default};