���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules.2
/
nuxt
/
dist
/
components
/
runtime
/
Viewing: server-component.js
import { defineComponent, getCurrentInstance, h, ref } from "vue"; import NuxtIsland from "#app/components/nuxt-island"; import { useRoute } from "#app/composables/router"; import { isPrerendered } from "#app/composables/payload"; export const createServerComponent = /* @__NO_SIDE_EFFECTS__ */ (name) => { return defineComponent({ name, inheritAttrs: false, props: { lazy: Boolean }, emits: ["error"], setup(props, { attrs, slots, expose, emit }) { const vm = getCurrentInstance(); const islandRef = ref(null); expose({ refresh: () => islandRef.value?.refresh() }); return () => { return h(NuxtIsland, { name, lazy: props.lazy, props: attrs, scopeId: vm?.vnode.scopeId, ref: islandRef, onError: (err) => { emit("error", err); } }, slots); }; } }); }; export const createIslandPage = /* @__NO_SIDE_EFFECTS__ */ (name) => { return defineComponent({ name, inheritAttrs: false, props: { lazy: Boolean }, async setup(props, { slots, expose }) { const islandRef = ref(null); expose({ refresh: () => islandRef.value?.refresh() }); const route = useRoute(); const path = import.meta.client && await isPrerendered(route.path) ? route.path : route.fullPath.replace(/#.*$/, ""); return () => { return h("div", [ h(NuxtIsland, { name: `page:${name}`, lazy: props.lazy, ref: islandRef, context: { url: path } }, slots) ]); }; } }); };
Coded With 💗 by
0x6ick Mod By V1rus_Alfa