import "../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
import { resolveComponent, openBlock, createBlock, withCtx, createVNode, resolveDynamicComponent, KeepAlive } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
import { Transition } from "../../../../node_modules/.pnpm/@vue_runtime-dom@3.3.4/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
  const _component_router_view = resolveComponent("router-view");
  return openBlock(), createBlock(_component_router_view, null, {
    default: withCtx(({ Component, route }) => [
      createVNode(Transition, {
        name: "fade",
        mode: "out-in",
        appear: ""
      }, {
        default: withCtx(() => [
          route.meta.noKeepAlive ? (openBlock(), createBlock(resolveDynamicComponent(Component), {
            key: route.fullPath
          })) : (openBlock(), createBlock(KeepAlive, { key: 1 }, [
            (openBlock(), createBlock(resolveDynamicComponent(Component), {
              key: route.fullPath
            }))
          ], 1024))
        ]),
        _: 2
      }, 1024)
    ]),
    _: 1
  });
}
const LayoutTransitionMain = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
  LayoutTransitionMain as default
};
