���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
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
/
.nuxt
/
dist
/
server
/
_nuxt
/
Viewing: units-Cpszdvko.js
import { _ as __nuxt_component_0 } from "./snipper-LQAyL8k0.js"; import { b as useI18n, u as useHead, c as useLocalePath, w as useRoute, k as useRuntimeConfig, o as __nuxt_component_0$1 } from "../server.mjs"; import { defineComponent, withAsyncContext, mergeProps, unref, withCtx, openBlock, createBlock, createVNode, createCommentVNode, toDisplayString, useSSRContext } from "vue"; import { u as useAPI } from "./useAPI-I7uSbjKz.js"; import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderList, ssrRenderAttr } from "vue/server-renderer"; import "ofetch"; import "#internal/nuxt/paths"; import "hookable"; import "unctx"; import "h3"; import "unhead"; import "@unhead/shared"; import "vue-router"; import "radix3"; import "defu"; import "devalue"; import "@vue/devtools-api"; import "destr"; import "klona"; import "cookie-es"; import "ohash"; import "@vueuse/core"; import "tailwind-merge"; import "@iconify/vue"; import "@iconify/utils/lib/css/icon"; import "./fetch-BLrdAwwP.js"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "units", __ssrInlineRender: true, async setup(__props) { let __temp, __restore; const { t } = useI18n(); useHead({ title: t("Unit Selection") }); const localePath = useLocalePath(); const config = useRuntimeConfig(); const { category } = useRoute().query; const { data, pending, error, refresh } = ([__temp, __restore] = withAsyncContext(() => useAPI("/analyze/units", { query: { category }, transform: (mountains) => { return JSON.parse(mountains).data; }, immediate: true, server: true })), __temp = await __temp, __restore(), __temp); return (_ctx, _push, _parent, _attrs) => { const _component_Snipper = __nuxt_component_0; const _component_ULink = __nuxt_component_0$1; _push(`<section${ssrRenderAttrs(mergeProps({ class: "px-2 mt-1 mb-10" }, _attrs))}>`); if (unref(pending)) { _push(`<span>`); _push(ssrRenderComponent(_component_Snipper, null, null, _parent)); _push(`</span>`); } else if (unref(error)) { _push(`<span>Error: ${ssrInterpolate(unref(error))}</span>`); } else { _push(`<div class="flex flex-wrap justify-start item-center"><!--[-->`); ssrRenderList(unref(data).units, (unit) => { _push(ssrRenderComponent(_component_ULink, { to: unref(localePath)("/unit/" + unit.id), class: "w-4/12 mb-4 sm:w-3/12" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { if (unit.image_3_d) { _push2(`<div class="h-28 mb-3"${_scopeId}><img${ssrRenderAttr("src", unref(config).public.FILE_URL + unit.image_3_d.address)} class="w-28 mx-auto"${ssrRenderAttr("alt", unref(t)("Unit Selection"))}${_scopeId}></div>`); } else { _push2(`<!---->`); } _push2(`<div${_scopeId}><span${ssrRenderAttr("dir", _ctx.$i18n.locale == "en" ? "ltr" : "rtl")} class="block w-28 mx-auto text-xs break-words line-clamp-2"${_scopeId}>${ssrInterpolate(_ctx.$i18n.locale == "en" ? unit.title_en : unit.title)}</span></div>`); } else { return [ unit.image_3_d ? (openBlock(), createBlock("div", { key: 0, class: "h-28 mb-3" }, [ createVNode("img", { src: unref(config).public.FILE_URL + unit.image_3_d.address, class: "w-28 mx-auto", alt: unref(t)("Unit Selection") }, null, 8, ["src", "alt"]) ])) : createCommentVNode("", true), createVNode("div", null, [ createVNode("span", { dir: _ctx.$i18n.locale == "en" ? "ltr" : "rtl", class: "block w-28 mx-auto text-xs break-words line-clamp-2", textContent: toDisplayString(_ctx.$i18n.locale == "en" ? unit.title_en : unit.title) }, null, 8, ["dir", "textContent"]) ]) ]; } }), _: 2 }, _parent)); }); _push(`<!--]--></div>`); } _push(`</section>`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/units.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=units-Cpszdvko.js.map
Coded With 💗 by
0x6ick Mod By V1rus_Alfa