import { resolveComponent, mergeProps, withCtx, createTextVNode, toDisplayString, useSSRContext } from "vue";
import { ssrRenderAttrs, ssrInterpolate, ssrRenderList, ssrRenderStyle, ssrRenderClass, ssrRenderComponent, ssrRenderAttr, ssrIncludeBooleanAttr, ssrLooseContain, ssrLooseEqual } from "vue/server-renderer";
import { _ as _export_sfc } from "../entries/pages.mjs";
import axios from "axios";
/*! src/components/Modules.vue [vike:pluginModuleBanner] */
const _sfc_main$1 = {
  props: ["modules"],
  data() {
    return {
      currentIndex: 0
    };
  },
  watch: {
    modules() {
      this.modules.forEach((item, index) => {
        item.isOpen = index === 0 ? true : false;
      });
    }
  },
  methods: {
    toggleAccordion(moduleIndex) {
      this.currentIndex = moduleIndex;
      this.modules.forEach((item, index) => {
        item.isOpen = moduleIndex === index ? true : false;
      });
    }
  },
  mounted() {
    this.modules.forEach((item, index) => {
      item.isOpen = index === 0 ? true : false;
    });
  }
};
function _sfc_ssrRender$1(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
  const _component_router_link = resolveComponent("router-link");
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "grid lg:grid-cols-3 grid-cols-1 items-center justify-between gap-6" }, _attrs))}><div class="lg:col-span-2 col-span-1 flex flex-col gap-4">`);
  if (_ctx.$route.name !== "sectors") {
    _push(`<p class="font-bold text-legal-eagle text-3xl md:mb-6 mb-2">${ssrInterpolate(_ctx.$t("CUSTOMIZED CLOUD ERP MODULES"))}</p>`);
  } else {
    _push(`<!---->`);
  }
  _push(`<!--[-->`);
  ssrRenderList($props.modules, (item, index) => {
    _push(`<div class="px-6 py-5 rounded-lg" style="${ssrRenderStyle({ "box-shadow": "0px 0px 60px 30px #00000008" })}"><div class="cursor-pointer flex items-start justify-between text-[#262626]"><p class="font-medium">${ssrInterpolate(item.title_en ? item[`title_${_ctx.$i18n.locale}`] : item.name_en ? item[`name_${_ctx.$i18n.locale}`] : "")}</p><span class="material-symbols-rounded font-bold text-xl leading-none">${ssrInterpolate(item.isOpen ? "remove" : "add")}</span></div><p class="${ssrRenderClass(`text-legal-eagle text-sm mt-2 ${item.isOpen ? "block" : "hidden"}`)}"><span>${(item[`content_${_ctx.$i18n.locale}`] ? item[`content_${_ctx.$i18n.locale}`].replace(/\r?\n/g, "<br>") : "") ?? ""}</span>`);
    if (_ctx.$route.name === "home") {
      _push(`<!--[--><span>${ssrInterpolate(".. ")}</span>`);
      _push(ssrRenderComponent(_component_router_link, {
        to: { path: `/${_ctx.$i18n.locale}/modules/${item["slug_" + _ctx.$i18n.locale]}` },
        class: "underline text-ambassador-blue"
      }, {
        default: withCtx((_, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(`${ssrInterpolate(_ctx.$t("Read more"))}`);
          } else {
            return [
              createTextVNode(
                toDisplayString(_ctx.$t("Read more")),
                1
                /* TEXT */
              )
            ];
          }
        }),
        _: 2
        /* DYNAMIC */
      }, _parent));
      _push(`<!--]-->`);
    } else {
      _push(`<!---->`);
    }
    _push(`</p></div>`);
  });
  _push(`<!--]--></div><div class="col-span-1 max-w-96 lg:w-full sm:w-1/2 w-3/4 h-full m-auto md:pt-10 pt-6 md:ps-10 ps-6 relative"><div class="absolute top-0 ltr:left-0 rtl:right-0 bg-[#F7F7F7] h-1/2 w-4/5 rounded-[20px]"></div><img${ssrRenderAttr("src", $props.modules.length > 0 ? $props.modules[$data.currentIndex].image : "")} class="relative z-[1] w-full h-full object-cover rounded-xl"${ssrRenderAttr("alt", $props.modules[$data.currentIndex][`name_${_ctx.$i18n.locale}`])}></div></div>`);
}
const _sfc_setup$1 = _sfc_main$1.setup;
_sfc_main$1.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/Modules.vue");
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const Modules = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["ssrRender", _sfc_ssrRender$1]]);
/*! src/assets/images/Email.png [vike:pluginModuleBan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VORK5CYII=";
/*! src/assets/images/Phone.png [vike:pluginModuleBanner] */
const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAxCAYAAABznEEcAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAtdSURBVHgB3Vp5jJVXFT/3e28WGIZZYcoMtMNWoK10BmiLyDIQSiEGTQyxTdqkxsTEP0gLEU38D/8yFVOkNsbYRKuRf5pqtQZi0QpUQJCwtDMsygBFqFCGDrMv773vu55z7vLd+5Z5M7R/qBc+vuVuZ/2dc89DgG4vfPvlF6UQ20BCM/yXNwFwVkK058e7vvW6fgd48Tu7d0cSts1uboSaqko9UuhebFKPlP5K3vtnRF3BPeg5Ui9Xrv0benr6icSdr/xg+/fE1h272oRIHly3Zhmsa3sMkskEiCDQfAiQ8tNRaubTWgVpn8A+URhBGGZg/x+PwrET7TgP1iK1QRt1LmlZCMmSpGXAJWA8RKpn86CeqU+i9CK8pP0GORqciKCCRIB0lsCK5Yv1VlFL0nTW1VXfk7SIwCBQeqfpNETYOQAhfhD8LBVzoHngf2J7HWvvfLQEiQToFaqt2EUw9iLZDCiJSiVtGSnzlYpy6YyRJCsaA44CtLspxpSmJtpciwkKDiokGWkYUiJnAqRDYOS80KM2JYiy1nCYJCEoYcA9tWShjlzJy6xLUUNMpKOIGYqnxHAWhlKPC7mHhWO6ITZTNkPSkAj0XYzbxILxDLJEu/ag7+y0liCDzALi7TU6uV+F/oIEszkZ7oXGVBkLbTwtWWxAhFJW0sEF0W+EppgIIlNIpdKQTJRAghwt9lhL/uhoip9LS/NsRY4foiAyGShJJkFahs38z0gTJA0b94zAAMC4qvEJY0sai2JGI9MlfOcGYSXO2sxiXjm/tFB9z0zYBaT0oJ2JIT+QgjUV2X6pNzbOLm2skAZq9b/ScQyZJ3i4LBVDryLmpCWR801dQ8ND0H23F8qHSlWkx97qmqnKWTXBkYNkUgcRIbU2hVonspto79aPDpvW8cf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OeaSdPdWAaPwOWtS6EBK5DhThDD90yGVmQAY8JVSQzRS+ye30YcUoo1j1MQme0ZnDdwGKgAxU+JksSzBSZ0BKMI62PLrASuNs7wD+YUBxomlHPvkWoJ8BxTH2uzmbAfS1QKLBDbfVPuhgrpE2hzWGe99QrE/EsBByXRKlKc5eBrmyoVl9XxVGdjqgBaSBwKghg8kEXWBwaZREmXG7jQpjPnDnwGDXrU7FqXLNVZRhCLYlckYmQr9BYW9HTB64k+lFC50PCYcDcgyK/nRQtKJsTnSLJz85NPiX0B+FHJTU/iNMVzsGIx4SIj8+oiShSgTNH4DIPxOZpRQsFsXSEq2kndQogrulLjxBmX3eB0ZZ5dpI8Bg47xmdgPG2cmgCLPN5RUqpTHiERv5uPph/iYynVsMw6wiHQ4D4hmTDAIIIcBsb6hbUoE3YRTWSk9+GfqCC2XWZEFj4Nx5VtFwX1nepc/GONVBlsVs7gMvupmODNKOGz9qmQJgSVBMYwZkfzS4gaoE9uKm16FUuSA6QXiybYJsREdjP4bUOIl8abcryAbJDUJ3ZnHQkTbTLKczylfP9emoLYwEExobDdnP0D5cRS96nYE1dOhIhPkBNppoyK2/TQ/yg4RC/vHjyJBYJwzIn5oM7FdhBZaORd5jtMeI/sRiZ6/sJVxYQIDvGMrTtefh0nP79oQTOffUXg7yZy4T9r49xv+cZmjzO//rh3M85889dSP51dufoRXMXfR/Dznld3bd9ml926Y/dOtIrn4X/gvwph60HG9rz6w+074f+l/QeC3P6mKn+YWQAAAABJRU5ErkJggg==";
/*! src/components/RequestOffer.vue [vike:pluginModuleBanner] */
const _sfc_main = {
  props: ["contactInfo", "description", "sectorID"],
  data() {
    return {
      loading: false,
      sizes: ["1-10", "11-50", "51-200", "201-500", "501+"],
      countries: [],
      sectors: [],
      dataObj: {
        full_name: "",
        email: "",
        phone: "",
        category_id: "",
        company_size: "",
        country_id: "",
        company_name: "",
        region: "",
        message: ""
      },
      valid: {
        full_name: true,
        email: true,
        phone: true,
        category_id: true,
        company_size: true,
        country_id: true,
        company_name: true,
        region: true,
        message: true
      }
    };
  },
  computed: {
    emailValid() {
      const regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;
      return regex.test(this.dataObj.email);
    },
    phoneValid() {
      const regex = /^[0-9]{11}$/;
      return regex.test(this.dataObj.phone);
    },
    fullNameValid() {
      return this.dataObj.full_name.length >= 3;
    },
    companyValid() {
      return this.dataObj.company_name.length >= 3;
    },
    messageValid() {
      return this.dataObj.message.length >= 5;
    }
  },
  methods: {
    validateForm() {
      this.valid.full_name = this.fullNameValid;
      this.valid.category_id = this.dataObj.category_id !== "";
      this.valid.company_size = this.dataObj.company_size !== "";
      this.valid.country_id = this.dataObj.country_id !== "";
      this.valid.email = this.emailValid;
      this.valid.phone = this.phoneValid;
      this.valid.company_name = this.companyValid;
      this.valid.region = this.dataObj.region !== "";
      this.valid.message = this.messageValid;
    },
    async sendForm() {
      this.validateForm();
      if (Object.values(this.valid).every((v) => v === true)) {
        this.dataObj.last_name = this.dataObj.full_name;
        this.dataObj.first_name = this.dataObj.full_name;
        this.loading = true;
        try {
          await axios.post("https://admin.valueerp.net/api/contact/offer", this.dataObj);
          this.dataObj = {
            full_name: "",
            email: "",
            phone: "",
            category_id: this.sectorID ? Number(this.sectorID) : "",
            company_size: "",
            country_id: "",
            company_name: "",
            region: "",
            message: ""
          };
        } catch (error) {
        } finally {
          this.loading = false;
        }
      }
    },
    async loadSectorsList() {
      try {
        const response = await axios.get("https://admin.valueerp.net/api/sectorsModules");
        this.sectors = response.data.data.data;
        this.countries = response.data.data.countries;
        this.dataObj.category_id = this.sectorID ? Number(this.sectorID) : "";
      } catch (error) {
      } finally {
      }
    }
  },
  async serverPrefetch() {
    await this.loadSectorsList();
  },
  created() {
    if (typeof window !== "undefined") {
      this.loadSectorsList();
    }
  }
};
function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $options) {
  _push(`<div${ssrRenderAttrs(mergeProps({ class: "bg-[#F3F8FF] py-12" }, _attrs))}><!-- Loading -->`);
  if ($data.loading) {
    _push(`<div class="fixed inset-0 h-dvh flex items-center justify-center bg-white bg-opacity-90 z-50"><div class="border-4 border-y-ambassador-blue border-x-inherit border-solid w-10 h-10 rounded-full animate-spin"></div></div>`);
  } else {
    _push(`<!---->`);
  }
  _push(`<div class="max-w-screen-2xl mx-auto xl:px-32 lg:px-16 md:px-12 sm:px-8 px-6"><p class="font-bold text-legal-eagle text-3xl text-center sm:mb-10 mb-6">${ssrInterpolate(_ctx.$t("Request Offer"))}</p><div class="grid md:grid-cols-2 grid-cols-1 xl:gap-24 lg:gap-12 sm:gap-6 gap-4"><div class="border border-solid border-[#E1E4ED] rounded-lg shadow-sm p-6 flex flex-col justify-between md:gap-10 gap-8"><div class="text-sm text-legal-eagle leading-8"><div>${($props.description[`title_${_ctx.$i18n.locale}`] ? $props.description[`title_${_ctx.$i18n.locale}`].replace(/\t/g, "    ").replace(/\r?\n/g, "<br>") : "") ?? ""}</div></div><div><div class="xl:w-3/5 lg:w-3/4 w-full flex items-center gap-4 px-5 py-4 bg-white border border-solid border-[#E1E4ED] shadow-sm rounded-md"><img${ssrRenderAttr("src", _imports_0)} alt="email"><div class="text-sm text-legal-eagle"><p>${ssrInterpolate(_ctx.$t("Email"))}:</p><p class="font-semibold">${ssrInterpolate($props.contactInfo.email)}</p></div></div><div class="md:mt-6 mt-4 xl:w-3/5 lg:w-3/4 w-full flex items-center gap-4 px-5 py-4 bg-white border border-solid border-[#E1E4ED] shadow-sm rounded-md"><img${ssrRenderAttr("src", _imports_1)} alt="phone"><div class="text-sm text-legal-eagle"><p>${ssrInterpolate(_ctx.$t("Phone"))}:</p><p class="font-semibold">${ssrInterpolate($props.contactInfo.phone)}</p></div></div></div></div><div class="bg-white border border-solid border-[#E1E4ED] rounded-lg shadow-sm p-6 text-legal-eagle grid grid-cols-2 gap-4"><div class="md:col-span-2 col-span-1"><label class="text-sm font-semibold mb-1.5 block" for="fullName">${ssrInterpolate(_ctx.$t("Full Name"))}</label><input${ssrRenderAttr("value", $data.dataObj.full_name)}${ssrRenderAttr("placeholder", _ctx.$t("Full Name"))} class="w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4" type="text" id="fullName">`);
  if (!$data.valid.full_name) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Full Name must be at least 3 characters"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="email">${ssrInterpolate(_ctx.$t("Email"))}</label><input${ssrRenderAttr("value", $data.dataObj.email)}${ssrRenderAttr("placeholder", _ctx.$t("Email"))} class="w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4" type="text" id="email" autocomplete="email">`);
  if (!$data.valid.email) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Please enter a valid email"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="businessSector">${ssrInterpolate(_ctx.$t("Business Sector"))}</label><select${ssrIncludeBooleanAttr(_ctx.$route.name === "sectors") ? " disabled" : ""} id="businessSector" class="w-full bg-white border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4"><option value="" disabled selected>${ssrInterpolate(_ctx.$t("Business Sector"))}</option><!--[-->`);
  ssrRenderList($data.sectors, (item, index) => {
    _push(`<option${ssrRenderAttr("value", item.id)}${ssrIncludeBooleanAttr(Array.isArray($data.dataObj.category_id) ? ssrLooseContain($data.dataObj.category_id, item.id) : ssrLooseEqual($data.dataObj.category_id, item.id)) ? " selected" : ""}>${ssrInterpolate(item[`name_${_ctx.$i18n.locale}`])}</option>`);
  });
  _push(`<!--]--></select>`);
  if (!$data.valid.category_id) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Business Sector is required"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="companySize">${ssrInterpolate(_ctx.$t("Company Size"))}</label><select id="companySize" class="w-full bg-white border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4"><option value="" disabled selected>${ssrInterpolate(_ctx.$t("Company Size"))}</option><!--[-->`);
  ssrRenderList($data.sizes, (item, index) => {
    _push(`<option${ssrRenderAttr("value", item)}${ssrIncludeBooleanAttr(Array.isArray($data.dataObj.company_size) ? ssrLooseContain($data.dataObj.company_size, item) : ssrLooseEqual($data.dataObj.company_size, item)) ? " selected" : ""}>${ssrInterpolate(item)}</option>`);
  });
  _push(`<!--]--></select>`);
  if (!$data.valid.company_size) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Company Size is required"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="country">${ssrInterpolate(_ctx.$t("Country"))}</label><select id="country" autocomplete="country" class="w-full bg-white border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4"><option value="" disabled selected>${ssrInterpolate(_ctx.$t("Country"))}</option><!--[-->`);
  ssrRenderList($data.countries, (item, index) => {
    _push(`<option${ssrRenderAttr("value", item.id)}${ssrIncludeBooleanAttr(Array.isArray($data.dataObj.country_id) ? ssrLooseContain($data.dataObj.country_id, item.id) : ssrLooseEqual($data.dataObj.country_id, item.id)) ? " selected" : ""}>${ssrInterpolate(item[`name_${_ctx.$i18n.locale}`])}</option>`);
  });
  _push(`<!--]--></select>`);
  if (!$data.valid.country_id) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Country is required"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="region">${ssrInterpolate(_ctx.$t("Region"))}</label><input${ssrRenderAttr("value", $data.dataObj.region)}${ssrRenderAttr("placeholder", _ctx.$t("Region"))} class="w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4" type="text" id="region" autocomplete="region">`);
  if (!$data.valid.region) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Region is required"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="phone">${ssrInterpolate(_ctx.$t("Phone"))}</label><input${ssrRenderAttr("value", $data.dataObj.phone)}${ssrRenderAttr("placeholder", _ctx.$t("Phone"))} class="w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4" type="text" id="phone" autocomplete="phone">`);
  if (!$data.valid.phone) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Please enter a valid phone number"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="lg:col-span-1 md:col-span-2 sm:col-span-1 col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="companyName">${ssrInterpolate(_ctx.$t("Company Name"))}</label><input${ssrRenderAttr("value", $data.dataObj.company_name)}${ssrRenderAttr("placeholder", _ctx.$t("Company Name"))} class="w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4" type="text" id="companyName">`);
  if (!$data.valid.company_name) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Company Name must be at least 3 characters"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="col-span-2"><label class="text-sm font-semibold mb-1.5 block" for="message">${ssrInterpolate(_ctx.$t("Message"))}</label><textarea id="message"${ssrRenderAttr("placeholder", _ctx.$t("Type your message here..."))} rows="3" class="resize-none w-full border border-solid border-[#F1F3F7] shadow-sm rounded-md text-sm outline-none p-4">${ssrInterpolate($data.dataObj.message)}</textarea>`);
  if (!$data.valid.message) {
    _push(`<span class="text-red-500 text-xs">${ssrInterpolate(_ctx.$t("Message must be at least 5 characters"))}</span>`);
  } else {
    _push(`<!---->`);
  }
  _push(`</div><div class="col-span-2"><button class="flex items-center gap-1 bg-[#081639] rounded-md text-sm font-semibold text-white px-4 py-3"><span>${ssrInterpolate(_ctx.$t("Send message"))}</span><span class="material-symbols-outlined text-xl">${ssrInterpolate(_ctx.$i18n.locale === "en" ? "arrow_right_alt" : "arrow_left_alt")}</span></button></div></div></div></div></div>`);
}
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/RequestOffer.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const RequestOffer = /* @__PURE__ */ _export_sfc(_sfc_main, [["ssrRender", _sfc_ssrRender]]);
export {
  Modules as M,
  RequestOffer as R
};
