import { _ as __nuxt_component_0 } from "./nuxt-link-C5PnX__I.js"; import { defineComponent, ref, mergeProps, unref, withCtx, createTextVNode, useSSRContext } from "vue"; import { ssrRenderAttrs, ssrRenderAttr, ssrInterpolate, ssrIncludeBooleanAttr, ssrRenderComponent } from "vue/server-renderer"; import { publicAssetsURL } from "#internal/nuxt/paths"; import "/app/node_modules/hookable/dist/index.mjs"; import { a as useRouter, b as useAuthStore } from "../server.mjs"; import "/app/node_modules/ufo/dist/index.mjs"; import "/app/node_modules/defu/dist/defu.mjs"; import "/app/node_modules/ofetch/dist/node.mjs"; import "/app/node_modules/unctx/dist/index.mjs"; import "/app/node_modules/h3/dist/index.mjs"; import "pinia"; import "vue-router"; import "/app/node_modules/klona/dist/index.mjs"; import "/app/node_modules/cookie-es/dist/index.mjs"; import "/app/node_modules/destr/dist/index.mjs"; import "/app/node_modules/ohash/dist/index.mjs"; import "/app/node_modules/@unhead/vue/dist/index.mjs"; import "@vue/devtools-api"; const _imports_0 = publicAssetsURL("/sf_logo.png"); 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-DOiXgKDi.js.map