import { d as createAstro, c as createComponent, b as addAttribute, a as renderTemplate, s as spreadAttributes, u as unescapeHTML, r as renderComponent, A as AstroError, U as UnknownContentCollectionError, R as RenderUndefinedEntryError, g as escape, h as renderUniqueStylesheet, i as renderScriptElement, j as createHeadAndContent, F as Fragment, m as maybeRenderHead, k as renderScript, l as renderHead, f as renderSlot } from './astro/server_5mFihzcn.mjs';
import 'clsx';
import { r as removeBase, i as isRemotePath, p as prependForwardSlash } from './path_bxFO2Kst.mjs';
import { V as VALID_INPUT_FORMATS } from './consts_BmVDRGlB.mjs';
import { u as unflatten } from './parse_BxWlCxqB.mjs';
import { ssr, ssrHydrationKey, escape as escape$1, ssrAttribute, createComponent as createComponent$1 } from 'solid-js/web';
/* empty css                            */

const $$Astro$a = createAstro("https://new.sambekiel.com");
const $$OpenGraphArticleTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$a, $$props, $$slots);
  Astro2.self = $$OpenGraphArticleTags;
  const { publishedTime, modifiedTime, expirationTime, authors, section, tags } = Astro2.props.openGraph.article;
  return renderTemplate`${publishedTime ? renderTemplate`<meta property="article:published_time"${addAttribute(publishedTime, "content")}>` : null}${modifiedTime ? renderTemplate`<meta property="article:modified_time"${addAttribute(modifiedTime, "content")}>` : null}${expirationTime ? renderTemplate`<meta property="article:expiration_time"${addAttribute(expirationTime, "content")}>` : null}${authors ? authors.map((author) => renderTemplate`<meta property="article:author"${addAttribute(author, "content")}>`) : null}${section ? renderTemplate`<meta property="article:section"${addAttribute(section, "content")}>` : null}${tags ? tags.map((tag) => renderTemplate`<meta property="article:tag"${addAttribute(tag, "content")}>`) : null}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/OpenGraphArticleTags.astro", void 0);

const $$Astro$9 = createAstro("https://new.sambekiel.com");
const $$OpenGraphBasicTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$9, $$props, $$slots);
  Astro2.self = $$OpenGraphBasicTags;
  const { openGraph } = Astro2.props;
  return renderTemplate`<meta property="og:title"${addAttribute(openGraph.basic.title, "content")}><meta property="og:type"${addAttribute(openGraph.basic.type, "content")}><meta property="og:image"${addAttribute(openGraph.basic.image, "content")}><meta property="og:url"${addAttribute(openGraph.basic.url || Astro2.url.href, "content")}>`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/OpenGraphBasicTags.astro", void 0);

const $$Astro$8 = createAstro("https://new.sambekiel.com");
const $$OpenGraphImageTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$8, $$props, $$slots);
  Astro2.self = $$OpenGraphImageTags;
  const { image } = Astro2.props.openGraph.basic;
  const { secureUrl, type, width, height, alt } = Astro2.props.openGraph.image;
  return renderTemplate`<meta property="og:image:url"${addAttribute(image, "content")}>${secureUrl ? renderTemplate`<meta property="og:image:secure_url"${addAttribute(secureUrl, "content")}>` : null}${type ? renderTemplate`<meta property="og:image:type"${addAttribute(type, "content")}>` : null}${width ? renderTemplate`<meta property="og:image:width"${addAttribute(width, "content")}>` : null}${height ? renderTemplate`<meta property="og:image:height"${addAttribute(height, "content")}>` : null}${alt ? renderTemplate`<meta property="og:image:alt"${addAttribute(alt, "content")}>` : null}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/OpenGraphImageTags.astro", void 0);

const $$Astro$7 = createAstro("https://new.sambekiel.com");
const $$OpenGraphOptionalTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$7, $$props, $$slots);
  Astro2.self = $$OpenGraphOptionalTags;
  const { optional } = Astro2.props.openGraph;
  return renderTemplate`${optional.audio ? renderTemplate`<meta property="og:audio"${addAttribute(optional.audio, "content")}>` : null}${optional.description ? renderTemplate`<meta property="og:description"${addAttribute(optional.description, "content")}>` : null}${optional.determiner ? renderTemplate`<meta property="og:determiner"${addAttribute(optional.determiner, "content")}>` : null}${optional.locale ? renderTemplate`<meta property="og:locale"${addAttribute(optional.locale, "content")}>` : null}${optional.localeAlternate?.map((locale) => renderTemplate`<meta property="og:locale:alternate"${addAttribute(locale, "content")}>`)}${optional.siteName ? renderTemplate`<meta property="og:site_name"${addAttribute(optional.siteName, "content")}>` : null}${optional.video ? renderTemplate`<meta property="og:video"${addAttribute(optional.video, "content")}>` : null}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/OpenGraphOptionalTags.astro", void 0);

const $$Astro$6 = createAstro("https://new.sambekiel.com");
const $$ExtendedTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$6, $$props, $$slots);
  Astro2.self = $$ExtendedTags;
  const { props } = Astro2;
  return renderTemplate`${props.extend.link?.map((attributes) => renderTemplate`<link${spreadAttributes(attributes)}>`)}${props.extend.meta?.map(({ content, httpEquiv, media, name, property }) => renderTemplate`<meta${addAttribute(name, "name")}${addAttribute(property, "property")}${addAttribute(content, "content")}${addAttribute(httpEquiv, "http-equiv")}${addAttribute(media, "media")}>`)}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/ExtendedTags.astro", void 0);

const $$Astro$5 = createAstro("https://new.sambekiel.com");
const $$TwitterTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$5, $$props, $$slots);
  Astro2.self = $$TwitterTags;
  const { card, site, title, creator, description, image, imageAlt } = Astro2.props.twitter;
  return renderTemplate`${card ? renderTemplate`<meta name="twitter:card"${addAttribute(card, "content")}>` : null}${site ? renderTemplate`<meta name="twitter:site"${addAttribute(site, "content")}>` : null}${title ? renderTemplate`<meta name="twitter:title"${addAttribute(title, "content")}>` : null}${image ? renderTemplate`<meta name="twitter:image"${addAttribute(image, "content")}>` : null}${imageAlt ? renderTemplate`<meta name="twitter:image:alt"${addAttribute(imageAlt, "content")}>` : null}${description ? renderTemplate`<meta name="twitter:description"${addAttribute(description, "content")}>` : null}${creator ? renderTemplate`<meta name="twitter:creator"${addAttribute(creator, "content")}>` : null}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/TwitterTags.astro", void 0);

const $$Astro$4 = createAstro("https://new.sambekiel.com");
const $$LanguageAlternatesTags = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$4, $$props, $$slots);
  Astro2.self = $$LanguageAlternatesTags;
  const { languageAlternates } = Astro2.props;
  return renderTemplate`${languageAlternates.map((alternate) => renderTemplate`<link rel="alternate"${addAttribute(alternate.hrefLang, "hreflang")}${addAttribute(alternate.href, "href")}>`)}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/components/LanguageAlternatesTags.astro", void 0);

