import { _ as __nuxt_component_0 } from './nuxt-link-DNVrgHUL.mjs'; import { defineComponent, ref, mergeProps, unref, withCtx, createTextVNode, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrRenderAttr, ssrInterpolate, ssrIncludeBooleanAttr, ssrRenderComponent } from 'vue/server-renderer'; import { u as useAuthStore, _ as _imports_0 } from './auth-CRAMW6e4.mjs'; import { u as useRouter } from './server.mjs'; import '../nitro/nitro.mjs'; import 'node:http'; import 'node:https'; import 'node:events'; import 'node:buffer'; import 'node:fs'; import 'node:path'; import 'node:crypto'; import 'node:url'; import '../routes/renderer.mjs'; import 'vue-bundle-renderer/runtime'; import 'unhead/server'; import 'devalue'; import 'unhead/utils'; import 'unhead/plugins'; import 'pinia'; import './cookie-CWIsZYm7.mjs'; import 'vue-router'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "login", __ssrInlineRender: true, setup(__props) { const email = ref(""); const password = ref(""); useRouter(); const authStore = useAuthStore(); return (_ctx, _push, _parent, _attrs) => { const _component_NuxtLink = __nuxt_component_0; _push(`
SERVICEFINDER

Staff Portal

Authorised personnel only

`); if (unref(authStore).error) { _push(`
${ssrInterpolate(unref(authStore).error)}
`); } else { _push(``); } _push(`
`); _push(ssrRenderComponent(_component_NuxtLink, { to: "/", class: "text-sm text-slate-500 hover:text-cyan-400 transition" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(` \u2190 Back to ServiceFinder `); } else { return [ createTextVNode(" \u2190 Back to ServiceFinder ") ]; } }), _: 1 }, _parent)); _push(`
`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/login.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=login-CLIOTi6c.mjs.map