import { defineComponent, computed, ref, watch, unref, mergeProps, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrInterpolate } from 'vue/server-renderer'; import { a as useConfigStore } from './server.mjs'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "Logo1", __ssrInlineRender: true, setup(__props) { const config = useConfigStore(); const logoSrc = computed( () => config.isNightStore ? config.useLogo("logo_mini_white.png") : config.useLogo("logo_mini.png") ); const showFallback = ref(false); watch(logoSrc, () => { showFallback.value = false; }); return (_ctx, _push, _parent, _attrs) => { if (showFallback.value) { _push(`${ssrInterpolate(unref(config).appName.en)}`); } else { _push(``); } }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/Logo1.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; const __nuxt_component_0 = Object.assign(_sfc_main, { __name: "Logo1" }); export { __nuxt_component_0 as _ };