const $$Astro$3 = createAstro("https://new.sambekiel.com");
const $$SEO = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$3, $$props, $$slots);
  Astro2.self = $$SEO;
  Astro2.props.surpressWarnings = true;
  function validateProps(props) {
    if (props.openGraph) {
      if (!props.openGraph.basic || (props.openGraph.basic.title ?? void 0) == void 0 || (props.openGraph.basic.type ?? void 0) == void 0 || (props.openGraph.basic.image ?? void 0) == void 0) {
        throw new Error(
          "If you pass the openGraph prop, you have to at least define the title, type, and image basic properties!"
        );
      }
    }
    if (props.title && props.openGraph?.basic.title) {
      if (props.title == props.openGraph.basic.title && !props.surpressWarnings) {
        console.warn(
          "WARNING(astro-seo): You passed the same value to `title` and `openGraph.optional.title`. This is most likely not what you want. See docs for more."
        );
      }
    }
    if (props.openGraph?.basic?.image && !props.openGraph?.image?.alt && !props.surpressWarnings) {
      console.warn(
        "WARNING(astro-seo): You defined `openGraph.basic.image`, but didn't define `openGraph.image.alt`. This is strongly discouraged.'"
      );
    }
  }
  validateProps(Astro2.props);
  let updatedTitle = "";
  if (Astro2.props.title) {
    updatedTitle = Astro2.props.title;
    if (Astro2.props.titleTemplate) {
      updatedTitle = Astro2.props.titleTemplate.replace(/%s/g, updatedTitle);
    }
  } else if (Astro2.props.titleDefault) {
    updatedTitle = Astro2.props.titleDefault;
  }
  const baseUrl = Astro2.site ?? Astro2.url;
  const defaultCanonicalUrl = new URL(Astro2.url.pathname + Astro2.url.search, baseUrl);
  return renderTemplate`${updatedTitle ? renderTemplate`<title>${unescapeHTML(updatedTitle)}</title>` : null}${Astro2.props.charset ? renderTemplate`<meta${addAttribute(Astro2.props.charset, "charset")}>` : null}<link rel="canonical"${addAttribute(Astro2.props.canonical || defaultCanonicalUrl.href, "href")}>${Astro2.props.description ? renderTemplate`<meta name="description"${addAttribute(Astro2.props.description, "content")}>` : null}<meta name="robots"${addAttribute(`${Astro2.props.noindex ? "noindex" : "index"}, ${Astro2.props.nofollow ? "nofollow" : "follow"}`, "content")}>${Astro2.props.openGraph && renderTemplate`${renderComponent($$result, "OpenGraphBasicTags", $$OpenGraphBasicTags, { ...Astro2.props })}`}${Astro2.props.openGraph?.optional && renderTemplate`${renderComponent($$result, "OpenGraphOptionalTags", $$OpenGraphOptionalTags, { ...Astro2.props })}`}${Astro2.props.openGraph?.image && renderTemplate`${renderComponent($$result, "OpenGraphImageTags", $$OpenGraphImageTags, { ...Astro2.props })}`}${Astro2.props.openGraph?.article && renderTemplate`${renderComponent($$result, "OpenGraphArticleTags", $$OpenGraphArticleTags, { ...Astro2.props })}`}${Astro2.props.twitter && renderTemplate`${renderComponent($$result, "TwitterTags", $$TwitterTags, { ...Astro2.props })}`}${Astro2.props.extend && renderTemplate`${renderComponent($$result, "ExtendedTags", $$ExtendedTags, { ...Astro2.props })}`}${Astro2.props.languageAlternates && renderTemplate`${renderComponent($$result, "LanguageAlternatesTags", $$LanguageAlternatesTags, { ...Astro2.props })}`}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro-seo@0.8.4_typescript@5.8.3/node_modules/astro-seo/src/SEO.astro", void 0);

var e=e=>Object.prototype.toString.call(e),t=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),o=t=>"[object Date]"===e(t),n=t=>"[object RegExp]"===e(t),r=t=>"[object Error]"===e(t),s=t=>"[object Boolean]"===e(t),l=t=>"[object Number]"===e(t),i=t=>"[object String]"===e(t),c=Array.isArray,u=Object.getOwnPropertyDescriptor,a=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.keys;function d(e){const t=h(e),o=f(e);for(let n=0;n<o.length;n++)a.call(e,o[n])&&t.push(o[n]);return t}function b(e,t){return !u(e,t)?.writable}function y(e,u){if("object"==typeof e&&null!==e){let a;if(c(e))a=[];else if(o(e))a=new Date(e.getTime?e.getTime():e);else if(n(e))a=new RegExp(e);else if(r(e))a={message:e.message};else if(s(e)||l(e)||i(e))a=Object(e);else {if(t(e))return e.slice();a=Object.create(Object.getPrototypeOf(e));}const f=u.includeSymbols?d:h;for(const t of f(e))a[t]=e[t];return a}return e}var g={includeSymbols:false,immutable:false};function m(e,t,o=g){const n=[],r=[];let s=true;const l=o.includeSymbols?d:h,i=!!o.immutable;return function e(u){const a=i?y(u,o):u,f={};let h=true;const d={node:a,node_:u,path:[].concat(n),parent:r[r.length-1],parents:r,key:n[n.length-1],isRoot:0===n.length,level:n.length,circular:void 0,isLeaf:false,notLeaf:true,notRoot:true,isFirst:false,isLast:false,update:function(e,t=false){d.isRoot||(d.parent.node[d.key]=e),d.node=e,t&&(h=false);},delete:function(e){delete d.parent.node[d.key],e&&(h=false);},remove:function(e){c(d.parent.node)?d.parent.node.splice(d.key,1):delete d.parent.node[d.key],e&&(h=false);},keys:null,before:function(e){f.before=e;},after:function(e){f.after=e;},pre:function(e){f.pre=e;},post:function(e){f.post=e;},stop:function(){s=false;},block:function(){h=false;}};if(!s)return d;function g(){if("object"==typeof d.node&&null!==d.node){d.keys&&d.node_===d.node||(d.keys=l(d.node)),d.isLeaf=0===d.keys.length;for(let e=0;e<r.length;e++)if(r[e].node_===u){d.circular=r[e];break}}else d.isLeaf=true,d.keys=null;d.notLeaf=!d.isLeaf,d.notRoot=!d.isRoot;}g();const m=t(d,d.node);if(void 0!==m&&d.update&&d.update(m),f.before&&f.before(d,d.node),!h)return d;if("object"==typeof d.node&&null!==d.node&&!d.circular){r.push(d),g();for(const[t,o]of Object.entries(d.keys??[])){n.push(o),f.pre&&f.pre(d,d.node[o],o);const r=e(d.node[o]);i&&p.call(d.node,o)&&!b(d.node,o)&&(d.node[o]=r.node),r.isLast=!!d.keys?.length&&+t==d.keys.length-1,r.isFirst=0==+t,f.post&&f.post(d,r),n.pop();}r.pop();}return f.after&&f.after(d,d.node),d}(e).node}var j=class{#e;#t;constructor(e,t=g){this.#e=e,this.#t=t;}get(e){let t=this.#e;for(let o=0;t&&o<e.length;o++){const n=e[o];if(!p.call(t,n)||!this.#t.includeSymbols&&"symbol"==typeof n)return;t=t[n];}return t}has(e){let t=this.#e;for(let o=0;t&&o<e.length;o++){const n=e[o];if(!p.call(t,n)||!this.#t.includeSymbols&&"symbol"==typeof n)return  false;t=t[n];}return  true}set(e,t){let o=this.#e,n=0;for(n=0;n<e.length-1;n++){const t=e[n];p.call(o,t)||(o[t]={}),o=o[t];}return o[e[n]]=t,t}map(e){return m(this.#e,e,{immutable:true,includeSymbols:!!this.#t.includeSymbols})}forEach(e){return this.#e=m(this.#e,e,this.#t),this.#e}reduce(e,t){const o=1===arguments.length;let n=o?this.#e:t;return this.forEach(((t,r)=>{t.isRoot&&o||(n=e(t,n,r));})),n}paths(){const e=[];return this.forEach((t=>{e.push(t.path);})),e}nodes(){const e=[];return this.forEach((t=>{e.push(t.node);})),e}clone(){const e=[],o=[],n=this.#t;return t(this.#e)?this.#e.slice():function t(r){for(let t=0;t<e.length;t++)if(e[t]===r)return o[t];if("object"==typeof r&&null!==r){const s=y(r,n);e.push(r),o.push(s);const l=n.includeSymbols?d:h;for(const e of l(r))s[e]=t(r[e]);return e.pop(),o.pop(),s}return r}(this.#e)}};

/*
How it works:
`this.#head` is an instance of `Node` which keeps track of its current value and nests another instance of `Node` that keeps the value that comes after it. When a value is provided to `.enqueue()`, the code needs to iterate through `this.#head`, going deeper and deeper to find the last value. However, iterating through every single item is slow. This problem is solved by saving a reference to the last value as `this.#tail` so that it can reference it to add a new value.
*/

