build change

This commit is contained in:
2025-08-27 20:20:03 +03:30
parent 408ed277bb
commit f3a14141c7
411 changed files with 6043 additions and 5979 deletions
+308 -256
View File
@@ -1,5 +1,5 @@
import { inject, ref, h, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, computed, shallowRef, watch, watchEffect, provide, cloneVNode, createElementBlock, unref, isVNode, Fragment, toValue, hasInjectionContext, Comment, Text, getCurrentScope, onScopeDispose, toRef, isRef, Transition, TransitionGroup, toRaw, Teleport, render, withDirectives, vShow, defineAsyncComponent, shallowReactive, Suspense, useSSRContext, createApp, triggerRef, mergeProps, withCtx, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, effectScope, isReadonly, isShallow, isReactive } from 'vue';
import { k as createError$1, h as hasProtocol, o as isScriptProtocol, j as joinURL, q as withQuery, s as sanitizeStatusCode, r as getContext, $ as $fetch$1, t as baseURL$1, v as createHooks, x as executeAsync, y as toRouteMatcher, z as createRouter$1, d as defu } from '../_/nitro.mjs';
import { inject, ref, h, getCurrentInstance, nextTick, reactive, defineComponent, createVNode, computed, shallowRef, watch, watchEffect, provide, cloneVNode, createElementBlock, unref, Fragment, toValue, isVNode, hasInjectionContext, Comment, Text, getCurrentScope, onScopeDispose, toRef, isRef, Transition, TransitionGroup, render, toRaw, Teleport, withDirectives, vShow, defineAsyncComponent, shallowReactive, Suspense, useSSRContext, createApp, triggerRef, mergeProps, withCtx, onErrorCaptured, onServerPrefetch, resolveDynamicComponent, effectScope, isReadonly, isShallow, isReactive } from 'vue';
import { k as createError$1, h as hasProtocol, o as isScriptProtocol, j as joinURL, q as withQuery, s as sanitizeStatusCode, r as getContext, $ as $fetch, t as baseURL, v as createHooks, x as executeAsync, y as toRouteMatcher, z as createRouter$1, d as defu } from '../_/nitro.mjs';
import { defineStore, createPinia, setActivePinia, shouldHydrate } from 'pinia';
import { createClient } from '@supabase/supabase-js';
import _extends from '@babel/runtime/helpers/esm/extends';
@@ -1529,8 +1529,8 @@ const utc = (function (option, Dayjs, dayjs) {
});
if (!globalThis.$fetch) {
globalThis.$fetch = $fetch$1.create({
baseURL: baseURL$1()
globalThis.$fetch = $fetch.create({
baseURL: baseURL()
});
}
if (!("global" in globalThis)) {
@@ -3738,17 +3738,17 @@ const _routes = [
{
name: "auth-login",
path: "login",
component: () => import('./index-8Lqe7yCh.mjs')
component: () => import('./index-BbqnQA5p.mjs')
},
{
name: "auth-forget",
path: "forget",
component: () => import('./index-BjJY_69W.mjs')
component: () => import('./index-Bwk3o7_-.mjs')
},
{
name: "auth-register",
path: "register",
component: () => import('./index-v6sd7_np.mjs')
component: () => import('./index-DHHYPQY_.mjs')
}
]
},
@@ -3761,12 +3761,12 @@ const _routes = [
{
name: __nuxt_page_meta$E?.name,
path: "/posts",
component: () => import('./posts-BgzMjaXl.mjs'),
component: () => import('./posts-B0BjuYwu.mjs'),
children: [
{
name: "posts",
path: "",
component: () => import('./index-CiHbpGQs.mjs')
component: () => import('./index-C2k4PwUu.mjs')
}
]
},
@@ -3809,12 +3809,12 @@ const _routes = [
{
name: "home",
path: "/home",
component: () => import('./index-CHnZu6rh.mjs')
component: () => import('./index-CHwQk8SN.mjs')
},
{
name: "user",
path: "/user",
component: () => import('./index-Fnq2IDoH.mjs')
component: () => import('./index-CspQ8Phr.mjs')
},
{
name: "saved-posts",
@@ -3831,12 +3831,12 @@ const _routes = [
{
name: "message-list",
path: "/message/list",
component: () => import('./list-pIqAhJjA.mjs')
component: () => import('./list-bFEB47qc.mjs')
},
{
name: "search",
path: "/search",
component: () => import('./index-kpu_hY-_.mjs')
component: () => import('./index-DJmAoM0C.mjs')
},
{
name: "user-address",
@@ -3877,14 +3877,14 @@ const _routes = [
{
name: "user-edit-id",
path: "/user/edit/:id()",
component: () => import('./_id_-CQDt1T48.mjs')
component: () => import('./_id_-B1CTfbBH.mjs')
},
{
name: "add-story",
path: "/add/story",
meta: __nuxt_page_meta$p || {},
redirect: { "name": "add-story-inputStory" },
component: () => import('./index-DuzS1w5s.mjs')
component: () => import('./index-PYzsTrK1.mjs')
},
{
name: "user-attributes",
@@ -3901,12 +3901,12 @@ const _routes = [
{
name: "user-edit",
path: "/user/edit",
component: () => import('./index-BOElV38v.mjs')
component: () => import('./index-D6h0vyAx.mjs')
},
{
name: "user-order-id",
path: "/user/order/:id()",
component: () => import('./_id_-B1mx2c9s.mjs')
component: () => import('./_id_-CEWKsm10.mjs')
},
{
name: "highlight-create",
@@ -3917,25 +3917,25 @@ const _routes = [
{
name: "user_detail-id",
path: "/user_detail/:id()",
component: () => import('./_id_-C_aD-C63.mjs')
component: () => import('./_id_-8m63dp0R.mjs')
},
{
name: "add-product",
path: "/add/product",
meta: __nuxt_page_meta$l || {},
redirect: { "name": "add-product-inputProduct" },
component: () => import('./index-C9ZKLExv.mjs')
component: () => import('./index-CwGRDiL_.mjs')
},
{
name: "search-main",
path: "/search/main",
component: () => import('./index-FFD1vzEb.mjs')
component: () => import('./index-DqKLWhMM.mjs')
},
{
name: "add-story-infStory",
path: "/add/story/infStory",
meta: __nuxt_page_meta$k || {},
component: () => import('./infStory-BM-2y2iS.mjs')
component: () => import('./infStory-Bmm9xAkH.mjs')
},
{
name: "user-store_request",
@@ -3952,13 +3952,13 @@ const _routes = [
{
name: "product_detail-id",
path: "/product_detail/:id()",
component: () => import('./_id_-De8XaMX0.mjs')
component: () => import('./_id_-BKQz-aX3.mjs')
},
{
name: "add-story-inputStory",
path: "/add/story/inputStory",
meta: __nuxt_page_meta$h || {},
component: () => import('./inputStory-CDt0KQwS.mjs')
component: () => import('./inputStory-Cg--GpeK.mjs')
},
{
name: "user-statistics_list",
@@ -3970,25 +3970,25 @@ const _routes = [
name: "user-statistics_list-saved",
path: "saved",
meta: __nuxt_page_meta$g || {},
component: () => import('./saved-BZp3C5yv.mjs')
component: () => import('./saved-pe85KaXG.mjs')
},
{
name: "user-statistics_list-orders",
path: "orders",
meta: __nuxt_page_meta$f || {},
component: () => import('./orders-C7mljqC0.mjs')
component: () => import('./orders-F498LDut.mjs')
},
{
name: "user-statistics_list-customers",
path: "customers",
meta: __nuxt_page_meta$e || {},
component: () => import('./customers-DFRFamxK.mjs')
component: () => import('./customers-CrjjwxGd.mjs')
},
{
name: "user-statistics_list-storeOrders",
path: "storeOrders",
meta: __nuxt_page_meta$d || {},
component: () => import('./storeOrders-CCy1Y5hB.mjs')
component: () => import('./storeOrders-D54FnjfD.mjs')
}
]
},
@@ -3996,19 +3996,19 @@ const _routes = [
name: "edit-story-id",
path: "/edit/story/:id()",
meta: __nuxt_page_meta$b || {},
component: () => import('./index-CaobDbQU.mjs')
component: () => import('./index-kFY6xEkr.mjs')
},
{
name: "add-product-infProduct",
path: "/add/product/infProduct",
meta: __nuxt_page_meta$a || {},
component: () => import('./infProduct-OCQeOcFd.mjs')
component: () => import('./infProduct-BaO5KD9f.mjs')
},
{
name: "message-detail_message",
path: "/message/detail_message",
meta: __nuxt_page_meta$9 || {},
component: () => import('./detail_message-DFi-RfcK.mjs')
component: () => import('./detail_message-BdqN6CcE.mjs')
},
{
name: "add-product-excel",
@@ -4021,37 +4021,37 @@ const _routes = [
name: "edit-product-id",
path: "/edit/product/:id()",
meta: __nuxt_page_meta$7 || {},
component: () => import('./index-Ah8U4qBr.mjs')
component: () => import('./index-XX3NfiEJ.mjs')
},
{
name: "add-product-inputProduct",
path: "/add/product/inputProduct",
meta: __nuxt_page_meta$6 || {},
component: () => import('./inputProduct-B1-zLv5U.mjs')
component: () => import('./inputProduct-COqrzTKO.mjs')
},
{
name: "edit-story-id-infStory",
path: "/edit/story/:id()/infStory",
meta: __nuxt_page_meta$5 || {},
component: () => import('./infStory-sKl7qBoy.mjs')
component: () => import('./infStory-BdaPR8i_.mjs')
},
{
name: "edit-story-id-inputStory",
path: "/edit/story/:id()/inputStory",
meta: __nuxt_page_meta$4 || {},
component: () => import('./inputStory-wXxJxDnp.mjs')
component: () => import('./inputStory-bc0jzTXg.mjs')
},
{
name: "edit-product-id-infProduct",
path: "/edit/product/:id()/infProduct",
meta: __nuxt_page_meta$3 || {},
component: () => import('./infProduct-Frm73wKt.mjs')
component: () => import('./infProduct-B40IQyE8.mjs')
},
{
name: "edit-product-id-inputProduct",
path: "/edit/product/:id()/inputProduct",
meta: __nuxt_page_meta$2 || {},
component: () => import('./inputProduct-DBpp69kI.mjs')
component: () => import('./inputProduct-xAQQVxIa.mjs')
},
{
name: "add-product-excel-infProductExcel",
@@ -4789,11 +4789,6 @@ function useWindowSize(options = {}) {
}
return { width, height };
}
const appName = reactive({
fa: "منتیفای",
en: "Montify"
});
const baseURL = "https://node.newinsta.ir";
const tokenName = "auth-token";
const isFunction = (val) => typeof val === "function";
const isArray = Array.isArray;
@@ -13186,12 +13181,28 @@ Modal.install = function(app) {
app.component(Modal.name, Modal);
return app;
};
const SUPABASE_URL = "https://supa.newinsta.ir";
const SUPABASE_KEY = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE3NTMyMDcxOTcsImV4cCI6MjAwNTY2Nzk5NywiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSIsIlJvbGUiOiJhbm9uIn0.NiMFrNO1avuHxQLynHY2IfDA-IuQaNNJduPSJYqlW04";
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY);
const baseImageUrl = "https://supa.newinsta.ir/storage/v1/object/public";
const getSupabaseStorageUrl = (url) => {
return `${baseImageUrl}/${url}`;
let _client = null;
function ensureClient() {
if (_client) return _client;
const cfg = (/* @__PURE__ */ useRuntimeConfig()).public;
if (!cfg?.SUPABASE_URL || !cfg?.SUPABASE_KEY) {
console.warn("[supabase] Missing SUPABASE_URL/KEY in runtimeConfig.public");
}
_client = createClient(cfg.SUPABASE_URL, cfg.SUPABASE_KEY);
return _client;
}
const supabase = new Proxy({}, {
get(_t, prop, receiver) {
const c = ensureClient();
return Reflect.get(c, prop, receiver);
},
apply(_t, thisArg, argArray) {
return ensureClient()?.apply?.(thisArg, argArray);
}
});
const getSupabaseStorageUrl = (path) => {
const cfg = (/* @__PURE__ */ useRuntimeConfig()).public;
return `${cfg.SUPABASE_BASE_IMAGE_URL}/${path}`;
};
const uploadFile = async (file, busket = "productimg") => {
const uniqueFileName = `${Date.now()}-${file.name}`;
@@ -13364,10 +13375,6 @@ const strings = (val) => {
"fa": "نسخه",
"en": "Version"
},
welcome: {
"fa": `به ${appName.fa} خوش آمدید!`,
"en": `Welcome to ${appName.en}!`
},
welcomePleaseInputPhone: {
"fa": "لطفا برای ورود یا ثبت نام شماره موبایل خود را وارد کنید.",
"en": "Please input your phone for login or register."
@@ -13508,10 +13515,6 @@ const strings = (val) => {
"fa": `تعداد کاراکتر باید ${val} عدد باشد`,
"en": `The count of characters must be ${val}`
},
registerInApp: {
"fa": ` ثبت نام در ${appName.fa} `,
"en": ` Register in ${appName.en} `
},
confirmCode1: {
"fa": ` کد تایید ارسال شده به شماره "`,
"en": `Please input confirmation code sent to "`
@@ -13620,6 +13623,18 @@ const strings = (val) => {
"fa": `اطلاعات محصول`,
"en": `Product information`
},
moreInformation: {
"fa": `اطلاعات بیشتر`,
"en": `More information`
},
showAdvancedSettings: {
"fa": `نمایش تنظیمات پیشرفته`,
"en": `Show Advanced Settings`
},
unShowAdvancedSettings: {
"fa": `عدم نمایش تنظیمات پیشرفته`,
"en": `UnShow Advanced Settings`
},
selectAnOption: {
"fa": `یک مورد را انتخاب کنید`,
"en": `Please select an item`
@@ -14941,108 +14956,109 @@ const strings = (val) => {
}
};
};
const headers = {
"Content-Type": "application/json",
Accept: "application/json"
};
const __vite_import_meta_env__ = {};
function resolveBaseURL() {
const g = globalThis.__BASE_URL__;
const envFallback = __vite_import_meta_env__?.NUXT_PUBLIC_NODE_BASE_URL || process.env.NUXT_PUBLIC_NODE_BASE_URL || "";
return g ?? envFallback;
}
function ensureLeadingSlash(path) {
if (!path) return "/";
return path.startsWith("/") ? path : `/${path}`;
}
const _axios = axios.create({
baseURL,
headers
// baseURL را اینجا نذار
headers: {
"Content-Type": "application/json",
Accept: "application/json"
}
});
_axios.interceptors.request.use(
(config) => {
if (config.headers) {
const token = getToken();
if (token) {
config.headers["Authorization"] = "Bearer " + token;
}
const base = resolveBaseURL();
if (!base) {
console.warn("[axios] BASE_URL is empty; request may fail");
} else {
config.baseURL = base;
}
if (config.url) {
config.url = ensureLeadingSlash(config.url);
}
const token = getToken();
if (token && config.headers) {
config.headers["Authorization"] = `Bearer ${token}`;
}
return config;
},
(error) => {
Promise.reject(error);
}
(error) => Promise.reject(error)
);
_axios.interceptors.response.use(
(response) => {
return response.data;
},
function(error) {
if (error.response.data && error.response.data.code) {
checkStatus(error.response.data, error.config);
}
if (error.response && (error.response.status == 401 || error.response.status == 400)) {
const router = useRouter$1();
router.push({ name: "auth-login" });
(response) => response.data,
(error) => {
const resp = error?.response;
const cfg = error?.config ?? {};
const payload = resp?.data;
if (payload?.code) {
safeCheckStatus(payload, cfg);
}
return Promise.reject(error);
}
);
function checkStatus(data, config) {
function safeCheckStatus(data, config) {
const errorMessage2 = get(config, "meta.errorMessage", "message");
console.log("this is config", config);
if (errorMessage2 == "none") return;
if (errorMessage2 === "none") return;
const show = (msg) => {
{
console.error("[API Error]", msg);
}
};
switch (errorMessage2) {
case "message":
api$1.error(data.message);
break;
default:
api$1.error(data.message);
show(data?.message ?? "خطای نامشخص");
}
}
const myAxios = {
//AxiosResponse<T>
post(url, data, config) {
return _axios.post(url, data, config);
},
request(config) {
return _axios.request(config);
},
//AxiosResponse<T>
get(url, config) {
return _axios.get(url, config);
},
//AxiosResponse<T>
delete(url, config) {
return _axios.delete(url, config);
},
//AxiosResponse<T>
head(url, config) {
return _axios.head(url, config);
},
//AxiosResponse<T>
options(url, config) {
return _axios.options(url, config);
},
//AxiosResponse<T>
put(url, data, config) {
return _axios.put(url, data, config);
},
//AxiosResponse<T>
patch(url, data, config) {
return _axios.patch(url, data, config);
},
//AxiosResponse<T>
postForm(url, data, config) {
return _axios.postForm(url, data, config);
},
//AxiosResponse<T>
putForm(url, data, config) {
return _axios.putForm(url, data, config);
},
//AxiosResponse<T>
patchForm(url, data, config) {
return _axios.patchForm(url, data, config);
}
};
const getSellerConfig = async () => {
return await $fetch(`${baseURL}/config`, { method: "POST" });
};
async function getSellerConfig() {
return await myAxios.post(`/config`, {});
}
const subscribeUserSever = async (subscription, userId) => await myAxios.post(`/notification/subscribe`, { subscription, userId });
const sendPublic = async (title, body) => await myAxios.post(`/notification/send-public`, { title, body });
const sendPrivate = async (title, body, user_id) => await myAxios.post(`/notification/send-private`, { title, body, user_id });
const APP_TYPE = "single";
const APP_Milady_Date = false;
const useConfigStore = defineStore("setting", () => {
const langMode = ref("fa");
const themeMode = ref("light");
@@ -15052,6 +15068,25 @@ const useConfigStore = defineStore("setting", () => {
const isNightStore = ref(false);
const isRTL = ref(false);
const sellerConfig = ref();
const { public: pub } = /* @__PURE__ */ useRuntimeConfig();
const toBool = (v) => v === true || v === "true" || v === 1 || v === "1";
const baseURL2 = ref(pub.NODE_BASE_URL || "");
const APP_TYPE = pub.APP_TYPE;
const APP_HAS_SILVER = toBool(pub.APP_HAS_SILVER);
const APP_HAS_GOLD = toBool(pub.APP_HAS_GOLD);
const APP_Milady_Date = toBool(pub.APP_MILADY_DATE);
const appName = {
fa: pub.APP_NAME_FA,
en: pub.APP_NAME_EN
};
function setGlobalBaseURL(url) {
globalThis.__BASE_URL__ = url || "";
}
function initFromRuntime() {
baseURL2.value = pub.NODE_BASE_URL || "";
setGlobalBaseURL(baseURL2.value);
}
watch(baseURL2, (v) => setGlobalBaseURL(v), { immediate: true });
async function getConfig() {
try {
sellerConfig.value = await getSellerConfig();
@@ -15119,7 +15154,15 @@ const useConfigStore = defineStore("setting", () => {
isRTL,
themeMode,
reset,
sellerConfig
sellerConfig,
APP_TYPE,
APP_HAS_SILVER,
APP_HAS_GOLD,
APP_Milady_Date,
baseURL: baseURL2,
// getGlobalBaseURL,
appName,
initFromRuntime
/*useModule*/
};
});
@@ -15942,11 +15985,23 @@ function removeToken() {
}
function goToProfile() {
const router = useRouter$1();
useConfigStore();
useUserStore();
router.push({ name: "user" });
const config = useConfigStore();
const user = useUserStore();
if (config.APP_TYPE === "single" || !config.isSeller)
router.push({ name: "user" });
else if (config.isSeller && user.user?.id)
router.push({ name: "user_detail-id", params: { id: user.user?.id }, query: { isMain: true } });
}
const auth_45global = /* @__PURE__ */ defineNuxtRouteMiddleware((to, from) => {
const { public: pub } = /* @__PURE__ */ useRuntimeConfig();
pub.APP_TYPE;
});
const useRouteStore = defineStore("routeStore", () => {
ref("");
});
const track_45route_45global = /* @__PURE__ */ defineNuxtRouteMiddleware((to, from) => {
const routeStore = useRouteStore();
routeStore.previousRoute = from.fullPath;
});
const manifest_45route_45rule = /* @__PURE__ */ defineNuxtRouteMiddleware(async (to) => {
{
@@ -15956,6 +16011,7 @@ const manifest_45route_45rule = /* @__PURE__ */ defineNuxtRouteMiddleware(async
const globalMiddleware = [
validate,
auth_45global,
track_45route_45global,
manifest_45route_45rule
];
const namedMiddleware = {};
@@ -16298,15 +16354,13 @@ const pwa_icons_plugin_OtOZ6CGly_Vz5_PCGGLA9qHLz2Y5_d5czYAX7q_3Lug = /* @__PURE_
});
const unocss_6Z4vW7S9aX_q2svWbGBc_X2b5QbQdkNmvzr_3kqqCd0 = /* @__PURE__ */ defineNuxtPlugin(() => {
});
const app_name_global_H0IIoHDy1tfVLZRcwR0nLhMYYVCUW68yFnM_ytQoX_8 = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.config.globalProperties.appName = reactive({
fa: "منتیفای",
en: "Montify"
});
const _00_public_env_yiM1Hc_Wk_qfamNPym6DiLdaBeO5G5DQZNdG_q6mAdw = /* @__PURE__ */ defineNuxtPlugin(() => {
const { public: p } = /* @__PURE__ */ useRuntimeConfig();
globalThis.__BASE_URL__ = p.NODE_BASE_URL;
globalThis.__APP_NAME_FA__ = p.APP_NAME_FA;
globalThis.__APP_NAME_EN__ = p.APP_NAME_EN;
});
const critical_css_server_IwTFHgs4XvqzputuZGAoVvVfCnl9T_NvyGzDIxLJky8 = () => {
};
const init_config_LL47CEFmgpdYE9Cs_saNIOj0KSQjq_8az7e6qB2y3Ko = /* @__PURE__ */ defineNuxtPlugin({
const _01_init_config_Qtd_6H3BDp5Z4QExrOUX_jVYw_uAC9EY5MOjdqpYRGo = /* @__PURE__ */ defineNuxtPlugin({
name: "init-config",
dependsOn: ["pinia"],
// تضمین اجرای بعد از Pinia
@@ -16314,6 +16368,7 @@ const init_config_LL47CEFmgpdYE9Cs_saNIOj0KSQjq_8az7e6qB2y3Ko = /* @__PURE__ */
let __temp, __restore;
if (nuxtApp.$pinia) setActivePinia(nuxtApp.$pinia);
const configStore = useConfigStore();
[__temp, __restore] = executeAsync(() => configStore.initFromRuntime()), await __temp, __restore();
[__temp, __restore] = executeAsync(() => configStore.getConfig()), await __temp, __restore();
}
});
@@ -16595,15 +16650,14 @@ const plugins = [
plugin_pctIVG_FA3ygvTkx4z_pYtRdHdDEZ_qPbl4DqvN9CMQ,
pwa_icons_plugin_OtOZ6CGly_Vz5_PCGGLA9qHLz2Y5_d5czYAX7q_3Lug,
unocss_6Z4vW7S9aX_q2svWbGBc_X2b5QbQdkNmvzr_3kqqCd0,
app_name_global_H0IIoHDy1tfVLZRcwR0nLhMYYVCUW68yFnM_ytQoX_8,
critical_css_server_IwTFHgs4XvqzputuZGAoVvVfCnl9T_NvyGzDIxLJky8,
init_config_LL47CEFmgpdYE9Cs_saNIOj0KSQjq_8az7e6qB2y3Ko,
_00_public_env_yiM1Hc_Wk_qfamNPym6DiLdaBeO5G5DQZNdG_q6mAdw,
_01_init_config_Qtd_6H3BDp5Z4QExrOUX_jVYw_uAC9EY5MOjdqpYRGo,
lazyload_oSWyYwB040EQqpSoyMv0a_ZGXlx9BlocjdtTjNacMzA,
ready_IqyLfQWq1SSkVA81KGdfnfHuL__bWsFsa22wVAACDFQ,
vue_lazyload_LicimSgmn48nXxJ_UQNJ1CLHEXdm5eIshyZWOSTFacg
];
const layouts = {
default: defineAsyncComponent(() => import('./default-B0do5TQ-.mjs').then((m) => m.default || m))
default: defineAsyncComponent(() => import('./default-X5Im5t7Y.mjs').then((m) => m.default || m))
};
const LayoutLoader = defineComponent({
name: "LayoutLoader",
@@ -17036,158 +17090,156 @@ const entry$1 = (ssrContext) => entry(ssrContext);
const server = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
__proto__: null,
$: useToken,
A: APP_Milady_Date,
B: getProducts,
C: useRequestEvent,
D: useCartStore,
E: getSupabaseStorageUrl,
F: useElementSize,
G: APP_TYPE,
H: Button,
I: myAxios,
J: initDefaultProps,
K: useConfigInject,
L: useProviderSize,
M: useProviderDisabled,
N: useInjectGlobalForm,
O: classNames,
P: functionType,
Q: booleanType,
R: stringType,
S: someType,
T: anyType,
U: objectType,
V: PropTypes,
W: warning,
X: tuple,
Y: createContext,
Z: devWarning,
$: warning$1,
A: useRequestEvent,
B: useCartStore,
C: getSupabaseStorageUrl,
D: useElementSize,
E: Button,
F: myAxios,
G: initDefaultProps,
H: useConfigInject,
I: useProviderSize,
J: useProviderDisabled,
K: useInjectGlobalForm,
L: classNames,
M: functionType,
N: booleanType,
O: stringType,
P: someType,
Q: anyType,
R: objectType,
S: PropTypes,
T: warning,
U: tuple,
V: createContext,
W: devWarning,
X: useToken,
Y: genComponentStyleHook,
Z: merge,
_: __nuxt_component_0,
a: useNuxtApp,
a$: api,
a0: genComponentStyleHook,
a1: merge,
a2: warning$1,
a3: isValidElement,
a4: useLocaleReceiver,
a5: localeValues,
a6: zoomIn,
a7: resetComponent,
a8: getTransitionGroupProps,
a9: getTransitionProps,
aA: getComponent,
aB: useProvidePortal,
aC: initZoomMotion,
aD: isFragment,
aE: getTransitionName,
aF: getStyle$1,
aG: withInstall,
aH: noteOnce,
aI: KeyCode,
aJ: warningOnce,
aK: useState$1,
aL: textEllipsis,
aM: locale$1,
aN: capitalize,
aO: Wave,
aP: initMotion,
aQ: supabaseService,
aR: baseConfirm,
aS: deleteProductById,
aT: asyncDataDefaults,
aU: createError,
aV: uploadFile,
aW: updateProduct,
aX: createProduct,
aY: isValid,
aZ: resetIcon,
a_: useSwipe,
aa: filterEmpty,
ab: unrefElement,
ac: tryOnUnmounted,
ad: isObject$2,
ae: useEventListener,
af: Keyframe,
ag: genFocusOutline,
ah: useInjectDisabled,
ai: omit,
aj: arrayType,
ak: findDOMNode,
al: cloneElement,
am: eventType,
an: useCompactItemContext,
ao: NoCompactStyle,
ap: getPropsSlot,
aq: genCompactItemStyle,
ar: clearFix,
as: getMotion$1,
at: flattenChildren,
au: contains,
av: getOptionProps,
aw: getSlot,
ax: getEvents,
ay: Portal,
az: hasProp,
a$: fetchUserChats,
a0: isValidElement,
a1: useLocaleReceiver,
a2: localeValues,
a3: zoomIn,
a4: resetComponent,
a5: getTransitionGroupProps,
a6: getTransitionProps,
a7: filterEmpty,
a8: unrefElement,
a9: tryOnUnmounted,
aA: isFragment,
aB: getTransitionName,
aC: getStyle$1,
aD: withInstall,
aE: noteOnce,
aF: KeyCode,
aG: warningOnce,
aH: useState$1,
aI: textEllipsis,
aJ: locale$1,
aK: capitalize,
aL: Wave,
aM: initMotion,
aN: supabaseService,
aO: baseConfirm,
aP: deleteProductById,
aQ: asyncDataDefaults,
aR: createError,
aS: uploadFile,
aT: updateProduct,
aU: createProduct,
aV: isValid,
aW: resetIcon,
aX: useSwipe,
aY: api,
aZ: useRouter,
a_: useRoute,
aa: isObject$2,
ab: useEventListener,
ac: Keyframe,
ad: genFocusOutline,
ae: useInjectDisabled,
af: omit,
ag: arrayType,
ah: findDOMNode,
ai: cloneElement,
aj: eventType,
ak: useCompactItemContext,
al: NoCompactStyle,
am: getPropsSlot,
an: genCompactItemStyle,
ao: clearFix,
ap: getMotion$1,
aq: flattenChildren,
ar: contains,
as: getOptionProps,
at: getSlot,
au: getEvents,
av: Portal,
aw: hasProp,
ax: getComponent,
ay: useProvidePortal,
az: initZoomMotion,
b: useRuntimeConfig,
b0: useRouter,
b1: useRoute,
b2: fetchUserChats,
b3: fetchOneChat,
b4: pickAttrs,
b5: Modal,
b6: getStoreCollections,
b7: checkUsername,
b8: updateUser,
b9: useRoute$1,
ba: withUndefined,
bb: useProduct,
bc: getOneUser,
bd: skipFlattenKey,
be: toPx,
bf: genFocusStyle,
bg: camelize,
bh: getDataAndAriaProps,
bi: isEmptyElement,
bj: tryOnScopeDispose,
bk: watchDebounced,
bl: getCustomerList,
bm: baseConfirmWithId,
bn: deleteUser,
bo: canUseDom,
bp: getTransitionDirection,
bq: DefaultRenderEmpty,
br: getOneProduct,
bs: initFadeMotion,
bt: useBreakpoints,
bu: usePriceStore,
bv: useWindowSize,
bw: breakpointsTailwind,
b0: fetchOneChat,
b1: pickAttrs,
b2: Modal,
b3: getStoreCollections,
b4: checkUsername,
b5: updateUser,
b6: useRoute$1,
b7: withUndefined,
b8: useProduct,
b9: getOneUser,
ba: skipFlattenKey,
bb: toPx,
bc: genFocusStyle,
bd: camelize,
be: getDataAndAriaProps,
bf: isEmptyElement,
bg: tryOnScopeDispose,
bh: watchDebounced,
bi: getCustomerList,
bj: baseConfirmWithId,
bk: deleteUser,
bl: canUseDom,
bm: getTransitionDirection,
bn: DefaultRenderEmpty,
bo: getOneProduct,
bp: initFadeMotion,
bq: useRouteStore,
br: useBreakpoints,
bs: usePriceStore,
bt: useWindowSize,
bu: breakpointsTailwind,
c: nuxtLinkDefaults,
d: useHead,
default: entry$1,
e: useConfigStore,
f: appName,
g: useUserStore,
h: setToken,
i: goToProfile,
j: api$1,
k: loading,
f: useUserStore,
g: setToken,
h: goToProfile,
i: api$1,
j: loading,
k: forgetPassword,
l: login,
m: forgetPassword,
m: removeToken,
n: navigateTo,
o: removeToken,
p: generateOtp,
q: setPassword,
o: generateOtp,
p: setPassword,
q: setBirthday,
r: resolveRouteObject,
s: supabase,
t: setBirthday,
t: setNames,
u: useRouter$1,
v: verifyOtp,
w: setNames,
x: useIntersectionObserver,
y: getToken,
z: useState
w: useIntersectionObserver,
x: getToken,
y: useState,
z: getProducts
}, Symbol.toStringTag, { value: 'Module' }));
export { clearFix as $, APP_Milady_Date as A, unrefElement as B, tryOnUnmounted as C, isObject$2 as D, useEventListener as E, functionType as F, stringType as G, booleanType as H, arrayType as I, useConfigInject as J, genComponentStyleHook as K, classNames as L, merge as M, useInjectDisabled as N, omit as O, PropTypes as P, resetComponent as Q, Keyframe as R, genFocusOutline as S, Button as T, myAxios as U, createContext as V, initDefaultProps as W, filterEmpty as X, getPropsSlot as Y, genCompactItemStyle as Z, __nuxt_component_0 as _, useConfigStore as a, navigateTo as a$, withInstall as a0, isValidElement as a1, isFragment as a2, getTransitionName as a3, cloneElement as a4, getStyle$1 as a5, objectType as a6, initZoomMotion as a7, getSlot as a8, getEvents as a9, useSwipe as aA, someType as aB, devWarning as aC, CloseCircleFilled as aD, CheckCircleFilled as aE, warning as aF, useRouter as aG, useRoute as aH, api as aI, fetchUserChats as aJ, fetchOneChat as aK, useRoute$1 as aL, useProduct as aM, useToken as aN, withUndefined as aO, getOneUser as aP, NoCompactStyle as aQ, baseConfirmWithId as aR, deleteUser as aS, useWindowSize as aT, useBreakpoints as aU, useNuxtApp as aV, usePriceStore as aW, useHead as aX, breakpointsTailwind as aY, resolveRouteObject as aZ, useRuntimeConfig as a_, contains as aa, Portal as ab, hasProp as ac, getComponent as ad, findDOMNode as ae, useProvidePortal as af, getOptionProps as ag, flattenChildren as ah, getMotion$1 as ai, getTransitionProps as aj, eventType as ak, Wave as al, CloseOutlined as am, capitalize as an, initMotion as ao, supabaseService as ap, baseConfirm as aq, deleteProductById as ar, anyType as as, tuple as at, textEllipsis as au, KeyCode as av, dayjs as aw, uploadFile as ax, updateProduct as ay, createProduct as az, useUserStore as b, nuxtLinkDefaults as b0, asyncDataDefaults as b1, createError as b2, Icon as b3, useProviderSize as b4, useProviderDisabled as b5, useInjectGlobalForm as b6, warning$1 as b7, LoadingOutlined as b8, ExclamationCircleFilled as b9, D as bA, Y as bB, W as bC, MS as bD, Q as bE, M as bF, FORMAT_DEFAULT as bG, locale$1 as bH, warningOnce as bI, noteOnce as bJ, server as bK, zoomIn as ba, useLocaleReceiver as bb, localeValues as bc, getTransitionGroupProps as bd, isValid as be, resetIcon as bf, camelize as bg, useState$1 as bh, toPx as bi, genFocusStyle as bj, skipFlattenKey as bk, watchDebounced as bl, tryOnScopeDispose as bm, getCustomerList as bn, getDataAndAriaProps as bo, isEmptyElement as bp, getOneProduct as bq, useCompactItemContext as br, getTransitionDirection as bs, DefaultRenderEmpty as bt, pickAttrs as bu, initFadeMotion as bv, checkUsername as bw, updateUser as bx, getStoreCollections as by, Modal as bz, setToken as c, api$1 as d, appName as e, loading as f, goToProfile as g, generateOtp as h, forgetPassword as i, setPassword as j, setBirthday as k, login as l, setNames as m, useIntersectionObserver as n, getToken as o, useCartStore as p, useState as q, removeToken as r, supabase as s, useRequestEvent as t, useRouter$1 as u, verifyOtp as v, getProducts as w, useElementSize as x, getSupabaseStorageUrl as y, APP_TYPE as z };
export { isFragment as $, isObject$2 as A, useEventListener as B, functionType as C, stringType as D, booleanType as E, arrayType as F, useConfigInject as G, genComponentStyleHook as H, classNames as I, merge as J, useInjectDisabled as K, omit as L, resetComponent as M, Keyframe as N, genFocusOutline as O, PropTypes as P, Button as Q, myAxios as R, createContext as S, initDefaultProps as T, filterEmpty as U, getPropsSlot as V, genCompactItemStyle as W, clearFix as X, withInstall as Y, isValidElement as Z, __nuxt_component_0 as _, useConfigStore as a, asyncDataDefaults as a$, getTransitionName as a0, cloneElement as a1, getStyle$1 as a2, objectType as a3, initZoomMotion as a4, getSlot as a5, getEvents as a6, contains as a7, Portal as a8, hasProp as a9, CloseCircleFilled as aA, CheckCircleFilled as aB, warning as aC, useRouter as aD, useRoute as aE, api as aF, fetchUserChats as aG, fetchOneChat as aH, useRoute$1 as aI, useProduct as aJ, useToken as aK, withUndefined as aL, getOneUser as aM, NoCompactStyle as aN, baseConfirmWithId as aO, deleteUser as aP, useRouteStore as aQ, useWindowSize as aR, useBreakpoints as aS, useNuxtApp as aT, usePriceStore as aU, useHead as aV, breakpointsTailwind as aW, resolveRouteObject as aX, useRuntimeConfig as aY, navigateTo as aZ, nuxtLinkDefaults as a_, getComponent as aa, findDOMNode as ab, useProvidePortal as ac, getOptionProps as ad, flattenChildren as ae, getMotion$1 as af, getTransitionProps as ag, eventType as ah, Wave as ai, CloseOutlined as aj, capitalize as ak, initMotion as al, supabaseService as am, baseConfirm as an, deleteProductById as ao, anyType as ap, tuple as aq, textEllipsis as ar, KeyCode as as, dayjs as at, uploadFile as au, updateProduct as av, createProduct as aw, useSwipe as ax, someType as ay, devWarning as az, useUserStore as b, createError as b0, Icon as b1, useProviderSize as b2, useProviderDisabled as b3, useInjectGlobalForm as b4, warning$1 as b5, LoadingOutlined as b6, ExclamationCircleFilled as b7, zoomIn as b8, useLocaleReceiver as b9, W as bA, MS as bB, Q as bC, M as bD, FORMAT_DEFAULT as bE, locale$1 as bF, warningOnce as bG, noteOnce as bH, server as bI, localeValues as ba, getTransitionGroupProps as bb, isValid as bc, resetIcon as bd, camelize as be, useState$1 as bf, toPx as bg, genFocusStyle as bh, skipFlattenKey as bi, watchDebounced as bj, tryOnScopeDispose as bk, getCustomerList as bl, getDataAndAriaProps as bm, isEmptyElement as bn, getOneProduct as bo, useCompactItemContext as bp, getTransitionDirection as bq, DefaultRenderEmpty as br, pickAttrs as bs, initFadeMotion as bt, checkUsername as bu, updateUser as bv, getStoreCollections as bw, Modal as bx, D as by, Y as bz, setToken as c, api$1 as d, loading as e, generateOtp as f, goToProfile as g, forgetPassword as h, setPassword as i, setBirthday as j, setNames as k, login as l, useIntersectionObserver as m, getToken as n, useCartStore as o, useState as p, useRequestEvent as q, removeToken as r, supabase as s, getProducts as t, useRouter$1 as u, verifyOtp as v, useElementSize as w, getSupabaseStorageUrl as x, unrefElement as y, tryOnUnmounted as z };