import { _ as __nuxt_component_0, a as __nuxt_component_1 } from './HeroBackgroundGrid-D5QMijM1.mjs';
import __nuxt_component_2 from './GlowWrapper-3dIWLl4d.mjs';
import { d as useI18n, e as useSeoMeta, b as useRuntimeConfig, u as useLocalePath, c as useSchemaOrg, f as __nuxt_component_0$1 } from './server.mjs';
import { _ as _sfc_main$2 } from './index-m9AqQ9dr.mjs';
import { c as createLazyVisibleComponent, a as createLazyTimeComponent } from './lazy-hydrated-component-BSU3unDO.mjs';
import { defineComponent, computed, withAsyncContext, mergeProps, withCtx, createTextVNode, toDisplayString, createVNode, unref, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderList } from 'vue/server-renderer';
import { u as useGlobalClientsQuery } from './clients-C7idLUOa.mjs';
import { u as useAsyncData } from './asyncData-t1m_EyLu.mjs';
import { defineOrganization } from '@unhead/schema-org';
import '../_/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'nitropack/dist/runtime/plugin';
import 'packrup';
import 'consola';
import 'node:fs';
import 'node:url';
import '@iconify/utils';
import 'node:crypto';
import 'ipx';
import 'node:path';
import 'pinia';
import '@pinia/colada';
import 'vue-router';
import '@unhead/schema-org/vue';
import 'deep-pick-omit';
import '@iconify/vue';
import '../routes/renderer.mjs';
import 'vue-bundle-renderer/runtime';
import 'unhead/server';
import 'devalue';
import 'unhead/plugins';
import 'unhead/utils';
import 'reka-ui';
import './utils-H80jjgLf.mjs';
import 'clsx';
import 'tailwind-merge';
import 'class-variance-authority';
import './useApi-Dv-cyvzn.mjs';
import 'axios';
import 'vue-sonner';