class Node {
	value;
	next;

	constructor(value) {
		this.value = value;
	}
}

class Queue {
	#head;
	#tail;
	#size;

	constructor() {
		this.clear();
	}

	enqueue(value) {
		const node = new Node(value);

		if (this.#head) {
			this.#tail.next = node;
			this.#tail = node;
		} else {
			this.#head = node;
			this.#tail = node;
		}

		this.#size++;
	}

	dequeue() {
		const current = this.#head;
		if (!current) {
			return;
		}

		this.#head = this.#head.next;
		this.#size--;
		return current.value;
	}

	peek() {
		if (!this.#head) {
			return;
		}

		return this.#head.value;

		// TODO: Node.js 18.
		// return this.#head?.value;
	}

	clear() {
		this.#head = undefined;
		this.#tail = undefined;
		this.#size = 0;
	}

	get size() {
		return this.#size;
	}

	* [Symbol.iterator]() {
		let current = this.#head;

		while (current) {
			yield current.value;
			current = current.next;
		}
	}

	* drain() {
		while (this.#head) {
			yield this.dequeue();
		}
	}
}

function pLimit(concurrency) {
	validateConcurrency(concurrency);

	const queue = new Queue();
	let activeCount = 0;

	const resumeNext = () => {
		if (activeCount < concurrency && queue.size > 0) {
			queue.dequeue()();
			// Since `pendingCount` has been decreased by one, increase `activeCount` by one.
			activeCount++;
		}
	};

	const next = () => {
		activeCount--;

		resumeNext();
	};

	const run = async (function_, resolve, arguments_) => {
		const result = (async () => function_(...arguments_))();

		resolve(result);

		try {
			await result;
		} catch {}

		next();
	};

	const enqueue = (function_, resolve, arguments_) => {
		// Queue `internalResolve` instead of the `run` function
		// to preserve asynchronous context.
		new Promise(internalResolve => {
			queue.enqueue(internalResolve);
		}).then(
			run.bind(undefined, function_, resolve, arguments_),
		);

		(async () => {
			// This function needs to wait until the next microtask before comparing
			// `activeCount` to `concurrency`, because `activeCount` is updated asynchronously
			// after the `internalResolve` function is dequeued and called. The comparison in the if-statement
			// needs to happen asynchronously as well to get an up-to-date value for `activeCount`.
			await Promise.resolve();

			if (activeCount < concurrency) {
				resumeNext();
			}
		})();
	};

	const generator = (function_, ...arguments_) => new Promise(resolve => {
		enqueue(function_, resolve, arguments_);
	});

	Object.defineProperties(generator, {
		activeCount: {
			get: () => activeCount,
		},
		pendingCount: {
			get: () => queue.size,
		},
		clearQueue: {
			value() {
				queue.clear();
			},
		},
		concurrency: {
			get: () => concurrency,

			set(newConcurrency) {
				validateConcurrency(newConcurrency);
				concurrency = newConcurrency;

				queueMicrotask(() => {
					// eslint-disable-next-line no-unmodified-loop-condition
					while (activeCount < concurrency && queue.size > 0) {
						resumeNext();
					}
				});
			},
		},
	});

	return generator;
}

function validateConcurrency(concurrency) {
	if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
		throw new TypeError('Expected `concurrency` to be a number from 1 and up');
	}
}

const CONTENT_IMAGE_FLAG = "astroContentImageFlag";
const IMAGE_IMPORT_PREFIX = "__ASTRO_IMAGE_";

function imageSrcToImportId(imageSrc, filePath) {
  imageSrc = removeBase(imageSrc, IMAGE_IMPORT_PREFIX);
  if (isRemotePath(imageSrc)) {
    return;
  }
  const ext = imageSrc.split(".").at(-1)?.toLowerCase();
  if (!ext || !VALID_INPUT_FORMATS.includes(ext)) {
    return;
  }
  const params = new URLSearchParams(CONTENT_IMAGE_FLAG);
  if (filePath) {
    params.set("importer", filePath);
  }
  return `${imageSrc}?${params.toString()}`;
}

