import { _ as __nuxt_component_0 } from "./nuxt-link-DNVrgHUL.js"; 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.js"; import { u as useRouter } from "../server.mjs"; import "/app/node_modules/ufo/dist/index.mjs"; import "/app/node_modules/defu/dist/defu.mjs"; import "#internal/nuxt/paths"; import "pinia"; import "./cookie-CWIsZYm7.js"; import "/app/node_modules/cookie-es/dist/index.mjs"; import "/app/node_modules/h3/dist/index.mjs"; import "/app/node_modules/destr/dist/index.mjs"; import "/app/node_modules/ohash/dist/index.mjs"; import "/app/node_modules/klona/dist/index.mjs"; import "/app/node_modules/ofetch/dist/node.mjs"; import "/app/node_modules/hookable/dist/index.mjs"; import "/app/node_modules/unctx/dist/index.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(` ← Back to ServiceFinder `); } else { return [ createTextVNode(" ← 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.js.map