fix price and modular 3

This commit is contained in:
2026-02-01 20:38:20 +03:30
parent aded156f04
commit 5ae1b4c40a
287 changed files with 1820 additions and 1722 deletions
+9 -3
View File
@@ -1,5 +1,5 @@
import process from 'node:process';globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:process.env};import { inject, ref, h, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, isRef, toValue, hasInjectionContext, watchEffect, onBeforeUnmount, onDeactivated, onActivated, computed, shallowRef, watch, provide, unref, cloneVNode, createElementBlock, Fragment, isVNode, Comment, Text, getCurrentScope, onScopeDispose, Transition, toRef as toRef$1, readonly, customRef, TransitionGroup, render, Teleport, withDirectives, vShow, defineAsyncComponent, shallowReactive, Suspense, useSSRContext, createApp, triggerRef, mergeProps, withCtx, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, effectScope, isReadonly, toRaw, isShallow, isReactive } from 'vue';
import { n as createError$1, h as hasProtocol, s as isScriptProtocol, j as joinURL, t as withQuery, v as sanitizeStatusCode, x as getContext, $ as $fetch, y as baseURL, z as createHooks, a as defu, A as getRequestHeaders, B as executeAsync } from '../nitro/nitro.mjs';
import { q as createError$1, h as hasProtocol, x as isScriptProtocol, j as joinURL, y as withQuery, z as sanitizeStatusCode, A as getContext, $ as $fetch, B as baseURL, C as createHooks, b as defu, D as getRequestHeaders, E as executeAsync } from '../nitro/nitro.mjs';
import { defineStore, setActivePinia, createPinia, shouldHydrate } from 'pinia';
import { createClient } from '@supabase/supabase-js';
import axios from 'axios';
@@ -15350,12 +15350,18 @@ async function getSubscribeConfig(host) {
const headers = {
"Content-Type": "application/json"
};
const config = /* @__PURE__ */ useRuntimeConfig();
const apiUrl = config.public.subscriptionUrl;
if (!apiUrl || typeof apiUrl !== "string" || !apiUrl.startsWith("http")) {
console.error("❌ [Config Error] Subscription URL is invalid or missing:", apiUrl);
return Promise.reject(new Error("Configuration Error: Invalid Subscription URL"));
}
if (host) {
headers["X-Domain"] = host;
}
try {
const { data } = await axios.get(
`https://node.newinsta.ir/config/get-subscription`,
apiUrl,
{ headers }
);
return data;
@@ -17260,7 +17266,7 @@ const plugins = [
vue_lazyload_LicimSgmn48nXxJ_UQNJ1CLHEXdm5eIshyZWOSTFacg
];
const layouts = {
default: defineAsyncComponent(() => import('./default-iM3xTt50.mjs').then((m) => m.default || m))
default: defineAsyncComponent(() => import('./default-znOWKpJB.mjs').then((m) => m.default || m))
};
const routeRulesMatcher = _routeRulesMatcher;
const LayoutLoader = defineComponent({