class ImmutableDataStore {
  _collections = /* @__PURE__ */ new Map();
  constructor() {
    this._collections = /* @__PURE__ */ new Map();
  }
  get(collectionName, key) {
    return this._collections.get(collectionName)?.get(String(key));
  }
  entries(collectionName) {
    const collection = this._collections.get(collectionName) ?? /* @__PURE__ */ new Map();
    return [...collection.entries()];
  }
  values(collectionName) {
    const collection = this._collections.get(collectionName) ?? /* @__PURE__ */ new Map();
    return [...collection.values()];
  }
  keys(collectionName) {
    const collection = this._collections.get(collectionName) ?? /* @__PURE__ */ new Map();
    return [...collection.keys()];
  }
  has(collectionName, key) {
    const collection = this._collections.get(collectionName);
    if (collection) {
      return collection.has(String(key));
    }
    return false;
  }
  hasCollection(collectionName) {
    return this._collections.has(collectionName);
  }
  collections() {
    return this._collections;
  }
  /**
   * Attempts to load a DataStore from the virtual module.
   * This only works in Vite.
   */
  static async fromModule() {
    try {
      const data = await import('./_astro_data-layer-content_DHk5sna1.mjs');
      if (data.default instanceof Map) {
        return ImmutableDataStore.fromMap(data.default);
      }
      const map = unflatten(data.default);
      return ImmutableDataStore.fromMap(map);
    } catch {
    }
    return new ImmutableDataStore();
  }
  static async fromMap(data) {
    const store = new ImmutableDataStore();
    store._collections = data;
    return store;
  }
}
function dataStoreSingleton() {
  let instance = void 0;
  return {
    get: async () => {
      if (!instance) {
        instance = ImmutableDataStore.fromModule();
      }
      return instance;
    },
    set: (store) => {
      instance = store;
    }
  };
}
const globalDataStore = dataStoreSingleton();

const __vite_import_meta_env__ = {"ASSETS_PREFIX": undefined, "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SITE": "https://new.sambekiel.com", "SSR": true};
function createCollectionToGlobResultMap({
  globResult,
  contentDir
}) {
  const collectionToGlobResultMap = {};
  for (const key in globResult) {
    const keyRelativeToContentDir = key.replace(new RegExp(`^${contentDir}`), "");
    const segments = keyRelativeToContentDir.split("/");
    if (segments.length <= 1) continue;
    const collection = segments[0];
    collectionToGlobResultMap[collection] ??= {};
    collectionToGlobResultMap[collection][key] = globResult[key];
  }
  return collectionToGlobResultMap;
}
function createGetCollection({
  contentCollectionToEntryMap,
  dataCollectionToEntryMap,
  getRenderEntryImport,
  cacheEntriesByCollection
}) {
  return async function getCollection(collection, filter) {
    const hasFilter = typeof filter === "function";
    const store = await globalDataStore.get();
    let type;
    if (collection in contentCollectionToEntryMap) {
      type = "content";
    } else if (collection in dataCollectionToEntryMap) {
      type = "data";
    } else if (store.hasCollection(collection)) {
      const { default: imageAssetMap } = await import('./content-assets_DleWbedO.mjs');
      const result = [];
      for (const rawEntry of store.values(collection)) {
        const data = updateImageReferencesInData(rawEntry.data, rawEntry.filePath, imageAssetMap);
        let entry = {
          ...rawEntry,
          data,
          collection
        };
        if (entry.legacyId) {
          entry = emulateLegacyEntry(entry);
        }
        if (hasFilter && !filter(entry)) {
          continue;
        }
        result.push(entry);
      }
      return result;
    } else {
      console.warn(
        `The collection ${JSON.stringify(
          collection
        )} does not exist or is empty. Please check your content config file for errors.`
      );
      return [];
    }
    const lazyImports = Object.values(
      type === "content" ? contentCollectionToEntryMap[collection] : dataCollectionToEntryMap[collection]
    );
    let entries = [];
    if (!Object.assign(__vite_import_meta_env__, { Path: process.env.Path })?.DEV && cacheEntriesByCollection.has(collection)) {
      entries = cacheEntriesByCollection.get(collection);
    } else {
      const limit = pLimit(10);
      entries = await Promise.all(
        lazyImports.map(
          (lazyImport) => limit(async () => {
            const entry = await lazyImport();
            return type === "content" ? {
              id: entry.id,
              slug: entry.slug,
              body: entry.body,
              collection: entry.collection,
              data: entry.data,
              async render() {
                return render({
                  collection: entry.collection,
                  id: entry.id,
                  renderEntryImport: await getRenderEntryImport(collection, entry.slug)
                });
              }
            } : {
              id: entry.id,
              collection: entry.collection,
              data: entry.data
            };
          })
        )
      );
      cacheEntriesByCollection.set(collection, entries);
    }
    if (hasFilter) {
      return entries.filter(filter);
    } else {
      return entries.slice();
    }
  };
}
function emulateLegacyEntry({ legacyId, ...entry }) {
  const legacyEntry = {
    ...entry,
    id: legacyId,
    slug: entry.id
  };
  return {
    ...legacyEntry,
    // Define separately so the render function isn't included in the object passed to `renderEntry()`
    render: () => renderEntry(legacyEntry)
  };
}
const CONTENT_LAYER_IMAGE_REGEX = /__ASTRO_IMAGE_="([^"]+)"/g;
async function updateImageReferencesInBody(html, fileName) {
  const { default: imageAssetMap } = await import('./content-assets_DleWbedO.mjs');
  const imageObjects = /* @__PURE__ */ new Map();
  const { getImage } = await import('./_astro_assets_DcYVTGi6.mjs').then(n => n._);
  for (const [_full, imagePath] of html.matchAll(CONTENT_LAYER_IMAGE_REGEX)) {
    try {
      const decodedImagePath = JSON.parse(imagePath.replaceAll("&#x22;", '"'));
      let image;
      if (URL.canParse(decodedImagePath.src)) {
        image = await getImage(decodedImagePath);
      } else {
        const id = imageSrcToImportId(decodedImagePath.src, fileName);
        const imported = imageAssetMap.get(id);
        if (!id || imageObjects.has(id) || !imported) {
          continue;
        }
        image = await getImage({ ...decodedImagePath, src: imported });
      }
      imageObjects.set(imagePath, image);
    } catch {
      throw new Error(`Failed to parse image reference: ${imagePath}`);
    }
  }
  return html.replaceAll(CONTENT_LAYER_IMAGE_REGEX, (full, imagePath) => {
    const image = imageObjects.get(imagePath);
    if (!image) {
      return full;
    }
    const { index, ...attributes } = image.attributes;
    return Object.entries({
      ...attributes,
      src: image.src,
      srcset: image.srcSet.attribute
    }).map(([key, value]) => value ? `${key}="${escape(value)}"` : "").join(" ");
  });
}
function updateImageReferencesInData(data, fileName, imageAssetMap) {
  return new j(data).map(function(ctx, val) {
    if (typeof val === "string" && val.startsWith(IMAGE_IMPORT_PREFIX)) {
      const src = val.replace(IMAGE_IMPORT_PREFIX, "");
      const id = imageSrcToImportId(src, fileName);
      if (!id) {
        ctx.update(src);
        return;
      }
      const imported = imageAssetMap?.get(id);
      if (imported) {
        ctx.update(imported);
      } else {
        ctx.update(src);
      }
    }
  });
}
async function renderEntry(entry) {
  if (!entry) {
    throw new AstroError(RenderUndefinedEntryError);
  }
  if ("render" in entry && !("legacyId" in entry)) {
    return entry.render();
  }
  if (entry.deferredRender) {
    try {
      const { default: contentModules } = await import('./content-modules_Dz-S_Wwv.mjs');
      const renderEntryImport = contentModules.get(entry.filePath);
      return render({
        collection: "",
        id: entry.id,
        renderEntryImport
      });
    } catch (e) {
      console.error(e);
    }
  }
  const html = entry?.rendered?.metadata?.imagePaths?.length && entry.filePath ? await updateImageReferencesInBody(entry.rendered.html, entry.filePath) : entry?.rendered?.html;
  const Content = createComponent(() => renderTemplate`${unescapeHTML(html)}`);
  return {
    Content,
    headings: entry?.rendered?.metadata?.headings ?? [],
    remarkPluginFrontmatter: entry?.rendered?.metadata?.frontmatter ?? {}
  };
}
async function render({
  collection,
  id,
  renderEntryImport
}) {
  const UnexpectedRenderError = new AstroError({
    ...UnknownContentCollectionError,
    message: `Unexpected error while rendering ${String(collection)} → ${String(id)}.`
  });
  if (typeof renderEntryImport !== "function") throw UnexpectedRenderError;
  const baseMod = await renderEntryImport();
  if (baseMod == null || typeof baseMod !== "object") throw UnexpectedRenderError;
  const { default: defaultMod } = baseMod;
  if (isPropagatedAssetsModule(defaultMod)) {
    const { collectedStyles, collectedLinks, collectedScripts, getMod } = defaultMod;
    if (typeof getMod !== "function") throw UnexpectedRenderError;
    const propagationMod = await getMod();
    if (propagationMod == null || typeof propagationMod !== "object") throw UnexpectedRenderError;
    const Content = createComponent({
      factory(result, baseProps, slots) {
        let styles = "", links = "", scripts = "";
        if (Array.isArray(collectedStyles)) {
          styles = collectedStyles.map((style) => {
            return renderUniqueStylesheet(result, {
              type: "inline",
              content: style
            });
          }).join("");
        }
        if (Array.isArray(collectedLinks)) {
          links = collectedLinks.map((link) => {
            return renderUniqueStylesheet(result, {
              type: "external",
              src: prependForwardSlash(link)
            });
          }).join("");
        }
        if (Array.isArray(collectedScripts)) {
          scripts = collectedScripts.map((script) => renderScriptElement(script)).join("");
        }
        let props = baseProps;
        if (id.endsWith("mdx")) {
          props = {
            components: propagationMod.components ?? {},
            ...baseProps
          };
        }
        return createHeadAndContent(
          unescapeHTML(styles + links + scripts),
          renderTemplate`${renderComponent(
            result,
            "Content",
            propagationMod.Content,
            props,
            slots
          )}`
        );
      },
      propagation: "self"
    });
    return {
      Content,
      headings: propagationMod.getHeadings?.() ?? [],
      remarkPluginFrontmatter: propagationMod.frontmatter ?? {}
    };
  } else if (baseMod.Content && typeof baseMod.Content === "function") {
    return {
      Content: baseMod.Content,
      headings: baseMod.getHeadings?.() ?? [],
      remarkPluginFrontmatter: baseMod.frontmatter ?? {}
    };
  } else {
    throw UnexpectedRenderError;
  }
}
function isPropagatedAssetsModule(module) {
  return typeof module === "object" && module != null && "__astroPropagation" in module;
}

