import {
  PROFILE_FORM_VALIDATION
} from "./chunk-PDPMF4ZK.mjs";

// tmp-babel/profiles/common/constants.js
import { z } from "zod";
function _typeof(o) {
  "@babel/helpers - typeof";
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
    return typeof o2;
  } : function(o2) {
    return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
  }, _typeof(o);
}
function _defineProperty(e, r, t) {
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
}
function _toPropertyKey(t) {
  var i = _toPrimitive(t, "string");
  return "symbol" == _typeof(i) ? i : i + "";
}
function _toPrimitive(t, r) {
  if ("object" != _typeof(t) || !t) return t;
  var e = t[Symbol.toPrimitive];
  if (void 0 !== e) {
    var i = e.call(t, r || "default");
    if ("object" != _typeof(i)) return i;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return ("string" === r ? String : Number)(t);
}
var PROFILE_FORM_VALUE = {
  id: "id",
  bannerImage: "bannerImage",
  biography: "biography",
  image: "image",
  name: "name",
  phoneNumber: "phoneNumber",
  urlPath: "urlPath"
};
var DEFAULT_PROFILE_FORM_VALUES = {
  id: "",
  bannerImage: "",
  biography: "",
  image: "",
  name: "",
  phoneNumber: "",
  urlPath: ""
};
var DEFAULT_PROFILE_FORM_VALIDATION = z.object(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, PROFILE_FORM_VALUE.id, z.any()), PROFILE_FORM_VALUE.bannerImage, z.any()), PROFILE_FORM_VALUE.biography, z.string()), PROFILE_FORM_VALUE.image, z.any()), PROFILE_FORM_VALUE.name, z.string().min(1, {
  message: PROFILE_FORM_VALIDATION.name.empty
})), PROFILE_FORM_VALUE.phoneNumber, z.string()), PROFILE_FORM_VALUE.urlPath, z.string().min(8, {
  message: PROFILE_FORM_VALIDATION.urlPath.empty
}).regex(/^[a-zA-Z0-9]+$/, {
  message: PROFILE_FORM_VALIDATION.urlPath.invalid
})));
var DEFAULT_IMAGE_FORMATS = "image/png, image/gif, image/jpeg";
var DEFAULT_IMAGE_MAX_SIZE = 10 * 1024 * 1024;
var DEFAULT_BANNER_IMAGE_FORMATS = "image/png, image/gif, image/jpeg";
var DEFAULT_BANNER_IMAGE_MAX_SIZE = 10 * 1024 * 1024;

export {
  PROFILE_FORM_VALUE,
  DEFAULT_PROFILE_FORM_VALUES,
  DEFAULT_PROFILE_FORM_VALIDATION,
  DEFAULT_IMAGE_FORMATS,
  DEFAULT_IMAGE_MAX_SIZE,
  DEFAULT_BANNER_IMAGE_FORMATS,
  DEFAULT_BANNER_IMAGE_MAX_SIZE
};
//# sourceMappingURL=chunk-HAZVLM7H.mjs.map