import{E as s,r as a,z as e}from"./vendor-s2rfM_Vj.js";import{I as n,B as o}from"./t-r-vendor-gn7FMrPE.js";const r=s("div")({name:"WrapUI",class:"w1bkws3u",propsAsIs:!1}),i=s("div")({name:"ContentUI",class:"c132qwr4",propsAsIs:!1}),c=s("div")({name:"IconWrapUI",class:"ifqawkj",propsAsIs:!1}),l=s("i")({name:"IconUI",class:"ibdonv3",propsAsIs:!1}),p=s("b")({name:"IconTextUI",class:"i1lo7jl2",propsAsIs:!1}),t=s("div")({name:"InputWrapUI",class:"ibdfroi",propsAsIs:!1}),d=({iframe:s,icon:d})=>{const[m,I]=a.useState(""),j=()=>{location.href=`https://map.baidu.com/?newmap=1&ie=utf-8&s=s%26wd%3D${m}`};return e.jsx(r,{children:e.jsxs(i,{children:[e.jsxs(c,{children:[e.jsx(l,{className:"ovo-color-2 navigation"}),e.jsx(p,{children:"快捷导航"})]}),e.jsxs(t,{children:[e.jsx(n,{placeholder:"请输入地址",value:m,status:"success",size:"small",onChange:s=>{I(s)},onEnter:j}),e.jsx(o,{size:"small",theme:"danger",onClick:j,children:"一键导航"})]})]})})};export{d as default};