// astro-head-inject

const contentDir = '/src/content/';

const contentEntryGlob = "";
const contentCollectionToEntryMap = createCollectionToGlobResultMap({
	globResult: contentEntryGlob,
	contentDir,
});

const dataEntryGlob = "";
const dataCollectionToEntryMap = createCollectionToGlobResultMap({
	globResult: dataEntryGlob,
	contentDir,
});
createCollectionToGlobResultMap({
	globResult: { ...contentEntryGlob, ...dataEntryGlob },
	contentDir,
});

let lookupMap = {};
lookupMap = {};

new Set(Object.keys(lookupMap));

function createGlobLookup(glob) {
	return async (collection, lookupId) => {
		const filePath = lookupMap[collection]?.entries[lookupId];

		if (!filePath) return undefined;
		return glob[collection][filePath];
	};
}

const renderEntryGlob = "";
const collectionToRenderEntryMap = createCollectionToGlobResultMap({
	globResult: renderEntryGlob,
	contentDir,
});

const cacheEntriesByCollection = new Map();
const getCollection = createGetCollection({
	contentCollectionToEntryMap,
	dataCollectionToEntryMap,
	getRenderEntryImport: createGlobLookup(collectionToRenderEntryMap),
	cacheEntriesByCollection,
});

const slugify = (text) => text.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim().replace(/[^a-z0-9 ]/g, "").replace(/\s+/g, "-");

const getServices = async () => await getCollection("service");
const serviceTags = async () => {
  const allServices = await getServices();
  const tags = [
    ...new Set(allServices.map((i) => i.data.tag).flat())
  ];
  const tagPromises = tags.map(async (tag) => await getTagInfo(tag));
  return Promise.all(tagPromises);
};
const getTagInfo = async (tag) => {
  const services = await servicesByTag(tag);
  return {
    tag,
    href: slugify(tag),
    services
  };
};
const servicesByTag = async (tag) => {
  const allServices = await getServices();
  if (!tag) return allServices;
  return allServices.filter(
    (i) => i.data.tag.toLowerCase() === tag.toLowerCase()
  );
};
const serviceBySlug = async (slug) => {
  const allServices = await getServices();
  return allServices.find((i) => i.slug === slug);
};

var _tmpl$$9 = ["<span", ' class="relative"><span class="block">', "</span><a", ' class="absolute inset-0"></a></span>'];
const Link = ({
  tag,
  href
}) => ssr(_tmpl$$9, ssrHydrationKey(), escape$1(tag), ssrAttribute("href", escape$1(href, true), false));

