
/**
 *   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.239.0-alpha.0
 *   BUILD_TIMESTAMP: 1780013005605
 *   BUILD_DATE: Fri May 29 2026 00:03:25 GMT+0000 (Coordinated Universal Time)
 *   BUILD_COMMIT: 3344b6c0fd9fa858907db310cfb1ef5e0d224da2
 */
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-BeJtNfmN.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
};
