���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
/
.nuxt
/
dist
/
server
/
_nuxt
/
Viewing: index-B8lDw5Ga.js
import { b as useI18n, i as useToast, n as navigateTo, l as __nuxt_component_3 } from "../server.mjs"; import { defineComponent, ref, reactive, mergeProps, unref, withCtx, openBlock, createBlock, toDisplayString, createCommentVNode, useSSRContext } from "vue"; import "hookable"; import { u as useAPI } from "./useAPI-I7uSbjKz.js"; import { ssrRenderAttrs, ssrInterpolate, ssrRenderAttr, ssrRenderComponent } from "vue/server-renderer"; import { u as useMainStore } from "./index-hutJPNJL.js"; import "ofetch"; import "#internal/nuxt/paths"; 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"; import "js-cookie"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "index", __ssrInlineRender: true, setup(__props) { const { t, locale } = useI18n(); const { logUserOut } = useMainStore(); const loading = ref(false); const toast = useToast(); logUserOut(); const state = reactive({ mobile: void 0 }); const login = async () => { var _a; if (!state.mobile) { return toast.add({ title: t("validate_mobile"), color: "orange" }); } loading.value = true; try { await useAPI("/auth/send-sms", { method: "POST", immediate: true, body: { mobile: state.mobile, lng: locale.value }, onResponse({ request, response, options }) { if (response.status == 200) { navigateTo("/" + locale.value + "/login/register-otp?mobile=" + state.mobile); } } }); } catch (error) { toast.add({ title: ((_a = error == null ? void 0 : error.data) == null ? void 0 : _a.message) || (error == null ? void 0 : error.message), color: "red" }); } }; return (_ctx, _push, _parent, _attrs) => { const _component_UButton = __nuxt_component_3; _push(`<div${ssrRenderAttrs(mergeProps({ class: "w-full mx-auto mt-[6.5rem]" }, _attrs))}><div class="min-h-screen flex flex-col justify-between pt-[4rem]"><div class="w-full"><div class="mb-4 relative w-full"><div class="text-sm md:text-lg text-center flex justify-center items-center text-gray-600 mb-10 bold">${ssrInterpolate(unref(t)("B"))} <h1 class="text-main-700">${ssrInterpolate(unref(t)("h1tag"))}</h1> ${ssrInterpolate(unref(t)("welcome"))}</div><div class="text-xs md:text-base text-center flex justify-center items-center text-gray-600 mb-16 md:mb-24">${ssrInterpolate(unref(t)("enterNumber"))}</div></div><div class="mb-16 md:mb-20 relative xsm:w-10/12 lg:w-8/12 md:w-9/12 mx-auto w-full"><input${ssrRenderAttr("value", unref(state).mobile)} name="mobile" dir="ltr" placeholder="0913 xxx xxxx" class="w-full placeholder-gray-300 focus:ring-1 outline-none rounded border border-gray-400 focus:ring-main-700 focus:border-main-700 h-10 pl-3 md:h-14 py-0 text-xs md:text-sm" type="text"><span class="block text-gray-400 bg-white absolute right-2 -top-2 px-2 text-xs md:text-sm">${ssrInterpolate(unref(t)("phoneNumber"))}</span></div><div class="pt-10 w-full text-center"><span class="text-xs md:text-sm text-center block text-gray-600 mb-10 bold">${ssrInterpolate(unref(t)("rules_1"))} <a href="https://cutunix.ir/rules" target="_blank" class="text-xs md:text-sm cursor-pointer text-main-700">${ssrInterpolate(unref(t)("rules_2"))}</a> ${ssrInterpolate(unref(t)("rules_3"))}</span>`); _push(ssrRenderComponent(_component_UButton, { loading: unref(loading), square: "", onClick: ($event) => login(), class: "xsm:w-10/12 lg:w-8/12 md:w-9/12 mx-auto block text-center border bold h-10 bg-main-700 text-white text-xs md:text-sm w-full rounded overflow-hidden" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { if (unref(loading) == false) { _push2(`<span class="block px-2 text-xs truncate"${_scopeId}>${ssrInterpolate(unref(t)("Login"))}</span>`); } else { _push2(`<!---->`); } } else { return [ unref(loading) == false ? (openBlock(), createBlock("span", { key: 0, class: "block px-2 text-xs truncate" }, toDisplayString(unref(t)("Login")), 1)) : createCommentVNode("", true) ]; } }), _: 1 }, _parent)); _push(`</div></div></div></div>`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/login/index.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=index-B8lDw5Ga.js.map
Coded With 💗 by
0x6ick Mod By V1rus_Alfa