var _tmpl$$8 = ["<svg", ' fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg>'];
const MenuBars = ({
  className
}) => {
  return ssr(_tmpl$$8, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var _tmpl$$7 = ["<svg", ' fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path></svg>'];
const Close = ({
  className
}) => {
  return ssr(_tmpl$$7, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var __freeze = Object.freeze;
var __defProp = Object.defineProperty;
var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(cooked.slice()) }));
var _a;
const $$Astro$2 = createAstro("https://new.sambekiel.com");
const $$Header = createComponent(async ($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$2, $$props, $$slots);
  Astro2.self = $$Header;
  const tags = await serviceTags();
  const user = Astro2.locals.user;
  return renderTemplate(_a || (_a = __template(['<script>\n  const toggle = () => {\n    document.querySelector(".close-icon")?.classList.toggle("opacity-0");\n    document.querySelector(".bars-icon")?.classList.toggle("opacity-0");\n    document.querySelector("#nav-menu")?.classList.toggle("left-0");\n    document.querySelector("#nav-menu")?.classList.toggle("-left-[100vw]");\n    document.querySelector("#nav-menu")?.classList.toggle("opacity-0");\n  };\n<\/script> ', ""])), renderComponent($$result, "Fragment", Fragment, {}, { "default": async ($$result2) => renderTemplate`${maybeRenderHead()}<nav class="mx-auto flex max-w-screen-xl items-center justify-between py-2 md:py-3 px-4 lg:px-8 transition-all duration-500 relative leading-6 text-gray-900" aria-label="Global"><div class="flex z-50"><a href="/" class="-m-1.5 p-1.5"><span class="sr-only">Sambekiel & Co Rescourses Ltd</span><img class="h-9 w-auto" src="/img/logo.png" alt="Sambekiel & Co Rescourses Ltd"></a></div><div class="lg:hidden"><button type="button" onclick="toggle()" class="inline-flex items-center justify-center rounded-md p-2.5 text-gray-700"><span class="sr-only">Toggle main menu</span><div class="flex justify-center items-center"><span class="transition-all duration-700 h-7 w-7 z-10 relative">${renderComponent($$result2, "MenuBars", MenuBars, { "className": "w-full h-full bars-icon absolute inset-0" })}${renderComponent($$result2, "Close", Close, { "className": "w-full h-full opacity-0 close-icon absolute inset-0" })}</span></div></button></div><div id="nav-menu" class="flex flex-col lg:flex-row gap-2 text-sm font-semibold lg:gap-x-3 fixed lg:relative top-0 whitespace-nowrap h-screen lg:h-fit w-full lg:w-fit max-w-xs lg:max-w-fit pt-14 lg:pt-0 border-gray-100 border-r-[1px] lg:border-none transition-all duration-700 -left-[100vw] lg:left-0 bg-white lg:bg-transparent opacity-0 lg:opacity-100"><a href="/" class="px-2 hover:border-b lg:border-none"> Home</a><!-- desktop -->${renderComponent($$result2, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none hidden lg:block", "pop": true, "label": "About", "justify": "right", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result3) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "The Company", "href": `/about-us` })}</div><div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "Our Policies", "href": `/policies` })}</div>` })}${renderComponent($$result2, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none hidden lg:block", "pop": true, "label": "Services", "justify": "right", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result3) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "Services", "href": `/services` })}</div>${tags.map((tag) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": tag.tag, "href": `/services/${tag.href}` })}</div>`)}` })}<!-- mobile -->${renderComponent($$result2, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none block lg:hidden", "label": "About", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result3) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "The Company", "href": `/about-us` })}</div><div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "Our Policies", "href": `/policies` })}</div>` })}${renderComponent($$result2, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none block lg:hidden", "label": "Services", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result3) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": "Services", "href": `/services` })}</div>${tags.map((tag) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result3, "Link", Link, { "tag": tag.tag, "href": `/services/${tag.href}` })}</div>`)}` })}<a href="/gallery" class="px-2 hover:border-b lg:border-none"> Gallery</a><a href="/contact-us" class="px-2 hover:border-b lg:border-none">
Contact Us
</a>${user && renderTemplate`${renderComponent($$result2, "Fragment", Fragment, {}, { "default": async ($$result3) => renderTemplate`${renderComponent($$result3, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none hidden lg:block", "pop": true, "label": "Account", "justify": "right", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result4) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Dashboard", "href": `/dashboard` })}</div>${user.isAdmin && renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Staffs", "href": `/dashboard/staffs` })}</div>`}<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Messages", "href": `/dashboard/messages` })}</div><div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Logout", "href": `/dashboard/logout` })}</div>` })}${renderComponent($$result3, "Dropdown", null, { "className": "px-2 hover:border-b lg:border-none block lg:hidden", "label": "Account", "client:only": "solid-js", "client:component-hydration": "only", "client:component-path": "@/components/Dropdown.tsx", "client:component-export": "default" }, { "default": async ($$result4) => renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Dashboard", "href": `/dashboard` })}</div>${user.isAdmin && renderTemplate`<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Staffs", "href": `/dashboard/staffs` })}</div>`}<div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Messages", "href": `/dashboard/messages` })}</div><div class="relative p-1 px-2 lg:hover:bg-blue-900/5 hover:border-b-1 rounded-lg cursor-pointer whitespace-nowrap">${renderComponent($$result4, "Link", Link, { "tag": "Logout", "href": `/dashboard/logout` })}</div>` })}` })}`}</div></nav>` }));
}, "C:/projects/sambekiel_front/src/components/Header.astro", void 0);

