
/**
 *   VERSION: 2.240.0-alpha.1
 *   BUILD_TIMESTAMP: 1780360168537
 *   BUILD_DATE: Tue Jun 02 2026 00:29:28 GMT+0000 (Coordinated Universal Time)
 *   BUILD_COMMIT: 758cedd37e00f49a728d704d9ed36884f0f12d79
 */
import { i as g, g as m, j as a, a as F, F as i } from "../sheerid.js";
import { F as u } from "./FormFieldTypeahead-BYkRNOT7.js";
const f = ({
  value: o,
  isErrored: n,
  onChange: s,
  verificationService: e,
  intl: t,
  placeholder: r = "",
  disabled: d = !1
}) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx(
  u,
  {
    fieldId: "first-responder-organization",
    value: o,
    verificationService: e,
    onChange: (l) => s(l),
    placeholder: r || t.formatHTMLMessage({ id: "organizationPlaceholder", defaultMessage: "Organization" }),
    label: /* @__PURE__ */ a.jsx(i, { id: "organization", defaultMessage: "Organization" }),
    errorMessage: n && /* @__PURE__ */ a.jsx(
      i,
      {
        id: "errorId.invalidOrganization",
        defaultMessage: "You must select an organization from the list"
      }
    ),
    orgSearchUrl: F(
      e.viewModel,
      e.programTheme
    ),
    showPlaceholderAndHideLabel: !!r,
    isRequired: !0,
    disabled: d
  }
), M = g(f);
export {
  M as F
};