const __nuxt_component_5_lazy_time = createLazyTimeComponent("components/global/HeroClientsLogos.vue", () => import('./HeroClientsLogos-DH0O2b6I.mjs').then((c) => c.default || c));
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
  __name: "Hero",
  __ssrInlineRender: true,
  setup(__props) {
    const { data: clients } = useGlobalClientsQuery();
    return (_ctx, _push, _parent, _attrs) => {
      const _component_HomeHeroBackroundStars = __nuxt_component_0;
      const _component_HomeHeroBackgroundGrid = __nuxt_component_1;
      const _component_GlowWrapper = __nuxt_component_2;
      const _component_NuxtLinkLocale = __nuxt_component_0$1;
      const _component_Button = _sfc_main$2;
      const _component_LazyTimeHeroClientsLogos = __nuxt_component_5_lazy_time;
      _push(`<section${ssrRenderAttrs(mergeProps({
        id: "hero",
        class: "-mt-header bg-gradient-odd relative overflow-hidden max-2xl:flex max-2xl:flex-col max-2xl:justify-center"
      }, _attrs))}>`);
      _push(ssrRenderComponent(_component_HomeHeroBackroundStars, null, null, _parent));
      _push(ssrRenderComponent(_component_HomeHeroBackgroundGrid, { position: "top" }, null, _parent));
      _push(`<div class="2xl:pt-header relative z-[1] container mx-auto flex flex-col justify-center px-4 pt-[calc(var(--header-height)+4rem)]"><h1 class="dark-text-gradient mx-auto max-w-[850px] text-center text-2xl leading-10 font-semibold text-pretty md:text-4xl md:leading-14 2xl:pt-36 2xl:text-5xl 2xl:leading-16">${ssrInterpolate(_ctx.$t("homeHero.title"))}</h1><p class="text-muted-foreground mx-auto max-w-[400px] py-10 text-center md:max-w-[735px]">${ssrInterpolate(_ctx.$t("homeHero.description"))}</p>`);
      _push(ssrRenderComponent(_component_GlowWrapper, null, {
        default: withCtx((_, _push2, _parent2, _scopeId) => {
          if (_push2) {
            _push2(ssrRenderComponent(_component_NuxtLinkLocale, {
              to: "/contact",
              class: "mx-auto"
            }, {
              default: withCtx((_2, _push3, _parent3, _scopeId2) => {
                if (_push3) {
                  _push3(ssrRenderComponent(_component_Button, {
                    class: "mx-auto cursor-pointer !text-black dark:!text-white",
                    variant: "wsDefault",
                    size: "wsDefault"
                  }, {
                    default: withCtx((_3, _push4, _parent4, _scopeId3) => {
                      if (_push4) {
                        _push4(`${ssrInterpolate(_ctx.$t("homeHero.button"))}`);
                      } else {
                        return [
                          createTextVNode(toDisplayString(_ctx.$t("homeHero.button")), 1)
                        ];
                      }
                    }),
                    _: 1
                  }, _parent3, _scopeId2));
                } else {
                  return [
                    createVNode(_component_Button, {
                      class: "mx-auto cursor-pointer !text-black dark:!text-white",
                      variant: "wsDefault",
                      size: "wsDefault"
                    }, {
                      default: withCtx(() => [
                        createTextVNode(toDisplayString(_ctx.$t("homeHero.button")), 1)
                      ]),
                      _: 1
                    })
                  ];
                }
              }),
              _: 1
            }, _parent2, _scopeId));
          } else {
            return [
              createVNode(_component_NuxtLinkLocale, {
                to: "/contact",
                class: "mx-auto"
              }, {
                default: withCtx(() => [
                  createVNode(_component_Button, {
                    class: "mx-auto cursor-pointer !text-black dark:!text-white",
                    variant: "wsDefault",
                    size: "wsDefault"
                  }, {
                    default: withCtx(() => [
                      createTextVNode(toDisplayString(_ctx.$t("homeHero.button")), 1)
                    ]),
                    _: 1
                  })
                ]),
                _: 1
              })
            ];
          }
        }),
        _: 1
      }, _parent));
      _push(`</div><div class="xl:py-section relative z-[2] py-[50px]">`);
      if (!unref(clients)) {
        _push(`<div class="overflow-hidden pt-8"><div class="flex h-[4rem] items-center md:h-[5rem] lg:h-[6rem]"><div class="container mx-auto px-4"><div class="flex w-full animate-pulse items-center gap-7"><!--[-->`);
        ssrRenderList(3, (n) => {
          _push(`<div class="h-16 w-full rounded-md bg-gray-200 sm:hidden dark:bg-gray-700"></div>`);
        });
        _push(`<!--]--><!--[-->`);
        ssrRenderList(5, (n) => {
          _push(`<div class="hidden h-16 w-full rounded-md bg-gray-200 sm:flex lg:hidden dark:bg-gray-700"></div>`);
        });
        _push(`<!--]--><!--[-->`);
        ssrRenderList(8, (n) => {
          _push(`<div class="hidden h-16 w-full rounded-md bg-gray-200 lg:flex xl:hidden dark:bg-gray-700"></div>`);
        });
        _push(`<!--]--><!--[-->`);
        ssrRenderList(10, (n) => {
          _push(`<div class="hidden h-16 w-full rounded-md bg-gray-200 xl:flex dark:bg-gray-700"></div>`);
        });
        _push(`<!--]--></div></div></div></div>`);
      } else {
        _push(`<!---->`);
      }
      if (unref(clients)) {
        _push(ssrRenderComponent(_component_LazyTimeHeroClientsLogos, {
          clients: unref(clients),
          "hydrate-after": 1e3
        }, null, _parent));
      } else {
        _push(`<!---->`);
      }
      _push(`</div>`);
      _push(ssrRenderComponent(_component_HomeHeroBackgroundGrid, { position: "bottom" }, null, _parent));
      _push(`</section>`);
    };
  }
});
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("components/home/Hero.vue");
  return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const useOrganizationSchema = (settings = {}, reviews = [], t) => {
  const localPath = useLocalePath();
  const socialLinks = [
    settings == null ? void 0 : settings.facebook_link,
    settings == null ? void 0 : settings.instagram_link,
    settings == null ? void 0 : settings.tiktok_link,
    settings == null ? void 0 : settings.X_link,
    settings == null ? void 0 : settings.linkedIn_link,
    settings == null ? void 0 : settings.snapchat_link,
    settings == null ? void 0 : settings.youtube_link
  ].filter(Boolean);
  const contactPoints = [
    {
      "@type": "ContactPoint",
      telephone: "+9661000025705",
      contactType: "customer service",
      email: "info@webstdy.com",
      areaServed: "Worldwide",
      availableLanguage: ["en", "ar"],
      additionalProperty: {
        "@type": "PropertyValue",
        name: "WhatsApp",
        value: "+9661000025705"
      }
    }
  ];
  const mainAddress = {
    "@type": "PostalAddress",
    streetAddress: "38 \u0634\u0627\u0631\u0639 \u0627\u0644\u062B\u0648\u0631\u0629\u060C \u0627\u0644\u062F\u0642\u064A\u060C \u0627\u0644\u062C\u064A\u0632\u0629",
    addressLocality: "\u0627\u0644\u062C\u064A\u0632\u0629",
    postalCode: "12345",
    addressCountry: "EG"
  };
  const additionalAddresses = [
    {
      "@type": "PostalAddress",
      streetAddress: "4064 \u0645\u0631\u0643\u0632 \u0627\u0644\u0647\u062F\u0644\u0642\u060C \u0645\u0643\u062A\u0628 26\u060C \u0637\u0631\u064A\u0642 \u0623\u0646\u0633 \u0628\u0646 \u0645\u0627\u0644\u0643",
      addressLocality: "\u0627\u0644\u0631\u064A\u0627\u0636",
      postalCode: "12345",
      addressCountry: "SA"
    }
  ];
  const aggregateRating = {
    "@type": "AggregateRating",
    ratingValue: "4.9",
    bestRating: "5",
    worstRating: "1",
    reviewCount: "57"
  };
  useSchemaOrg([
    // Main Organization Schema
    defineOrganization({
      name: "WebSTDY",
      legalName: "Webstdy LLC.",
      url: localPath("https://webstdy.com/"),
      logo: (settings == null ? void 0 : settings.light_logo) || "https://webstdy.com/web/img/2022/new-share-image.png",
      slogan: "Learn Today, Lead Tomorrow",
      description: computed(() => t("homeSeo.description")),
      keywords: [
        "web development",
        "programming",
        "design",
        "data science",
        "AI",
        "e-learning"
      ],
      knowsAbout: [
        "software development",
        "e-learning platforms",
        "web development",
        "programming"
      ],
      knowsLanguage: ["en", "ar"],
      foundingDate: "2017-07-07",
      founder: {
        "@type": "Person",
        name: "Mahmoud Nabil"
      },
      contactPoint: contactPoints,
      address: mainAddress,
      ...socialLinks.length > 0 && { sameAs: socialLinks }
    }),
    // LocalBusiness Schema for Star Ratings
    {
      "@type": ["LocalBusiness", "ProfessionalService"],
      "@id": localPath("/#business"),
      name: "WebSTDY - Software Development Company",
      description: "Professional software development agency specializing in web applications, mobile apps, and custom software solutions",
      url: localPath("https://webstdy.com/"),
      image: (settings == null ? void 0 : settings.light_logo) || "https://webstdy.com/web/img/2022/new-share-image.png",
      telephone: "+9661000025705",
      email: "info@webstdy.com",
      address: mainAddress,
      // Additional locations
      ...additionalAddresses.length > 0 && {
        branchOf: {
          "@type": "Organization",
          name: "WebSTDY"
        }
      },
      // Price range for services
      priceRange: "$$$",
      // Services offered
      hasOfferCatalog: {
        "@type": "OfferCatalog",
        name: "Software Development Services",
        itemListElement: [
          {
            "@type": "Offer",
            itemOffered: {
              "@type": "Service",
              name: "Web Application Development",
              description: "Custom web application development services"
            }
          },
          {
            "@type": "Offer",
            itemOffered: {
              "@type": "Service",
              name: "Mobile App Development",
              description: "iOS and Android mobile application development"
            }
          },
          {
            "@type": "Offer",
            itemOffered: {
              "@type": "Service",
              name: "E-Learning Platform Development",
              description: "Custom e-learning and educational platform solutions"
            }
          }
        ]
      },
      // Service area
      areaServed: [
        {
          "@type": "Country",
          name: "Egypt"
        },
        {
          "@type": "Country",
          name: "Saudi Arabia"
        },
        {
          "@type": "AdministrativeArea",
          name: "Worldwide"
        }
      ],
      // Opening hours
      openingHoursSpecification: {
        "@type": "OpeningHoursSpecification",
        dayOfWeek: ["Monday", "Tuesday", "Wednesday", "Thursday", "Sunday"],
        opens: "10:00",
        closes: "20:00"
      },
      aggregateRating,
      // Individual reviews
      review: reviews.map((review) => ({
        "@type": "Review",
        author: {
          "@type": "Person",
          name: review.author
        },
        reviewRating: {
          "@type": "Rating",
          ratingValue: review.rating.toString(),
          bestRating: "5",
          worstRating: "1"
        },
        reviewBody: review.body,
        datePublished: "2025-11-10"
      })),
      ...socialLinks.length > 0 && { sameAs: socialLinks }
    }
  ]);
};
const __nuxt_component_1_lazy_visible = createLazyVisibleComponent("components/home/Services.vue", () => import('./Services-Dro8ebwG.mjs').then((c) => c.default || c));
const __nuxt_component_2_lazy_visible = createLazyVisibleComponent("components/home/ProjectsHighlights.vue", () => import('./ProjectsHighlights-BjuyLQkT.mjs').then((c) => c.default || c));
const __nuxt_component_3_lazy_visible = createLazyVisibleComponent("components/home/Counter.vue", () => import('./Counter-dXTMSx66.mjs').then((c) => c.default || c));
const __nuxt_component_4_lazy_visible = createLazyVisibleComponent("components/home/Testimonials.vue", () => import('./Testimonials-B-4SMgCJ.mjs').then((c) => c.default || c));
const __nuxt_component_5_lazy_visible = createLazyVisibleComponent("components/home/Advantages.vue", () => import('./Advantages-CIV30lf4.mjs').then((c) => c.default || c));
const __nuxt_component_6_lazy_visible = createLazyVisibleComponent("components/home/ProjectStages.vue", () => import('./ProjectStages-aZiN2Wky.mjs').then((c) => c.default || c));
const __nuxt_component_7_lazy_visible = createLazyVisibleComponent("components/home/ContactSection.vue", () => import('./ContactSection-BeDWIOxs.mjs').then((c) => c.default || c));
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "index",
  __ssrInlineRender: true,
  async setup(__props) {
    var _a;
    let __temp, __restore;
    const { t, locale } = useI18n();
    const config = useRuntimeConfig();
    useSeoMeta({
      title: computed(() => t("homeSeo.title")),
      description: computed(() => t("homeSeo.description")),
      ogTitle: computed(() => t("homeSeo.ogTitle")),
      ogDescription: computed(() => t("homeSeo.ogDescription")),
      keywords: computed(() => t("homeSeo.keywords"))
    });
    const { data: settings } = ([__temp, __restore] = withAsyncContext(() => useAsyncData(
      "general",
      () => $fetch(`${config.public.apiBase}general`, {
        headers: {
          "Content-Language": locale.value
        }
      }),
      { lazy: true }
    )), __temp = await __temp, __restore(), __temp);
    const staticReviews = [
      {
        author: "\u0628\u062F\u0631 \u0627\u0644\u062D\u0645\u062F\u0627\u0646",
        rating: 5,
        body: "\u0628\u0641\u062E\u0631 \u0646\u0634\u0647\u062F \u0644\u062A\u062C\u0631\u0628\u062A\u0646\u0627 \u0645\u0639 \u0648\u064A\u0628 \u0633\u062A\u062F\u064A \u0641\u064A \u0645\u062C\u0627\u0644 \u062A\u0637\u0648\u064A\u0631 \u0627\u0644\u0645\u0648\u0627\u0642\u0639 \u0648\u0627\u0644\u062A\u0637\u0628\u064A\u0642\u0627\u062A \u062D\u064A\u062B \u0642\u062F\u0645\u0648\u0627 \u0644\u0646\u0627 \u062D\u0644\u0648\u0644 \u0645\u062A\u0645\u064A\u0632\u0629 \u0648\u062E\u062F\u0645\u0629 \u0639\u0645\u0644\u0627\u0621 \u0645\u0645\u062A\u0627\u0632\u0629"
      },
      {
        author: "\u0645\u062D\u0645\u062F \u0627\u0644\u0642\u062D\u0637\u0627\u0646\u064A",
        rating: 4,
        body: "\u0641\u0631\u064A\u0642 \u0648\u064A\u0628 \u0633\u062A\u062F\u064A \u0645\u062D\u062A\u0631\u0641 \u0648\u0633\u0627\u0639\u062F\u0646\u0627 \u0639\u0644\u0649 \u062A\u0633\u0644\u064A\u0645 \u0627\u0644\u0645\u0634\u0631\u0648\u0639 \u0641\u064A \u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062D\u062F\u062F \u0628\u062C\u0648\u062F\u0629 \u0639\u0627\u0644\u064A\u0629"
      }
    ];
    {
      useOrganizationSchema((_a = settings == null ? void 0 : settings.value) == null ? void 0 : _a.data, staticReviews, t);
    }
    return (_ctx, _push, _parent, _attrs) => {
      const _component_HomeHero = _sfc_main$1;
      const _component_LazyVisibleHomeServices = __nuxt_component_1_lazy_visible;
      const _component_LazyVisibleHomeProjectsHighlights = __nuxt_component_2_lazy_visible;
      const _component_LazyVisibleHomeCounter = __nuxt_component_3_lazy_visible;
      const _component_LazyVisibleHomeTestimonials = __nuxt_component_4_lazy_visible;
      const _component_LazyVisibleHomeAdvantages = __nuxt_component_5_lazy_visible;
      const _component_LazyVisibleHomeProjectStages = __nuxt_component_6_lazy_visible;
      const _component_LazyVisibleHomeContactSection = __nuxt_component_7_lazy_visible;
      _push(`<main${ssrRenderAttrs(_attrs)}>`);
      _push(ssrRenderComponent(_component_HomeHero, null, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeServices, {
        "background-even": true,
        "hydrate-on-visible": ""
      }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeProjectsHighlights, {
        "background-even": false,
        "hydrate-on-visible": ""
      }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeCounter, { "hydrate-on-visible": "" }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeTestimonials, { "hydrate-on-visible": "" }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeAdvantages, { "hydrate-on-visible": "" }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeProjectStages, { "hydrate-on-visible": "" }, null, _parent));
      _push(ssrRenderComponent(_component_LazyVisibleHomeContactSection, { "hydrate-on-visible": "" }, null, _parent));
      _push(`</main>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/index.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};

export { _sfc_main as default };
//# sourceMappingURL=index-Vcwpk8ot.mjs.map