var _tmpl$$6 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path d="M2 2a2 2 0 0 0-2 2v8.01A2 2 0 0 0 2 14h5.5a.5.5 0 0 0 0-1H2a1 1 0 0 1-.966-.741l5.64-3.471L8 9.583l7-4.2V8.5a.5.5 0 0 0 1 0V4a2 2 0 0 0-2-2H2Zm3.708 6.208L1 11.105V5.383l4.708 2.825ZM1 4.217V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v.217l-7 4.2-7-4.2Z"></path><path d="M14.247 14.269c1.01 0 1.587-.857 1.587-2.025v-.21C15.834 10.43 14.64 9 12.52 9h-.035C10.42 9 9 10.36 9 12.432v.214C9 14.82 10.438 16 12.358 16h.044c.594 0 1.018-.074 1.237-.175v-.73c-.245.11-.673.18-1.18.18h-.044c-1.334 0-2.571-.788-2.571-2.655v-.157c0-1.657 1.058-2.724 2.64-2.724h.04c1.535 0 2.484 1.05 2.484 2.326v.118c0 .975-.324 1.39-.639 1.39-.232 0-.41-.148-.41-.42v-2.19h-.906v.569h-.03c-.084-.298-.368-.63-.954-.63-.778 0-1.259.555-1.259 1.4v.528c0 .892.49 1.434 1.26 1.434.471 0 .896-.227 1.014-.643h.043c.118.42.617.648 1.12.648Zm-2.453-1.588v-.227c0-.546.227-.791.573-.791.297 0 .572.192.572.708v.367c0 .573-.253.744-.564.744-.354 0-.581-.215-.581-.8Z"></path></svg>'];
const Email = ({
  className
}) => {
  return ssr(_tmpl$$6, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var _tmpl$$5 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855A7.97 7.97 0 0 0 5.145 4H7.5V1.077zM4.09 4a9.267 9.267 0 0 1 .64-1.539 6.7 6.7 0 0 1 .597-.933A7.025 7.025 0 0 0 2.255 4H4.09zm-.582 3.5c.03-.877.138-1.718.312-2.5H1.674a6.958 6.958 0 0 0-.656 2.5h2.49zM4.847 5a12.5 12.5 0 0 0-.338 2.5H7.5V5H4.847zM8.5 5v2.5h2.99a12.495 12.495 0 0 0-.337-2.5H8.5zM4.51 8.5a12.5 12.5 0 0 0 .337 2.5H7.5V8.5H4.51zm3.99 0V11h2.653c.187-.765.306-1.608.338-2.5H8.5zM5.145 12c.138.386.295.744.468 1.068.552 1.035 1.218 1.65 1.887 1.855V12H5.145zm.182 2.472a6.696 6.696 0 0 1-.597-.933A9.268 9.268 0 0 1 4.09 12H2.255a7.024 7.024 0 0 0 3.072 2.472zM3.82 11a13.652 13.652 0 0 1-.312-2.5h-2.49c.062.89.291 1.733.656 2.5H3.82zm6.853 3.472A7.024 7.024 0 0 0 13.745 12H11.91a9.27 9.27 0 0 1-.64 1.539 6.688 6.688 0 0 1-.597.933zM8.5 12v2.923c.67-.204 1.335-.82 1.887-1.855.173-.324.33-.682.468-1.068H8.5zm3.68-1h2.146c.365-.767.594-1.61.656-2.5h-2.49a13.65 13.65 0 0 1-.312 2.5zm2.802-3.5a6.959 6.959 0 0 0-.656-2.5H12.18c.174.782.282 1.623.312 2.5h2.49zM11.27 2.461c.247.464.462.98.64 1.539h1.835a7.024 7.024 0 0 0-3.072-2.472c.218.284.418.598.597.933zM10.855 4a7.966 7.966 0 0 0-.468-1.068C9.835 1.897 9.17 1.282 8.5 1.077V4h2.355z"></path></svg>'];
const Globe = ({
  className
}) => {
  return ssr(_tmpl$$5, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var _tmpl$$4 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM4 4a4 4 0 1 1 4.5 3.969V13.5a.5.5 0 0 1-1 0V7.97A4 4 0 0 1 4 3.999zm2.493 8.574a.5.5 0 0 1-.411.575c-.712.118-1.28.295-1.655.493a1.319 1.319 0 0 0-.37.265.301.301 0 0 0-.057.09V14l.002.008a.147.147 0 0 0 .016.033.617.617 0 0 0 .145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 0 0 .146-.15.148.148 0 0 0 .015-.033L12 14v-.004a.301.301 0 0 0-.057-.09 1.318 1.318 0 0 0-.37-.264c-.376-.198-.943-.375-1.655-.493a.5.5 0 1 1 .164-.986c.77.127 1.452.328 1.957.594C12.5 13 13 13.4 13 14c0 .426-.26.752-.544.977-.29.228-.68.413-1.116.558-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465-.436-.145-.826-.33-1.116-.558C3.26 14.752 3 14.426 3 14c0-.599.5-1 .961-1.243.505-.266 1.187-.467 1.957-.594a.5.5 0 0 1 .575.411z"></path></svg>'];
const Map$1 = ({
  className
}) => {
  return ssr(_tmpl$$4, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var _tmpl$$3 = ["<svg", ' xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"></path></svg>'];
const Phone = ({
  className
}) => {
  return ssr(_tmpl$$3, ssrHydrationKey() + ssrAttribute("class", escape$1(className, true), false));
};

var _tmpl$$2 = ["<div", ' class="', '"><!--$-->', '<!--/--><div class="flex-auto gap-1"><!--$-->', "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"], _tmpl$2$1 = ["<div", ' class="flex flex-none items-center justify-center rounded-lg"> <!--$-->', "<!--/--> </div>"], _tmpl$3 = ["<span", ' class="block font-semibold">', "</span>"], _tmpl$4 = ["<div", ">", "</div>"], _tmpl$5 = ["<a", ' class="absolute inset-0"></a>'];
const Item = ({
  href,
  title,
  body,
  icon,
  className
}) => ssr(_tmpl$$2, ssrHydrationKey(), `relative flex items-center gap-x-2 rounded-lg p-1 px-2 text-sm leading-6 
      ${escape$1(className, true)}`, icon && ssr(_tmpl$2$1, ssrHydrationKey(), escape$1(icon)), title && ssr(_tmpl$3, ssrHydrationKey(), escape$1(title)), body && ssr(_tmpl$4, ssrHydrationKey(), escape$1(body)), href && ssr(_tmpl$5, ssrHydrationKey() + ssrAttribute("href", escape$1(href, true), false)));

var _tmpl$$1 = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
const ContactInfo = ({
  className
}) => ssr(_tmpl$$1, ssrHydrationKey(), `flex flex-col ${escape$1(className, true)}`, escape$1(createComponent$1(Item, {
  body: "70 Marine Road, Apapa Lagos, Nigeria",
  get icon() {
    return createComponent$1(Map$1, {
      className: "w-5 h-5"
    });
  }
})), escape$1(createComponent$1(Item, {
  body: "+234-8027150941 , +234-8169736061",
  get icon() {
    return createComponent$1(Phone, {
      className: "w-5 h-5"
    });
  }
})), escape$1(createComponent$1(Item, {
  body: "info@sambekiel.com",
  get icon() {
    return createComponent$1(Email, {
      className: "w-5 h-5"
    });
  }
})), escape$1(createComponent$1(Item, {
  body: "www.sambekiel.com",
  get icon() {
    return createComponent$1(Globe, {
      className: "w-5 h-5"
    });
  }
})));

var _tmpl$ = ["<div", ' class="flex flex-col"><span class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">', "</span><!--$-->", "<!--/--></div>"], _tmpl$2 = ["<small", ' class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">', "</small>"];
const alltags = await serviceTags();
const tags = [];
alltags.forEach(async (tag) => {
  const services = await tag.services;
  tags.push({
    ...tag,
    services
  });
});
const FooterServices = () => {
  return tags.map((tag) => {
    return ssr(_tmpl$, ssrHydrationKey(), escape$1(createComponent$1(Link, {
      get tag() {
        return tag.tag;
      },
      get href() {
        return `/services/${tag.href}`;
      }
    })), escape$1(tag.services?.map((service) => ssr(_tmpl$2, ssrHydrationKey(), escape$1(createComponent$1(Link, {
      get tag() {
        return service.data.title;
      },
      get href() {
        return `/services/${tag.href}/${service.slug}`;
      }
    }))))));
  });
};

const $$Footer = createComponent(($$result, $$props, $$slots) => {
  return renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`${maybeRenderHead()}<div class="mx-auto max-w-screen-xl p-2 px-4 lg:px-8 relative" aria-label="Global"><div class="flex flex-col sm:flex-row flex-wrap w-full justify-between gap-5 gap-x-10 px-2 py-4"><div class="flex flex-col gap-3 order-1"><div class="flex flex-wrap gap-x-8 gap-y-2"><div class="flex flex-col justify-center h-fit pt-2"><a href="/" class="p-1 bg-white rounded-md"><span class="sr-only">Sambekiel & Co Rescourses Ltd</span><img class="h-12 w-auto" src="/img/logo.png" alt="Sambekiel & Co Rescourses Ltd"></a></div></div>${renderComponent($$result2, "ContactInfo", ContactInfo, {})}</div><div class="flex flex-col gap-2 w-fit h-fit justify-between grow order-10 lg:order-2"><span class="relative p-1 w-fit px-2 hover:bg-white/5 rounded-md">${renderComponent($$result2, "Link", Link, { "tag": "Services", "href": "/services" })}</span><div class="flex justify-between flex-wrap gap-5">${renderComponent($$result2, "FooterServices", FooterServices, {})}</div></div><div class="flex flex-col gap-1 w-fit h-fit order-2 lg:order-10"><span class="my-1"> Quick Links</span><small class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">${renderComponent($$result2, "Link", Link, { "tag": "Home", "href": "/" })}</small><small class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">${renderComponent($$result2, "Link", Link, { "tag": "About Us", "href": "/about-us" })}</small><small class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">${renderComponent($$result2, "Link", Link, { "tag": "Gallery", "href": "/gallery" })}</small><small class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">${renderComponent($$result2, "Link", Link, { "tag": "Contact Us", "href": "/contact-us" })}</small><small class="relative p-1 px-2 hover:bg-white/5 rounded-md w-fit">${renderComponent($$result2, "Link", Link, { "tag": "Policies", "href": "/policies" })}</small></div></div><div class="flex flex-wrap items-center justify-between gap-2 p-1 px-2 pt-2 mt-2 border-t text-center md:text-left"><div class="grow">
&copy; ${(/* @__PURE__ */ new Date()).getFullYear()} Copyright Sambekiel & Co Resources
</div><small class="grow md:max-w-fit">
Designed & Developed by:${" "}<a href="https://www.ccanokwuru.com" class="hover:bg-white/5 rounded-md p-1" target="_blank">
@ccAnokwuru
</a>${" "}</small></div></div>` })}`;
}, "C:/projects/sambekiel_front/src/components/Footer.astro", void 0);

const $$Astro$1 = createAstro("https://new.sambekiel.com");
const $$ClientRouter = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro$1, $$props, $$slots);
  Astro2.self = $$ClientRouter;
  const { fallback = "animate" } = Astro2.props;
  return renderTemplate`<meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback"${addAttribute(fallback, "content")}>${renderScript($$result, "C:/projects/sambekiel_front/node_modules/.pnpm/astro@5.6.1_@types+node@22._4a2de09c50f10c5dced1d1198aced1a6/node_modules/astro/components/ClientRouter.astro?astro&type=script&index=0&lang.ts")}`;
}, "C:/projects/sambekiel_front/node_modules/.pnpm/astro@5.6.1_@types+node@22._4a2de09c50f10c5dced1d1198aced1a6/node_modules/astro/components/ClientRouter.astro", void 0);

const $$Astro = createAstro("https://new.sambekiel.com");
const $$Layout = createComponent(($$result, $$props, $$slots) => {
  const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
  Astro2.self = $$Layout;
  const { title, description, og_basic, showTitle, seoTitle } = Astro2.props;
  return renderTemplate`<html lang="en"> <head><meta charset="UTF-8"><meta name="description" content="Sambekiel & Co Rescourses Ltd"><meta name="viewport" content="width=device-width"><link rel="shortcut icon" href="/img/logo-ico.png" type="image/x-icon"><link rel="sitemap" href="/sitemap-index.xml"><meta name="generator"${addAttribute(Astro2.generator, "content")}>${renderComponent($$result, "SEO", $$SEO, { "title": title, "titleDefault": "Sambekiel & Co Rescourses Ltd", "description": description ?? "Sambekiel & Co Rescourses Ltd", "openGraph": {
    basic: {
      title: og_basic?.title ?? seoTitle ?? title,
      type: og_basic?.type ?? "",
      image: og_basic?.image ?? "/img/logo.png"
    }
  } })}<title>${seoTitle ?? title}</title>${renderComponent($$result, "ClientRouter", $$ClientRouter, {})}${renderHead()}</head> <body class="flex flex-col min-h-screen overflow-x-clip"> <header class="sticky top-0 z-[999] w-full bg-white bg-opacity-50 backdrop-blur-sm isolate"> ${renderComponent($$result, "Header", $$Header, {})} </header> <main class="grow pb-20 max-w-screen-xl p-4 md:px-10 lg:px-14 mx-auto container text-lg min-h-[70vh]"> ${showTitle && renderTemplate`<h1 class="text-center balance text-blue-950 text-2xl font-bold uppercase tracking-wider"> ${title} </h1>`} ${renderSlot($$result, $$slots["default"])} </main> <footer class="bg-slate-950 text-white"> <div class="fixed z-[100] bottom-8 w-full"> <span class="flex mx-auto max-w-screen-xl container px-4 md:px-8 lg:px-12 justify-end relative isolate"> <i class="absolute justify-end bottom-3 right-4 rounded-full bg-white bg-opacity-40 text-slate-950 hover:shadow h-10 w-10 border shadow border-blue-900/5"> ${renderComponent($$result, "ScrollToTop", null, { "client:load": true, "client:only": "solid-js", "client:component-hydration": "load", "client:component-path": "@components/ScrollToTop", "client:component-export": "ScrollToTop" })}</i></span> </div> ${renderComponent($$result, "Footer", $$Footer, {})} </footer>  </body> </html>`;
}, "C:/projects/sambekiel_front/src/layouts/Layout.astro", void 0);

export { $$Layout as $, ContactInfo as C, Item as I, getServices as a, serviceTags as b, serviceBySlug as c, getCollection as g, slugify as s };
