import { aK as s, aH as m, m as n, a_ as c } from "./index-GTnBs7av.js";
function p({ value: e, onChange: t, ...a }) {
  return /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
    /* @__PURE__ */ s.jsx(
      m,
      {
        name: "map-pin",
        className: "text-muted absolute left-0.5 ml-3 h-4 w-4 -translate-y-1/2",
        style: { top: "44%" }
      }
    ),
    /* @__PURE__ */ s.jsx(
      n,
      {
        ...a,
        value: e,
        onChange: (l) => {
          t(l.target.value);
        },
        className: c("pl-10", a == null ? void 0 : a.className)
      }
    )
  ] });
}
export {
  p as default
};
