
/**
 *   WARNING: This file is intended to be used within MySheerID.
 *   This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
 */ 
/**
 *   VERSION: 2.240.0-alpha.1
 *   BUILD_TIMESTAMP: 1780360182346
 *   BUILD_DATE: Tue Jun 02 2026 00:29:42 GMT+0000 (Coordinated Universal Time)
 *   BUILD_COMMIT: 758cedd37e00f49a728d704d9ed36884f0f12d79
 */
import { i as g, g as m, j as a, a as f, F as s } from "../_mysheerid-preview.js";
import { F as h } from "./FormFieldTypeahead-Br3igd3J.js";
const u = ({
  value: i,
  isErrored: n,
  onChange: r,
  verificationService: e,
  intl: d,
  placeholder: o = "",
  disabled: t = !1
}) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx(
  h,
  {
    fieldId: "licensed-professional",
    value: i,
    verificationService: e,
    onChange: (l) => r(l),
    placeholder: o || d.formatHTMLMessage({
      id: "organizationNamePlaceholder",
      defaultMessage: "Organization"
    }),
    label: /* @__PURE__ */ a.jsx(s, { id: "organization", defaultMessage: "Organization" }),
    errorMessage: n && /* @__PURE__ */ a.jsx(
      s,
      {
        id: "errorId.invalidOrganization",
        defaultMessage: "You must select an organization from the list"
      }
    ),
    orgSearchUrl: f(
      e.viewModel,
      e.programTheme
    ),
    showPlaceholderAndHideLabel: !!o,
    disabled: t
  }
), c = g(
  u
);
export {
  c as L
};
